/* ================================================================
   GLOBAL DESIGN SYSTEM — Real Talk Surrogacy
   Brand Guidelines v3.0: Deep Teal #0F4C5C (primary, CTAs), Warm Ivory
   #F6F2EC (backgrounds), Sage #A9C7B8 (accents), Slate #2E3A43 (body),
   Terracotta #D9775E (sparing accent — never body text, never small
   text on light backgrounds: 2.79:1). Fraunces headlines, DM Sans body.

   Token system first; header/footer; shared utilities; then the
   component library (.rt-*) used by every page treatment.
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* ── Type ── */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;
    --fs-xs: 0.78rem; --fs-sm: 0.88rem; --fs-md: 1rem; --fs-lg: 1.12rem;
    --fs-xl: clamp(1.4rem, 2.4vw, 1.75rem);
    --fs-2xl: clamp(1.8rem, 3vw, 2.4rem);
    --fs-3xl: clamp(2.1rem, 4vw, 2.9rem);
    --lh-tight: 1.15; --lh-body: 1.65;

    /* ── Palette (brand) ── */
    --ink:          #1b1b1b;
    --ink-soft:     #4a5560;
    --ink-faint:    #6f7a84;
    --paper:        #faf7f1;
    --paper-2:      #f2ede2;
    --ivory:        #f6f2ec;
    --teal:         #0f4c5c;
    --teal-deep:    #0b3a47;
    --teal-light:   rgba(15, 76, 92, 0.08);
    --teal-medium:  rgba(15, 76, 92, 0.15);
    --sage:         #a9c7b8;
    --sage-light:   rgba(169, 199, 184, 0.25);
    --sage-ink:     #4f7a63;
    --accent:       #d9775e;
    --accent-hover: #c96a52;
    --slate:        #2e3a43;

    /* ── Semantic ── */
    --color-cta:        var(--teal);
    --color-cta-hover:  var(--teal-deep);
    --color-cta-text:   #ffffff;
    --color-link:       var(--teal);
    --color-ok:         #2f7a4f;
    --color-warn:       #a66f1f;
    --color-no:         #b3412c;
    --color-ok-bg:      rgba(47, 122, 79, 0.10);
    --color-warn-bg:    rgba(166, 111, 31, 0.10);
    --color-no-bg:      rgba(179, 65, 44, 0.10);

    /* ── Spacing / radius / shadow ── */
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
    --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
    --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px;
    --border:      rgba(15, 76, 92, 0.12);
    --shadow-sm:   0 2px 8px rgba(15, 76, 92, 0.06);
    --shadow-md:   0 4px 24px rgba(15, 76, 92, 0.10);
    --shadow-lg:   0 8px 40px rgba(15, 76, 92, 0.14);

    /* ── Backward-compat aliases (seo-content.css and older page styles) ── */
    --deep-teal:        #0f4c5c;
    --deep-teal-light:  rgba(15, 76, 92, 0.08);
    --deep-teal-medium: rgba(15, 76, 92, 0.15);
    --warm-ivory:       #f6f2ec;
    --terracotta:       #d9775e;
    --terracotta-hover: #c96a52;
    --text-body:        #4a5560;
    --white:            #ffffff;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* Explicit ground: only 10 of the 59 pages set their own body background, so without this
   the rest fall back to browser white instead of the brand paper. */
html, body { background: var(--paper); }
body { font-family: var(--font-body); color: var(--slate); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }

/* Accessibility baseline */
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.rt-skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 1000; font-weight: 600; }
.rt-skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================================================================
   SITE HEADER NAV (injected by header.js)
   ================================================================ */

/* Reserve the header's height before header.js injects it (no layout shift). */
#site-header { min-height: 69px; }

.rt-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(250, 247, 241, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
.rt-header.scrolled { box-shadow: var(--shadow-sm); }
.rt-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px;
}
.rt-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.rt-logo-main { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--teal); letter-spacing: -0.01em; }
.rt-logo-pipe { font-weight: 300; font-size: 1.3rem; color: var(--sage); margin: 0 7px; }
.rt-logo-sub { font-weight: 400; font-size: 1.3rem; color: var(--slate); }

.rt-nav { display: flex; align-items: center; gap: 2px; }
.rt-nav-link {
    font-family: var(--font-body); font-size: 0.87rem; font-weight: 500; color: var(--slate);
    text-decoration: none; padding: 8px 11px; border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.rt-nav-link:hover { color: var(--teal); background: var(--teal-light); }
.rt-nav-link.rt-active { color: var(--teal); font-weight: 600; }
.rt-nav-cta {
    display: inline-flex; align-items: center; background: var(--color-cta); color: var(--color-cta-text);
    padding: 10px 18px; border-radius: var(--radius-sm); text-decoration: none;
    font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; margin-left: 8px; white-space: nowrap;
    transition: background 0.2s, transform 0.2s; min-height: 40px;
}
.rt-nav-cta:hover { background: var(--color-cta-hover); transform: translateY(-1px); }

.rt-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.rt-hamburger span { display: block; width: 22px; height: 2px; background: var(--slate); border-radius: 2px; transition: all 0.3s ease; }
.rt-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rt-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rt-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rt-mobile-nav { display: none; flex-direction: column; background: rgba(250, 247, 241, 0.98); padding: 8px 24px 24px; border-top: 1px solid var(--border); }
.rt-mobile-nav.rt-open { display: flex; }
.rt-mobile-nav .rt-nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
.rt-mobile-nav .rt-nav-link:last-of-type { border-bottom: none; }
.rt-mobile-nav .rt-nav-cta { margin: 16px 0 0; justify-content: center; text-align: center; padding: 14px 18px; }

@media (max-width: 768px) { .rt-nav { display: none; } .rt-hamburger { display: flex; } }
@media (max-width: 480px) {
    .rt-header-inner { padding: 0 16px; }
    .rt-logo-main, .rt-logo-pipe, .rt-logo-sub { font-size: 1.15rem; }
    .rt-logo-pipe { margin: 0 5px; }
}

/* ================================================================
   SITE FOOTER (injected by footer.js)
   ================================================================ */

.rt-footer { background: var(--ink); color: #fff; padding: 56px 24px 32px; font-family: var(--font-body); }
.rt-footer-inner { max-width: 1120px; margin: 0 auto; }
.rt-footer-top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rt-footer-brand .rt-footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: #fff; text-decoration: none; display: block; margin-bottom: 10px; }
.rt-footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.68); line-height: 1.6; margin-bottom: 20px; max-width: 220px; }
.rt-footer-quiz-cta { display: inline-flex; align-items: center; background: var(--sage); color: var(--ink); padding: 10px 18px; border-radius: var(--radius-sm); text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: background 0.2s; min-height: 40px; }
.rt-footer-quiz-cta:hover { background: #bcd6c8; }
.rt-footer-col h4 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.rt-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.rt-footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.68); text-decoration: none; transition: color 0.2s; }
.rt-footer-col ul li a:hover { color: #fff; }
.rt-footer-bottom { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rt-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.rt-footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.62); text-decoration: none; transition: color 0.2s; }
.rt-footer-legal a:hover { color: #fff; }
.rt-footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.rt-footer-disclaimer { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.76rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 760px; }
.rt-footer-disclaimer a { color: rgba(255,255,255,0.75); }

@media (max-width: 900px) { .rt-footer-top { grid-template-columns: 1fr 1fr 1fr; } .rt-footer-brand { grid-column: 1 / -1; } .rt-footer-brand p { max-width: 100%; } }
@media (max-width: 540px) { .rt-footer-top { grid-template-columns: 1fr 1fr; } .rt-footer-bottom { flex-direction: column; align-items: flex-start; } .rt-footer { padding: 40px 20px 28px; } }

/* ================================================================
   SHARED UTILITIES
   ================================================================ */

.container     { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-md  { max-width: 800px;  margin: 0 auto; padding: 0 24px; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-cta); color: var(--color-cta-text);
    padding: 14px 32px; border-radius: var(--radius-sm); text-decoration: none;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; min-height: 44px;
    transition: background 0.2s, transform 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-2px); }
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--teal);
    padding: 12px 28px; border-radius: var(--radius-sm); text-decoration: none;
    font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; min-height: 44px;
    border: 2px solid var(--teal); transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--teal); color: #fff; }

/* seo-content.css sets `.article-body a { color: var(--deep-teal) }` (specificity 0,1,1),
   which otherwise beats `.btn-primary` (0,1,0) and paints button text teal-on-teal.
   These raise the button rules above it so a CTA is never invisible inside article copy. */
.article-body a.btn-primary, .rt-article a.btn-primary, a.btn-primary { color: var(--color-cta-text); }
.article-body a.btn-secondary, .rt-article a.btn-secondary, a.btn-secondary { color: var(--teal); }
.article-body .rt-cta-band a.btn-primary, .rt-cta-band a.btn-primary { color: var(--ink); }
.article-body .rt-footer a, .rt-footer a { color: inherit; }

.section-label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); }
[id] { scroll-margin-top: 80px; }
.section-title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600; color: var(--teal); line-height: var(--lh-tight); letter-spacing: -0.02em; text-wrap: balance; }
.section-body { font-family: var(--font-body); font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; }

/* ================================================================
   COMPONENT LIBRARY (.rt-*) — one treatment per page category,
   reused within category. Documented on /styleguide.html.
   ================================================================ */

/* Breadcrumbs */
.rt-breadcrumbs { font-size: var(--fs-sm); color: var(--ink-faint); margin: var(--space-4) 0 var(--space-5); }
.rt-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.rt-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sage); }
.rt-breadcrumbs a { color: var(--teal); text-decoration: none; }
.rt-breadcrumbs a:hover { text-decoration: underline; }

/* Eyebrow + page header */
.rt-eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: var(--space-3); }
.rt-page-title { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 600; color: var(--teal); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.rt-lede { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 62ch; margin-top: var(--space-4); }

/* Answer-first block (the 40–50 word direct answer at the top of guide pages) */
.rt-answer { border-left: 3px solid var(--teal); background: var(--teal-light); padding: var(--space-4) var(--space-5); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: var(--space-5) 0; font-size: var(--fs-lg); color: var(--slate); }
.rt-answer strong { color: var(--teal); }

/* Callouts */
.rt-callout { border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin: var(--space-5) 0; background: #fff; font-size: var(--fs-md); }
.rt-callout-info { border-left-color: var(--teal); background: var(--teal-light); }
.rt-callout-warn { border-left-color: var(--color-warn); background: var(--color-warn-bg); }
.rt-callout-note { border-left-color: var(--sage); background: var(--sage-light); }
.rt-callout h4 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--space-2); color: var(--slate); }

/* Pull quote */
.rt-pullquote { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); border-top: 2px solid var(--sage); border-bottom: 2px solid var(--sage); font-family: var(--font-display); font-size: var(--fs-xl); color: var(--teal); line-height: 1.35; text-wrap: balance; }
.rt-pullquote cite { display: block; margin-top: var(--space-3); font-family: var(--font-body); font-style: normal; font-size: var(--fs-sm); color: var(--ink-faint); }

/* Stat callouts */
.rt-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.rt-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.rt-stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--teal); line-height: 1.1; font-variant-numeric: tabular-nums; }
.rt-stat-label { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--space-1); }
.rt-stat-note { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }

/* Proof strip — real numbers only, sourced */
.rt-proof-strip { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); padding: var(--space-4) var(--space-5); background: var(--ivory); border-radius: var(--radius-md); margin: var(--space-5) 0; font-size: var(--fs-sm); color: var(--slate); }
.rt-proof-strip span::before { content: "✓"; color: var(--color-ok); font-weight: 700; margin-right: 6px; }

/* Checklist (requirements / disqualifications) */
.rt-checklist { list-style: none; margin: var(--space-5) 0; display: grid; gap: var(--space-2); }
.rt-checklist li { position: relative; padding: var(--space-3) var(--space-4) var(--space-3) 44px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: var(--fs-md); }
.rt-checklist li::before { position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; font-size: 0.8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rt-checklist li.rt-ok::before { content: "✓"; background: var(--color-ok-bg); color: var(--color-ok); }
.rt-checklist li.rt-no::before { content: "✕"; background: var(--color-no-bg); color: var(--color-no); }
.rt-checklist li.rt-maybe::before { content: "?"; background: var(--color-warn-bg); color: var(--color-warn); }
.rt-checklist li small { display: block; color: var(--ink-faint); font-size: var(--fs-xs); margin-top: 2px; }

/* Timeline (process, 18–24 months) */
.rt-timeline { list-style: none; position: relative; margin: var(--space-6) 0; padding-left: 36px; }
.rt-timeline::before { content: ""; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 2px; background: var(--sage); }
.rt-tl-item { position: relative; padding-bottom: var(--space-5); }
.rt-tl-item:last-child { padding-bottom: 0; }
.rt-tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.rt-tl-when { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-ink); }
.rt-tl-item h3 { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--teal); margin: 2px 0 4px; }
.rt-tl-item p { color: var(--ink-soft); font-size: var(--fs-md); }

/* Comparison tables */
.rt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; margin: var(--space-5) 0; }
.rt-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.rt-table caption { text-align: left; padding: var(--space-3) var(--space-4); font-weight: 600; color: var(--slate); }
.rt-table th, .rt-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.rt-table thead th { background: var(--ivory); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); position: sticky; top: 0; }
.rt-table tbody tr:nth-child(even) { background: rgba(246, 242, 236, 0.5); }
.rt-table tbody th { font-weight: 600; color: var(--slate); }
.rt-table--sticky-first th:first-child, .rt-table--sticky-first td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--border); }
.rt-table .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rt-table-note { font-size: var(--fs-xs); color: var(--ink-faint); padding: var(--space-2) var(--space-4) var(--space-3); }

/* Compensation bar — base vs contingent, always split */
.rt-comp { margin: var(--space-5) 0; }
.rt-comp-row { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.rt-comp-label { font-size: var(--fs-sm); font-weight: 600; color: var(--slate); }
.rt-comp-bar { display: flex; height: 26px; border-radius: var(--radius-pill); overflow: hidden; background: var(--paper-2); }
.rt-comp-base { background: var(--teal); color: #fff; font-size: var(--fs-xs); font-weight: 600; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.rt-comp-contingent { background: var(--sage); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.rt-comp-legend { display: flex; gap: var(--space-4); font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }
.rt-comp-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.rt-comp-legend .base::before { background: var(--teal); }
.rt-comp-legend .contingent::before { background: var(--sage); }
.rt-comp-source { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }

/* Scorecard (agency profiles / reviews) */
.rt-scorecard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-5) 0; }
.rt-scorecard-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.rt-scorecard-head h3 { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--teal); }
.rt-score-overall { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.rt-score-overall small { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--ink-faint); font-weight: 400; margin-left: 6px; }
.rt-score-row { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto; gap: var(--space-3); align-items: center; padding: 7px 0; font-size: var(--fs-sm); }
.rt-score-row .rt-bar { height: 8px; background: var(--paper-2); border-radius: var(--radius-pill); overflow: hidden; }
.rt-score-row .rt-bar-fill { height: 100%; background: var(--teal); border-radius: var(--radius-pill); }
.rt-score-row .rt-score-num { font-variant-numeric: tabular-nums; color: var(--slate); font-weight: 600; min-width: 3ch; text-align: right; }
.rt-score-source { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-3); }
.rt-proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.rt-proscons > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.rt-proscons h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-3); }
.rt-proscons .pros h4 { color: var(--color-ok); } .rt-proscons .cons h4 { color: var(--color-no); }
.rt-proscons ul { padding-left: 18px; font-size: var(--fs-sm); color: var(--ink-soft); display: grid; gap: 6px; }

/* Rating display — only ever with a named platform + date */
.rt-rating { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--slate); }
.rt-rating .rt-stars { display: inline-flex; gap: 2px; color: var(--color-warn); }
.rt-rating .rt-stars svg { width: 15px; height: 15px; fill: currentColor; }
.rt-rating .rt-rating-meta { color: var(--ink-faint); font-size: var(--fs-xs); }

/* Testimonial — renders only with consent on file; illustrative avatar */
.rt-testimonial { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); background: var(--ivory); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-5) 0; }
.rt-testimonial .rt-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-light); color: var(--teal); font-family: var(--font-display); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.rt-testimonial blockquote { font-size: var(--fs-md); color: var(--slate); }
.rt-testimonial cite { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }
.rt-testimonial[data-consent="pending"] { display: none; }

/* FAQ — visible on-page; no FAQPage schema */
.rt-faq { margin: var(--space-5) 0; display: grid; gap: var(--space-2); }
.rt-faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.rt-faq summary { cursor: pointer; padding: var(--space-4) var(--space-5); font-weight: 600; color: var(--slate); list-style: none; display: flex; justify-content: space-between; gap: var(--space-3); }
.rt-faq summary::-webkit-details-marker { display: none; }
.rt-faq summary::after { content: "+"; color: var(--teal); font-weight: 700; }
.rt-faq details[open] summary::after { content: "–"; }
.rt-faq .rt-faq-body { padding: 0 var(--space-5) var(--space-4); color: var(--ink-soft); font-size: var(--fs-md); }

/* Calculator shell (compensation) — numbers from /data/comp-data.json */
.rt-calc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-6) 0; box-shadow: var(--shadow-sm); }
.rt-calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.rt-calc label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.rt-calc select, .rt-calc input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; min-height: 44px; }
.rt-calc-output { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.rt-calc-total { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--teal); font-variant-numeric: tabular-nums; }
.rt-calc-note { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }

/* Pending-asset slot: replaced by generated imagery later; never ships as a broken image */
.rt-img-slot { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--paper-2); border: 1px dashed var(--sage); border-radius: var(--radius-md); color: var(--ink-faint); font-size: var(--fs-xs); padding: var(--space-4); min-height: 160px; margin: var(--space-5) 0; }
.rt-img-slot[data-ratio="16/9"] { aspect-ratio: 16 / 9; min-height: 0; }
.rt-img-slot[data-ratio="4/3"] { aspect-ratio: 4 / 3; min-height: 0; }
.rt-img-slot[data-ratio="1/1"] { aspect-ratio: 1 / 1; min-height: 0; max-width: 320px; }

/* Article body rhythm */
.rt-article { max-width: 72ch; }
.rt-article h2 { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--teal); margin: var(--space-7) 0 var(--space-3); line-height: 1.2; }
.rt-article h3 { font-family: var(--font-body); font-size: var(--fs-lg); font-weight: 700; color: var(--slate); margin: var(--space-5) 0 var(--space-2); }
.rt-article p, .rt-article li { font-size: var(--fs-md); color: var(--ink-soft); }
.rt-article p { margin-bottom: var(--space-4); }
.rt-article ul, .rt-article ol { padding-left: 22px; margin-bottom: var(--space-4); display: grid; gap: 6px; }
.rt-article a { color: var(--color-link); }
.rt-article figure { margin: var(--space-6) 0; }
.rt-article figcaption { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-2); }

/* Byline / reviewed-by — slots render empty until a real reviewer signs off */
.rt-byline { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--fs-xs); color: var(--ink-faint); margin: var(--space-4) 0 var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.rt-byline strong { color: var(--slate); font-weight: 600; }
.rt-byline[data-reviewer=""] .rt-reviewed { display: none; }

/* Sources */
.rt-sources { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.rt-sources h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); color: var(--ink-soft); }
.rt-sources ol { padding-left: 18px; display: grid; gap: 4px; }
.rt-sources a { color: var(--teal); word-break: break-word; }

/* CTA band + sticky mobile CTA (calm — no urgency devices) */
.rt-cta-band { background: var(--teal); color: #fff; border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); margin: var(--space-7) 0; text-align: center; }
.rt-cta-band h2 { font-family: var(--font-display); font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.rt-cta-band p { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0 auto var(--space-4); }
.rt-cta-band .btn-primary { background: var(--sage); color: var(--ink); }
.rt-cta-band .btn-primary:hover { background: #bcd6c8; }
.rt-cta-band .rt-expectation { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); margin-top: var(--space-3); }
.rt-sticky-cta { display: none; }
@media (max-width: 768px) {
    .rt-sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: rgba(250,247,241,0.98); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; }
    .rt-sticky-cta span { font-size: var(--fs-xs); color: var(--ink-soft); }
    .rt-sticky-cta .btn-primary { padding: 12px 18px; font-size: var(--fs-sm); }
    body.rt-has-sticky { padding-bottom: 72px; }
}

/* Related / hub cards */
.rt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); margin: var(--space-5) 0; }
.rt-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.rt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rt-card h3 { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--teal); margin-bottom: var(--space-2); }
.rt-card p { font-size: var(--fs-sm); color: var(--ink-soft); }
.rt-card .rt-card-more { display: inline-block; margin-top: var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: var(--teal); }

/* State glyph + vs-national bar (state guides) */
.rt-state-hero { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-5); align-items: center; background: var(--ivory); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-5) 0; }
.rt-state-glyph { width: 96px; height: 96px; border-radius: var(--radius-md); background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.rt-state-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); }
.rt-state-facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.rt-state-facts dd { font-weight: 600; color: var(--slate); font-size: var(--fs-md); }
@media (max-width: 540px) { .rt-state-hero { grid-template-columns: 1fr; } .rt-testimonial { grid-template-columns: 1fr; } .rt-comp-row, .rt-score-row { grid-template-columns: 1fr; } }
