/* =========================================================================
   LexVault — landing page stylesheet
   Deep-navy space theme. Single-knob accent discipline (§2 of build spec).
   --accent-rgb (brass), --land-rgb (globe land), --link-rgb (cyan star links)
   are each ONE :root variable read by BOTH this CSS and the Canvas-2D hero.
   ========================================================================= */

/* ---- Self-hosted fonts (Latin subset, font-display: swap) --------------- */
@font-face { font-family:"Newsreader"; font-style:normal; font-weight:400;
  src:url("fonts/newsreader-400.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Newsreader"; font-style:normal; font-weight:500;
  src:url("fonts/newsreader-500.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Newsreader"; font-style:normal; font-weight:600;
  src:url("fonts/newsreader-600.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Inter"; font-style:normal; font-weight:400;
  src:url("fonts/inter-400.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Inter"; font-style:normal; font-weight:500;
  src:url("fonts/inter-500.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"Inter"; font-style:normal; font-weight:600;
  src:url("fonts/inter-600.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"IBM Plex Mono"; font-style:normal; font-weight:400;
  src:url("fonts/plexmono-400.woff2") format("woff2"); font-display:swap; }
@font-face { font-family:"IBM Plex Mono"; font-style:normal; font-weight:500;
  src:url("fonts/plexmono-500.woff2") format("woff2"); font-display:swap; }

/* ======================================================================
   1 · Design tokens (verbatim from spec §2)
   ====================================================================== */
:root {
  /* --- Surface ramp: deep navy, NEVER #000 (hue ~222°) --------- */
  --space-0: #060915;
  --space-1: #0A0F20;
  --space-2: #111731;
  --space-3: #182142;

  /* --- Text tiers (all AA on --space-1/2) --------------------- */
  --text-hi:  #F4F6FB;
  --text-mid: #B8C0D4;
  --text-lo:  #8A93AB;
  --text-onaccent: #0B0A05;

  /* --- Lines / hairlines -------------------------------------- */
  --line-1:      rgb(255 255 255 / 0.06);
  --line-2:      rgb(255 255 255 / 0.10);
  --line-strong: rgb(255 255 255 / 0.16);

  /* --- SINGLE-KNOB #1 — brand accent: warm brass/gold --------- */
  --accent-rgb: 198 161 91;             /* #C6A15B */
  --accent:      rgb(var(--accent-rgb));
  --accent-soft: rgb(var(--accent-rgb) / 0.14);
  --accent-line: rgb(var(--accent-rgb) / 0.38);
  --focus-ring:  rgb(var(--accent-rgb) / 0.70);

  /* --- SINGLE-KNOB #2 — land dots (globe) --------------------- */
  --land-rgb: 108 126 158;              /* #6C7E9E */
  --land:      rgb(var(--land-rgb));

  /* --- SINGLE-KNOB #3 — star-network links (citation graph) --- */
  --link-rgb: 86 200 224;              /* #56C8E0 */
  --link:      rgb(var(--link-rgb));
  --link-dim:  rgb(var(--link-rgb) / 0.32);
  --star:      rgb(226 232 244 / 0.85);

  /* --- Dark-glass (rationed: <=2 surfaces/viewport) ---------- */
  --glass-bg:   rgb(17 23 49 / 0.55);
  --glass-line: rgb(255 255 255 / 0.10);
  --glass-blur: 14px;

  /* --- Type ---------------------------------------------------- */
  --font-display: "Newsreader", "Spectral", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", "JetBrains Mono", ui-monospace,
                  SFMono-Regular, Menlo, monospace;

  /* --- Fluid type scale --------------------------------------- */
  --fs-caption: clamp(0.78rem, 0.74rem + 0.18vw, 0.875rem);
  --fs-body:    clamp(1.00rem, 0.96rem + 0.20vw, 1.0625rem);
  --fs-lead:    clamp(1.125rem, 1.04rem + 0.42vw, 1.375rem);
  --fs-h3:      clamp(1.35rem, 1.18rem + 0.72vw, 1.75rem);
  --fs-h2:      clamp(1.80rem, 1.46rem + 1.45vw, 2.75rem);
  --fs-h1:      clamp(2.60rem, 1.88rem + 3.40vw, 4.75rem);

  --lh-tight: 1.08;  --lh-snug: 1.28;  --lh-body: 1.62;
  --track-display: -0.02em;
  --track-caps:     0.14em;

  /* --- Radii --------------------------------------------------- */
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px;
  --radius-lg: 18px; --radius-pill: 999px;

  /* --- Spacing ------------------------------------------------- */
  --sp-2xs: 0.25rem; --sp-xs: 0.5rem; --sp-sm: 0.75rem;
  --sp-md: 1rem; --sp-lg: 1.5rem; --sp-xl: 2.5rem;
  --sp-2xl: 4rem; --sp-3xl: 6.5rem;
  --measure: 68ch;

  /* --- Elevation ----------------------------------------------- */
  --shadow-sm: 0 1px 2px rgb(3 6 14 / 0.40);
  --shadow-md: 0 8px 24px -8px rgb(3 6 14 / 0.55);
  --shadow-lg: 0 24px 60px -18px rgb(3 6 14 / 0.65);

  /* --- Easings & durations ------------------------------------ */
  --ease-out:      cubic-bezier(0.16, 1, 0.30, 1);
  --ease-standard: cubic-bezier(0.40, 0, 0.20, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms; --dur: 240ms; --dur-slow: 520ms;

  /* --- Semantic aliases --------------------------------------- */
  --bg: var(--space-0);
  --surface: var(--space-2);
  --surface-raised: var(--space-3);
  --text: var(--text-mid);
  --heading: var(--text-hi);
  --border: var(--line-2);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}

/* ======================================================================
   2 · Reset / base
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--space-0);
  /* Deep-navy ramp fallback behind the fixed canvas (never #000) */
  background-image:
    radial-gradient(120% 90% at 50% -10%, #0d1430 0%, transparent 55%),
    linear-gradient(180deg, #070b1a 0%, #060915 40%, #05070f 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--heading); font-family: var(--font-display); font-weight: 500;
  line-height: var(--lh-snug); letter-spacing: var(--track-display); }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent-soft); color: var(--text-hi); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* placeholder markers stay visible until real values land (invent-nothing) */
.ph {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--text-lo);
  background: rgb(255 255 255 / 0.03);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 0.05em 0.4em;
  overflow-wrap: anywhere;               /* long placeholders wrap, never force page width */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--text-onaccent);
  padding: var(--sp-sm) var(--sp-md); border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--sp-lg); }
.section { position: relative; z-index: 1; padding-block: clamp(2.75rem, 4.5vw, 4.25rem); }
.section--recessed { background: var(--space-1); }
.section--base { background: var(--space-0); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}
.section__head { max-width: var(--measure); margin-bottom: var(--sp-xl); }
.section__head h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-md); }
.section__head p { font-size: var(--fs-lead); color: var(--text-mid); line-height: var(--lh-body); }

/* ======================================================================
   3 · Buttons
   ====================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-xs);
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-body);
  padding: 0.72em 1.5em; border-radius: var(--radius-pill);
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.btn--primary {           /* brass outline -> filled on hover */
  color: var(--accent);
  border-color: var(--accent-line);
  background: rgb(var(--accent-rgb) / 0.06);
}
.btn--primary:hover {
  color: var(--text-onaccent);
  background: var(--accent);
  border-color: var(--accent);
}
.btn--ghost {
  color: var(--text-mid);
  border-color: transparent;
  background: transparent;
  padding-inline: 0.6em;
}
.btn--ghost:hover { color: var(--text-hi); }
.btn--ghost::after {
  content: "→"; margin-left: 0.1em;
  transition: transform var(--dur-fast) var(--ease-standard);
}
.btn--ghost:hover::after { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ======================================================================
   4 · Nav (glass surface #1 of the rationed 2)
   ====================================================================== */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-block-end: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-standard),
              background var(--dur) var(--ease-standard);
}
.nav[data-scrolled="true"] {
  border-block-end-color: var(--line-1);
  background: rgb(10 15 32 / 0.72);
}
.nav__inner {
  display: flex; align-items: center; gap: var(--sp-lg);
  max-width: 1200px; margin-inline: auto;
  padding: var(--sp-sm) var(--sp-lg);
}
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  color: var(--text-hi); letter-spacing: -0.01em; line-height: 1;
}
.wordmark .accent { color: var(--accent); }
.nav__sub {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--text-lo); border-inline-start: 1px solid var(--line-2);
  padding-inline-start: var(--sp-md); margin-inline-end: auto;
}
.nav__links { display: flex; gap: var(--sp-lg); align-items: center; }
.nav__links a {
  font-size: var(--fs-caption); color: var(--text-mid);
  transition: color var(--dur-fast) var(--ease-standard); position: relative;
}
.nav__links a:hover { color: var(--text-hi); }
.nav__cta { font-size: var(--fs-caption); padding: 0.55em 1.15em; }
.nav__toggle { display: none; }

/* ======================================================================
   5 · Hero  (§3)
   ====================================================================== */
#hero-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
}
/* static-frame safety background if canvas fails entirely */
html[data-hero="static"] #hero-canvas { background: transparent; }

.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  padding-block: calc(var(--sp-3xl) + 3rem) var(--sp-3xl);
  overflow: hidden;
}
/* --- Scrim stack (§3.2): DOM above canvas, below text --- */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__scrim--disk {
  background: radial-gradient(ellipse 70% 60% at 50% 46%,
    rgb(6 9 21 / 0.62) 0%, rgb(6 9 21 / 0.30) 45%, transparent 72%);
}
.hero__scrim--veil {
  background:
    linear-gradient(180deg, rgb(6 9 21 / 0.55) 0%, transparent 22%),
    linear-gradient(0deg,   rgb(6 9 21 / 0.55) 0%, transparent 22%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 62ch; margin-inline: auto;
  padding-inline: var(--sp-lg);
  display: flex; flex-direction: column; align-items: center;
}
.hero__plate {           /* very low-opacity text-plate blur behind H1/subhead */
  position: relative;
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
  border-radius: var(--radius-lg);
}
@supports (backdrop-filter: blur(2px)) {
  .hero__plate::before {
    content: ""; position: absolute; inset: -6% -4%;
    z-index: -1; border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 48%, #000 40%, transparent 78%);
    mask-image: radial-gradient(ellipse 78% 82% at 50% 48%, #000 40%, transparent 78%);
  }
}
.hero__eyebrow { margin-bottom: var(--sp-lg); }
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--text-hi);
  text-wrap: balance;
  margin-bottom: var(--sp-lg);
  text-shadow: 0 2px 30px rgb(6 9 21 / 0.55);
}
.hero h1 .soft { color: var(--text-mid); }
.hero__lead {
  font-size: var(--fs-lead); color: var(--text-mid);
  line-height: var(--lh-body); max-width: 54ch; margin-inline: auto;
  text-shadow: 0 1px 16px rgb(6 9 21 / 0.6);
}
.hero__cta {
  display: flex; gap: var(--sp-md); align-items: center; justify-content: center;
  flex-wrap: wrap; margin-top: var(--sp-xl);
}
.hero__micro {
  margin-top: var(--sp-lg);
  font-family: var(--font-mono); font-size: var(--fs-caption);
  color: var(--text-lo); letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgb(6 9 21 / 0.72);   /* legibility for legally-required text over the canvas */
}
.hero__scrollcue {
  position: absolute; inset-block-end: var(--sp-lg); inset-inline: 0;
  z-index: 2; text-align: center;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--text-lo);
  text-shadow: 0 1px 14px rgb(6 9 21 / 0.72);
}

/* ======================================================================
   6 · How it works — the local/cloud boundary made visible (§4.2)
   ====================================================================== */
.steps { display: grid; gap: var(--sp-lg); grid-template-columns: repeat(5, 1fr); }
.step {
  position: relative;
  background: var(--space-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.step__num {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--accent); letter-spacing: var(--track-caps);
}
.step h3 { font-size: 1.08rem; font-weight: 600; color: var(--text-hi);
  font-family: var(--font-sans); line-height: 1.3; }
.step p { font-size: var(--fs-caption); color: var(--text-lo); }
.zone {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25em 0.6em; border-radius: var(--radius-pill);
  width: fit-content;
}
.zone::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.zone--local { color: var(--land); background: rgb(var(--land-rgb) / 0.12); }
.zone--local::before { background: var(--land); }
/* cloud cue uses the sanctioned DIM-cyan boundary motif (never full --link as
   text/fill; full-strength cyan is reserved for the hero star-links). */
.zone--cloud { color: var(--text-mid); background: rgb(255 255 255 / 0.03);
  box-shadow: inset 0 0 0 1px var(--link-dim); }
.zone--cloud::before { background: var(--link-dim); }
.zone--gate  { color: var(--accent); background: rgb(var(--accent-rgb) / 0.12); }
.zone--gate::before { background: var(--accent); }

/* the emphatic boundary between step 2 and step 3 */
.step--boundary { position: relative; }
.step--boundary::before {
  content: attr(data-boundary);
  position: absolute; inset-block: 0; inset-inline-start: calc(var(--sp-lg) * -0.5);
  transform: translateX(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  padding: 0 0.15rem;
  background: linear-gradient(90deg, var(--accent-line), var(--link-dim));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.boundary-note {
  margin-top: var(--sp-lg);
  display: flex; align-items: center; gap: var(--sp-md);
  font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-lo);
  padding: var(--sp-md) var(--sp-lg);
  border: 1px solid var(--line-2); border-left: 2px solid var(--accent-line);
  border-radius: var(--radius-sm); background: rgb(255 255 255 / 0.02);
}
.boundary-note .flag { color: var(--text-mid); }
.boundary-note .flag b { color: var(--accent); font-weight: 500; }

/* ======================================================================
   7 · Capabilities cards (§4.3) — solid --space-2, hover raise
   ====================================================================== */
.cards { display: grid; gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  position: relative; background: var(--space-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-md);
  padding: var(--sp-lg); overflow: hidden;
  transition: background var(--dur) var(--ease-standard),
              transform var(--dur) var(--ease-standard),
              border-color var(--dur) var(--ease-standard);
}
.card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 1px; background: var(--accent-line);
  opacity: 0; transition: opacity var(--dur) var(--ease-standard);
}
.card:hover { background: var(--space-3); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: var(--sp-sm); }
.card p { font-size: var(--fs-body); color: var(--text-mid); }
.card__id {
  display: block; margin-top: var(--sp-md);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-lo);
}

/* ======================================================================
   8 · Confidentiality (§4.4) — two-column stays-local / crosses
   ====================================================================== */
.split { display: grid; gap: var(--sp-lg); grid-template-columns: 1fr auto 1fr;
  align-items: stretch; }
.split__col {
  background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-xl);
}
.split__col h3 {
  font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; gap: 0.5em; margin-bottom: var(--sp-lg);
}
.split__col--local { border-top: 2px solid var(--land); }
.split__col--cross { border-top: 2px solid var(--link-dim); }
.split__col h3 .dot { width: 8px; height: 8px; border-radius: 50%; }
.split__col--local h3 .dot { background: var(--land); }
.split__col--cross h3 .dot { background: var(--link-dim); }
.split ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-md); }
.split li { display: flex; gap: var(--sp-sm); font-size: var(--fs-body); color: var(--text-mid); }
.split li::before { content: "—"; color: var(--text-lo); flex: none; }
.split__divider {
  align-self: stretch; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-line), var(--link-dim));
  position: relative;
}
.split__divider span {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); white-space: nowrap;
  background: var(--space-1); padding: 0.3em 0.5em;
}
.flag-indicator {
  margin-top: var(--sp-xl);
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  font-family: var(--font-mono); font-size: var(--fs-caption);
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--space-2); color: var(--text-mid);
}
.flag-indicator .led { width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-lo); box-shadow: 0 0 0 3px rgb(138 147 171 / 0.14); }
.flag-indicator b { color: var(--text-hi); font-weight: 500; }
.flag-indicator .state { color: var(--text-lo); }

/* ======================================================================
   9 · Verified citations (§4.5) — mono verification list
   ====================================================================== */
.verify-report {
  background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); overflow: hidden;
  font-family: var(--font-mono); font-size: var(--fs-caption);
}
.verify-report__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-md); flex-wrap: wrap;
  padding: var(--sp-md) var(--sp-lg);
  border-block-end: 1px solid var(--line-2);
  background: var(--space-3); color: var(--text-lo);
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem;
}
.verify-report__head .matter { color: var(--accent); }
.vrow {
  display: grid; grid-template-columns: 1.5rem 1fr auto; gap: var(--sp-md);
  align-items: baseline; padding: var(--sp-md) var(--sp-lg);
  border-block-end: 1px solid var(--line-1);
}
.vrow:last-child { border-block-end: 0; }
.vrow__mark { font-size: 0.9rem; line-height: 1; }
.vrow--ok .vrow__mark { color: var(--accent); }
.vrow--review .vrow__mark { color: var(--text-lo); }
.vrow__body .authority { color: var(--text-mid); }
.vrow__body .cite { display: block; color: var(--text-lo); font-size: 0.8rem; margin-top: 0.15em; }
.vrow__state {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2em 0.55em; border-radius: var(--radius-pill); white-space: nowrap;
}
.vrow--ok .vrow__state { color: var(--accent); background: rgb(var(--accent-rgb) / 0.12); }
.vrow--review .vrow__state { color: var(--text-lo); background: rgb(138 147 171 / 0.12); }
.report-note { margin-top: var(--sp-md); font-family: var(--font-mono);
  font-size: var(--fs-caption); color: var(--text-lo); }
/* check-mark draw on reveal */
.vrow--ok .vrow__mark { display: inline-block;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out); }
.reveal:not(.is-visible) .vrow--ok .vrow__mark { opacity: 0; transform: scale(0.4); }

/* ======================================================================
   10 · Security & deployment (§4.6) — spec list on solid surface
   ====================================================================== */
.specs { display: grid; gap: var(--sp-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spec {
  display: flex; gap: var(--sp-md);
  background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg);
}
.spec__icon {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.10); border: 1px solid var(--accent-line);
}
.spec__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.spec h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  color: var(--text-hi); margin-bottom: 0.3em; }
.spec p { font-size: var(--fs-caption); color: var(--text-lo); }
.spec code, .inline-code {
  font-family: var(--font-mono); font-size: 0.86em; color: var(--text-mid);
  background: rgb(255 255 255 / 0.04); padding: 0.05em 0.35em; border-radius: var(--radius-xs);
}
.pill-legend { display: flex; gap: var(--sp-md); flex-wrap: wrap; margin-top: var(--sp-xl); }
.pill {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.3em 0.7em; border-radius: var(--radius-pill);
  border: 1px solid var(--line-2); color: var(--text-lo);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.pill--local .dot { background: var(--land); }
.pill--cloud .dot { background: var(--link-dim); }

/* ======================================================================
   11 · Disclaimer band (§4.7 / §7) — recessed, zero motion
   ====================================================================== */
.disclaimer {
  background: var(--space-1);
  border-block: 1px solid var(--line-2);
}
.disclaimer__grid { display: grid; gap: var(--sp-xl); grid-template-columns: 1fr 2fr; }
.disclaimer__label {
  font-family: var(--font-mono); font-size: var(--fs-caption);
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent);
}
.disclaimer__label h2 { font-family: var(--font-mono); font-weight: 400;
  font-size: var(--fs-caption); letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--accent); }
.disclaimer dl { display: flex; flex-direction: column; gap: var(--sp-lg); }
.disclaimer dt {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  color: var(--text-hi); margin-bottom: 0.25em;
}
.disclaimer dd { font-size: var(--fs-caption); color: var(--text-mid); line-height: var(--lh-body); }
.disclaimer dd .confirm { color: var(--text-lo); font-family: var(--font-mono); font-size: 0.82em; }

/* ======================================================================
   12 · Final CTA (§4.8)
   ====================================================================== */
.final-cta { text-align: center; }
.final-cta__panel {
  max-width: 60ch; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-lg);
}
.final-cta h2 { font-size: var(--fs-h2); }
.final-cta p { font-size: var(--fs-lead); color: var(--text-mid); }
.final-cta .parked-note {
  font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-lo);
}

/* ======================================================================
   13 · Footer (§4.9) — solid, static, quiet
   ====================================================================== */
.footer { background: var(--space-0); border-block-start: 1px solid var(--line-1);
  padding-block: var(--sp-2xl); position: relative; z-index: 1; }
.footer__top { display: grid; gap: var(--sp-xl);
  grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: var(--sp-xl); }
.footer__brand .wordmark { font-size: 1.4rem; margin-bottom: var(--sp-md); }
.footer__legal-line { font-size: var(--fs-caption); color: var(--text-mid); max-width: 42ch; }
.footer__descriptor { font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-lo); margin-top: var(--sp-md); }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--text-lo); margin-bottom: var(--sp-md); font-weight: 400; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer__col a { font-size: var(--fs-caption); color: var(--text-mid);
  transition: color var(--dur-fast) var(--ease-standard); }
.footer__col a:hover { color: var(--text-hi); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: var(--sp-md); flex-wrap: wrap;
  padding-block-start: var(--sp-lg); border-block-start: 1px solid var(--line-1);
  font-size: var(--fs-caption); color: var(--text-lo);
}
.footer__bottom .parked { font-family: var(--font-mono); font-size: 0.78rem; }

/* ======================================================================
   14 · Scroll reveal (single lightweight motif, §5)
   ====================================================================== */
/* Progressive enhancement: content is visible by default; only the JS-driven
   reveal hides it initially (guarded by html.js), so no-JS users see everything. */
.reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ======================================================================
   14b · Proof / evidence strip (under hero)
   ====================================================================== */
.proof { position: relative; z-index: 1; background: var(--space-1);
  border-block: 1px solid var(--line-1); }
.proof__row { display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-md) var(--sp-2xl); padding-block: var(--sp-lg); }
.proof__item { display: flex; align-items: center; gap: var(--sp-sm);
  font-size: var(--fs-caption); color: var(--text-mid); }
.proof__item svg { width: 18px; height: 18px; stroke: var(--accent); fill: none;
  stroke-width: 1.6; flex: none; }

/* ======================================================================
   14c · Mock product workspace (illustrative product visual)
   ====================================================================== */
.mock { border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--space-2); box-shadow: var(--shadow-lg); margin: 0; }
.mock__bar { display: flex; align-items: center; gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md); background: var(--space-3);
  border-block-end: 1px solid var(--line-2); }
.mock__dots { display: inline-flex; gap: 6px; flex: none; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__title { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-lo); }
.mock__body { display: grid; grid-template-columns: 1.45fr 1fr; }
.mock__doc { padding: var(--sp-xl); border-inline-end: 1px solid var(--line-2); }
.mock__doc .lbl { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--text-lo); margin-bottom: var(--sp-md); display: block; }
.mock__doc p { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.7;
  color: var(--text-mid); margin-bottom: var(--sp-md); }
.mock__doc p:last-child { margin-bottom: 0; }
mark.mk-fact { background: rgb(var(--land-rgb) / 0.26); color: var(--text-hi);
  border-radius: 3px; padding: 0.02em 0.22em; }
mark.mk-auth { background: rgb(var(--accent-rgb) / 0.22); color: var(--text-hi);
  border-radius: 3px; padding: 0.02em 0.22em; font-family: var(--font-mono); font-size: 0.9em; }
.mock__panel { padding: var(--sp-lg); background: var(--space-1); }
.mock__panel-head { font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-lo);
  margin-bottom: var(--sp-md); display: flex; align-items: center; justify-content: space-between; }
.mock__panel-head .mono { color: var(--accent); }
.vgroup { margin-bottom: var(--sp-lg); }
.vgroup:last-child { margin-bottom: 0; }
.vgroup__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: var(--sp-sm);
  display: flex; align-items: center; gap: 0.45em; }
.vgroup__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.vgroup--fact .vgroup__label::before { background: var(--land); }
.vgroup--auth .vgroup__label::before { background: var(--accent); }
.vitem { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.45rem; align-items: start;
  padding-block: var(--sp-xs); font-size: var(--fs-caption); color: var(--text-mid); }
.vitem__mark { font-size: 0.85rem; line-height: 1.35; }
.vitem--ok .vitem__mark { color: var(--accent); }
.vitem--review .vitem__mark { color: var(--text-lo); }
.vitem small { display: block; color: var(--text-lo); font-size: 0.82em; margin-top: 0.1em; }
.two-checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl); }
.two-checks .check { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.two-checks .check--fact { border-top: 2px solid var(--land); }
.two-checks .check--auth { border-top: 2px solid var(--accent-line); }
.two-checks .check h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; gap: 0.5em; margin-bottom: var(--sp-sm); }
.two-checks .check h3 .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.two-checks .check--fact h3 .dot { background: var(--land); }
.two-checks .check--auth h3 .dot { background: var(--accent); }
.two-checks .check p { font-size: var(--fs-body); color: var(--text-mid); }

/* authority sources, jurisdictions & limits */
.srclimits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); margin-top: var(--sp-xl); }
.srclimits .sl { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.srclimits h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  color: var(--text-hi); margin-bottom: var(--sp-md); }
.srclimits ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); margin: 0; }
.srclimits li { font-size: var(--fs-caption); color: var(--text-mid); line-height: var(--lh-body);
  padding-left: 1.1em; position: relative; }
.srclimits li::before { content: "—"; position: absolute; left: 0; color: var(--text-lo); }
.srclimits li b { color: var(--text-hi); font-weight: 600; }
.sl__juris { font-size: var(--fs-caption); color: var(--text-mid); margin-top: var(--sp-md);
  padding-top: var(--sp-md); border-top: 1px solid var(--line-1); line-height: var(--lh-body); }
.sl__juris b { color: var(--text-hi); }
.sl__note { color: var(--text-lo); }

/* ======================================================================
   14d · Booking form (genuine demo request)
   ====================================================================== */
.book__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-2xl); align-items: start; }
.book__intro h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-md); }
.book__intro p { font-size: var(--fs-lead); color: var(--text-mid); line-height: var(--lh-body); }
.book__intro ul { list-style: none; margin-top: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-sm); }
.book__intro li { display: flex; gap: var(--sp-sm); font-size: var(--fs-body); color: var(--text-mid); }
.book__intro li svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex: none; margin-top: 0.2em; }
.book__intro .alt { margin-top: var(--sp-lg); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-lo); }
.book__intro .alt a { color: var(--accent); }
.book__form { position: relative; background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: var(--sp-xl); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--sp-md); }
.field > label { display: block; font-size: var(--fs-caption); color: var(--text-mid); margin-bottom: var(--sp-2xs); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--fs-body); color: var(--text-hi);
  background: var(--space-1); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.62em 0.75em; transition: border-color var(--dur-fast) var(--ease-standard); }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-lo) 50%), linear-gradient(135deg, var(--text-lo) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--accent-line); }
.field input:user-invalid, .field input.invalid { border-color: #d98b6b; }
.field textarea { min-height: 92px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
.field--row .field { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book__form .btn--primary { width: 100%; justify-content: center; margin-top: var(--sp-sm); }
.book__consent { font-size: var(--fs-caption); color: var(--text-lo); margin-top: var(--sp-md); line-height: var(--lh-body); }
.book__consent a { color: var(--accent); }
.form-error { display: none; font-size: var(--fs-caption); color: #e0a184; margin-top: var(--sp-sm); }
.form-error.is-shown { display: block; }
.form-success { display: none; text-align: center; padding: var(--sp-lg) var(--sp-md); }
.form-success.is-shown { display: block; }
.form-success .tick { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto var(--sp-md); background: rgb(var(--accent-rgb) / 0.12); border: 1px solid var(--accent-line); }
.form-success .tick svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }
.form-success h3 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: var(--sp-sm); }
.form-success p { color: var(--text-mid); }

/* ======================================================================
   15 · Responsive
   ====================================================================== */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step--boundary::before { display: none; }
  .disclaimer__grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split__divider { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .nav__sub { display: none; }
}
@media (max-width: 640px) {
  :root { --sp-3xl: 4.5rem; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; position: absolute; inset-block-start: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgb(10 15 32 / 0.96);
    -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
    border-block-end: 1px solid var(--line-2);
  }
  .nav__links.is-open a { padding: var(--sp-md) var(--sp-lg); border-block-end: 1px solid var(--line-1); }
  .nav__links.is-open .nav__cta { margin: var(--sp-md) var(--sp-lg); text-align: center; justify-content: center; }
  .nav__toggle {
    display: inline-grid; place-items: center; margin-inline-start: auto;
    width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-2);
    border-radius: var(--radius-sm); cursor: pointer; color: var(--text-hi);
  }
  .nav__toggle svg { width: 20px; height: 20px; stroke: currentColor; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .split__col, .disclaimer .wrap { padding-inline: var(--sp-md); }
}

/* new components — responsive */
@media (max-width: 900px) {
  .book__grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}
@media (max-width: 760px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__doc { border-inline-end: none; border-block-end: 1px solid var(--line-2); }
  .two-checks { grid-template-columns: 1fr; }
  .srclimits { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .field--row .field { margin-bottom: var(--sp-md); }
  .book__form { padding: var(--sp-lg); }
  .proof__row { gap: var(--sp-md) var(--sp-lg); }
}

/* ======================================================================
   16 · Deck-derived components (law-firm page + investor page)
   ====================================================================== */

/* pre-release honesty banner */
.prerelease { background: rgb(var(--accent-rgb) / 0.07); border-block: 1px solid var(--accent-line);
  position: relative; z-index: 1; }
.prerelease p { padding-block: var(--sp-sm); font-family: var(--font-mono);
  font-size: var(--fs-caption); color: var(--text-mid); text-align: center; }
.prerelease b { color: var(--accent); font-weight: 500; }

/* audience switch (law firms / investors) */
.aud { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.05); border: 1px solid var(--line-2); }
.aud a { font-size: 0.78rem; padding: 0.32em 0.9em; border-radius: var(--radius-pill);
  color: var(--text-lo); white-space: nowrap; transition: all var(--dur-fast) var(--ease-standard); }
.aud a:hover { color: var(--text-hi); }
.aud a[aria-current="page"] { background: var(--space-3); color: var(--text-hi); }

/* three-column comparison (today / with lexvault / what does not change) */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.tri__col { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.tri__col--now { border-top: 2px solid var(--line-strong); }
.tri__col--new { border-top: 2px solid var(--accent-line); }
.tri__col--same { border-top: 2px solid var(--land); }
.tri__eyebrow { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--text-lo); }
.tri__col h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem;
  color: var(--text-hi); margin: 0.35em 0 var(--sp-md); }
.tri__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.tri__col li { font-size: var(--fs-caption); color: var(--text-mid); line-height: var(--lh-body);
  padding-left: 1em; position: relative; }
.tri__col li::before { content: "—"; position: absolute; left: 0; color: var(--text-lo); }
.tri__col--new li::before { content: "→"; color: var(--accent); }

/* data table (roles, modes, requirements, platform) */
.dtable { width: 100%; border-collapse: collapse; background: var(--space-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-md); overflow: hidden; }
.dtable caption { caption-side: bottom; text-align: left; padding-top: var(--sp-md);
  font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-lo); }
.dtable th, .dtable td { text-align: left; padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--line-1); vertical-align: top; font-size: var(--fs-caption);
  line-height: var(--lh-body); }
.dtable thead th { background: var(--space-3); color: var(--text-lo); font-weight: 400;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.dtable tbody th { color: var(--text-hi); font-weight: 600; }
.dtable td { color: var(--text-mid); }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable .never { color: var(--text-lo); }
.dtable .human th, .dtable .human td { background: rgb(var(--accent-rgb) / 0.07); }
.dtable .human th { color: var(--accent); }
.tablescroll { overflow-x: auto; }

/* pipeline flow chips */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xs);
  margin-bottom: var(--sp-lg); }
.flow span { font-family: var(--font-mono); font-size: 0.72rem; padding: 0.4em 0.8em;
  border-radius: var(--radius-pill); background: var(--space-2); border: 1px solid var(--line-2);
  color: var(--text-mid); }
.flow span.is-human { border-color: var(--accent-line); color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08); }
.flow i { color: var(--text-lo); font-style: normal; }

/* review screen (verification output) */
.screen { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); overflow: hidden; }
.screen__head { display: flex; justify-content: space-between; gap: var(--sp-md); flex-wrap: wrap;
  padding: var(--sp-md) var(--sp-lg); background: var(--space-3);
  border-bottom: 1px solid var(--line-2); font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-lo); }
.crow { display: grid; grid-template-columns: 8rem 1fr; gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg); border-bottom: 1px solid var(--line-1); align-items: start; }
.crow:last-child { border-bottom: 0; }
.crow__tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  padding: 0.25em 0.5em; border-radius: var(--radius-xs); text-align: center; white-space: nowrap; }
.crow--ok .crow__tag { color: var(--accent); background: rgb(var(--accent-rgb) / 0.12); }
.crow--flag .crow__tag { color: #e0a184; background: rgb(224 161 132 / 0.12); }
.crow--flag { background: rgb(224 161 132 / 0.03); }
.crow__claim { font-size: var(--fs-body); color: var(--text-hi); line-height: var(--lh-snug); }
.crow__src { display: block; margin-top: 0.35em; font-family: var(--font-mono);
  font-size: 0.76rem; color: var(--text-lo); }
.crow--flag .crow__src { color: #c08e74; }

/* plain-limits list */
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md) var(--sp-xl); }
.limits li { list-style: none; font-size: var(--fs-body); color: var(--text-mid);
  line-height: var(--lh-body); padding-left: 1.6em; position: relative; }
.limits li::before { content: "✕"; position: absolute; left: 0; top: 0.15em;
  color: var(--text-lo); font-size: 0.85em; }
.limits li b { color: var(--text-hi); font-weight: 600; }

/* week-by-week onboarding */
.weeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.week { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.week__no { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--accent); }
.week p { margin-top: var(--sp-sm); font-size: var(--fs-caption); color: var(--text-mid);
  line-height: var(--lh-body); }

/* stat row (investor headline numbers) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-lg); }
.stat { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.stat__n { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  color: var(--accent); line-height: 1.05; letter-spacing: -0.02em; }
.stat__l { display: block; margin-top: var(--sp-xs); font-size: var(--fs-caption); color: var(--text-mid);
  line-height: var(--lh-body); }
.stat__s { display: block; margin-top: var(--sp-2xs); font-family: var(--font-mono);
  font-size: 0.68rem; color: var(--text-lo); }

/* two-entity structure */
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.entity { background: var(--space-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-lg); }
.entity--law { border-top: 2px solid var(--accent-line); }
.entity--tech { border-top: 2px solid var(--land); }
.entity h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--text-hi); }
.entity .sub { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-lo); margin: 0.3em 0 var(--sp-md); display: block; }
.entity ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.entity li { font-size: var(--fs-caption); color: var(--text-mid); line-height: var(--lh-body);
  padding-left: 1em; position: relative; }
.entity li::before { content: "—"; position: absolute; left: 0; color: var(--text-lo); }
.brightline { margin-top: var(--sp-lg); }

@media (max-width: 900px) {
  .tri, .weeks { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  .entities { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .crow { grid-template-columns: 1fr; gap: var(--sp-xs); }
  .crow__tag { justify-self: start; }
  .aud { width: 100%; justify-content: center; }
}
