/* ═══════════════════════════════════════════════
   AT Health — Terms Page Styles
   Prefix: tm-
   ═══════════════════════════════════════════════ */

.tm-hero {
    background: var(--ah-cream);
}

.tm-content {
    max-width: 800px;
    margin: 0 auto;
}

.tm-content h2 {
    font-size: 1.75rem;
    color: var(--ah-gray-900);
    margin-top: 48px;
    margin-bottom: 16px;
}

.tm-content h3 {
    font-size: 1.25rem;
    color: var(--ah-gray-800);
    margin-top: 32px;
    margin-bottom: 12px;
}

.tm-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ah-gray-600);
    margin-bottom: 16px;
}

.tm-content ul,
.tm-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.tm-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ah-gray-600);
    margin-bottom: 8px;
}

.tm-toc {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--ah-gray-200);
    padding: 24px;
    margin-bottom: 40px;
}

.tm-toc a {
    color: var(--ah-purple-600);
    font-size: 14px;
    line-height: 2;
}

.tm-toc a:hover {
    text-decoration: underline;
}

/* ── Refund Policy callout boxes (shared: page-refund-policy.php) ── */
.tm-content .rp-notice {
    background: #fffbeb;
    border: 1px solid #f0c897;
    border-left: 4px solid #b45309;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
}
.tm-content .rp-notice-title {
    font-weight: 700;
    color: #b45309;
    font-size: 15px;
    margin-bottom: 10px;
}
.tm-content .rp-notice p {
    color: #7a4a1a;
    margin-bottom: 10px;
}
.tm-content .rp-notice p:last-child {
    margin-bottom: 0;
}

.tm-content .rp-stages {
    background: #e8f0f7;
    border: 1px solid #1a3c5e;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
}
.tm-content .rp-stages p {
    color: #1a3c5e;
    margin-bottom: 12px;
}
.tm-content .rp-stages p:last-child {
    margin-bottom: 0;
}
.tm-content .rp-stages strong {
    color: #1a3c5e;
}

/* ── Processors table (Privacy Policy) ── */
.tm-content .tm-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid var(--ah-gray-200);
    -webkit-overflow-scrolling: touch;
}
.tm-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 520px;
    background: #fff;
}
.tm-content thead tr {
    background: #1a3c5e;
}
.tm-content thead th {
    color: #fff;
    text-align: left;
    font-weight: 600;
    padding: 12px 16px;
    white-space: nowrap;
}
.tm-content tbody td {
    padding: 12px 16px;
    color: var(--ah-gray-600);
    border-top: 1px solid var(--ah-gray-200);
    vertical-align: top;
}
.tm-content tbody tr:nth-child(even) {
    background: #f8fafc;
}
.tm-content tbody td a {
    color: var(--ah-purple-600);
    word-break: break-word;
}
.tm-content tbody td a:hover {
    text-decoration: underline;
}
