/* =========================================================================
   ImmiCrypt — Design System
   Fused reading of two references:
   · Linear (refero.design) — midnight precision instrument: hairline
     borders, restrained radii, one disciplined accent, compact type ramp.
   · CTA (cta-gules.vercel.app) — institutional/engineering register:
     mono meta-labels, numbered index sections, key:value data strips,
     huge tight-tracked display type, clamp()-based fluid margins.
   Recombined for a sovereign-migration / crypto-rail fintech brief:
   warm-black canvas, one disciplined passport-gold accent — no second
   highlight color anywhere in the system.
   ========================================================================= */

:root {
  /* ---- surfaces ---- */
  --void: #08090b;
  --carbon: #10131a;
  --obsidian: #171b23;
  --line: rgba(244, 241, 232, 0.10);
  --line-strong: rgba(244, 241, 232, 0.22);

  /* ---- text ---- */
  --ink: #f4f1e8;       /* headings — warm paper white */
  --mist: #c7cbd1;      /* body */
  --fog: #8b909a;       /* tertiary / meta labels */
  --ash: #575c66;       /* disabled / faint dividers */

  /* ---- accent — single highlight color, used nowhere else ---- */
  --gold: #c9a24b;
  --gold-wash: rgba(201, 162, 75, 0.10);
  --gold-wash-strong: rgba(201, 162, 75, 0.18);
  --watermark: rgba(244, 241, 232, 0.045);

  /* ---- type ---- */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;

  /* ---- layout ---- */
  --mx: clamp(20px, 6vw, 96px);
  --max: 1280px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                  */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--void); }

:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}

/* Background: faint dot-grid — circuit trace / security-paper guilloché */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 241, 232, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
  pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                         */
/* ---------------------------------------------------------------------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--mx);
  padding-right: var(--mx);
}
.section { position: relative; padding-top: 128px; padding-bottom: 128px; border-top: 1px solid var(--line); }
.section--tight { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 720px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
h3 { font-size: 22px; line-height: 1.2; }

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--mist);
  max-width: 62ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .lede { margin-top: 18px; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--void); font-weight: 500; }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 13px; height: 13px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------------- */
/* Nav                                                                    */
/* ---------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 46px; height: 46px; }
.brand span {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 22px; }
.nav-toggle span { height: 1px; background: var(--ink); width: 100%; }

@media (max-width: 860px) {
  /* `.nav` has backdrop-filter, which makes it the containing block for any
     fixed-position descendant (a CSS spec quirk). That means `top: 68px` and
     `bottom: 0` here were both resolving relative to .nav's own ~68px-tall
     box, not the viewport — cancelling out to zero height. Explicit height
     instead of `bottom` sidesteps that entirely. */
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); overflow-y: auto; background: var(--void); flex-direction: column; align-items: flex-start; padding: 32px var(--mx); gap: 26px; transform: translateX(100%); transition: transform 0.32s var(--ease); border-top: 1px solid var(--line); }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-right .btn-primary { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 188px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 32px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .hero-badge .dot { animation: none; } }

/* Large decorative watermark of the IC mark — fills empty space without
   competing with the single gold accent, which stays reserved for action. */
.mark-watermark { position: absolute; pointer-events: none; opacity: 1; filter: brightness(0) invert(1); z-index: 0; }
.mark-watermark img { width: 100%; height: 100%; opacity: 0.05; }
.hero .mark-watermark { top: -80px; right: clamp(-60px, -2vw, 0px); width: min(46vw, 620px); height: min(46vw, 620px); }
.access-side .mark-watermark { top: -40px; right: -40px; width: 340px; height: 340px; opacity: 0.7; }
footer { position: relative; overflow: hidden; }
footer .mark-watermark { bottom: -140px; right: -60px; width: 480px; height: 480px; }

.hero h1 {
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-lede { margin-top: 28px; }

.hero-cta { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-meta .m-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.hero-meta .m-value { font-family: var(--font-mono); font-size: 13px; color: var(--mist); letter-spacing: 0.01em; }
@media (max-width: 780px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

/* ---------------------------------------------------------------------- */
/* Data grid (key:value strips — CTA-style spec rows)                     */
/* ---------------------------------------------------------------------- */
.datagrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.datacell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 28px; }
.datacell h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.datarow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.datarow:first-of-type { border-top: 0; }
.datarow dt { font-family: var(--font-mono); color: var(--fog); font-size: 11.5px; letter-spacing: 0.02em; }
.datarow dd { color: var(--mist); text-align: right; margin: 0; max-width: 60%; }
@media (max-width: 860px) {
  .datagrid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Verticals (numbered rows)                                              */
/* ---------------------------------------------------------------------- */
.vert-list { border-top: 1px solid var(--line); }
.vert {
  display: grid;
  grid-template-columns: 120px 1fr 340px;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.vert-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fog);
}
.stamp {
  width: 76px; height: 76px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: var(--gold-wash);
  margin-bottom: 12px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.vert:hover .stamp { border-color: var(--gold); background: var(--gold-wash-strong); transform: translateY(-2px); }
.stamp svg { width: 42px; height: 42px; shape-rendering: crispEdges; }
.vi-num { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--fog); }

.vert-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.vert-body h3 { margin-bottom: 14px; }
.vert-body p { color: var(--mist); max-width: 60ch; font-size: 15px; margin-bottom: 14px; }
.vert-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 18px; max-width: 60ch; }
.vert-includes li { font-size: 13.5px; color: var(--mist); padding-left: 16px; position: relative; line-height: 1.5; }
.vert-includes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 560px) { .vert-includes { grid-template-columns: 1fr; } }

.vert-meta { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); padding-left: 28px; }
.vert-meta .datarow { border-top: 1px solid var(--line); }
.vert-meta .datarow:first-child { border-top: 0; }
.vert-meta dd { max-width: 58%; }

@media (max-width: 940px) {
  .vert { grid-template-columns: 1fr; gap: 20px; }
  .vert-meta { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
}

/* ---------------------------------------------------------------------- */
/* Platform pipeline                                                      */
/* ---------------------------------------------------------------------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stage { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 28px; position: relative; }
.stage .st-index { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--gold); margin-bottom: 22px; }
.stage .st-index .stamp { width: 40px; height: 40px; margin-bottom: 0; }
.stage .st-index .stamp svg { width: 22px; height: 22px; }
.stage h3 { font-size: 18px; margin-bottom: 12px; }
.stage p { font-size: 14px; color: var(--mist); }
.stage-arrow { display: none; }
@media (max-width: 940px) {
  .pipeline { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Stats                                                                  */
/* ---------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat-num { font-family: var(--font-display); font-size: clamp(44px, 6vw, 76px); color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat-num .u { color: var(--gold); }
.stat-label { margin-top: 16px; font-size: 14px; color: var(--mist); max-width: 32ch; }
.stat-src { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ash); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------------------------------------------------------------- */
/* Access / form                                                          */
/* ---------------------------------------------------------------------- */
.access-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
@media (max-width: 940px) { .access-grid { grid-template-columns: 1fr; gap: 48px; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fog); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin-top: 4px; font-size: 13px; color: var(--fog); }
.form-status { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--ink); }

.access-side { position: relative; }
.access-side .kicker { margin-bottom: 20px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding-top: 80px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.foot-brand p { margin-top: 18px; color: var(--fog); font-size: 14px; max-width: 32ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); margin-bottom: 18px; }
.foot-col ul li { margin-bottom: 12px; }
.foot-col a { color: var(--mist); font-size: 14px; transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--gold); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 32px; font-size: 12.5px; color: var(--ash); line-height: 1.7; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 28px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ash); letter-spacing: 0.02em; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Footer — HQ block                                                      */
/* ---------------------------------------------------------------------- */
.foot-brand .brand img { width: 60px; height: 60px; }
.hq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.hq { }
.hq h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.hq .hq-entity { color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.hq address { font-style: normal; color: var(--fog); font-size: 13px; line-height: 1.65; }
@media (max-width: 640px) { .hq-grid { grid-template-columns: 1fr; } }

/* Spam-protected email placeholders render via JS; keep link styling consistent */
.p-email { color: var(--mist); cursor: pointer; }
.p-email:hover { color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Cookie consent banner                                                  */
/* ---------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 300;
  max-width: 620px;
  margin: 0 auto;
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { font-size: 13.5px; color: var(--mist); line-height: 1.6; }
.cookie-bar p a { color: var(--gold); border-bottom: 1px solid rgba(201,162,75,0.4); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: 12px; }
.cookie-actions .btn-text { color: var(--fog); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; padding: 10px 4px; }
.cookie-actions .btn-text:hover { color: var(--ink); }
.cookie-prefs { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-prefs.is-open { display: block; }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.cookie-toggle-row div { font-size: 13px; color: var(--mist); }
.cookie-toggle-row strong { color: var(--ink); display: block; font-size: 13px; margin-bottom: 2px; }
.switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--obsidian); border: 1px solid var(--line-strong); border-radius: 999px; transition: background 0.2s var(--ease); }
.switch .thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--fog); transition: transform 0.2s var(--ease), background 0.2s var(--ease); }
.switch input:checked ~ .track { background: var(--gold-wash); border-color: var(--gold); }
.switch input:checked ~ .track .thumb { background: var(--gold); transform: translateX(16px); }
.switch input:disabled ~ .track { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 520px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 18px; } }

/* ---------------------------------------------------------------------- */
/* Legal / reading pages                                                  */
/* ---------------------------------------------------------------------- */
.legal-hero { padding-top: 160px; padding-bottom: 48px; }
.legal-hero .back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fog); margin-bottom: 28px; }
.legal-hero .back-link:hover { color: var(--gold); }
.legal-hero .back-link svg { width: 12px; height: 12px; transform: rotate(180deg); }
.legal-hero h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.legal-updated { font-family: var(--font-mono); font-size: 12px; color: var(--ash); margin-top: 16px; }

.legal-body { max-width: 74ch; padding-bottom: 64px; }
.legal-body h2 { font-size: 22px; max-width: none; margin-top: 48px; margin-bottom: 16px; letter-spacing: -0.02em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; color: var(--ink); margin-top: 28px; margin-bottom: 10px; }
.legal-body p { font-size: 15px; color: var(--mist); line-height: 1.75; margin-bottom: 16px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 0; padding-left: 22px; }
.legal-body li { font-size: 15px; color: var(--mist); line-height: 1.75; margin-bottom: 8px; }
.legal-body a { color: var(--gold); border-bottom: 1px solid rgba(201,162,75,0.35); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 40px; }
.legal-toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); margin-bottom: 12px; }
.legal-toc ol { counter-reset: toc; list-style: none; padding: 0; margin: 0; }
.legal-toc li { counter-increment: toc; font-size: 13.5px; margin-bottom: 8px; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--font-mono); color: var(--gold); }
.legal-toc a { color: var(--mist); border-bottom: none; }
.legal-toc a:hover { color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Source citations                                                       */
/* ---------------------------------------------------------------------- */
.sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h5 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.sources ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sources li { font-size: 12px; color: var(--ash); }
.sources li a { color: var(--fog); border-bottom: 1px solid var(--line-strong); }
.sources li a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Landscape — jurisdiction table                                         */
/* ---------------------------------------------------------------------- */
.landscape-table { border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: grid; }
.lt-row { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr 1fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lt-row.lt-head { background: var(--carbon); }
.lt-row.lt-head > div { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); }
.lt-row > div { padding: 16px 20px; border-right: 1px solid var(--line); font-size: 13.5px; color: var(--mist); display: flex; align-items: center; }
.lt-row > div:last-child { border-right: 0; }
.lt-program { color: var(--ink); font-weight: 500; gap: 10px; }
.lt-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.lt-badge::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
@media (max-width: 860px) {
  .lt-row { grid-template-columns: 1fr; }
  .lt-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .lt-row > div:last-child { border-bottom: 0; }
  .lt-row.lt-head { display: none; }
}

.landscape-note { margin-top: 28px; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--gold-wash); }
.landscape-note p { font-size: 14px; color: var(--mist); margin: 0; }
.landscape-note strong { color: var(--ink); }

/* ---------------------------------------------------------------------- */
/* Pixel-block section divider — the mark's own construction language     */
/* used as a recurring ornament between sections.                         */
/* ---------------------------------------------------------------------- */
.pixel-divider { display: flex; gap: 4px; margin: 0 0 40px 0; }
.pixel-divider span { width: 5px; height: 5px; background: var(--line-strong); }
.pixel-divider span:nth-child(3n+1) { background: var(--gold); }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                          */
/* ---------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); max-width: 78ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left; cursor: pointer;
}
.faq-q h3 { font-size: 17px; font-weight: 500; }
.faq-q .faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-q .faq-plus::before, .faq-q .faq-plus::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.25s var(--ease); }
.faq-q .faq-plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -0.75px; }
.faq-q .faq-plus::after { left: 50%; top: 0; height: 100%; width: 1.5px; margin-left: -0.75px; }
.faq-item.is-open .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.is-open .faq-a { max-height: 480px; }
.faq-a p { font-size: 14.5px; color: var(--mist); line-height: 1.75; padding-bottom: 26px; max-width: 68ch; }
.faq-a p + p { padding-top: 0; margin-top: -10px; }

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll                                                       */
/* ---------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
