/* Snowball Pad — black & white, halftone, one icy accent */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JBM"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #060606;
  --ink-2: #111;
  --paper: #f3f2ee;
  --white: #fff;
  --mute: rgba(255,255,255,.62);
  --mute-ink: rgba(0,0,0,.6);
  --line: rgba(255,255,255,.14);
  --accent: #a9dcff;             /* the one accent: ice */
  --glass: rgba(14,14,14,.52);
  --glass-line: rgba(255,255,255,.16);
  --r: 24px;
  --max: 1480px;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JBM", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-cursor, body.has-cursor * { cursor: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--white); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: .98; margin: 0; font-style: normal; }
h2 { font-size: clamp(44px, 5.4vw, 84px); }
h3 { font-size: 30px; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { width: min(var(--max), 100% - 64px); margin-inline: auto; }
.eyebrow { font: 600 15px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: inline-flex; gap: 12px; align-items: center; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.lead { font-size: 21px; color: var(--mute); max-width: 640px; }
.hide { display: none !important; }

/* ── background canvas & halftone fields ───────────────────── */
#scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#throws { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.dots-tl, .dots-br { position: fixed; z-index: 0; pointer-events: none; width: 46vw; height: 46vw; opacity: .5;
  background: radial-gradient(circle, #fff 1.3px, transparent 1.6px) 0 0 / 11px 11px; }
.dots-tl { left: -6vw; top: -8vw; -webkit-mask: radial-gradient(circle at 0 0, #000 10%, transparent 62%); mask: radial-gradient(circle at 0 0, #000 10%, transparent 62%); }
.dots-br { right: -8vw; bottom: -10vw; -webkit-mask: radial-gradient(circle at 100% 100%, #000 8%, transparent 60%); mask: radial-gradient(circle at 100% 100%, #000 8%, transparent 60%); }
main, header, footer { position: relative; z-index: 2; }

/* ── top bar ───────────────────────────────────────────────── */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 18px 0; }
.top .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 24px/1 var(--display); letter-spacing: -.03em; }
.brand img { height: 36px; width: auto; }
.brand .ball { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 30%, #bbb 70%, #777); box-shadow: inset -3px -4px 0 rgba(0,0,0,.25); }
.top .spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 500 15px/1 var(--body); white-space: nowrap; transition: border-color .2s, background .2s; }
.chip b { font-family: var(--mono); font-weight: 500; }
.chip .k { color: var(--mute); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
button.chip, a.chip { cursor: pointer; }
.chip:hover { border-color: rgba(255,255,255,.5); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 64px; padding: 0 32px; border-radius: 999px;
  font: 600 19px/1 var(--body); border: 2px solid var(--white); background: var(--white); color: var(--ink); cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 -2px rgba(255,255,255,.18); }
.btn.ghost { background: transparent; color: var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.sm { height: 48px; padding: 0 22px; font-size: 16px; }
.btn svg { width: 20px; height: 20px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ── panels ────────────────────────────────────────────────── */
.glass { background: var(--glass); border: 1.5px solid var(--glass-line); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); }
.card { position: relative; background: rgba(243,242,238,.94); color: var(--ink); border: 2.5px solid var(--ink);
  border-radius: var(--r); }
.card::after { content: ""; position: absolute; inset: 0; transform: translate(10px, 10px); border-radius: var(--r); z-index: -1;
  background: radial-gradient(circle, #fff 1.4px, transparent 1.7px) 0 0 / 7px 7px; opacity: .85; }
.card .muted { color: var(--mute-ink); }

/* ── hero ──────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: grid; align-items: center; padding: 120px 0 140px; }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 860px); }
.hero .copy { grid-column: 2; padding-left: 2vw; }
.hero h1 { font-size: clamp(60px, 8.2vw, 136px); line-height: .92; letter-spacing: -0.045em; margin: 26px 0 30px; }
.hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero .lead { font-size: 22px; }
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; margin: 40px 0 28px; }
.ca-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ca-row .tk { font: 600 15px/1 var(--mono); color: var(--mute); margin-right: 4px; }
.hint { position: absolute; bottom: 120px; right: 32px; font-size: 14px; color: var(--mute); letter-spacing: .04em; }
.status { position: absolute; bottom: 120px; left: 32px; display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--mute); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.status.live i { background: var(--accent); box-shadow: 0 0 0 4px rgba(169,220,255,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(169,220,255,0); } }

section.block { padding: 140px 0; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head h2 { margin-top: 18px; }

/* ── every transaction ─────────────────────────────────────── */
.ticker-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tx { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 16px; min-height: 290px; }
.tx .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid currentColor; }
.tx .ic svg { width: 24px; height: 24px; }
.tx .pct { font: 900 64px/0.9 var(--display); letter-spacing: -.05em; margin-top: auto; }
.tx .pct small { font-size: 26px; letter-spacing: -.02em; }
.tx h3 { font-size: 24px; }
.tx p { font-size: 16px; line-height: 1.5; }
.tx.glass p { color: var(--mute); }
.not-just { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 34px 40px; }
.not-just .big { font: 900 clamp(40px, 4.6vw, 72px)/0.95 var(--display); letter-spacing: -.045em; }
.not-just .big s { text-decoration-thickness: 5px; color: rgba(0,0,0,.4); }
.not-just p { font-size: 19px; }

/* ── how it rolls: accordion + visual ──────────────────────── */
.rolls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.acc { display: flex; flex-direction: column; gap: 14px; }
.acc-item { overflow: hidden; transition: background .3s, border-color .3s; }
.acc-item > button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 56px 1fr 30px; align-items: center; gap: 14px; padding: 24px 28px; cursor: pointer; }
.acc-item .n { font: 500 15px/1 var(--mono); color: var(--mute); }
.acc-item h3 { font-size: 27px; }
.acc-item .pm { width: 28px; height: 28px; position: relative; }
.acc-item .pm::before, .acc-item .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 13px; height: 2px; background: currentColor; transition: transform .3s; }
.acc-item .pm::after { transform: rotate(90deg); }
.acc-item.open .pm::after { transform: rotate(0); }
.acc-item .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.acc-item.open .body { grid-template-rows: 1fr; }
.acc-item .body > div { overflow: hidden; }
.acc-item .body p { padding: 0 28px 28px 98px; color: var(--mute); font-size: 18px; }
.acc-item.open { border-color: rgba(255,255,255,.45); }

.visual { position: sticky; top: 110px; padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.vis-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--ink); border: 1.5px solid var(--glass-line); }
.vis-stage canvas { width: 100%; height: 100%; display: block; }
.vis-cap { position: absolute; left: 20px; bottom: 16px; right: 20px; display: flex; justify-content: space-between; font: 500 14px/1.3 var(--mono); color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--glass-line); background: rgba(255,255,255,.03); min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; }
.stat .l { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.stat .v { font: 800 30px/1 var(--display); letter-spacing: -.03em; }
.stat .v.idle { color: rgba(255,255,255,.35); }
.stat .s { font-size: 13px; color: var(--mute); }
.src-note { font-size: 13px; color: var(--mute); }

/* ── rolling now (registry) ────────────────────────────────── */
.grid-balls { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ball-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ball-card .hd { display: flex; gap: 14px; align-items: center; }
.ball-card .av { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink); background: #ddd center/cover; flex: none; }
.ball-card .tk { font: 800 24px/1 var(--display); letter-spacing: -.03em; }
.ball-card .nm { font-size: 15px; }
.ball-card .tag { margin-left: auto; font: 600 12px/1 var(--body); letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--white); }
.ball-card .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 2px dotted var(--ink); padding-top: 14px; }
.ball-card .nums b { display: block; font: 800 22px/1.1 var(--display); }
.ball-card .nums span { font-size: 12px; color: var(--mute-ink); letter-spacing: .06em; text-transform: uppercase; }
.ball-card .acts { display: flex; gap: 8px; }
.ball-card .acts a { flex: 1; text-align: center; padding: 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 15px; }
.ball-card .acts a:hover { background: var(--ink); color: var(--white); }
.empty { padding: 56px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty h3 { font-size: 34px; }
.filters { display: flex; gap: 10px; }
.filters button { height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--glass-line); background: transparent; cursor: pointer; font-weight: 500; }
.filters button.on { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ── calculator ────────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.calc .in { padding: 44px; display: grid; gap: 30px; border-right: 2.5px solid var(--ink); }
.calc .out { padding: 44px; display: grid; gap: 18px; align-content: start; background: var(--ink); color: var(--white); border-radius: 0 calc(var(--r) - 3px) calc(var(--r) - 3px) 0; }
.field label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; }
.field label output { font-family: var(--mono); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 9px; background: radial-gradient(circle, #000 1.3px, transparent 1.6px) 0 0/6px 6px, #fff; border: 2px solid #000; }
input[type=range]::-moz-range-track { height: 8px; border-radius: 9px; background: #fff; border: 2px solid #000; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 30%, #aaa 80%); border: 2.5px solid #000; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2.5px solid #000; }
.out .row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1.5px dotted rgba(255,255,255,.25); font-size: 17px; }
.out .row b { font: 500 18px/1 var(--mono); }
.out .total { margin-top: 10px; }
.out .total .v { font: 900 clamp(48px, 5vw, 80px)/0.95 var(--display); letter-spacing: -.045em; }
.out .total .l { color: var(--mute); font-size: 15px; margin-top: 10px; }
.bar { display: flex; height: 16px; border-radius: 9px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.4); }
.bar span { display: block; height: 100%; transition: width .4s; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }

/* ── footer ────────────────────────────────────────────────── */
footer { padding: 80px 0 170px; border-top: 1.5px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--mute); font-size: 15px; }
footer a:hover { color: var(--white); }

/* ── bottom nav: a snowball rolls along the track as you scroll ── */
.dock { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 22px; border-radius: 999px; }
.track { position: relative; display: flex; gap: 6px; align-items: center; padding-bottom: 2px; }
.track a { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--mute); transition: color .2s; white-space: nowrap; }
.track a:hover, .track a.on { color: var(--white); }
.track .rail { position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1.3px) 0 0 / 7px 2px; }
.track .roller { position: absolute; bottom: -10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; left: 0;
  background: radial-gradient(circle at 35% 30%, #fff 0 35%, #9a9a9a 90%); box-shadow: 0 0 12px rgba(169,220,255,.6); transition: width .2s, height .2s; }
.dock .menu-btn { height: 48px; padding: 0 20px; border-radius: 999px; background: var(--white); color: var(--ink); border: 0; font-weight: 600; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.dock .menu-btn kbd { font: 500 12px/1 var(--mono); border: 1.5px solid currentColor; border-radius: 6px; padding: 3px 6px; }

/* ── full menu ─────────────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 80; background: rgba(6,6,6,.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: grid; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s, visibility 0s .35s; }
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s; }
.menu .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 22px; font: 800 clamp(44px, 6.6vw, 104px)/1.02 var(--display); letter-spacing: -.045em; color: rgba(255,255,255,.4); transition: color .2s, transform .3s; }
.menu nav a span { font: 500 16px/1 var(--mono); letter-spacing: 0; color: var(--mute); }
.menu nav a:hover { color: var(--white); transform: translateX(14px); }
.menu .side { display: grid; gap: 18px; padding: 30px; }
.menu .close { position: absolute; top: 26px; right: 32px; }

/* ── intro ─────────────────────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; transition: opacity .7s, visibility 0s .7s; }
.intro.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro canvas.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.intro canvas.ball3d { position: absolute; left: 50%; top: 36vh; width: min(58vh, 80vw); height: min(58vh, 80vw); transform: translate(-50%, -50%); }
.intro .stack { position: relative; z-index: 3; display: grid; justify-items: center; gap: 26px; text-align: center; margin-top: 46vh; }
.intro .line { font: 500 16px/1 var(--mono); color: var(--mute); letter-spacing: .08em; min-height: 18px; }
.intro .word { font: 900 clamp(44px, 6vw, 92px)/0.9 var(--display); letter-spacing: -.05em; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
.intro .enter { opacity: 0; transform: translateY(16px); transition: opacity .35s .1s, transform .35s .1s; pointer-events: none; }
.intro.ready .word, .intro.ready .enter { opacity: 1; transform: none; pointer-events: auto; }
.intro .skip { position: absolute; right: 30px; bottom: 26px; z-index: 3; font-size: 14px; color: var(--mute); background: none; border: 0; cursor: pointer; }

/* ── cursor (always above everything, intro Enter included) ── */
.cur { position: fixed; z-index: 1000; left: 0; top: 0; pointer-events: none; mix-blend-mode: difference; }
.cur .dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.cur .ring { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1.5px solid #fff; transition: width .25s, height .25s, margin .25s, background .25s; }
.cur.hot .ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: #fff; }

/* ── toast ─────────────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 104px; transform: translate(-50%, 20px); z-index: 90; padding: 14px 22px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── forms (launch page) ───────────────────────────────────── */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { padding: 40px; display: grid; gap: 34px; }
.step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-h i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 600 15px/1 var(--mono); }
.step-h h3 { font-size: 26px; }
.step-h small { margin-left: auto; font-size: 14px; color: var(--mute-ink); }
.inp { width: 100%; height: 62px; border-radius: 16px; border: 2.5px solid var(--ink); background: var(--white); padding: 0 20px; font: 500 18px/1 var(--body); color: var(--ink); outline: none; }
.inp:focus { box-shadow: 0 0 0 4px var(--accent); }
textarea.inp { height: 110px; padding: 16px 20px; resize: vertical; line-height: 1.5; }
.row2 { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }
.stack-in { display: grid; gap: 14px; }
.drop { border: 2.5px dashed var(--ink); border-radius: 16px; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 16px; cursor: pointer; background: var(--white) center/cover; min-height: 138px; }
.drop small { display: block; font-weight: 400; color: var(--mute-ink); font-size: 13px; }
.drop.has { color: transparent; }
.drop.has small { color: transparent; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pills button { height: 50px; padding: 0 22px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.pills button.on { background: var(--ink); color: var(--white); }
.fixed-rule { display: grid; gap: 10px; padding: 20px 22px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--white); }
.fixed-rule div { display: flex; justify-content: space-between; font-size: 16px; }
.fixed-rule b { font-family: var(--mono); font-weight: 500; }
.preview { position: sticky; top: 110px; padding: 34px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.preview .pv-ball { width: 230px; height: 230px; border-radius: 50%; overflow: hidden; position: relative; }
.preview .pv-ball canvas { width: 100%; height: 100%; }
.preview .pv-ball .img { position: absolute; inset: 28%; border-radius: 50%; background: center/cover; border: 3px solid var(--ink); display: none; }
.preview .pv-ball.has-img .img { display: block; }
.preview .pv-tk { font: 900 52px/1 var(--display); letter-spacing: -.045em; }
.preview .tag { font: 600 13px/1 var(--body); letter-spacing: .1em; padding: 9px 13px; border-radius: 999px; background: var(--ink); color: var(--white); }
.preview .flows { width: 100%; display: grid; gap: 8px; text-align: left; }
.preview .flows div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 2px dotted var(--ink); font-size: 16px; }
.preview .flows b { font-family: var(--mono); font-weight: 500; }
.form-msg { font-size: 16px; min-height: 24px; }

/* ── lab ───────────────────────────────────────────────────── */
.lab { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.lab-stage { position: relative; min-height: 620px; overflow: hidden; padding: 0; }
.lab-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-stage .hud { position: absolute; left: 26px; top: 24px; right: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lab-stage .big { position: absolute; left: 26px; bottom: 24px; }
.lab-stage .big .v { font: 900 clamp(44px, 5vw, 76px)/0.95 var(--display); letter-spacing: -.045em; }
.lab-stage .big .l { color: var(--mute); font-size: 15px; }
.lab-side { display: grid; gap: 20px; align-content: start; }
.lab-side .glass { padding: 26px; }
.lookup { display: flex; gap: 10px; }
.lookup .inp { height: 56px; font-family: var(--mono); font-size: 15px; background: rgba(255,255,255,.06); color: var(--white); border-color: var(--glass-line); }
.bars { display: grid; gap: 14px; }
.bars .b { display: grid; grid-template-columns: 70px 1fr 90px; gap: 12px; align-items: center; font-size: 15px; }
.bars .t { height: 14px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; }
.bars .t span { height: 100%; transition: width .6s; }
.bars .t .buy { background: var(--white); }
.bars .t .sell { background: radial-gradient(circle, #fff 1.2px, transparent 1.5px) 0 0 / 5px 5px; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--mute); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.feed { display: grid; gap: 8px; max-height: 300px; overflow: auto; font: 500 14px/1.4 var(--mono); }
.feed div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted var(--line); color: var(--mute); }
.feed div b { color: var(--white); font-weight: 500; }

/* page heads for sub pages */
.page-head { padding: 160px 0 60px; }
.page-head h1 { font-size: clamp(56px, 7vw, 116px); line-height: .92; letter-spacing: -.045em; margin: 22px 0 24px; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .ticker-wall { grid-template-columns: repeat(3, 1fr); }
  .rolls, .builder, .lab, .calc, .sec-head, .menu .wrap { grid-template-columns: 1fr; }
  .calc .in { border-right: 0; border-bottom: 2.5px solid var(--ink); }
  .calc .out { border-radius: 0 0 calc(var(--r) - 3px) calc(var(--r) - 3px); }
  .visual, .preview { position: relative; top: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .copy { grid-column: 1; padding: 0; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 36px); }
  .ticker-wall, .faq, .stats { grid-template-columns: 1fr; }
  .not-just { grid-template-columns: 1fr; padding: 28px; }
  .top .chip.ca { display: none; }
  .track a:not(.keep) { display: none; }
  .hint { display: none; }
  .acc-item .body p { padding-left: 28px; }
  .row2 { grid-template-columns: 1fr; }
  .calc .in, .calc .out, .form { padding: 26px; }
  section.block { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
