/* ==========================================================================
   HOMETVMOUNT  —  Design System  (v3, structure ported from reference)
   Concept:  Calm, editorial information guide to TV mounting.
   Visual:   Soft paper field · warm-grey surfaces · charcoal ink ·
             warm amber accent · Montserrat throughout · restrained.
   ========================================================================== */

/* -----  1. TOKENS  ------------------------------------------------------- */
:root {
    /* Surfaces — soft paper / warm grey (light) */
    --bg:         #f7f5f2;      /* soft paper page field */
    --surface:    #ece8e2;      /* warm grey — cards */
    --surface-2:  #e4dfd7;      /* hover / bands */
    --surface-3:  #d8d2c8;      /* deeper grey */

    /* Text — charcoal on paper */
    --text:       #1a1a1a;      /* charcoal ink */
    --text-dim:   #48443d;      /* charcoal-2 */
    --text-faint: #8a8578;      /* warm stone */

    /* Lines */
    --line:       rgba(26,26,26,0.14);
    --line-2:     rgba(26,26,26,0.26);

    /* Accent — warm amber (approved palette) */
    --accent:        #e8853a;
    --accent-bright: #e8853a;
    --accent-deep:   #c96a24;
    --accent-soft:   rgba(232,133,58,0.12);
    --accent-glow:   rgba(232,133,58,0.28);
    --tea-pale:      #f2cfa8;   /* pale amber */

    /* -- Legacy aliases -- */
    --ink:        var(--bg);
    --paper:      var(--surface);
    --surge:      var(--accent);
    --cream:      var(--bg);
    --walnut:     var(--text);
    --line-dim:   rgba(26,26,26,0.06);
    --line-onink: rgba(247,245,242,0.16);

    /* Type — Montserrat everywhere */
    --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

    /* Type scale — restrained, sentence-case */
    --t-display: clamp(2.5rem, 4.5vw + 1rem, 4.25rem);
    --t-h1:      clamp(2.1rem, 3.5vw + 0.6rem, 3.4rem);
    --t-h2:      clamp(1.65rem, 2.2vw + 0.6rem, 2.5rem);
    --t-h3:      clamp(1.2rem, 1vw + 0.75rem, 1.5rem);
    --t-h4:      1.0625rem;
    --t-body:    1rem;
    --t-small:   0.9375rem;
    --t-micro:   0.75rem;

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

    --radius:   14px;
    --radius-sm: 10px;
    --max-w:    1200px;
    --gutter:   24px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 200ms;
}

/* -----  2. RESET + BASE  ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--t-body);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* -----  3. TYPOGRAPHY  --------------------------------------------------- */
.display {
    font-family: var(--font-display);
    font-size: var(--t-display);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
}
h1, .h1 { font-family: var(--font-display); font-size: var(--t-h1); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
h2, .h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
h3, .h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h4, .h4 { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; line-height: 1.35; }

.mega { font-family: var(--font-display); font-weight: 800; font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.025em; }

/* Eyebrow — the one small label style */
.eyebrow, .tag, .label {
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bright);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--accent-glow);
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0.5;
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.4); opacity: 0; }
}

.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--text-dim); font-weight: 400; }
.lede-lg { font-size: 1.3125rem; line-height: 1.55; color: var(--text-dim); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); letter-spacing: 0.04em; }
.mono  { font-family: var(--font-mono); }
.muted { color: var(--text-faint); }
.accent, .surge { color: var(--accent-bright); }

/* -----  4. LAYOUT  ------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding-top: var(--s-9); padding-bottom: var(--s-9); position: relative; }
@media (max-width: 768px) { .section { padding-top: var(--s-8); padding-bottom: var(--s-8); } }
.section--tight { padding-top: var(--s-7); padding-bottom: var(--s-7); }
.section--ink   { background: var(--surface-3); }
.section--paper { background: var(--surface); }

/* -----  5. BUTTONS  ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 26px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
                color var(--dur) var(--ease), border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* Primary — deep tea green with soft depth */
.btn--primary {
    background: linear-gradient(180deg, #d9772e, var(--accent) 55%, var(--accent-deep));
    color: #f4f0ea;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14),
                0 8px 22px -10px var(--accent-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),
                0 14px 30px -10px var(--accent-glow);
}
.btn--primary:active { transform: translateY(0); }

/* Solid — walnut chip on cream */
.btn--solid {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}
.btn--solid:hover { background: #171717; transform: translateY(-2px); }

/* Outline — quiet secondary */
.btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--line-2);
}
.btn--outline:hover { background: rgba(26,26,26,0.06); border-color: var(--text-dim); transform: translateY(-2px); }

/* Ghost — text link with arrow */
.btn--ghost {
    padding: 8px 2px;
    background: none;
    border: none;
    color: var(--accent-bright);
    border-radius: 0;
    font-weight: 600;
}
.btn--ghost:hover { color: var(--accent-deep); }
.btn--ghost .arr { transition: transform var(--dur) var(--ease); }
.btn--ghost:hover .arr { transform: translateX(4px); }

.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* -----  6. CHIPS / TRUST  ----------------------------------------------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-dim);
    border: 1px solid var(--line);
}
.chip--surge { background: var(--accent-soft); color: var(--accent-bright); border-color: rgba(232,133,58,0.3); }
.chip--ink   { background: var(--surface-3); color: var(--text); }
.chip svg { width: 15px; height: 15px; }

/* Trust bar — small pillar strip under hero */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-5) var(--s-7);
    align-items: center;
    padding: var(--s-6) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--text-dim); font-size: 0.9375rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--accent-bright); flex-shrink: 0; }
.trust-item strong { color: var(--text); font-weight: 700; }

/* -----  7. SECTION HEAD  ------------------------------------------------ */
.sec-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-7);
    align-items: end;
    margin-bottom: var(--s-8);
}
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; margin-bottom: var(--s-7); } }
.sec-head__id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--t-micro);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-bright);
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}
.sec-head__id::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-head__title { max-width: 20ch; }
.sec-head__lede { color: var(--text-dim); line-height: 1.6; font-size: 1.0625rem; }

/* -----  8. CARDS  ------------------------------------------------------- */
.card-grid { display: grid; gap: var(--s-5); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; } }

/* Service / feature card */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--s-6);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent 70%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(26,26,26,0.35); }
.card:hover::before { opacity: 1; }

.card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-bright);
    margin-bottom: var(--s-5);
    flex-shrink: 0;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.1875rem; font-weight: 700; margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.card__body { color: var(--text-dim); font-size: 0.9375rem; line-height: 1.6; flex: 1; }
.card__meta {
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
    font-size: 0.8125rem;
    color: var(--text-faint);
    font-weight: 500;
}
.card__meta strong { color: var(--accent-bright); font-weight: 700; }
.card__meta a { color: var(--accent-bright); }

/* -----  9. STEPS (how it works)  ---------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--s-6); border-top: 2px solid var(--line-2); }
.step__n {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent-bright);
    letter-spacing: 0.04em;
    margin-bottom: var(--s-4);
    display: block;
}
.step__title { font-size: 1.1875rem; font-weight: 700; margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.step__body { color: var(--text-dim); font-size: 0.9375rem; line-height: 1.6; }

/* -----  11. TIMELINE  --------------------------------------------------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
}
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }
.timeline__cell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--s-6) var(--s-5);
}
.timeline__t { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--accent-bright); margin-bottom: var(--s-3); letter-spacing: -0.02em; }
.timeline__lbl { font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; color: var(--text-faint); text-transform: uppercase; margin-bottom: var(--s-3); }
.timeline__body { color: var(--text-dim); font-size: 0.9375rem; line-height: 1.55; }

/* -----  15. FAQ  -------------------------------------------------------- */
.q { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: var(--s-3); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.q[open] { border-color: var(--line-2); }
.q summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-5) var(--s-6);
    display: flex;
    align-items: center;
    gap: var(--s-4);
    transition: background var(--dur) var(--ease);
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { background: var(--surface-2); }
.q__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; color: var(--text); flex: 1; letter-spacing: -0.005em; }
.q__toggle {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 400;
    line-height: 1; color: var(--accent-bright);
    transition: transform var(--dur) var(--ease);
    flex-shrink: 0;
}
.q[open] .q__toggle { transform: rotate(45deg); }
.q__body { padding: 0 var(--s-6) var(--s-5); color: var(--text-dim); line-height: 1.65; max-width: 74ch; }
.q__body p + p { margin-top: var(--s-3); }

/* -----  16. CTA BLOCK  -------------------------------------------------- */
.cta-block {
    position: relative;
    background: linear-gradient(160deg, var(--accent-deep), #a5591d);
    border: 1px solid rgba(232,133,58,0.5);
    border-radius: calc(var(--radius) + 4px);
    padding: var(--s-9) var(--s-8);
    overflow: hidden;
    color: #f0ece5;
}
@media (max-width: 700px) { .cta-block { padding: var(--s-7) var(--s-5); } }
.cta-block::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 60%; height: 120%;
    background: radial-gradient(circle, rgba(232,133,58,0.28), transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}
.cta-block > * { position: relative; }
.cta-block h2 { color: #f2eee8; }
.cta-block h2 .surge { color: var(--tea-pale); }
.cta-block .lede, .cta-block p { color: rgba(247,245,242,0.82); }
.cta-block .eyebrow { color: var(--tea-pale); }
.cta-block .tlink { color: var(--tea-pale); }
.cta-block .tlink:hover { color: #fff; }

/* -----  17. FORMS  ------------------------------------------------------ */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-dim); }
.field input, .field textarea, .field select {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text);
    width: 100%;
    font-family: var(--font-body);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    background: #fbf9f5;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 150px; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-grid aside { position: static !important; }
}

/* Panel — generic bordered box used in sidebars */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); }
.panel--accent { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: rgba(232,133,58,0.3); }

/* -----  17b. COMPARISON TABLE  ----------------------------------------- */
.ctable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
.ctable th, .ctable td { text-align: left; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.ctable thead th {
    font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright);
    background: var(--surface-2); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.ctable tbody th {
    font-weight: 700; color: var(--text); width: 1%; white-space: nowrap;
    border-right: 1px solid var(--line);
}
.ctable td { color: var(--text-dim); }
.ctable tbody tr:hover { background: rgba(26,26,26,0.03); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: none; }
.ctable .best { color: var(--accent-bright); font-weight: 700; }

/* -----  17c. NOTE / CALLOUT  ------------------------------------------- */
.note {
    display: flex; gap: var(--s-4); align-items: flex-start;
    background: var(--accent-soft); border: 1px solid rgba(232,133,58,0.3);
    border-radius: var(--radius); padding: var(--s-5) var(--s-6); color: var(--text-dim);
    font-size: 0.9375rem; line-height: 1.65;
}
.note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-bright); margin-top: 2px; }
.note strong { color: var(--text); }

/* -----  17d. TEXT LINK (non-button CTA)  ------------------------------- */
.tlink {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    color: var(--accent-bright); line-height: 1.2;
    border-bottom: 1px solid transparent; padding-bottom: 2px;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tlink:hover { color: var(--accent-deep); border-bottom-color: currentColor; }
.tlink .arr { transition: transform var(--dur) var(--ease); }
.tlink:hover .arr { transform: translateX(3px); }
.tlink--lg { font-size: 1.0625rem; }
.tlink-row { display: flex; gap: var(--s-6); flex-wrap: wrap; align-items: center; }

/* -----  18. HEADER + NAV  ---------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247,245,242,0.8);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(247,245,242,0.9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: var(--s-5); }

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; }
.brand__name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.brand__name .tv { color: var(--accent-bright); }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav a { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; color: var(--text-dim); padding: 6px 0; position: relative; transition: color var(--dur) var(--ease); }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }

.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--text); border-radius: 2px; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after  { top: 6px; }

@media (max-width: 900px) {
    .nav, .header-cta .btn { display: none; }
    .header-cta .menu-btn { display: flex; }
    .header-cta .chip { display: none; }
}

.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 100; padding: var(--s-6) var(--gutter); display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-8); }
.mobile-menu__close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text); }
.mobile-menu nav { display: flex; flex-direction: column; gap: var(--s-2); }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--text); line-height: 1; border-bottom: 1px solid var(--line); padding: var(--s-5) 0; letter-spacing: -0.02em; }
.mobile-menu nav a.is-active { color: var(--accent-bright); }
.mobile-menu__foot { margin-top: auto; padding-top: var(--s-7); }

/* -----  19. HERO  ------------------------------------------------------- */
.hero { position: relative; padding: var(--s-9) 0 var(--s-8); overflow: hidden; }
.hero__glow {
    position: absolute;
    top: -12%; left: 50%;
    transform: translateX(-50%);
    width: min(900px, 120%); height: 620px;
    background: radial-gradient(ellipse at center, var(--accent-glow), transparent 62%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { max-width: 780px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(26,26,26,0.03);
    font-size: 0.8125rem; font-weight: 600; color: var(--text-dim);
    margin-bottom: var(--s-6);
}
.hero__badge strong { color: var(--text); font-weight: 700; }
.hero h1 { font-size: var(--t-display); margin-bottom: var(--s-5); }
.hero h1 .surge { color: var(--accent-bright); }
.hero__lede { color: var(--text-dim); font-size: 1.25rem; line-height: 1.55; max-width: 60ch; margin-bottom: var(--s-7); }
.hero__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* -----  20. PAGE HEAD (inner hero)  ------------------------------------ */
.page-head { position: relative; padding: var(--s-8) 0 var(--s-7); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before {
    content: "";
    position: absolute; top: -60%; right: -10%;
    width: 55%; height: 200%;
    background: radial-gradient(circle, var(--accent-glow), transparent 60%);
    opacity: 0.35; pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.page-head__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-6); flex-wrap: wrap; gap: var(--s-3); }
.page-head__crumb { font-size: 0.875rem; color: var(--text-faint); font-weight: 500; }
.page-head__crumb a { color: var(--text-dim); }
.page-head__crumb a:hover { color: var(--accent-bright); }
.page-head__id { font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; color: var(--accent-bright); text-transform: uppercase; }
.page-head__grid { display: grid; grid-template-columns: 1fr auto; gap: var(--s-7); align-items: end; }
@media (max-width: 768px) { .page-head__grid { grid-template-columns: 1fr; } }
.page-head h1 { font-size: clamp(2.25rem, 5vw + 0.5rem, 3.75rem); line-height: 1.05; margin-bottom: var(--s-4); max-width: 20ch; }
.page-head h1 .surge { color: var(--accent-bright); }
.page-head__lede { max-width: 58ch; color: var(--text-dim); font-size: 1.125rem; line-height: 1.6; }

/* -----  21. PROSE (legal)  --------------------------------------------- */
.prose { max-width: 72ch; color: var(--text-dim); line-height: 1.75; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-top: var(--s-7); margin-bottom: var(--s-4); color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; margin-top: var(--s-5); margin-bottom: var(--s-3); color: var(--text); }
.prose p { margin-bottom: var(--s-4); }
.prose ul { margin: 0 0 var(--s-4) 0; padding-left: 0; }
.prose ul li { padding: 6px 0 6px 28px; position: relative; list-style: none; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent-bright); border-bottom: 1px solid rgba(232,133,58,0.35); transition: border-color var(--dur) var(--ease); }
.prose a:hover { border-color: var(--accent-bright); }

.legal-grid { display: grid; grid-template-columns: 1fr 260px; gap: var(--s-8); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .prose-toc { position: static; } }
.prose-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); position: sticky; top: 92px; }
.prose-toc h4 { font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: var(--s-4); }
.prose-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.prose-toc ol li { counter-increment: toc; font-size: 0.875rem; }
.prose-toc ol li::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--font-display); font-size: 0.75rem; color: var(--text-faint); font-weight: 600; }
.prose-toc a { color: var(--text-dim); transition: color var(--dur) var(--ease); }
.prose-toc a:hover { color: var(--accent-bright); }

/* -----  22. FOOTER (deep tea green)  ----------------------------------- */
.site-footer { background: #211e1a; color: rgba(247,245,242,0.72); padding-top: var(--s-9); padding-bottom: var(--s-6); }
.footer-call { padding-bottom: var(--s-8); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: var(--s-8); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: center; }
@media (max-width: 800px) { .footer-call { grid-template-columns: 1fr; align-items: start; } }
.footer-call h2 { max-width: 14ch; color: #f2eee8; }
.footer-call h2 .surge { color: var(--tea-pale); }
.footer-call p { color: rgba(247,245,242,0.78); max-width: 44ch; margin-top: var(--s-4); line-height: 1.6; }
.site-footer .eyebrow { color: var(--tea-pale); }
.site-footer .live-dot { background: var(--tea-pale); box-shadow: 0 0 8px rgba(242,207,168,0.5); }
.site-footer .live-dot::after { border-color: var(--tea-pale); }
.site-footer .brand { color: #f2eee8; }
.site-footer .brand__name .tv { color: var(--tea-pale); }
.site-footer .tlink { color: var(--tea-pale); }
.site-footer .tlink:hover { color: #fff; }
.site-footer .chip--surge { background: rgba(242,207,168,0.14); color: var(--tea-pale); border-color: rgba(242,207,168,0.28); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--font-display); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,245,242,0.5); margin-bottom: var(--s-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(247,245,242,0.78); font-size: 0.9375rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(247,245,242,0.72); line-height: 1.6; font-size: 0.9375rem; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8125rem; color: rgba(247,245,242,0.5); flex-wrap: wrap; }
.footer-bottom__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* -----  23. UTILITY  --------------------------------------------------- */
.rule { height: 1px; background: var(--line); width: 100%; border: 0; margin: var(--s-6) 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }
.hidden-md { display: initial; }
@media (max-width: 768px) { .hidden-md { display: none; } }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .live-dot::after { animation: none; opacity: 0; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .btn:hover, .card:hover { transform: none; }
}
