/* ============================================================
   Memohopper — marketing site
   Tokens mirrored from the app design system (styles.css)
   ============================================================ */

:root{
  --bg-0:#070809; --bg-1:#0B0D11; --bg-2:#0F1218; --bg-3:#151922; --bg-4:#1B202A;
  --stroke:rgba(255,255,255,.065); --stroke-2:rgba(255,255,255,.11); --stroke-3:rgba(255,255,255,.18);
  --txt-0:#EEF0F4; --txt-1:#9BA1AE; --txt-2:#646B79; --txt-3:#454B57; --txt-body:#C7CCD6;
  --glass:rgba(11,13,17,.78);
  --accent:#7C5CFF; --accent-2:#9B83FF;
  --accent-soft:rgba(124,92,255,.15); --accent-line:rgba(124,92,255,.40);
  --t-concept:#7C5CFF; --t-component:#38BDF8; --t-model:#34D399;
  --t-person:#FBBF24; --t-org:#F472B6; --t-paper:#FB7185;
  --ui:"Geist","Geist Fallback",system-ui,-apple-system,sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",monospace;
  --r-sm:7px; --r-md:11px; --r-lg:16px; --r-xl:22px;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 28px rgba(0,0,0,.45);
  --shadow-lg:0 1px 2px rgba(0,0,0,.5),0 18px 50px rgba(0,0,0,.55);
  --ease:cubic-bezier(.22,.61,.36,1);
  --max:1120px;
  --win-glow:0 30px 90px -20px rgba(124,92,255,.28);
  color-scheme:dark;
}
html[data-theme="light"]{
  --bg-0:#EEF1F6; --bg-1:#F3F5F9; --bg-2:#FFFFFF; --bg-3:#F5F7FA; --bg-4:#E9EDF3;
  --stroke:rgba(15,23,42,.08); --stroke-2:rgba(15,23,42,.14); --stroke-3:rgba(15,23,42,.24);
  --txt-0:#0E1320; --txt-1:#48515F; --txt-2:#7A8294; --txt-3:#A9B0BD; --txt-body:#2C3340;
  --glass:rgba(255,255,255,.82);
  --shadow:0 1px 2px rgba(15,23,42,.08),0 8px 28px rgba(15,23,42,.10);
  --shadow-lg:0 1px 2px rgba(15,23,42,.10),0 18px 50px rgba(15,23,42,.16);
  --win-glow:0 30px 90px -25px rgba(124,92,255,.22);
  color-scheme:light;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  font-family:var(--ui);background:var(--bg-0);color:var(--txt-0);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  letter-spacing:-.01em;line-height:1.6;
  overflow-x:clip; /* guard: no horizontal wobble on mobile (clip ≠ hidden: keeps the sticky nav working) */
}
::selection{background:var(--accent-soft)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-2);text-decoration:none}
a:hover{color:var(--accent)}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--accent);color:#fff;padding:10px 16px;border-radius:0 0 10px 0;font-weight:600}
.skip:focus{left:0;color:#fff}

.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}

/* ============ buttons ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 20px;
  border-radius:var(--r-md);font-size:14.5px;font-weight:600;letter-spacing:-.01em;transition:.18s var(--ease);white-space:nowrap}
.btn svg{width:16px;height:16px}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 4px 18px rgba(124,92,255,.35)}
.btn-primary:hover{background:var(--accent-2);color:#fff;transform:translateY(-1px)}
.btn-ghost{border:1px solid var(--stroke-2);color:var(--txt-0);background:transparent}
.btn-ghost:hover{border-color:var(--stroke-3);background:var(--bg-3);color:var(--txt-0)}
.btn-lg{height:48px;padding:0 26px;font-size:15.5px}

/* ============ nav ============ */
.nav{position:sticky;top:0;z-index:100;background:var(--glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--stroke)}
.nav-in{max-width:var(--max);margin:0 auto;padding:0 24px;height:60px;display:flex;align-items:center;gap:26px}
.brandmark{display:flex;align-items:center;gap:10px;font-weight:650;font-size:15.5px;color:var(--txt-0);letter-spacing:-.02em}
.brandmark:hover{color:var(--txt-0)}
.brandmark .glyph{width:28px;height:28px;border-radius:8px;background:linear-gradient(150deg,var(--accent),#5b3fe0);
  display:grid;place-items:center;box-shadow:0 4px 14px rgba(124,92,255,.4),inset 0 1px 0 rgba(255,255,255,.25)}
.brandmark .glyph svg{width:16px;height:16px}
.nav-links{display:flex;align-items:center;gap:4px;list-style:none}
.nav-links a{display:block;padding:8px 12px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--txt-1)}
.nav-links a:hover{color:var(--txt-0);background:var(--bg-3)}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.nav-actions .btn{height:36px;padding:0 15px;font-size:13.5px}
.theme-btn{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;color:var(--txt-1);border:1px solid transparent;transition:.16s var(--ease)}
.theme-btn:hover{color:var(--txt-0);background:var(--bg-3);border-color:var(--stroke)}
.theme-btn svg{width:17px;height:17px}
.theme-btn .sun{display:none}
html[data-theme="light"] .theme-btn .sun{display:block}
html[data-theme="light"] .theme-btn .moon{display:none}
.burger{display:none;width:38px;height:38px;border-radius:9px;place-items:center;color:var(--txt-1)}
.burger svg{width:20px;height:20px}

@media (max-width:880px){
  .nav-in{padding:0 14px;gap:12px}
  .nav-links{display:none;position:absolute;top:60px;left:0;right:0;background:var(--bg-2);border-bottom:1px solid var(--stroke-2);
    flex-direction:column;align-items:stretch;padding:10px 16px 16px;gap:2px;box-shadow:var(--shadow-lg)}
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 12px;font-size:15px}
  .burger{display:grid}
  .nav-actions{gap:6px}
  .nav-actions .btn-ghost{display:none}
}
@media (max-width:380px){
  .nav-in{padding:0 10px;gap:8px}
  .brandmark{font-size:14px;gap:7px}
  .brandmark .glyph{width:24px;height:24px}
  .brandmark .glyph svg{width:14px;height:14px}
  .nav-actions .btn{padding:0 11px;font-size:12.5px}
  .theme-btn{width:32px}
  .burger{width:32px}
}

/* ============ hero ============ */
.hero{position:relative;padding:84px 0 40px;overflow:hidden}
.hero-bg{position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(60% 45% at 50% 0%,rgba(124,92,255,.13),transparent 70%),
    radial-gradient(40% 30% at 80% 20%,rgba(56,189,248,.05),transparent 70%)}
.hero-in{position:relative;max-width:var(--max);margin:0 auto;padding:0 24px;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11.5px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--accent-2)}
.eyebrow{align-items:flex-start} /* dot rides the FIRST line when the label wraps on mobile */
.eyebrow::before{content:"";flex-shrink:0;width:6px;height:6px;margin-top:6px;border-radius:50%;background:var(--fc,var(--accent));box-shadow:0 0 10px var(--fc,var(--accent))}
.hero h1{font-size:clamp(38px,6.4vw,68px);line-height:1.06;font-weight:650;letter-spacing:-.035em;margin:22px auto 20px;max-width:820px;text-wrap:balance}
.grad{background:linear-gradient(100deg,var(--accent-2),var(--accent) 45%,#38BDF8 110%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{font-size:clamp(16px,2vw,18.5px);line-height:1.65;color:var(--txt-1);max-width:660px;margin:0 auto 30px;text-wrap:pretty}
.cta-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.trust{margin-top:18px;font-size:13px;color:var(--txt-2)}
.trust b{color:var(--txt-1);font-weight:500}

.hero-art{position:relative;max-width:1060px;margin:56px auto 0;padding:0 24px;perspective:1400px}
#nodes{position:absolute;inset:-70px -10% 0;width:120%;height:calc(100% + 70px);pointer-events:none;z-index:0}
.hero .window{transform:rotateX(4deg);transform-origin:50% 100%}

/* framed window card */
.window{position:relative;z-index:1;background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--shadow-lg),var(--win-glow)}
.win-bar{display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;background:var(--bg-3);border-bottom:1px solid var(--stroke)}
.win-bar .d{width:10px;height:10px;border-radius:50%}
.win-bar .d1{background:#FB7185}.win-bar .d2{background:#FBBF24}.win-bar .d3{background:#34D399}
.win-bar .tag{margin-left:10px;font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--txt-2)}
.window img{width:100%}
.img-dark{display:block}.img-light{display:none}
html[data-theme="light"] .img-dark{display:none}
html[data-theme="light"] .img-light{display:block}

/* ============ answer band ============ */
.band{padding:76px 0;border-top:1px solid var(--stroke)}
.band-answer{background:var(--bg-1)}
.band-answer h2{font-size:clamp(24px,3vw,30px);font-weight:650;letter-spacing:-.025em;margin-bottom:18px}
.definition{font-size:clamp(17px,2.2vw,21px);line-height:1.62;color:var(--txt-body);max-width:820px;text-wrap:pretty}
.definition b{color:var(--txt-0);font-weight:600}
.stat-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.chip{display:inline-flex;align-items:flex-start;gap:9px;padding:9px 16px;border:1px solid var(--stroke-2);border-radius:100px;
  background:var(--bg-2);font-size:13.5px;color:var(--txt-1)}
.chip b{color:var(--txt-0);font-weight:600}
.chip .cd{width:7px;height:7px;margin-top:7px;border-radius:50%;background:var(--cc,var(--accent));box-shadow:0 0 8px var(--cc,var(--accent));flex-shrink:0}

/* ============ features ============ */
.features{padding-top:40px;padding-bottom:20px} /* longhand ON PURPOSE — the shorthand was wiping out .wrap's 24px side padding (this div is class="features wrap") */
.feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center;padding:66px 0}
.feature+.feature{border-top:1px solid var(--stroke)}
.feature.rev .feat-copy{order:2}
.feature.rev .feat-art{order:1}
.feat-copy .eyebrow{color:var(--txt-2)}
.feature h2{font-size:clamp(24px,3vw,31px);line-height:1.18;font-weight:650;letter-spacing:-.025em;margin:14px 0 14px;text-wrap:balance}
.lead{font-size:15.5px;line-height:1.7;color:var(--txt-1);margin-bottom:20px;text-wrap:pretty}
.lead b{color:var(--txt-body);font-weight:550}
.ticks{list-style:none;display:flex;flex-direction:column;gap:11px}
.ticks li{display:flex;gap:11px;font-size:14.5px;line-height:1.55;color:var(--txt-body)}
.ticks .tick{flex-shrink:0;width:19px;height:19px;border-radius:6px;background:var(--accent-soft);color:var(--accent-2);
  display:grid;place-items:center;margin-top:2px}
.ticks .tick svg{width:12px;height:12px}
.feat-art{min-width:0}
.feat-art .window{box-shadow:var(--shadow-lg)}
.art-stack{display:flex;flex-direction:column;gap:18px}

@media (max-width:880px){
  .feature{grid-template-columns:1fr;gap:30px;padding:52px 0}
  .feature.rev .feat-copy{order:1}
  .feature.rev .feat-art{order:2}
}

/* breadcrumb hop-path mock */
.hop-mock{margin-top:20px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 16px;
  background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-md)}
.hop-mock .crumb{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:100px;
  background:var(--bg-3);border:1px solid var(--stroke-2);font-size:13px;font-weight:550;color:var(--txt-0);white-space:nowrap}
.hop-mock .crumb .d{width:7px;height:7px;border-radius:50%;background:var(--cc,var(--accent));box-shadow:0 0 8px var(--cc,var(--accent))}
.hop-mock .crumb.now{border-color:var(--accent-line);box-shadow:0 0 0 3px var(--accent-soft)}
.hop-mock .edge{display:inline-flex;flex-direction:column;align-items:center;gap:1px;color:var(--txt-2)}
.hop-mock .edge .lbl{font-family:var(--mono);font-size:10px;letter-spacing:.03em;white-space:nowrap}
.hop-mock .edge svg{width:26px;height:12px}

/* reason mode mock */
.reason-mock{background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.reason-mock .rm-q{display:flex;gap:10px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--stroke);font-size:14.5px;font-weight:550}
.reason-mock .rm-q .rm-badge{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.07em;text-transform:uppercase;color:var(--accent-2);background:var(--accent-soft);border-radius:100px;padding:4px 10px;white-space:nowrap}
.rm-trail{display:flex;flex-direction:column;gap:0;padding:16px 18px 4px}
.rm-hop{display:flex;gap:12px;position:relative;padding-bottom:16px}
.rm-hop::before{content:"";position:absolute;left:11px;top:26px;bottom:2px;width:1.5px;background:var(--stroke-2)}
.rm-hop:last-child::before{display:none}
.rm-hop .n{flex-shrink:0;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;
  font-family:var(--mono);font-size:10.5px;font-weight:600;background:var(--accent-soft);color:var(--accent-2);border:1px solid var(--accent-line)}
.rm-hop .t{font-size:13.5px;line-height:1.55;color:var(--txt-1);padding-top:1px}
.rm-hop .t .q{color:var(--txt-0);font-weight:550}
.rm-hop .t .found{display:inline-flex;align-items:center;gap:6px;margin-left:6px;font-family:var(--mono);font-size:11px;color:var(--t-model);white-space:nowrap}
.rm-hop .t .found .fd{width:6px;height:6px;border-radius:50%;background:var(--t-model);box-shadow:0 0 7px var(--t-model)}
.rm-hop .t .miss{color:var(--t-person)}
.rm-answer{margin:2px 18px 18px;padding:14px 16px;background:var(--bg-3);border:1px solid var(--stroke);border-radius:var(--r-md);
  font-size:14px;line-height:1.65;color:var(--txt-body)}
.rm-answer .cite{display:inline-flex;align-items:center;gap:5px;font-family:var(--mono);font-size:10.5px;color:var(--txt-1);
  background:var(--bg-1);border:1px solid var(--stroke-2);border-radius:100px;padding:2px 9px;margin:0 2px;vertical-align:1px;white-space:nowrap}
.rm-answer .cite .cd{width:5px;height:5px;border-radius:50%;background:var(--cc,var(--accent))}

/* code card (agents) */
.code-card{background:#0B0D11;border:1px solid var(--stroke-2);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
html[data-theme="light"] .code-card{background:#0E1320}
.code-card .win-bar{background:rgba(255,255,255,.03);border-bottom:1px solid rgba(255,255,255,.07)}
.code-card pre{padding:20px 22px;font-family:var(--mono);font-size:12.8px;line-height:1.75;color:#C7CCD6;overflow-x:auto}
.code-card .c-dim{color:#646B79}
.code-card .c-key{color:#9B83FF}
.code-card .c-str{color:#34D399}
.code-card .c-fn{color:#38BDF8}
.tool-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.tool-chip{font-family:var(--mono);font-size:11.5px;color:var(--txt-1);background:var(--bg-3);border:1px solid var(--stroke-2);border-radius:7px;padding:4px 10px}

/* ============ explainer cards ============ */
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}
.xcard{background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-lg);padding:26px 24px;position:relative;overflow:hidden}
.xcard::before{content:"";position:absolute;top:0;left:24px;right:24px;height:2px;border-radius:2px;background:var(--cc,var(--accent));opacity:.75}
.xcard h3{font-size:17.5px;font-weight:625;letter-spacing:-.015em;margin-bottom:10px}
.xcard p{font-size:14px;line-height:1.68;color:var(--txt-1);text-wrap:pretty}
@media (max-width:880px){.cards3{grid-template-columns:1fr}}

.list-h{margin:20px 0 -4px;font-size:12.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--txt-2)}

/* ============ how it works ============ */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:36px}
.step{position:relative;background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-lg);padding:24px 22px}
.step .num{font-family:var(--mono);font-size:12px;color:var(--accent-2);background:var(--accent-soft);border-radius:8px;
  width:30px;height:30px;display:grid;place-items:center;margin-bottom:14px;font-weight:600}
.step h3{font-size:16px;font-weight:625;margin-bottom:8px;letter-spacing:-.015em}
.step p{font-size:13.5px;line-height:1.62;color:var(--txt-1);text-wrap:pretty}
@media (max-width:880px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.steps{grid-template-columns:1fr}}

/* ============ comparison ============ */
.compare-scroll{margin-top:36px;overflow-x:auto;border:1px solid var(--stroke-2);border-radius:var(--r-lg);background:var(--bg-2)}
table.compare{width:100%;border-collapse:collapse;font-size:13.8px;min-width:720px}
.compare th,.compare td{padding:15px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--stroke);line-height:1.55}
.compare thead th{font-size:13px;font-weight:625;color:var(--txt-0);background:var(--bg-3);white-space:nowrap}
.compare thead th:first-child{width:24%}
.compare tbody th{font-weight:550;color:var(--txt-1);font-size:13px}
.compare td{color:var(--txt-body)}
.compare td.mh{color:var(--txt-0);background:rgba(124,92,255,.05)}
.compare td.mh b{color:var(--accent-2);font-weight:600}
.compare tbody tr:last-child th,.compare tbody tr:last-child td{border-bottom:none}

/* ============ pricing ============ */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px;align-items:stretch}
.tier{position:relative;background:var(--bg-2);border:1px solid var(--stroke-2);border-radius:var(--r-xl);padding:30px 28px;display:flex;flex-direction:column}
.tier.pop{border-color:var(--accent-line);box-shadow:0 0 0 3px var(--accent-soft),var(--shadow-lg)}
.tier .badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--accent);color:#fff;
  font-size:11.5px;font-weight:625;letter-spacing:.02em;border-radius:100px;padding:4px 13px;white-space:nowrap}
.tier h3{font-size:18px;font-weight:650;letter-spacing:-.015em}
.tier .price{margin:14px 0 4px;display:flex;align-items:baseline;gap:6px}
.tier .price .amt{font-size:40px;font-weight:650;letter-spacing:-.03em}
.tier .price .per{font-size:13.5px;color:var(--txt-2)}
.tier .tagline{font-size:13.5px;color:var(--txt-1);margin-bottom:20px;line-height:1.55;text-wrap:pretty}
.tier ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin-bottom:26px}
.tier ul li{display:flex;gap:10px;font-size:13.8px;line-height:1.5;color:var(--txt-body)}
.tier ul .tick{flex-shrink:0;width:17px;height:17px;border-radius:5px;background:var(--accent-soft);color:var(--accent-2);display:grid;place-items:center;margin-top:2px}
.tier ul .tick svg{width:11px;height:11px}
.tier .btn{margin-top:auto;width:100%}
.note-band{margin-top:26px;padding:18px 22px;border:1px solid var(--stroke-2);border-radius:var(--r-lg);background:var(--bg-2);
  font-size:14px;color:var(--txt-1);line-height:1.6;text-align:center;text-wrap:pretty}
.note-band b{color:var(--txt-0);font-weight:600}
.fine{margin-top:14px;font-size:12.5px;color:var(--txt-2);text-align:center}
@media (max-width:880px){.tiers{grid-template-columns:1fr;max-width:440px;margin-left:auto;margin-right:auto}}

/* ============ FAQ ============ */
.faq-list{margin-top:34px;max-width:780px}
.faq-list details{border:1px solid var(--stroke-2);border-radius:var(--r-lg);background:var(--bg-2);margin-bottom:12px;overflow:hidden}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:18px 22px;transition:.15s}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:hover{background:var(--bg-3)}
.faq-list summary h3{font-size:15.5px;font-weight:600;letter-spacing:-.015em;flex:1;line-height:1.45}
.faq-list summary .chev{flex-shrink:0;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;color:var(--txt-2);
  border:1px solid var(--stroke-2);transition:transform .22s var(--ease)}
.faq-list summary .chev svg{width:12px;height:12px}
.faq-list details[open] summary .chev{transform:rotate(45deg);color:var(--accent-2);border-color:var(--accent-line)}
.faq-a{padding:0 22px 20px;font-size:14.3px;line-height:1.7;color:var(--txt-1)}
.faq-a p+p{margin-top:10px}
.faq-a b{color:var(--txt-body);font-weight:550}

/* ============ final CTA ============ */
.cta-final{text-align:center;padding:96px 24px;border-top:1px solid var(--stroke);position:relative;overflow:hidden}
.cta-final::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(50% 60% at 50% 100%,rgba(124,92,255,.12),transparent 70%)}
.cta-final h2{position:relative;font-size:clamp(28px,4vw,40px);font-weight:650;letter-spacing:-.03em;margin-bottom:24px;text-wrap:balance}
.cta-final .btn{position:relative}
.cta-final .trust{position:relative}

/* ============ footer ============ */
.footer{border-top:1px solid var(--stroke);background:var(--bg-1);padding:56px 0 34px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
.foot-brand p{font-size:13.5px;color:var(--txt-1);line-height:1.65;margin-top:14px;max-width:280px;text-wrap:pretty}
.foot-col h4{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--txt-2);font-weight:500;margin-bottom:14px}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.foot-col a{font-size:13.5px;color:var(--txt-1)}
.foot-col a:hover{color:var(--txt-0)}
.dot-row{display:flex;gap:8px;margin-top:18px}
.dot-row span{width:8px;height:8px;border-radius:50%}
.foot-bottom{margin-top:44px;padding-top:22px;border-top:1px solid var(--stroke);display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  font-size:12.5px;color:var(--txt-2)}
.foot-bottom .grow{flex:1}
@media (max-width:880px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr}}

/* ============ section scaffolding ============ */
.sect{padding:86px 0}
.sect+.sect{border-top:1px solid var(--stroke)}
.sect-head{max-width:720px}
.sect-head h2{font-size:clamp(26px,3.4vw,34px);font-weight:650;letter-spacing:-.028em;margin:14px 0 12px;text-wrap:balance}
.sect-head .lead{margin-bottom:0}
.sect-alt{background:var(--bg-1)}

/* ============ legal article pages ============ */
.article-wrap{max-width:var(--max);margin:0 auto;padding:56px 24px 90px;display:grid;grid-template-columns:230px minmax(0,1fr);gap:56px}
.toc{position:sticky;top:88px;align-self:start;font-size:13px}
.toc h4{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--txt-2);font-weight:500;margin-bottom:12px}
.toc ol{list-style:none;display:flex;flex-direction:column;gap:7px}
.toc a{color:var(--txt-1);display:block;line-height:1.45}
.toc a:hover{color:var(--txt-0)}
.article{max-width:72ch}
.article h1{font-size:clamp(30px,4vw,38px);font-weight:650;letter-spacing:-.03em;margin-bottom:10px}
.article .effective{display:inline-block;font-family:var(--mono);font-size:12.5px;color:var(--accent-2);background:var(--accent-soft);
  border-radius:8px;padding:6px 12px;margin:8px 0 34px}
.article h2{font-size:21px;font-weight:640;letter-spacing:-.02em;margin:40px 0 14px;scroll-margin-top:80px}
.article p{font-size:15px;line-height:1.75;color:var(--txt-body);margin-bottom:15px;text-wrap:pretty}
.article ul{margin:0 0 15px 22px;display:flex;flex-direction:column;gap:7px}
.article li{font-size:15px;line-height:1.7;color:var(--txt-body)}
.article b,.article strong{color:var(--txt-0);font-weight:600}
.article{min-width:0}
.article table{width:100%;border-collapse:collapse;font-size:13.8px;margin:6px 0 20px;border:1px solid var(--stroke-2);border-radius:var(--r-md);overflow:hidden}
@media (max-width:560px){.article table{display:block;overflow-x:auto}}
.article th,.article td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--stroke);line-height:1.5}
.article thead th{background:var(--bg-3);font-weight:600;color:var(--txt-0)}
.article td{color:var(--txt-body)}
.article tbody tr:last-child td{border-bottom:none}
.legal-cross{margin-top:52px;padding-top:22px;border-top:1px solid var(--stroke);font-size:13.5px;color:var(--txt-2)}
.legal-cross a{margin-right:18px}
@media (max-width:880px){.article-wrap{grid-template-columns:1fr;gap:20px}.toc{position:static}}

/* ============ 404 ============ */
.nf{min-height:calc(100vh - 60px);display:grid;place-items:center;text-align:center;padding:60px 24px}
.nf .code{font-family:var(--mono);font-size:13px;letter-spacing:.2em;color:var(--accent-2);margin-bottom:16px}
.nf h1{font-size:clamp(30px,5vw,44px);font-weight:650;letter-spacing:-.03em;margin-bottom:14px}
.nf p{color:var(--txt-1);margin-bottom:28px;font-size:15.5px}
.nf .links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:22px;font-size:13.5px}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .hero .window{transform:none}
}
