/* ==========================================================================
   Compliance Ghost — shared stylesheet
   Brand hues are unchanged from v2. Neutrals were re-cut to solid, AA-passing
   values (they were opacity-white before, which read as haze on the navy).
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
    /* Brand — locked */
    --navy: #1a2744;
    --navy-2: #1e2d4d;
    --card: #243656;
    --card-2: #2a3d61;
    --teal: #4ecdc4;
    --teal-soft: #7ee0d9;
    --teal-deep: #0d9488;
    --teal-ink: #0b7a70;   /* deeper teal for small text on light grounds: 5.0:1 vs 3.6:1 */
    --emerald: #2ecc71;
    --emerald-2: #3dd87a;
    --danger: #ef4444;
    --danger-ink: #ff9d9d;  /* red TEXT on dark surfaces: 6.1:1 (raw #ef4444 is 3.2:1) */
    --warning: #f59e0b;
    --amber: #eab308;

    /* Ink on navy — solid; ratios vs #1a2744 in comments */
    --ink: #eef2f7;        /* 12.0:1 */
    --ink-2: #b8c2d4;      /*  8.3:1 */
    --ink-3: #94a3b8;      /*  5.8:1 — muted floor, never go below */

    /* Light surfaces */
    --light: #f8fafc;
    --white: #ffffff;
    --light-line: #dbe3f0;
    --ink-dark: #1e293b;   /* headings on light */
    --ink-dark-2: #334155; /* card copy on light */
    --ink-dark-3: #44506b; /* body copy on light — 7.0:1 on #f8fafc */

    --on-emerald: #10231a; /* text on emerald fills — 8.2:1 (white was 2.2:1) */

    /* Hairlines & glows, all brand-derived */
    --line: rgba(255,255,255,.10);
    --line-2: rgba(255,255,255,.16);
    --top-light: inset 0 1px 0 rgba(255,255,255,.05);
    --teal-glow: rgba(78,205,196,.15);
    --teal-line: rgba(78,205,196,.45);
    --teal-wash: rgba(78,205,196,.08);
    --emerald-glow: rgba(46,204,113,.15);
    --danger-glow: rgba(239,68,68,.12);
    --warning-glow: rgba(245,158,11,.15);

    /* Type scale — fluid, 16→18px body */
    --t-xs:   clamp(.75rem, .73rem + .08vw, .8rem);
    --t-sm:   clamp(.875rem, .85rem + .11vw, .9375rem);
    --t-base: clamp(1rem, .955rem + .23vw, 1.125rem);
    --t-lead: clamp(1.125rem, 1.05rem + .34vw, 1.3125rem);
    --t-h3:   clamp(1.3rem, 1.16rem + .6vw, 1.65rem);
    --t-h2:   clamp(1.75rem, 1.5rem + .95vw, 2.3rem);
    --t-h1:   clamp(2.3rem, 1.8rem + 2.2vw, 3.4rem);

    /* 8pt spacing */
    --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
    --s6: 48px; --s7: 64px; --s8: 80px; --s9: 96px; --s10: 120px;

    /* Radius */
    --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;

    --shadow-card: 0 10px 30px -18px rgba(0,0,0,.55);
    --ease: cubic-bezier(.4,0,.2,1);
    --nav-h: 68px;
}

/* --- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-synthesis: none;                /* never fake a weight or italic */
    background: var(--navy);
    color: var(--ink);
    font-size: var(--t-base);
    line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    line-height: 1.15;
    letter-spacing: -.015em;
    text-wrap: balance;
    color: var(--ink);
}
h1 { font-size: var(--t-h1); font-weight: 800; }
h2 { font-size: var(--t-h2); font-weight: 800; }
h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: var(--t-base); font-weight: 700; letter-spacing: -.005em; }
p  { color: var(--ink-2); }
strong { font-weight: 700; }

a { color: var(--teal); }
a:hover { color: var(--teal-soft); }

[tabindex="-1"]:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--s3); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 50%; translate: -50% -120%; top: 8px; z-index: 3000;
    background: var(--teal); color: var(--navy); font-weight: 700;
    padding: 10px 18px; border-radius: var(--r-sm); text-decoration: none;
    transition: translate .15s var(--ease);
}
.skip-link:focus { translate: -50% 0; color: var(--navy); }

/* --- Icons ---------------------------------------------------------------- */
.ico {
    width: 24px; height: 24px; flex: none;
    stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 28px; height: 28px; }

/* --- Navigation (shared, all 13 pages) ------------------------------------ */
.nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(26,39,68,.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav { background: #1a2744; }
}
.nav > .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s3); min-height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-word {
    display: flex; flex-direction: column; line-height: 1;
    font-weight: 800; letter-spacing: .06em; color: var(--ink);
    font-size: .8rem; text-transform: uppercase;
}
.brand-word span:last-child { color: var(--teal); letter-spacing: .19em; font-size: .72rem; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: var(--s3); }
.nav-links a {
    color: var(--ink-2); text-decoration: none;
    font-size: var(--t-sm); font-weight: 500;
    transition: color .15s var(--ease);
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
    background: var(--emerald); color: var(--on-emerald) !important;
    padding: 10px 18px; border-radius: var(--r-sm); font-weight: 700;
    transition: background .15s var(--ease), transform .15s var(--ease);
}
.nav-cta:hover { background: var(--emerald-2); transform: translateY(-1px); }

/* Mobile menu — CSS-only so it works identically on every page, JS or not */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    color: var(--ink); cursor: pointer; border-radius: var(--r-sm);
}
.nav-toggle:hover { background: rgba(255,255,255,.06); }
.nav-toggle-input:focus-visible + .nav-toggle { outline: 2px solid var(--teal); outline-offset: 2px; }
.nav-toggle .ico-close, .nav-toggle-input:checked ~ .nav-toggle .ico-open { display: none; }
.nav-toggle-input:checked ~ .nav-toggle .ico-close { display: block; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #1b2949; border-bottom: 1px solid var(--line);
        padding: var(--s1) var(--s3) var(--s3);
        display: none;
    }
    .nav-toggle-input:checked ~ .nav-links { display: flex; }
    .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta { margin-top: var(--s2); text-align: center; padding: 14px 18px; }
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
    padding: 14px 28px; border-radius: var(--r-sm);
    font-family: inherit; font-weight: 700; font-size: var(--t-sm);
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: background .15s var(--ease), border-color .15s var(--ease),
                transform .15s var(--ease), color .15s var(--ease);
}
.btn-primary { background: var(--emerald); color: var(--on-emerald); }
.btn-primary:hover {
    background: var(--emerald-2); color: var(--on-emerald);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -6px rgba(46,204,113,.5);
}
.btn-secondary {
    background: var(--teal-wash); color: var(--teal);
    border-color: var(--teal-line);
}
.btn-secondary:hover {
    background: rgba(78,205,196,.14); color: var(--teal-soft);
    border-color: var(--teal); transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }
/* On light grounds the teal label drops to 1.85:1 — swap to dark ink and let the
   teal live in the border and icon instead. */
.section-light .btn-secondary {
    color: var(--ink-dark);
    background: rgba(13,148,136,.07);
    border-color: rgba(13,148,136,.45);
}
.section-light .btn-secondary:hover {
    color: var(--ink-dark); background: rgba(13,148,136,.13); border-color: var(--teal-deep);
}
.section-light .btn-secondary .ico { color: var(--teal-deep); }
.btn-lg { padding: 16px 32px; font-size: var(--t-base); }
.btn-block { width: 100%; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: var(--s9) 0; }
.section-dark-2 { background: var(--navy-2); }
.section-light { background: var(--light); color: var(--ink-dark); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--ink-dark); }
.section-light p { color: var(--ink-dark-3); }
.section-light .section-label { color: var(--teal-ink); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto var(--s6); }
.section-label {
    display: inline-block; font-size: var(--t-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--teal); margin-bottom: var(--s1);
}
.section-desc { font-size: var(--t-lead); margin-top: var(--s2); }

/* Interior page hero — nav is in-flow now, so no 160px top padding needed */
.page-hero { padding: var(--s8) 0 var(--s6); text-align: center; }
.page-hero h1 { font-size: var(--t-h1); margin-bottom: var(--s2); }
.page-hero .subtitle { font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; margin: 0 auto; }

/* Long-form legal / policy copy */
.legal-content { padding: 0 0 var(--s8); }
.legal-content .container { max-width: 820px; }
.legal-content h2 { font-size: var(--t-h3); margin: var(--s6) 0 var(--s2); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: var(--t-base); margin: var(--s4) 0 var(--s1); }
.legal-content p, .legal-content li { font-size: var(--t-sm); line-height: 1.8; color: var(--ink-2); }
.legal-content p { margin-bottom: var(--s2); }
.legal-content ul, .legal-content ol { padding-left: var(--s3); margin-bottom: var(--s2); }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--teal); text-decoration: underline; }
.legal-date { font-size: var(--t-sm); color: var(--ink-3); margin-bottom: var(--s4); text-align: center; }

/* --- Surfaces ------------------------------------------------------------- */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--top-light);
    transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.card-hover:hover { border-color: rgba(78,205,196,.35); transform: translateY(-2px); }

.card-light {
    background: var(--white);
    border: 1px solid var(--light-line);
    border-radius: var(--r-md);
    box-shadow: 0 1px 2px rgba(22,32,58,.05);
    transition: border-color .18s var(--ease), transform .18s var(--ease),
                box-shadow .18s var(--ease);
}
.card-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -10px rgba(22,32,58,.25);
    border-color: #c6d2e6;
}
.section-light .card-light p { color: var(--ink-dark-2); }

/* icon tiles */
.tile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--r-sm);
    background: var(--teal-glow); color: var(--teal); flex: none;
}
.tile-lg { width: 60px; height: 60px; border-radius: var(--r-md); }
.tile-danger { background: var(--danger-glow); color: var(--danger); }

/* chips */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: var(--r-pill);
    font-size: var(--t-xs); font-weight: 700;
}
.chip-teal { background: var(--teal-glow); color: var(--teal); }
.chip-emerald { background: var(--emerald-glow); color: var(--emerald); }
.chip-danger { background: var(--danger-glow); color: var(--danger); }
.chip-warning { background: var(--warning-glow); color: var(--warning); }
.section-light .chip-teal { background: rgba(13,148,136,.12); color: var(--teal-ink); }
.section-light .chip-emerald { background: rgba(13,148,136,.12); color: #0b7a70; }
.section-light .chip-danger { background: rgba(239,68,68,.1); color: #c02626; }

/* --- Closing CTA band ----------------------------------------------------- */
.cta-band {
    position: relative; overflow: hidden;
    padding: var(--s9) 0; text-align: center;
    background: var(--navy-2);
    border-top: 1px solid var(--teal-line);
}
.cta-band::before {
    content: ''; position: absolute; inset: -40% 55% 30% -20%;
    background: radial-gradient(closest-side, rgba(78,205,196,.08), transparent 70%);
    pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band p { color: var(--ink-2); font-size: var(--t-lead); max-width: 560px; margin: 0 auto var(--s5); }
.cta-buttons { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s5); }
.cta-contact {
    display: flex; align-items: center; justify-content: center;
    gap: var(--s4); flex-wrap: wrap; font-size: var(--t-sm); color: var(--ink-2);
}
.cta-contact a {
    color: var(--ink); text-decoration: none;
    display: inline-flex; align-items: center; gap: var(--s1);
}
.cta-contact a:hover { color: var(--teal); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { padding: var(--s7) 0 var(--s5); background: var(--navy); border-top: 1px solid var(--line); }
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: var(--s3);
}
.footer-links { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); }
.footer-links a:hover { color: var(--teal); }
.social-links { display: flex; gap: var(--s1); }
.social-links a {
    width: 38px; height: 38px; border-radius: var(--r-sm);
    background: var(--card); border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-2); text-decoration: none;
    transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.social-links a:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.footer-contact {
    display: flex; gap: var(--s4); flex-wrap: wrap; justify-content: center;
    margin-top: var(--s4); font-size: var(--t-sm);
}
.footer-contact a {
    display: inline-flex; align-items: center; gap: var(--s1);
    color: var(--ink-2); text-decoration: none;
}
.footer-contact a:hover { color: var(--teal); }
.footer-bottom {
    margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
    text-align: center; font-size: var(--t-sm); color: var(--ink-3);
}
.footer-legal { margin-top: var(--s1); font-size: var(--t-xs); color: var(--ink-3); text-align: center; }
.footer-legal a { color: var(--ink-3); text-decoration: none; }
.footer-legal a:hover { color: var(--teal); }
.footer-disclaimer {
    max-width: 720px; margin: var(--s2) auto 0;
    font-size: var(--t-xs); color: var(--ink-3); line-height: 1.6;
}

/* --- Sticky mobile buy bar ------------------------------------------------ */
.buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
    display: none; gap: var(--s1);
    padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom));
    background: rgba(26,39,68,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .25s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar .btn { flex: 1; padding: 12px 14px; font-size: var(--t-sm); }
.buybar-close {
    flex: none; width: 40px; border: 1px solid var(--line); background: transparent;
    color: var(--ink-3); border-radius: var(--r-sm); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.buybar-close:hover { color: var(--ink); }
@media (max-width: 860px) { .buybar { display: flex; } }

/* --- Scroll reveal (opt-in, motion-safe) ---------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
    .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .buybar { transition: none; }
}

/* --- Guides (hub + articles) ----------------------------------------------
   Everything below is scoped under .article so the guides' `.section`
   (an in-article block) can't collide with the page-level `.section` band. */
.article { max-width: 780px; margin: 0 auto; padding: var(--s5) var(--s3) var(--s5); }

.crumb { font-size: var(--t-sm); color: var(--ink-3); display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s3); }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--teal); }

.eyebrow {
    display: inline-flex; align-items: center; gap: var(--s1);
    font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--teal); margin-bottom: var(--s2);
}
.eyebrow .ico { width: 16px; height: 16px; }

.article h1 { font-size: clamp(1.95rem, 1.6rem + 1.7vw, 2.85rem); margin-bottom: var(--s2); }
.updated {
    font-size: var(--t-sm); color: var(--ink-3);
    padding-bottom: var(--s3); margin-bottom: var(--s4);
    border-bottom: 1px solid var(--line);
}
.intro p { font-size: var(--t-lead); color: var(--ink); margin-bottom: var(--s2); }

.disclaimer {
    background: var(--navy-2); border: 1px solid var(--line);
    border-left: 3px solid var(--teal); border-radius: var(--r-sm);
    padding: var(--s2) var(--s3); font-size: var(--t-sm);
    color: var(--ink-3); margin: var(--s3) 0 var(--s5);
}

.toc {
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--top-light);
    border-radius: var(--r-md); padding: var(--s3); margin: 0 0 var(--s6);
}
.toc h2 {
    font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
    color: var(--teal); margin-bottom: var(--s2);
}
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 7px; margin: 0; }
.toc li { counter-increment: t; font-size: var(--t-sm); }
.toc li::before {
    content: counter(t); color: var(--teal); font-weight: 700;
    margin-right: 10px; font-variant-numeric: tabular-nums;
}
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal); }

.article .section { margin: var(--s6) 0; padding: 0; }
.article .section h2 { font-size: var(--t-h3); margin-bottom: var(--s2); }
.article .section h2::before {
    content: ""; display: block; width: 38px; height: 3px;
    background: var(--teal); border-radius: 2px; margin-bottom: var(--s2);
}
.article .section p { margin-bottom: var(--s2); color: var(--ink-2); }
.article .section ul { margin: 0 0 var(--s2); padding-left: 4px; list-style: none; display: grid; gap: 9px; }
.article .section ul li { padding-left: 26px; position: relative; color: var(--ink-2); }
.article .section ul li::before {
    content: ""; position: absolute; left: 4px; top: 11px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.article strong { color: var(--ink); }
.article p, .article li { max-width: 68ch; }

.checklist {
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--top-light);
    border-radius: var(--r-md); padding: var(--s4); margin: var(--s6) 0;
}
.checklist h2 { font-size: var(--t-h3); margin-bottom: var(--s3); }
.checklist ul { list-style: none; display: grid; gap: 11px; margin: 0; }
.checklist li { padding-left: 32px; position: relative; color: var(--ink-2); }
.checklist li::before {
    content: "\2713"; position: absolute; left: 0; top: 1px;
    width: 21px; height: 21px; background: var(--emerald); color: var(--on-emerald);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
}

.article .faq { margin: var(--s6) 0; }
.article .faq h2 { font-size: var(--t-h3); margin-bottom: var(--s1); }
.article details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.article summary {
    cursor: pointer; padding: var(--s2) 34px var(--s2) 0; font-weight: 700;
    color: var(--ink); font-size: var(--t-base); position: relative; list-style: none;
}
.article summary::-webkit-details-marker { display: none; }
.article summary::after {
    content: "+"; position: absolute; right: 4px; top: 14px;
    font-size: 1.4rem; color: var(--teal); font-weight: 400;
    transition: transform .2s var(--ease);
}
.article details[open] summary::after { transform: rotate(45deg); }
.article details .a { padding: 0 0 var(--s3); color: var(--ink-2); }
.article details .a p { margin-bottom: var(--s2); }

.sources {
    font-size: var(--t-sm); color: var(--ink-3);
    border-top: 1px solid var(--line); padding-top: var(--s3); margin-top: var(--s5);
}
.sources a { color: var(--ink-2); word-break: break-word; }

.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s3); }
.gcard {
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--top-light);
    border-radius: var(--r-md); padding: var(--s3);
    transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.gcard:hover { border-color: rgba(78,205,196,.35); transform: translateY(-2px); }
.gcard h3 { font-size: var(--t-base); margin-bottom: 6px; }
.gcard p { font-size: var(--t-sm); color: var(--ink-3); }
.gcard .tile { margin-bottom: var(--s2); }

.related { margin: var(--s6) 0 0; }
.related h2 { font-size: var(--t-h3); margin-bottom: var(--s3); }
.related .gcards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.related .gcard { text-decoration: none; display: block; }
.related .gcard h3 { font-size: var(--t-sm); }
.related .gcard p { font-size: var(--t-xs); color: var(--teal); }

.cta-block {
    background: var(--card); border: 1px solid var(--teal-line); box-shadow: var(--top-light);
    border-radius: var(--r-md); padding: var(--s4); margin: var(--s6) 0 0; text-align: center;
}
.cta-block h2 { font-size: var(--t-h3); margin-bottom: var(--s1); }
.cta-block p { color: var(--ink-2); margin-bottom: var(--s3); }
.cta-block .fineprint { font-size: var(--t-xs); color: var(--ink-3); margin: var(--s2) 0 0; }

/* inline mid-article CTA */
.inline-cta {
    display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap;
    justify-content: space-between;
    background: var(--navy-2); border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    border-radius: var(--r-sm); padding: var(--s3); margin: var(--s5) 0;
}
.inline-cta p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.inline-cta strong { color: var(--ink); }

/* --- FAQ / details -------------------------------------------------------- */
details.faq {
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--top-light);
    border-radius: var(--r-md); padding: var(--s2) var(--s3); margin-bottom: var(--s1);
}
details.faq summary {
    cursor: pointer; font-weight: 700; color: var(--ink);
    list-style: none; display: flex; justify-content: space-between; gap: var(--s2);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--teal); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details.faq[open] summary::after { content: '\2212'; }
details.faq p { margin-top: var(--s1); font-size: var(--t-sm); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 768px) {
    .section { padding: var(--s8) 0; }
    .cta-band { padding: var(--s8) 0; }
    .cta-contact { flex-direction: column; gap: var(--s2); }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .article { padding: var(--s4) var(--s3) var(--s7); }
    .inline-cta { flex-direction: column; align-items: flex-start; }
}

/* Assessment service-gate checkboxes reuse the answer-row look */
.answers-gate { display: flex; align-items: center; gap: var(--s2); padding: 14px 16px;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer;
    font-size: var(--t-sm); color: var(--ink-2); }
.answers-gate:hover { border-color: rgba(78,205,196,.4); }
.answers-gate input { accent-color: #4ecdc4; width: 18px; height: 18px; flex: none; }

/* --- Exit-intent (desktop only; see site.js for the arming rules) --------- */
.exit-modal {
    position: fixed; inset: 0; z-index: 2500;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,16,30,.72); padding: var(--s3);
}
@media (prefers-reduced-motion: no-preference) {
    .exit-modal { animation: exitFade .18s var(--ease); }
    @keyframes exitFade { from { opacity: 0 } to { opacity: 1 } }
}
.exit-card {
    position: relative; max-width: 480px; width: 100%;
    background: var(--card); border: 1px solid var(--line-2);
    border-radius: var(--r-lg); padding: var(--s5) var(--s4) var(--s4);
    box-shadow: 0 24px 60px -30px rgba(0,0,0,.8), var(--top-light);
    text-align: center;
}
.exit-card h2 { font-size: var(--t-h3); margin-bottom: var(--s2); }
.exit-card p { font-size: var(--t-sm); margin-bottom: var(--s3); }
.exit-card .btn { width: 100%; }
.exit-close {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--navy); border: 1px solid var(--line);
    color: var(--ink-3); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.exit-close:hover { color: var(--ink); }
.exit-dismiss {
    display: block; margin: var(--s2) auto 0; background: none; border: 0;
    color: var(--ink-3); font: inherit; font-size: var(--t-sm); cursor: pointer;
    text-decoration: underline; text-underline-offset: 2px;
}
.exit-dismiss:hover { color: var(--ink-2); }

