/* $QAT visual system
   Ground: deep cold ink. Light: one cyan→quantum-blue family. Metal: platinum/steel (cold neutrals).
   Type: Archivo (variable width: expanded for display, normal for text) + Martian Mono for real data only. */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(../fonts/martian-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(../fonts/martian-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --ink: #050B1A;        /* ground */
  --ink-2: #091530;      /* raised band */
  --ink-3: #0E2148;      /* deepest blue a gradient may end on (never black) */
  --text: #E8F1FB;
  --muted: #93A6C2;
  --dim: #7F93B2;
  --ice: #DDF6FF;        /* light core */
  --signal: #62D4FF;     /* the accent */
  --deep: #3A6DFF;       /* quantum blue */
  --plat: #E3EAF3;       /* platinum */
  --steel: #8E9DB5;      /* spent / metal shadow */
  --line: rgba(160, 205, 255, .12);
  --glass: linear-gradient(180deg, rgba(190, 225, 255, .075), rgba(150, 190, 255, .022));
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --display: 'Archivo', 'Archivo Variable', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(20px, 4vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #2a4677 var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--display); font-stretch: 100%; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: rgba(98, 212, 255, .32); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #22406f; border-radius: 10px; border: 2px solid var(--ink); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 12px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--plat); color: var(--ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 12px; }
code, .mono { font-family: var(--mono); font-size: .82em; letter-spacing: 0; }

/* page-wide atmosphere: one hue family, settles into deep blue, never black */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(58, 109, 255, .20), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(98, 212, 255, .08), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #061029 55%, var(--ink-3) 140%);
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px;
  border-radius: 99px; background: rgba(12, 26, 56, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 50px -30px rgba(0, 10, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .5s var(--ease-out), opacity .5s;
}
.nav-mark { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 750; font-stretch: 125%; letter-spacing: .02em; margin-right: 8px; }
.nav-mark svg { width: 24px; height: 24px; color: var(--ice); filter: drop-shadow(0 0 6px rgba(98, 212, 255, .7)); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(98, 212, 255, .08); }
.icon-btn { width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .25s var(--ease-pop), box-shadow .25s; }
.icon-btn:hover { background: rgba(98, 212, 255, .1); box-shadow: 0 0 18px -4px rgba(98, 212, 255, .6); transform: translateY(-1px); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--ice); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .x { display: none; }
.icon-btn[aria-pressed="false"] .w1, .icon-btn[aria-pressed="false"] .w2 { display: none; }
.icon-btn[aria-pressed="false"] .x { display: block; }

/* ---------------- pills ---------------- */
.pill {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 99px; border: 0; cursor: pointer;
  font-weight: 620; font-size: 16px; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease-out), background .3s, color .3s, filter .3s;
  isolation: isolate; overflow: hidden;
}
.pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.pill-lit {
  color: #071433;
  background: linear-gradient(180deg, #F7FBFF 0%, #DDEBFA 48%, #B8CDE6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px rgba(58, 109, 255, .22), 0 1px 0 rgba(255, 255, 255, .2),
              0 12px 34px -10px rgba(98, 212, 255, .65), 0 0 0 1px rgba(220, 240, 255, .5);
}
.pill-lit::after { /* travelling sheen */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.pill-lit:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px rgba(58, 109, 255, .22), 0 18px 44px -10px rgba(98, 212, 255, .9), 0 0 0 1px rgba(230, 246, 255, .8), 0 0 28px rgba(98, 212, 255, .35); }
.pill-lit:hover::after { transform: translateX(120%); }
.pill-glass { color: var(--text); background: rgba(150, 195, 255, .07); border: 1px solid rgba(170, 210, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.pill-glass:hover { transform: translateY(-2px); background: rgba(98, 212, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 12px 30px -14px rgba(98, 212, 255, .7); }
.pill:active { transform: translateY(0) scale(.965); transition-duration: .12s; }
.pill[disabled], .pill[aria-disabled="true"] { cursor: default; filter: saturate(.5) brightness(.85); }
.pill.busy { pointer-events: none; }
.pill.busy::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(58, 109, 255, .22), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: busy 1s linear infinite; }
@keyframes busy { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* ---------------- glass + glow + beams ---------------- */
.glass {
  position: relative; border-radius: var(--r-lg); background: var(--glass);
  border: 1px solid rgba(170, 210, 255, .11);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -48px rgba(0, 8, 40, .95);
}
/* cursor-following glow: fill + border light (JS sets --mx/--my on .glow) */
.glow { position: relative; --mx: 50%; --my: -200px; transition: transform .45s var(--ease-pop), box-shadow .45s var(--ease-out), border-color .3s; }
.glow::before, .glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; }
.glow::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(98, 212, 255, .10), transparent 45%); }
.glow::after {
  padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(190, 240, 255, .9), rgba(58, 109, 255, .35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow:hover::before, .glow:hover::after, .glow.near::before, .glow.near::after { opacity: 1; }
article.glow:hover, .step.glow:hover, .ledger li.glow:hover { transform: translateY(-3px); }

.beam { /* thin, slowly travelling border beam */
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--a), transparent 0deg, transparent 280deg, rgba(58, 109, 255, 0) 290deg, rgba(58, 109, 255, .85) 318deg, rgba(98, 212, 255, 1) 338deg, #DDF6FF 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 9s linear infinite; filter: drop-shadow(0 0 4px rgba(98, 212, 255, .7));
}
.beam-slow { animation-duration: 14s; }
.beam-quick { animation-duration: 7s; }
.ca { position: relative; }
.step { position: relative; }
@keyframes beam { to { --a: 360deg; } }

.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ice); background: rgba(98, 212, 255, .1); border: 1px solid rgba(98, 212, 255, .28); white-space: nowrap; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; padding: 120px var(--pad) 72px; overflow: hidden; }
#reactor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; cursor: default; -webkit-mask: linear-gradient(180deg, #000 78%, transparent); mask: linear-gradient(180deg, #000 78%, transparent); }
#reactor.hot { cursor: pointer; }
.hero-haze { position: absolute; inset: 0; -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); z-index: 0; pointer-events: none; background: radial-gradient(60% 70% at 72% 40%, rgba(58, 109, 255, calc(.10 + .14 * var(--core, 0))), transparent 70%); }
.hero-copy { position: relative; z-index: 2; max-width: 700px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
h1 { font-size: clamp(44px, 4.8vw, 78px); line-height: .98; font-weight: 720; font-stretch: 116%; letter-spacing: -.035em; white-space: nowrap; color: var(--text); }
h1 .ln { display: block; width: max-content; max-width: none; }
h1 .ln + .ln { color: var(--ice); text-shadow: 0 0 34px rgba(98, 212, 255, .45); }
.lede { margin-top: 26px; max-width: 31em; font-size: clamp(16.5px, 1.25vw, 18.5px); color: var(--muted); line-height: 1.62; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* CA pill (Float-style) */
.ca { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 7px 7px 7px 8px; border-radius: 99px; background: rgba(12, 28, 62, .55); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); max-width: 100%; }
.ca-mark { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 50% 35%, #183a7a, #0a1a3c); box-shadow: inset 0 0 0 1px rgba(150, 220, 255, .3), 0 0 16px -4px rgba(98, 212, 255, .7); }
.ca-mark svg { width: 22px; height: 22px; color: var(--ice); }
.ca-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ca-txt b { font-weight: 700; font-size: 14.5px; }
.ca-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca[data-state="live"] .ca-sub { font-family: var(--mono); font-size: 11.5px; color: var(--text); }
.ca-btn { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(170, 210, 255, .2); background: rgba(150, 195, 255, .08); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: transform .3s var(--ease-pop), background .2s, box-shadow .3s; white-space: nowrap; flex: none; }
.ca-btn:hover:not([disabled]) { transform: translateY(-1px); background: rgba(98, 212, 255, .16); box-shadow: 0 0 18px -6px rgba(98, 212, 255, .8); }
.ca-btn:active:not([disabled]) { transform: scale(.94); }
.ca-btn[disabled] { opacity: .45; cursor: default; }
.ca-btn.ok { background: rgba(98, 212, 255, .25); }

/* demo readout */
.readout { position: absolute; z-index: 3; right: var(--pad); bottom: 44px; width: min(380px, 34vw); padding: 18px 20px 16px; border-radius: 24px; transition: transform .5s var(--ease-pop), box-shadow .5s, opacity .6s; }
.readout.on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 80px -40px rgba(98, 212, 255, .55); }
.ro-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ro-title { font-weight: 650; font-size: 15px; }
.ro-step { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; min-height: 3em; }
.ro-step b { color: var(--text); font-weight: 650; }
.ro-step em { font-style: normal; color: var(--text); }
.ro-track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 0; margin: 14px 0 0; }
.ro-track li { font-size: 12px; color: var(--dim); text-align: center; padding-top: 9px; position: relative; transition: color .3s; }
.ro-track li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(150, 190, 255, .14); transition: background .35s, box-shadow .35s; }
.ro-track li.done { color: var(--muted); }
.ro-track li.done::before { background: var(--deep); }
.ro-track li.now { color: var(--ice); }
.ro-track li.now::before { background: var(--ice); box-shadow: 0 0 10px var(--signal); }
.ro-nums { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; margin: 14px 0 0; }
.ro-nums div { min-width: 0; }
.ro-nums dt { font-size: 12px; color: var(--dim); line-height: 1.3; }
.ro-nums dd { margin: 3px 0 0; font-family: var(--mono); font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }

.intro-skip { position: absolute; z-index: 6; bottom: 26px; left: 50%; transform: translateX(-50%); height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(12, 28, 62, .5); color: var(--muted); font-size: 13px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s; }
html.intro .intro-skip { opacity: 1; pointer-events: auto; }

/* intro: the copy waits for the reactor to assemble, then powers on */
html.intro .hero-copy > *, html.intro .readout, html.intro .nav { opacity: 0; }
html.intro .nav { transform: translate(-50%, -20px); }
.hero-copy > *, .readout { transition: opacity .7s var(--ease-out), transform .8s var(--ease-pop), clip-path 1s var(--ease-out); }
html.intro .hero-copy > * { transform: translateY(18px); }
html.intro .readout { transform: translateY(24px) scale(.98); }
h1.power .ln { clip-path: inset(0 0 0 0); }
html.intro h1.power .ln { clip-path: inset(0 100% 0 0); }
.hero-copy > :nth-child(2) { transition-delay: .25s; } .hero-copy > :nth-child(3) { transition-delay: .38s; } .hero-copy > :nth-child(4) { transition-delay: .5s; }
.readout { transition-delay: .55s; }
h1.power .ln + .ln { transition: clip-path 1s var(--ease-out) .15s; }
html.ready .hero-copy > *, html.ready .readout { transition-delay: 0s; }

/* ---------------- sections ---------------- */
.sec { position: relative; padding: clamp(90px, 12vw, 150px) var(--pad) 0; max-width: 1360px; margin: 0 auto; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; font-weight: 700; font-stretch: 118%; letter-spacing: -.03em; }
.sec-head p { margin-top: 18px; color: var(--muted); max-width: 38em; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }

.sec::before { content: ''; position: absolute; z-index: -1; pointer-events: none; top: 40px; width: 760px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 109, 255, .13), transparent); filter: blur(10px); }
.sec:nth-of-type(odd)::before { right: -160px; } .sec:nth-of-type(even)::before { left: -200px; }
.sec-head h2 { transition: text-shadow .5s var(--ease-out), color .4s; cursor: default; }
.sec-head h2:hover { color: #fff; text-shadow: 0 0 22px rgba(98, 212, 255, .65), 0 0 60px rgba(58, 109, 255, .5); }
html.js .sec-head h2 { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out), text-shadow .5s var(--ease-out), color .4s; }
html.js .sec-head.lit h2 { clip-path: inset(0 -20% -20% 0); }
.sec-head h2::after { content: none; }

/* why: a duel, not a card grid */
.duel { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: stretch; }
.duel-side { padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 18px; }
.duel-side p { color: var(--muted); font-size: 16px; }
.duel-side[data-tone="weak"] { background: linear-gradient(180deg, rgba(150, 165, 190, .06), rgba(150, 165, 190, .015)); }
.duel-side[data-tone="weak"] h3 { color: #C6D0DE; }
.duel-axis { position: relative; display: grid; place-items: center; }
.duel-axis span { position: absolute; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(180deg, transparent, rgba(98, 212, 255, .5), transparent); }
.duel-axis span::after { content: ''; position: absolute; left: -1px; width: 3px; height: 60px; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--ice), transparent); box-shadow: 0 0 12px var(--signal); animation: axis 4.5s var(--ease-out) infinite; }
@keyframes axis { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 60px); opacity: 0; } }

.diag { width: 100%; height: auto; display: block; }
.diag text, .flowline text { font-family: var(--display); font-size: 14px; font-weight: 620; fill: var(--text); text-anchor: middle; }
.diag text.sm, .flowline text.sm { font-size: 11.5px; font-weight: 450; fill: var(--muted); }
.diag text.cap { font-size: 13px; fill: var(--muted); font-weight: 500; }
.diag .node rect, .flowline .fnode rect { fill: rgba(120, 170, 255, .06); stroke: rgba(160, 205, 255, .3); stroke-width: 1; }
.diag .node.q rect { stroke: rgba(160, 175, 200, .6); stroke-dasharray: 3 4; fill: rgba(150, 165, 190, .07); }
.diag .node.bad rect { stroke: #8E9DB5; fill: rgba(142, 157, 181, .12); }
.diag .node.good rect, .flowline .fnode.safe rect { stroke: var(--signal); fill: rgba(98, 212, 255, .12); filter: drop-shadow(0 0 8px rgba(98, 212, 255, .45)); }
.flowline .fnode.warn rect { stroke: rgba(160, 175, 200, .6); stroke-dasharray: 3 4; }
.diag .chains > rect { fill: rgba(58, 109, 255, .08); stroke: rgba(98, 212, 255, .45); }
.diag .bars rect { fill: rgba(98, 212, 255, .25); }
.diag .bars rect.pt { fill: var(--ice); filter: drop-shadow(0 0 3px var(--signal)); }
.flow { fill: none; stroke: url(#gW); stroke: #6D7D98; stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
.flow.lit { stroke: var(--signal); filter: drop-shadow(0 0 3px rgba(98, 212, 255, .8)); }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* how */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "steps fig" "steps plate"; gap: 22px; align-items: start; }
.steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.steps::before { content: ''; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(180deg, rgba(98, 212, 255, .6), rgba(58, 109, 255, .25)); }
.step { padding: 22px 26px 24px 80px; border-radius: 24px; }
.step-n { position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--ice); background: radial-gradient(circle at 50% 35%, #1b3f84, #0a1a3c); box-shadow: inset 0 0 0 1px rgba(150, 220, 255, .35), 0 0 14px -2px rgba(98, 212, 255, .55); }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.sigfig { grid-area: fig; margin: 0; padding: 22px 22px 18px; }
.sigfig figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.fig-title { font-weight: 650; }
.fig-sub { color: var(--muted); font-size: 14.5px; }
.fig-sub .mono { color: var(--text); }
#sigGrid { width: 100%; height: auto; display: block; aspect-ratio: 720 / 300; }
.fig-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--dim); }

/* the spec plate: engraved platinum, the treasury metal */
.plate {
  grid-area: plate; border-radius: 24px; padding: 24px 26px 18px; color: #142546;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 2px, rgba(255, 255, 255, .05) 2px 3px),
    linear-gradient(160deg, #EEF3F9 0%, #D3DDEA 38%, #E9EFF6 55%, #B9C7DA 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(40, 70, 130, .25), 0 30px 70px -40px rgba(98, 212, 255, .45), 0 0 0 1px rgba(210, 230, 255, .4);
}
.plate::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 45%); }
.plate::after { background: radial-gradient(240px circle at var(--mx) var(--my), rgba(98, 212, 255, 1), rgba(58, 109, 255, .5) 40%, transparent 70%); }
.plate-title { font-size: 15px; font-weight: 700; font-stretch: 125%; letter-spacing: .01em; color: #0d1d3d; padding-bottom: 12px; border-bottom: 1px solid rgba(20, 40, 80, .18); }
.plate dl { margin: 6px 0 0; display: grid; grid-template-columns: 1fr; }
.plate dl div { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(20, 40, 80, .1); min-width: 0; }
.plate dt { font-size: 13px; color: #4A5D80; white-space: nowrap; }
.plate dd { margin: 0 0 0 auto; font-family: var(--mono); font-size: 12.5px; color: #0B1A38; text-align: right; font-variant-numeric: tabular-nums; }
.plate dd small { color: #44567a; font-size: 10.5px; }

/* treasury board */
.vaultboard { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-areas: "main market" "flow flow"; border-radius: 32px; overflow: hidden; }
.vb-main { grid-area: main; position: relative; overflow: hidden; padding: 36px 36px 30px; border-right: 1px solid var(--line); }
.vb-main > :not(.vb-ring) { position: relative; }
.vb-ring { position: absolute; right: -70px; top: -70px; width: 270px; height: 270px; pointer-events: none; opacity: .55; transition: opacity .6s; }
.vb-ring circle { fill: none; }
.vb-ring .r-outer { stroke: rgba(160, 200, 255, .18); stroke-width: 1; }
.vb-ring .r-metal { stroke: url(#plat); stroke: #9fb0c8; stroke-width: 7; opacity: .5; }
.vb-ring .r-ticks rect { fill: rgba(160, 200, 255, .35); }
.vb-ring .r-core { fill: rgba(98, 212, 255, .08); stroke: rgba(98, 212, 255, .25); }
.vb-ring .r-ticks { transform-origin: 100px 100px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vaultboard.open .vb-ring { opacity: 1; }
.vaultboard.open .vb-ring .r-metal { opacity: .9; filter: drop-shadow(0 0 6px rgba(98, 212, 255, .6)); }
.vaultboard.open .vb-ring .r-ticks rect { fill: var(--signal); }
.vaultboard.open .vb-ring .r-core { fill: rgba(221, 246, 255, .5); filter: drop-shadow(0 0 12px var(--signal)); }
.mk dd.say { font-family: var(--display); font-weight: 600; color: var(--ice); }
.vb-state { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.vb-state .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--steel); box-shadow: 0 0 0 4px rgba(142, 157, 181, .15); }
.vb-state[data-open="true"] { color: var(--ice); }
.vb-state[data-open="true"] .dot { background: var(--signal); box-shadow: 0 0 0 4px rgba(98, 212, 255, .2), 0 0 12px var(--signal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(98, 212, 255, .06), 0 0 18px var(--signal); } }
.vb-big { margin-top: 14px; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; font-weight: 700; font-stretch: 120%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vb-big small { font-size: .42em; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.vb-note { margin-top: 14px; color: var(--muted); max-width: 32em; font-size: 15.5px; }
.vb-addr { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vb-addr code { padding: 8px 12px; border-radius: 12px; background: rgba(98, 212, 255, .07); border: 1px solid var(--line); color: var(--text); word-break: break-all; }
.vb-market { grid-area: market; padding: 36px 32px 30px; }
.vb-market h3, .vb-flow h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.mk { margin: 14px 0 0; display: grid; gap: 0; }
.mk div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mk dt { color: var(--muted); font-size: 14.5px; }
.mk dd { margin: 0; font-family: var(--mono); font-size: 14.5px; font-variant-numeric: tabular-nums; text-align: right; }
.mk-time { margin-top: 12px; font-size: 12.5px; color: var(--dim); min-height: 1.2em; }
.vb-flow { grid-area: flow; padding: 26px 36px 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px 36px; align-items: center; }
.vb-flow h3 { grid-column: 1 / -1; }
.vb-flow p { color: var(--muted); font-size: 15px; }
.flowline { width: 100%; height: auto; }

/* risks ledger */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ledger li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 24px 18px 24px 12px; border-top: 1px solid var(--line); border-radius: 18px; }
.ledger li svg { grid-row: span 2; width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(98, 212, 255, .55)); }
.ledger h3 { font-size: 18px; }
.ledger p { margin-top: 6px; color: var(--muted); font-size: 15.5px; max-width: 40em; }

/* footer wordmark */
.foot { position: relative; margin-top: clamp(100px, 12vw, 160px); padding: 0 var(--pad); overflow: hidden; border-top: 1px solid var(--line); }
.foot-row { max-width: 1360px; margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { text-decoration: none; color: var(--text); }
.foot-links a:hover { color: var(--ice); text-decoration: underline; }
.wordmark { --mx: 50%; --my: 50%; height: clamp(110px, 19vw, 280px); overflow: hidden; display: flex; justify-content: center; user-select: none; }
.wordmark span {
  font-size: clamp(170px, 30vw, 440px); font-weight: 800; font-stretch: 125%; letter-spacing: -.04em; line-height: .78;
  color: transparent; -webkit-text-stroke: 1px rgba(150, 210, 255, .22);
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(221, 246, 255, .95), rgba(98, 212, 255, .55) 30%, rgba(58, 109, 255, .18) 60%, rgba(14, 33, 72, .5) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .how-grid { grid-template-columns: 1fr; grid-template-areas: "fig" "steps" "plate"; }
  .readout { width: min(360px, 40vw); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; align-items: end; padding-top: 47svh; padding-bottom: 40px; min-height: 100svh; }
  .hero-copy { max-width: none; }
  .readout { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 22px; }
  .duel { grid-template-columns: 1fr; gap: 16px; }
  .duel-axis { display: none; }
  .vaultboard { grid-template-columns: 1fr; grid-template-areas: "main" "market" "flow"; }
  .vb-ring { width: 200px; height: 200px; right: -70px; top: -60px; }
  .vb-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 22px; }
  .vb-market { padding: 26px 22px; }
  .vb-flow { grid-template-columns: 1fr; padding: 24px 22px; }
  .ledger { grid-template-columns: 1fr; }
  .plate dl { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 37px; font-stretch: 110%; }
  .nav { width: calc(100vw - 24px); justify-content: space-between; }
  .nav .icon-btn { margin-left: auto; }
  .pill { --h: 50px; padding: 0 20px; }
  .cta-row .pill { flex: 1 1 auto; }
  .ca { width: 100%; }
  .duel-side { padding: 22px 20px 24px; }
  .step { padding: 20px 18px 22px 68px; }
  .step-n { left: 16px; }
  .steps::before { left: 33px; }
  .sigfig { padding: 18px 14px 14px; }
  .plate { padding: 20px 18px 14px; }
  .diag text, .flowline text { font-size: 17px; }
  .diag text.sm, .flowline text.sm, .diag text.cap { font-size: 14px; }
  .ro-nums { grid-template-columns: 1fr 1fr; }
  .ro-nums div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .sec-head h2 { clip-path: none; }
  html { scroll-behavior: auto; }
  .flow, .duel-axis span::after { animation: none; }
  .glow, .pill, .readout { transition-duration: .01s; }
  /* the thin border beams keep moving slowly, as the brand asks; just slower */
  .beam { animation-duration: 24s; }
}
