/* KEEL Vault — terminal design system
   "Bloomberg terminal in a dark room, not a 1983 hacker movie."
   Earned rules (research + audit): body/data text is dim off-white, NEVER green; the phosphor accent is
   load-bearing (active / prompt / execute / live state) — not the resting color of data; numbers carry no glow;
   structure from 1px hairlines, sharp corners (radius 0); tabular slashed-zero numerals; scanline/glow homeopathic
   and gated behind prefers-reduced-motion; hierarchy by brightness (text-hi → text → muted), color reserved for meaning. */

:root {
  /* surfaces — near-black with a faint green bias ("phosphor off", not OLED void) */
  --bg:        #0a0e0c;
  --panel:     #0f1512;
  --raised:    #151d18;
  --line:      #1c2620;   /* hairline — felt, not read */
  --line-2:    #2c3a32;   /* visible divider */
  /* text — brightness hierarchy (AA-checked on --bg/--panel/--raised) */
  --text-hi:   #eef5f0;   /* the one most-important number per panel */
  --text:      #c9d4cc;   /* body + data values (~11:1) */
  --muted:     #8a978e;   /* labels, helper, captions, disclaimer (~5.4:1, passes AA incl. on --raised) */
  --faint:     #4c574f;   /* STRUCTURAL ONLY — hairlines, dot-leaders, corner glyphs. Never body text. */
  /* the single accent — phosphor green-mint (active / prompt / execute / live / positive P&L) */
  --accent:    #3ef0a3;
  --accent-dim:#1c9e6a;
  --accent-ink:#04140d;
  /* semantics — reserved */
  --pos:       #3ef0a3;
  --neg:       #f2555a;
  --warn:      #f5b84b;
  --info:      #5bc8e0;
  --glow:      0 0 6px rgba(62,240,163,.32);
  --glow-soft: 0 0 4px rgba(62,240,163,.18);
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --display: "Space Mono", var(--mono);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--mono);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums slashed-zero;   /* every numeral aligns & shares one zero glyph */
  overflow-x: hidden;
  background-image: radial-gradient(120vw 90vh at 50% -10%, rgba(62,240,163,.05), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--panel); color: var(--text); padding: 8px 14px; border: 1px solid var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); text-shadow: none; }

/* visible keyboard focus (WCAG 2.4.7) — was missing entirely */
:where(a, button, .tab, .faq-q, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* scanline overlay — 4%, static, pointer-events:none so it never eats clicks */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

/* split padding-inline (horizontal) and padding-block (vertical) so .wrap (horizontal) and section (vertical) coexist
   without clashing — with shorthand padding, .wrap overwrote section's vertical spacing and sections got cramped;
   bug closed 2026-06-19. */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 22px; }
section { padding-block: 88px; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

/* monospace helpers */
.mono { font-family: var(--mono); }
.num  { font-variant-numeric: tabular-nums slashed-zero; }
.accent { color: var(--accent); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); } .info { color: var(--info); }
.muted { color: var(--muted); } .faint { color: var(--muted); }   /* .faint as text == muted (never the structural --faint) */

/* blinking block cursor — the focus/active metaphor (the one place glow on near-text is allowed) */
.cursor::after {
  content: "\2588"; color: var(--accent); margin-left: .12ch;
  text-shadow: var(--glow); animation: blink 1.06s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* eyebrow / section label */
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: "// "; color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; color: var(--text-hi); }
.h-sec { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 15px; line-height: 1.6; }   /* no measure cap — mono ch is narrow and any ch cap read as a mid-line break against the 1080px column (user feedback x2) */

/* ── buttons (affordances — no command prefix; the accent border carries them) ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-weight: 600; font-size: 14px; padding: 11px 18px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
  border-radius: 0; transition: border-color .15s, background .15s, color .15s, box-shadow .2s;
  white-space: nowrap; min-height: 44px;
}
.btn:hover { border-color: var(--accent-dim); }
.btn-primary { border-color: var(--accent-dim); color: var(--accent); box-shadow: inset 0 0 0 9999px rgba(62,240,163,.06); }
.btn-primary:hover { border-color: var(--accent); box-shadow: inset 0 0 0 9999px rgba(62,240,163,.12), var(--glow-soft); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ── nav ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,12,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 60px; position: relative; }
.nav-toggle { display: none; }   /* hamburger — shown only on mobile */
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--text-hi); padding: 6px 0; }
.logo .mark {   /* convergence mark (SVG, inherits color via currentColor) — replaced the bordered "K" box */
  width: 23px; height: 23px; flex: none; display: block; color: var(--accent);
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 13.5px; padding: 6px 2px; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-btn { min-height: 34px; padding: 6px 13px; font-size: 12.5px; }   /* compact nav buttons (connect/demo moved here from a card) */
.btn[hidden] { display: none; }   /* hidden attr must beat .btn's display:inline-flex (else hidden buttons still show) */

/* ── hero ── */
.hero { padding-block: 76px 64px; border-top: none; }
.hero-banner {
  font-family: var(--mono); white-space: pre; color: var(--accent); line-height: 1.05;
  font-size: clamp(8px, 1.45vw, 14px); text-shadow: var(--glow-soft); margin-bottom: 24px;
  width: max-content; max-width: 100%;   /* shrink to the art so the glow doesn't trip a scrollbar */
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); max-width: 24ch; margin-bottom: 18px; }   /* 18ch clipped 'accounted for on-chain.' (22 chars) and split the line further — 24ch keeps the 2 lines the <br> intends */
.hero h1 .grad { color: var(--accent); text-shadow: var(--glow); }
.nw { white-space: nowrap; }   /* keep hyphenated compounds (Market-neutral · on-chain) from breaking at the hyphen */
@media (max-width: 560px) { .hero h1 .nw { white-space: normal; } }   /* phones: let the long 'reserves proven on-chain.' line wrap — body is overflow-x:hidden, nowrap would clip it */
.hero .sub { font-size: clamp(15px, 1.7vw, 17px); margin-bottom: 28px; max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { font-size: 12px; color: var(--muted); margin-top: 10px; }   /* testnet CTA microcopy (UIUX #17) — prevents a dead end for deposit intent */

/* live status chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--muted); margin-bottom: 22px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 0; background: var(--accent); box-shadow: var(--glow); animation: pulse 2s infinite; }
.chip .dot.stale { background: var(--warn); box-shadow: 0 0 6px rgba(245,184,75,.4); animation: none; }   /* feed stale → amber, no lie about liveness */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* hero live on-chain strip (honest live figures — report-only NAV read from the contract) */
.sub-note { color: var(--muted); }
.proofstrip { display: inline-flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; }
.proofstrip .ps-label { color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.proofstrip .ps-label::before { content: "// "; }
.proofstrip .ps-kv { color: var(--muted); }
.proofstrip .ps-kv b { color: #fff; font-weight: 600; }
.proofstrip .ps-link { color: var(--accent); text-decoration: none; margin-left: 2px; }
.proofstrip .ps-link:hover { text-decoration: underline; }
/* hero "≥100% backed" badge — same row as .ps-kv but accent-colored (a positive/verified signal). Placed after
   .ps-kv so it wins the color on equal specificity; inline-consistent with .ps-link. Hidden until the reserve read confirms covered+fresh. */
.proofstrip .ps-backed { color: var(--accent); text-decoration: none; margin-left: 2px; }
.proofstrip .ps-backed:hover { text-decoration: underline; }
/* honest non-covered states (verifying… / stale / under review) — the accent green is reserved for covered+fresh; JS toggles .dim */
.proofstrip .ps-backed.dim, .proofstrip .ps-backed.dim b { color: var(--muted); }

/* ── skeleton shimmer while a value is still '—' (loading) — JS drops .skel the moment any real value lands;
   honesty: it only restyles the em-dash placeholder, never invents a number, and read-failure paths remove it ── */
.skel { color: transparent !important; background: linear-gradient(90deg, var(--raised) 25%, var(--line-2) 50%, var(--raised) 75%); background-size: 200% 100%; animation: skelslide 1.4s linear infinite; }
b.skel { display: inline-block; min-width: 4ch; }
@keyframes skelslide { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; background: none; color: inherit !important; } }

/* hero 2-col — copy left, terminal right (fills the right side) */
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: stretch; }   /* stretch: the terminal fills the copy column's height — top-aligned + bottom-aligned, no dead space under it */
.hero-copy { min-width: 0; }
.hero-grid .hero-copy h1 { font-size: clamp(26px, 3vw, 36px); max-width: none; }   /* narrower column + the longer 'reserves proven on-chain.' nowrap line — 36px cap keeps it inside the column */
.hero-grid .term { margin-top: 6px; display: flex; flex-direction: column; min-height: 0; }
.hero-grid .term .term-out { flex: 1 1 0; max-height: none; }   /* output absorbs the stretch (basis 0 — row height stays driven by the copy column; long output scrolls); input+chips pinned at the bottom */
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } .hero-grid .hero-copy h1 { font-size: clamp(30px, 6vw, 46px); } }

/* market-neutral visual band — animated market vs. steady book (de-flattens the card run) */
/* mn-band inherits the uniform section padding (an old 6px top override pinned the box to the divider — user feedback: divider↔content gaps must be consistent) */
.mn-band-in { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: center; border: 1px solid var(--line-2); background: var(--panel); padding: 30px 32px; }
.mn-band-copy { min-width: 0; }
.mn-band-copy .h-sec { margin-bottom: 10px; }
.mn-illus { font-size: 12px; color: var(--muted); margin-top: 14px; }
.mn-illus::before { content: ""; }
.mn-viz { position: relative; min-width: 0; }
.mn-svg { width: 100%; height: 200px; display: block; }
.mn-legend { display: flex; gap: 18px; font-size: 12px; margin-bottom: 8px; }
.mn-legend .mn-l { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.mn-legend .mn-l::before { content: ""; width: 14px; height: 2px; display: inline-block; }
.mn-legend .mn-l-mkt::before { background: var(--muted); }
.mn-legend .mn-l-book::before { background: var(--accent); box-shadow: var(--glow); }
.mn-market { stroke: var(--muted); stroke-width: 1.2; fill: none; opacity: .55; vector-effect: non-scaling-stroke; }
.mn-book { stroke: var(--accent); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.mn-dot-m { fill: var(--muted); }
.mn-dot-b { fill: var(--accent); }
@media (max-width: 760px) { .mn-band-in { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }

/* hover lift — desktop pointers only (hover:hover) so touch taps don't stick; accent-dim edge + background nudge, restrained */
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); border-color: var(--accent-dim); background: var(--raised); box-shadow: 0 8px 24px rgba(0,0,0,.32); }
  .card:hover .ico { color: var(--accent); border-color: var(--accent-dim); }
  .metric { transition: background .16s ease; }
  .metric:hover { background: var(--raised); }
  .wk-row:not(.wk-head) { transition: background .16s ease; }
  .wk-row:not(.wk-head):hover { background: var(--raised); }
}

/* ── readout / metric boxes ── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-2); margin-top: 46px; }
.metric { padding: 22px 20px; border-right: 1px solid var(--line); background: var(--panel); min-width: 0; }
.metric:last-child { border-right: none; }
.metric .label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.metric .val { font-size: clamp(22px, 3vw, 30px); font-weight: 700; font-family: var(--mono); letter-spacing: -.01em; overflow-wrap: anywhere; min-width: 0; }
.metric .val.big { color: var(--text-hi); }     /* data: bright, NOT green, NO glow */
.metric .val.exp { font-size: clamp(18px, 2.2vw, 24px); white-space: nowrap; }   /* the 'Delta-neutral' text value — at the large numeric font size it overflowed the card and broke at the hyphen */
.metric .val.big.pos { color: var(--pos); }     /* net return is P&L — sign color */
.metric .val.big.neg { color: var(--neg); }
.metric .meta { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.metrics-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.metrics-note::before { content: "// "; color: var(--muted); }

/* ── hero PPS growth curve (1px SVG) ── */
.pps-curve { border: 1px solid var(--line-2); background: var(--panel); padding: 12px 14px; margin-top: 16px; }
.curve-head { display: flex; justify-content: space-between; gap: 1ch; font-size: 11.5px; margin-bottom: 6px; }
.curve-svg { width: 100%; height: 64px; display: block; }
.curve-fill { fill: rgba(62,240,163,.07); }   /* soft area under the line — fills the empty chart space */
.curve-line { stroke: var(--accent); stroke-width: 1; }   /* the live line carries the accent (active/heartbeat) */
.curve-base { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 3; }   /* breakeven 0% */
.curve-dot { fill: var(--accent); stroke: var(--accent); stroke-width: 4.6; }   /* non-scaling-stroke (attr) keeps the endpoint a true circle despite the non-square viewBox */
.curve-cap { font-size: 11px; margin-top: 8px; }
.curve-cap::before { content: "// "; color: var(--muted); }

/* historical hover — guide line, focus dot, tooltip (all % positioned → correct on the stretched viewBox) */
.curve-plot { position: relative; cursor: default; touch-action: pan-y; }
.curve-plot.empty { min-height: 40px; }   /* shrink the empty-curve panel (UIUX #11e — avoid a full-height empty box with no data) */
.curve-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); transform: translateX(-.5px); pointer-events: none; display: none; }
.curve-focus { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--panel), var(--glow); transform: translate(-50%, -50%); pointer-events: none; display: none; }
.curve-tip { position: absolute; display: none; gap: 6px; align-items: baseline; transform: translate(-50%, calc(-100% - 11px)); background: var(--panel); border: 1px solid var(--line-2); padding: 3px 8px; font-size: 11px; white-space: nowrap; pointer-events: none; z-index: 3; }
.curve-tip.edge-l { transform: translate(-8px, calc(-100% - 11px)); }
.curve-tip.edge-r { transform: translate(calc(-100% + 8px), calc(-100% - 11px)); }
.curve-tip .ct-v { color: var(--accent); font-weight: 600; }
.curve-tip .ct-d { color: var(--muted); }
.curve-ph { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; font-size: 11.5px; color: var(--muted); padding: 0 10px; }

/* ── interactive hero terminal ── */
.term { border: 1px solid var(--line-2); background: var(--panel); margin-top: 28px; font-family: var(--mono); }
.term-out { padding: 12px 14px 6px; font-size: 13px; line-height: 1.65; min-height: 220px; max-height: 220px; overflow-y: auto; }   /* fixed height — no jump as output grows; tail-scrolls when full */
.term-out .tl { white-space: pre-wrap; overflow-wrap: anywhere; animation: termLine .25s ease both; }   /* output lines fade in (staggered via JS animation-delay) */
@keyframes termLine { from { clip-path: inset(0 100% 0 0); opacity: .35; } to { clip-path: inset(0 0 0 0); opacity: 1; } }   /* left→right wipe, matching the input's typing motion */
.term-out .tcmd { color: var(--text); margin-top: 4px; }
.term-out .tcmd .tp { color: var(--accent); }
.term-out .tc { color: var(--muted); }
.term-out .err { color: var(--neg); }
.term-out .kvrow { display: flex; gap: 1ch; }
.term-out .tk { color: var(--muted); min-width: 11ch; flex-shrink: 0; }
.term-out .tv { color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.term-out .tv.pos { color: var(--accent); }
.term-out .dim { color: var(--muted); }
/* hide native scrollbars in the terminal panes — OS chrome clashes with the CRT frame; JS auto-tail keeps newest output in view, wheel/touch still scrolls */
.term-out, .cmdlog { scrollbar-width: none; -ms-overflow-style: none; }
.term-out::-webkit-scrollbar, .cmdlog::-webkit-scrollbar { width: 0; height: 0; }
.term-in { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); }
.term-in .tp { color: var(--accent); font-weight: 600; flex-shrink: 0; }
.term-in input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-family: var(--mono); font-size: 16px; caret-color: var(--accent); }   /* 16px: avoid iOS Safari focus-zoom */
.term-in input::placeholder { color: var(--muted); }
.term-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.term-chips button { font-family: var(--mono); font-size: 12.5px; padding: 9px 13px; min-height: 44px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.term-chips button::before { content: "$ "; color: var(--accent); opacity: .6; }
.term-chips button:hover { color: var(--accent); border-color: var(--accent-dim); }

/* ── boxed cards grid ── */
.grid { display: grid; gap: 0; border: 1px solid var(--line-2); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > .card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 > .card:nth-child(3n), .grid-2 > .card:nth-child(2n) { border-right: none; }
.grid-3 > .card:nth-last-child(-n+3), .grid-2 > .card:nth-last-child(-n+2) { border-bottom: none; }
.card { background: var(--panel); padding: 24px; transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; min-width: 0; }
.card .ico { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); margin-bottom: 16px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card h3::before { content: "> "; color: var(--muted); font-family: var(--mono); }
.card p { color: var(--muted); font-size: 13.5px; }

/* ── how it works steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-2); counter-reset: step; }
.step { padding: 22px; border-right: 1px solid var(--line); background: var(--panel); min-width: 0; }
.step:last-child { border-right: none; }
.step .num { counter-increment: step; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.step .num::before { content: "[0" counter(step) "]"; }
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13px; }

/* ── key/value dot-leader rows ── */
.kv { display: grid; grid-template-columns: max-content 1fr minmax(0, max-content); align-items: baseline; column-gap: 1ch; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); font-size: 13.5px; }
.kv .dots { border-bottom: 1px dotted var(--faint); transform: translateY(-.3em); }
.kv .v { text-align: right; color: var(--text); font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv .v.accent { color: var(--text-hi); }   /* a highlighted value is brighter, not green */

/* ── faq ── */
.faq { border: 1px solid var(--line-2); margin-top: 26px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: center; gap: 8px; padding: 18px 20px; cursor: pointer; font-size: 14.5px; color: var(--text); min-height: 48px; }
.faq-q::before { content: ">"; color: var(--muted); flex-shrink: 0; }
.faq-q .pm { margin-left: auto; color: var(--accent); font-size: 18px; flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; transition: transform .2s; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { color: var(--muted); font-size: 13.5px; padding: 0 20px 20px 32px; }

/* ── cta band — hairline frame + accent corner brackets (terminal chrome) ── */
.cta-band { position: relative; text-align: center; border: 1px solid var(--line-2); padding: 56px 24px; }
.cta-band::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background-image:
    linear-gradient(var(--accent) 0 0), linear-gradient(var(--accent) 0 0),
    linear-gradient(var(--accent) 0 0), linear-gradient(var(--accent) 0 0),
    linear-gradient(var(--accent) 0 0), linear-gradient(var(--accent) 0 0),
    linear-gradient(var(--accent) 0 0), linear-gradient(var(--accent) 0 0);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 20px 1px, 1px 20px, 20px 1px, 1px 20px, 20px 1px, 1px 20px, 20px 1px, 1px 20px;
  background-repeat: no-repeat;
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 12px; }
.cta-band .sub { margin: 0 auto 24px; }
.cta-band .hero-cta { justify-content: center; }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 13px; }
.foot-col a, .foot-soon { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; margin-bottom: 5px; transition: color .15s; }
.foot-col a:hover { color: var(--accent); }
.foot-soon { color: var(--muted); cursor: default; }
.disclaimer { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.disclaimer::before { content: "# "; color: var(--muted); }

/* ════════════════ legacy console styles (page removed 2026-07-08 — rules kept; shared tokens only) ════════════════ */
.console { padding-block: 40px 56px; }
.con-head { margin-bottom: 26px; }
.con-head h1 { font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 6px; }
.con-head .sub { font-size: 14px; }
.con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.con-grid .full { grid-column: 1 / -1; }

.panel { border: 1px solid var(--line-2); background: var(--panel); min-width: 0; }
.panel > .panel-h {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.panel > .panel-h::before { content: "\250C"; color: var(--faint); font-family: var(--mono); flex-shrink: 0; }
.panel > .panel-h .stat-badge { margin-left: auto; }   /* status pill right; title hugs the ┌ prompt (was space-between → title centered) */
.panel > .panel-b { padding: 16px; }
.panel-note { font-size: 11.5px; color: var(--muted); padding: 4px 16px 12px; }
.panel-note::before { content: "// "; color: var(--muted); }

/* service-status badge — bracketed, color+word (color-blind safe) */
.stat-badge { font-size: 11.5px; font-family: var(--mono); letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.stat-badge.ok    { color: var(--accent); }
.stat-badge.warn  { color: var(--warn); }
.stat-badge.err   { color: var(--neg); }
.stat-badge.idle  { color: var(--muted); }

/* tabs */
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { flex: 1; text-align: center; padding: 14px; cursor: pointer; font-size: 13.5px; color: var(--muted); border-right: 1px solid var(--line); transition: color .15s, background .15s; min-height: 48px; }
.tab:last-child { border-right: none; }
.tab.on { color: var(--accent); background: rgba(62,240,163,.05); }

/* input field (command-line style) */
.field { border: 1px solid var(--line); background: var(--bg); padding: 13px 15px; margin-bottom: 13px; }
.field .top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.field .row { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.field .row::before { content: "\203A"; color: var(--accent); font-size: 18px; }
.field input { flex: 1; min-width: 0; background: none; border: none; color: var(--text); font-size: 22px; font-weight: 600; outline: none; font-family: var(--mono); width: 100%; caret-color: var(--accent); }
.field input::placeholder { color: var(--muted); }
.field .asset { display: flex; align-items: center; gap: 7px; flex-shrink: 0; font-weight: 600; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line-2); padding: 6px 11px; }
.field .asset .coin { width: 7px; height: 7px; background: var(--muted); }
.field .pct { display: flex; gap: 6px; margin-top: 10px; }
.field .pct button { flex: 1; font-size: 12.5px; padding: 11px 6px; min-height: 44px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); cursor: pointer; font-family: var(--mono); transition: color .15s, border-color .15s; }
.field .pct button:hover { color: var(--accent); border-color: var(--accent-dim); }
.receipt { font-size: 13px; color: var(--muted); padding: 6px 2px 14px; display: grid; gap: 9px; }
.receipt .r { display: flex; justify-content: space-between; }
.receipt .r span:last-child { color: var(--text); }
.note { font-size: 11.5px; color: var(--muted); padding: 12px 4px 2px; line-height: 1.55; }
.note::before { content: "# "; color: var(--muted); }

/* command log */
.cmdlog { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; padding: 6px 0; max-height: 280px; overflow-y: auto; }
.log-line { display: flex; gap: 1ch; padding: 1px 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.log-line .ts { color: var(--muted); flex-shrink: 0; }
.log-line .tag { flex-shrink: 0; width: 7ch; }
.log-line.info .tag { color: var(--info); }
.log-line.ok   .tag { color: var(--accent); }
.log-line.warn .tag { color: var(--warn); }
.log-line.err  .tag { color: var(--neg); }
.log-line .msg { color: var(--text); }
.log-line.warn .msg { color: var(--warn); }
.log-line.err  .msg { color: var(--neg); }
.cmdlog .empty { color: var(--muted); padding: 4px; }
.cmdlog a { color: var(--info); text-decoration: underline; text-underline-offset: 2px; }

/* big readout values inside panels */
.big-read { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.big-read .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.big-read .v { font-size: clamp(22px, 4vw, 30px); font-weight: 700; font-family: var(--mono); overflow-wrap: anywhere; min-width: 0; }
.big-read .v.accent { color: var(--text-hi); }   /* bright, not green, no glow */
.read-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* queue rows */
.q-row { display: grid; grid-template-columns: minmax(0,max-content) 1fr minmax(0,max-content); gap: 1ch; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.q-row.act { grid-template-columns: minmax(0,max-content) 1fr max-content max-content; align-items: center; }   /* active redemption: id · amt · status · action button */
.q-row.act .btn { min-height: 0; padding: 5px 11px; font-size: 12px; }
.q-row .dim { color: var(--muted); font-size: 11.5px; }   /* eta + deposit-history PPS — dim data, not a status badge */
@media (pointer: coarse) { .q-row.act .btn { min-height: 44px; } }   /* touch devices: restore 44px tap target */
.q-row:last-child { border-bottom: none; }
.q-row .id { color: var(--info); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-row .amt { text-align: right; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* console footer disclaimer */
.con-disclaimer { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11.5px; color: var(--muted); line-height: 1.7; max-width: 96ch; }
.con-disclaimer::before { content: "# "; color: var(--muted); }

/* verification "built with" logo strip (landing #proof section) */
.built-with { display:flex; align-items:center; gap:12px; flex-wrap:nowrap; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); --fill-0:#c9d4cc; }
.built-with .bw-label { font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); white-space:nowrap; margin-right:auto; }
.built-with .bw-logo { display:inline-flex; align-items:center; gap:6px; opacity:.9; }
.built-with .bw-logo svg { display:block; }
.built-with .bw-name { font-family:var(--display); font-weight:700; font-size:13px; color:var(--text); }

/* ═══ #proof — live on-chain reserve-proof readout panel (rv-*) ═══
   A single framed terminal/oscilloscope of the on-chain proof; app.js reserveReadout() fills the live fields. */
.rv-grad { color: var(--accent); text-shadow: var(--glow-soft); }
.rv { border: 1px solid var(--line-2); background: var(--panel); margin-top: 22px; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.rv-head .rv-cmd { overflow-wrap: anywhere; }
.rv-head .rv-cmd::before { content: "\250C "; color: var(--faint); }
.rv-head .rv-cmd .tp { color: var(--accent); font-weight: 600; }
.rv-head .rv-cmd b { color: var(--text); font-weight: 600; }
.rv-live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; white-space: nowrap; }
.rv-dot { width: 7px; height: 7px; background: var(--accent); box-shadow: var(--glow); animation: rvpulse 2s infinite; }
@keyframes rvpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.rv-body { padding: 22px 20px 18px; }
.rv-hero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 30px; align-items: center; }
/* verdict — compact pill (the gauge is the visual headline; COVERED is a clean confirmation, not a giant box) */
.rv-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .05em; padding: 7px 14px; color: var(--accent); border: 1px solid var(--accent-dim); white-space: nowrap; box-shadow: 0 0 0 1px var(--accent-dim), 0 0 16px rgba(62,240,163,.20), inset 0 0 0 9999px rgba(62,240,163,.08); }
.rv-badge .ck { font-size: 1.05em; line-height: 1; }
.rv-badge.warn { color: var(--warn); border-color: rgba(245,184,75,.5); box-shadow: none; }
.rv-badge.err  { color: var(--neg); border-color: rgba(242,85,90,.5); box-shadow: none; }
.rv-badge.idle { color: var(--muted); border-color: var(--line-2); box-shadow: none; }
.rv-vsub { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.rv-vsub b { color: var(--text); font-weight: 600; }
.rv-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-dim); padding: 1px 6px; vertical-align: middle; white-space: nowrap; }
.rv-tag.mute { color: var(--muted); border-color: var(--line-2); }
.rv-gauge { margin-top: 18px; max-width: 420px; }
.rv-gtop { display: flex; justify-content: space-between; align-items: baseline; gap: 1ch; margin-bottom: 6px; }
.rv-gpct { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--accent); letter-spacing: .02em; text-shadow: var(--glow-soft); }
.rv-gpct.warn { color: var(--warn); text-shadow: none; } .rv-gpct.idle { color: var(--muted); text-shadow: none; }
.rv-glbl { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rv-gbar { height: 11px; background: var(--raised); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.rv-gfill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); box-shadow: var(--glow-soft); }
.rv-gfill.warn { background: var(--warn); box-shadow: none; } .rv-gfill.idle { background: var(--faint); box-shadow: none; }
.rv-gmark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text-hi); }
.rv-gmark-t { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rv-gcap { font-size: 10.5px; color: var(--faint); margin-top: 20px; line-height: 1.55; }
.rv-scope { min-width: 0; position: relative; }
.rv-base-lbl { position: absolute; right: 8px; top: 92px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 0 4px; pointer-events: none; }
.rv-scope-svg { width: 100%; height: 128px; display: block; border: 1px solid var(--line); background: var(--bg); }
.rv-grid-l { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rv-base { stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.rv-fill { fill: rgba(62,240,163,.10); }
.rv-trace { stroke: var(--accent); stroke-width: 1.4; fill: none; vector-effect: non-scaling-stroke; }
.rv-dot-halo { fill: none; stroke: var(--accent); stroke-width: 12; opacity: .18; vector-effect: non-scaling-stroke; }
.rv-dot-pt { fill: var(--accent); stroke: var(--accent); stroke-width: 5; vector-effect: non-scaling-stroke; }
.rv-scope-cap { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 8px; font-size: 10.5px; color: var(--muted); }
.rv-scope-cap .lg { display: inline-flex; align-items: center; gap: 6px; }
.rv-scope-cap .sw { width: 13px; height: 2px; display: inline-block; }
.rv-scope-cap .sw.res { background: var(--accent); box-shadow: var(--glow-soft); }
.rv-scope-cap .sw.owed { background: var(--line-2); }
.rv-divider { border-top: 1px solid var(--line); margin: 20px 0 4px; }
.rv-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.rv-kv { display: grid; grid-template-columns: max-content 1fr minmax(0, max-content); align-items: baseline; column-gap: 1ch; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rv-kv .k { color: var(--muted); font-size: 13px; }
.rv-kv .dots { border-bottom: 1px dotted var(--faint); transform: translateY(-.3em); }
.rv-kv .v { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.rv-kv .v .rv-tag { margin-left: 7px; }
.rv-kv .v.ok { color: var(--accent); } .rv-kv .v.hi { color: var(--text-hi); }
.rv-verify { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-top: 18px; padding: 13px 16px; border: 1px solid var(--line-2); background: var(--bg); font-family: var(--mono); font-size: 12.5px; }
.rv-verify .cmd { color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.rv-verify .cmd .tp { color: var(--accent); font-weight: 600; } .rv-verify .cmd .fn { color: var(--text); } .rv-verify .cmd .addr { color: var(--text-hi); }
.rv-verify .cursor::after { content: "\2588"; color: var(--accent); margin-left: .1ch; text-shadow: var(--glow); animation: rvblink 1.06s steps(1,end) infinite; }
@keyframes rvblink { 50% { opacity: 0; } }
.rv-verify a { color: var(--accent); white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; min-height: 40px; }
.rv-verify a:hover { text-decoration: underline; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.rv-trust { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.6; max-width: 62ch; min-width: 0; }
.rv-trust::before { content: "# "; color: var(--muted); }
.rv-trust b { color: var(--text); font-weight: 600; }
.rv-trust a { color: var(--accent); }
.rv-trust a:hover { text-decoration: underline; }
.rv-by { display: inline-flex; align-items: center; gap: 15px; flex-wrap: wrap; --fill-0: #e6ede9; }
.rv-by .lbl { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--text); white-space: nowrap; font-weight: 500; }
.rv-by .lk { display: inline-flex; align-items: center; gap: 9px; opacity: 1; }
.rv-by .lk svg { display: block; }
.rv-by .sep { width: 1px; height: 16px; background: var(--line-2); }
@media (max-width: 720px) { .rv-hero { grid-template-columns: 1fr; gap: 24px; } .rv-readout { grid-template-columns: 1fr; gap: 0; } .rv-gauge { max-width: none; } }
@media (max-width: 460px) { .rv-body { padding: 18px 14px 14px; } .rv-verify { justify-content: flex-start; } .rv-foot { justify-content: flex-start; } }

/* ═══ #verify — "Why KEEL" comparison (wk-*): the industry default vs KEEL, house table style ═══ */
#verify .h-sec .grad { color: var(--accent); text-shadow: var(--glow-soft); }
.wk-table { border: 1px solid var(--line-2); background: var(--panel); margin-top: 26px; }
.wk-row { display: grid; grid-template-columns: 0.72fr 1.14fr 1.14fr; border-bottom: 1px solid var(--line); }
.wk-row:last-child { border-bottom: none; }
.wk-row > div { padding: 15px 18px; font-size: 13.5px; line-height: 1.6; min-width: 0; }
.wk-row .wk-usual, .wk-row .wk-keel { border-left: 1px solid var(--line); }
.wk-q { color: var(--text); font-size: 13px; }
.wk-q::before { content: "> "; color: var(--muted); }
.wk-usual { color: var(--muted); }
.wk-keel { color: var(--text-hi); }
.wk-ck { color: var(--accent); margin-right: .6ch; }
.wk-head > div { padding: 10px 18px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.wk-head .wk-usual { color: var(--muted); }
.wk-head .wk-keel { color: var(--accent); }
.wk-head .wk-q::before { content: ""; }
.wk-foot { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.wk-foot::before { content: "# "; color: var(--muted); }
.wk-foot a { color: var(--accent); }
.wk-foot a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .wk-head { display: none; }   /* stacked cards on phones — the per-cell labels below replace the header row */
  .wk-row { grid-template-columns: 1fr; }
  .wk-row > div { padding: 12px 16px; }
  .wk-q { padding-bottom: 2px; }
  .wk-row .wk-usual, .wk-row .wk-keel { border-left: none; }
  .wk-usual { padding-top: 6px; padding-bottom: 8px; }
  .wk-keel { padding-top: 0; }
  .wk-usual::before, .wk-keel::before { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .wk-usual::before { content: "the usual vault"; }
  .wk-keel::before { content: "KEEL"; color: var(--accent); }
}

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }

/* ── toast ── */
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }
.toast-item { background: var(--panel); border: 1px solid var(--line-2); color: var(--text); padding: 11px 16px; font-size: 13px; font-family: var(--mono); box-shadow: 0 10px 36px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; max-width: 90vw; }
.toast-item::before { content: "$ "; color: var(--accent); }
.toast-item.in { opacity: 1; transform: none; }
.toast-item.pos { border-color: var(--accent-dim); }
.toast-item.pos::before { content: "[OK] "; }
.toast-item.neg { border-color: rgba(242,85,90,.5); }
.toast-item.neg::before { content: "[ERR] "; color: var(--neg); }

/* ── responsive ── */
@media (max-width: 880px) {
  .nav-toggle { display: block; order: 3; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; padding: 8px 10px; min-height: 44px; background: none; border: none; font-family: inherit; }
  /* the open menu gets an opaque background and sits above content (UIUX #12 — the hero used to show through the translucent panel). Toggle is a real button (.open; old checkbox hack removed) */
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line-2); padding: 6px 22px 12px; z-index: 60; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin-left: auto; gap: 6px; order: 2; }   /* buttons sit before the ☰ (order:3), no overflow */
  .nav-cta #navStatus { display: none; }   /* phone: drop the status chip, keep the action buttons */
  .nav-btn { padding: 10px 12px; font-size: 11.5px; min-height: 44px; }   /* phone touch target */
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2n) { border-right: none; }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-last-child(-n+2) { border-bottom: none; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 > .card, .step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .grid-3 > .card:nth-child(2n), .step:nth-child(2n) { border-right: none; }
  .con-grid { grid-template-columns: 1fr; }
  section { padding-block: 68px; }
}
@media (max-width: 680px) {
  .read-grid { grid-template-columns: 1fr; }
  .cmdlog { max-height: none; min-height: 0; overflow-y: visible; }   /* console log folds into page scroll (no fixed box) */
  .term-out { min-height: 200px; max-height: 200px; }   /* hero terminal stays a fixed box on phones too — no growing */
  #vaultCurve { display: none; }   /* PPS curve is ambiance on phones — hide to shorten the scroll to deposit */
}
@media (max-width: 640px) {
  section { padding-block: 60px; }   /* phones: 88px section air reads as dead scroll — tighten */
  .hero { padding-block: 44px 48px; }
}
@media (max-width: 540px) {
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }   /* metrics stay 2-col — values are short and 2×2 halves the scroll */
  .metric { padding: 18px 14px; }
  .metric .val.exp { white-space: normal; font-size: 16px; }   /* 'Market-neutral' may wrap at the hyphen in a half-column — allowed */
  .q-row .amt { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }   /* phone: wrap the $ payout instead of clipping it */
  /* phone: the 4-col active-queue grid crushes amt to ~1 char wide → switch to flex, amt on its own row */
  .q-row.act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  .q-row.act .id { order: 1; }
  .q-row.act .stat-badge { order: 2; }
  .q-row.act .btn { order: 3; margin-left: auto; }
  .q-row.act .amt { order: 4; flex-basis: 100%; text-align: left; }
  .grid-3 > .card, .step { border-right: none; }   /* metric 2-col borders come from the 880px rules (nth-child(2n) etc.) */
  .hero-banner { font-size: 9px; }
  .foot-cols { gap: 28px; }
  section { padding-block: 52px; }
}

/* ── motion safety ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cursor::after { opacity: 1; }
  .chip .dot { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  body::after { display: none; }
}
