/* HushPad: three scenes, one ring set. Plain CSS, no build step. */

/* Your heading font: put it in /public/fonts/ as display.woff2 (see fonts/README.txt). */
@font-face { font-family: "HushDisplay"; src: url("../fonts/display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #ECEEF1;
  --paper-hi: #F7F8FA;
  --ink: #14161B;
  --ink-2: #3B414B;
  --ink-soft: #69717D;
  --muted: #6B727D;
  --accent: #E84125;          /* Helius orange-red */
  --accent-ink: #C2311A;
  --accent-soft: rgba(232, 65, 37, .12);
  --up: #0A8F62;
  --down: #D63A37;
  --stat: #15171D;
  --ink-rgb: 20, 22, 27;
  --paper-rgb: 236, 238, 241;
  --surf-rgb: 255, 255, 255;
  --on-ink: #FFFFFF;
  --rule: rgba(var(--ink-rgb), .12);
  --glass: rgba(var(--surf-rgb), .58);
  --glass-hi: rgba(var(--surf-rgb), .82);
  --glass-edge: rgba(var(--surf-rgb), .85);
  --shadow: 0 1px 0 rgba(var(--surf-rgb), .9) inset, 0 30px 70px -40px rgba(0, 0, 0, .38);
  --maxw: 1480px;
  --top-h: 96px;
  --f-display: "HushDisplay", "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0D0E10;
  --paper-hi: #16181B;
  --ink: #ECEDEF;
  --ink-2: #B9BDC4;
  --ink-soft: #7C828B;
  --muted: #8C929B;
  --accent-ink: #FF6A4D;
  --accent-soft: rgba(232, 65, 37, .18);
  --up: #2BD196;
  --down: #FF5E57;
  --stat: #1B1E23;
  --ink-rgb: 236, 237, 239;
  --paper-rgb: 13, 14, 16;
  --surf-rgb: 30, 33, 38;
  --on-ink: #0D0E10;
  --glass: rgba(24, 26, 30, .6);
  --glass-hi: rgba(36, 39, 45, .86);
  --glass-edge: rgba(255, 255, 255, .08);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 70px -40px rgba(0, 0, 0, .85);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--f-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(var(--ink-rgb), .1) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.dot, .hl { color: var(--accent); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 9999; background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 64px, var(--maxw)); } }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------- Canvases ---------- */
#rings { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity; }
#rings.is-zooming { image-rendering: pixelated; }
#specks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 700; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 14px; border: 1.5px solid transparent; font-weight: 600; font-size: 18px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .3s var(--spring), box-shadow .25s; }
.btn .ic { width: 22px; height: 22px; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px var(--accent); }
.btn-ghost { background: var(--glass); border-color: var(--rule); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--ink); background: var(--glass-hi); }
.btn-lg { height: 58px; }
.btn-xl { height: 68px; padding: 0 36px; font-size: 20px; border-radius: 16px; }
.icon-btn { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .25s, background .25s; }
.icon-btn:hover { border-color: var(--ink); background: var(--glass-hi); }
.icon-btn .ic { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 500; height: var(--top-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s; }
.top.is-scrolled { background: rgba(var(--paper-rgb), .76); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 700 32px/1 var(--f-display); letter-spacing: -.035em; }
.logo-mark { width: 50px; height: 50px; flex: none; transition: transform .8s var(--spring); }
.logo-mark circle { stroke: var(--ink); }
.logo-mark .a { stroke: var(--accent); }
.logo:hover .logo-mark { transform: rotate(120deg); }
.logo-sm { font-size: 24px; }
.logo-sm .logo-mark { width: 38px; height: 38px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.wallet-btn .ic { width: 22px; height: 22px; }
.wallet-btn.is-connected { background: var(--glass-hi); color: var(--ink); border-color: var(--accent); font-family: var(--f-mono); font-weight: 500; }

/* ---------- Rail (page dots, right edge) ---------- */
.rail { position: fixed; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 400; display: grid; gap: 6px; }
.rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 34px; padding: 0 0 0 12px; border: 0; background: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.rail button::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; transition: background .3s, transform .4s var(--spring), border-color .3s; }
.rail button span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); padding: 4px 10px; border-radius: 8px; background: var(--glass-hi); }
.rail button:hover span, .rail button:focus-visible span, .rail button.is-active span { opacity: 1; transform: none; }
.rail button.is-active { color: var(--ink); }
.rail button.is-active::after { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* ---------- Runways (sticky zoom scenes) ---------- */
.runway { position: relative; }
.runway-home { height: 240vh; }
.runway-gate { height: 210vh; }
.sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }

/* ---------- 1. Landing ---------- */
.hero-stage { position: relative; padding-top: var(--top-h); will-change: opacity, transform; }
.hero-stage::before {
  content: ""; position: absolute; inset: 0 auto -40px -100px; width: min(62%, 900px); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 40% 55%, rgba(var(--paper-rgb), .85) 0%, rgba(var(--paper-rgb), .6) 45%, rgba(var(--paper-rgb), 0) 72%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: radial-gradient(ellipse at 40% 55%, #000 40%, transparent 72%); mask-image: radial-gradient(ellipse at 40% 55%, #000 40%, transparent 72%);
}
.hero-title { width: 56%; font: 700 clamp(44px, 4.4vw, 80px)/.96 var(--f-display); letter-spacing: -.05em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .ln > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.hero-title .ln:nth-child(2) > span { transition-delay: .09s; }
.hero-title .ln:nth-child(3) > span { transition-delay: .18s; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .4s, transform .9s var(--ease) .4s; }
.is-entered .hero-title .ln > span { transform: none; }
.is-entered .hero-meta { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); opacity: 0; transition: opacity 1s .9s; }
.is-entered .scroll-cue { opacity: 1; }
.cue-line { position: relative; width: 2px; height: 46px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(250%); } }

/* CA chip */
.ca { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ca-k { font-weight: 700; font-size: 15px; color: var(--accent-ink); }
.ca-v { font: 500 16px var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 320px; }
.ca-copy { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; border: 0; background: var(--ink); color: var(--on-ink); transition: background .25s; }
.ca-copy:hover { background: var(--accent); color: #fff; }
.ca-copy .ic { width: 19px; height: 19px; }
.xchip { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--rule); font-weight: 600; }
.xchip .ic { width: 20px; height: 20px; }

/* ---------- 2. Launch ---------- */
.scene-launch { padding: calc(var(--top-h) + 40px) 0 80px; }
.launch-cols { display: grid; grid-template-columns: minmax(0, 52%) 1fr; }
.launch-col { display: grid; gap: 24px; }
.panel { position: relative; border-radius: 26px; padding: clamp(22px, 2.8vw, 40px); background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
.panel::before, .panel::after { content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none; border: 2px solid var(--accent); }
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 26px; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 26px; }
.h-sec { font: 700 clamp(36px, 3.4vw, 56px)/1 var(--f-display); letter-spacing: -.04em; }
.h-sub { font: 700 32px/1.05 var(--f-display); letter-spacing: -.03em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.launch-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.steps { display: flex; gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--muted); background: rgba(var(--ink-rgb), .05); }
.steps li::before { content: counter(s); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(var(--ink-rgb), .08); }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { background: var(--accent); color: #fff; }
.steps li.is-done::before { background: var(--ink); color: var(--on-ink); }
.lform { display: grid; gap: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 9px; align-content: start; }
.field > label, .field > .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: 17px; }
.opt { font-weight: 400; font-size: 15px; color: var(--muted); }
.input { width: 100%; height: 62px; padding: 0 20px; border-radius: 16px; border: 1.5px solid var(--rule); background: rgba(var(--surf-rgb), .72); font-size: 18px; transition: border-color .25s, box-shadow .25s; }
textarea.input { height: auto; min-height: 110px; padding: 16px 20px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #9AA0A8; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.has-error .input, .field.has-error .drop { border-color: var(--down); }
.err { color: var(--down); font-size: 15px; }
.err:empty { display: none; }
.input-pre, .input-suf { position: relative; }
.input-pre span, .input-suf span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-pre span { left: 20px; }
.input-pre .input { padding-left: 40px; }
.input-suf span { right: 20px; }
.input-suf .input { padding-right: 64px; }
.drop { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 18px; border: 1.5px dashed rgba(var(--ink-rgb), .25); background: rgba(var(--surf-rgb), .5); transition: border-color .25s, background .25s; }
.drop:hover, .drop.is-over, .drop:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: var(--ink); }
.drop-img { position: relative; flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--stat); color: rgba(255, 255, 255, .6); }
.drop-img .ic { width: 28px; height: 28px; }
.drop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-t { display: block; font-weight: 600; }
.drop-t u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.hint { display: block; font-size: 15px; color: var(--muted); }
.dep-row { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 18px; border-radius: 16px; background: var(--accent-soft); }
dd.dep-row { min-height: 0; padding: 4px 12px; border-radius: 10px; width: fit-content; }
.g { font-family: var(--f-mono); color: var(--accent); letter-spacing: .02em; white-space: nowrap; }
.tag { font-size: 14px; padding: 3px 10px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; white-space: nowrap; }
.check { position: relative; display: flex; align-items: center; gap: 14px; font-size: 17px; }
.field > .check { justify-content: flex-start; font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid rgba(var(--ink-rgb), .3); background: rgba(var(--surf-rgb), .7); display: grid; place-items: center; color: transparent; transition: all .25s; }
.check .box .ic { width: 20px; height: 20px; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.check input:focus-visible + .box { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.factions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.sum { display: grid; margin-bottom: 22px; border-top: 1px solid var(--rule); }
.sum > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.sum dt { color: var(--muted); }
.sum dd { overflow-wrap: anywhere; }
.sum-img { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.sum-img img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.sealed > p { color: var(--ink-2); max-width: 60ch; margin: 10px 0 22px; }
.sealed-mark { width: 104px; height: 104px; margin-bottom: 10px; overflow: visible; }
.sealed-mark circle { fill: none; stroke: var(--ink); stroke-width: 3; transform-origin: 60px 60px; animation: seal 1.1s var(--spring) both; }
.sealed-mark circle:nth-child(1) { --tx: -14px; --ty: -8px; }
.sealed-mark circle:nth-child(2) { --tx: 14px; --ty: -8px; animation-delay: .06s; }
.sealed-mark circle.a { stroke: var(--accent); --tx: 0px; --ty: 14px; animation-delay: .12s; }
@keyframes seal { from { transform: translate(var(--tx), var(--ty)); opacity: .2; } to { transform: none; opacity: 1; } }

/* Builder */
.b-head { display: grid; gap: 10px; margin-bottom: 26px; }
.b-ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.rng { display: grid; gap: 6px; }
.rng label { display: flex; justify-content: space-between; font-weight: 500; font-size: 17px; }
.rng output { font: 500 15px var(--f-mono); color: var(--accent-ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: none; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: rgba(var(--ink-rgb), .12); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(var(--ink-rgb), .12); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:focus-visible::-webkit-slider-thumb { background: var(--accent); }
.b-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 22px; }
.b-sets button { display: grid; gap: 2px; padding: 11px 13px; border-radius: 14px; border: 1.5px solid var(--rule); background: rgba(var(--surf-rgb), .6); text-align: left; font-weight: 500; font-size: 15px; transition: border-color .25s, background .25s; }
.b-sets button .mono { font-size: 17px; letter-spacing: .08em; color: var(--ink-2); }
.b-sets button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.b-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.b-sep { width: 1px; height: 36px; background: var(--rule); margin: 0 4px; }

/* ---------- Gate caption ---------- */
.gate-cap {
  width: fit-content; max-width: calc(100vw - 32px); margin-inline: auto; padding: clamp(22px, 3vw, 40px) clamp(26px, 4vw, 56px);
  text-align: center; font: 700 clamp(36px, 4.6vw, 80px)/1.02 var(--f-display); letter-spacing: -.045em; opacity: 0;
  border-radius: 30px; background: rgba(var(--paper-rgb), .88); border: 1px solid var(--glass-edge); box-shadow: var(--shadow), 0 40px 90px -30px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
}

/* ---------- 3. Live coins ---------- */
.scene-coins { padding: calc(var(--top-h) + 20px) 0 120px; }
.coins-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: end; margin-bottom: 20px; }
.coins-head .h-sec { font-size: clamp(44px, 5vw, 88px); }
.demo-note { margin-bottom: 18px; font-size: 15px; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { position: relative; background: var(--stat); color: #fff; border-radius: 18px; padding: 22px 24px 20px; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.stat .n { font: 700 clamp(32px, 2.8vw, 48px)/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat .c { margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .66); }
:root[data-theme="dark"] .stat { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.coins-bar { margin-bottom: 18px; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(var(--ink-rgb), .06); }
.seg button { height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: none; font-weight: 500; font-size: 16.5px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.coin { display: grid; gap: 16px; padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: border-color .3s, transform .45s var(--ease); }
.coin:hover { border-color: var(--accent); transform: translateY(-4px); }
.coin-top { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.coin-rings { width: 78px; height: 78px; border-radius: 18px; background: rgba(var(--surf-rgb), .6); }
.coin-id h3 { font: 700 24px/1.1 var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.coin-sym { font-size: 15px; font-weight: 600; color: var(--accent-ink); }
.coin-chg { font-size: 18px; font-weight: 600; }
.coin-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 0; border-block: 1px solid var(--rule); }
.coin-meta dt { font-size: 14px; color: var(--muted); }
.coin-meta dd { font-size: 17px; font-weight: 600; }
.coin-dep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dep-k { font-size: 15px; color: var(--muted); }
.coin-mint { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.coin-mint code { font: 500 15px var(--f-mono); color: var(--ink-2); }
.coin-mint .ca-copy { width: 40px; height: 40px; }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 60px; border-top: 1px solid var(--rule); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.foot-note { flex-basis: 100%; color: var(--muted); font-size: 15px; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 9000; background: var(--paper); transition: opacity .8s var(--ease); }
.intro-rings { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-status { position: absolute; top: 28px; left: 32px; z-index: 1; padding: 8px 14px; border-radius: 10px; background: rgba(var(--paper-rgb), .85); font: 500 15px var(--f-mono); color: var(--ink-2); }
.intro-ui { position: absolute; left: 0; right: 0; bottom: clamp(20px, 5vh, 52px); margin-inline: auto; width: fit-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 28px; padding: 12px 12px 12px 32px; border-radius: 28px; border: 1px solid transparent; transition: opacity .5s, transform .5s var(--ease), background .8s, border-color .8s; }
.intro.is-ready .intro-ui { background: rgba(var(--paper-rgb), .84); border-color: var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.intro-name { font: 700 clamp(44px, 5vw, 80px)/1 var(--f-display); letter-spacing: -.05em; }
.intro-by { display: block; margin-top: 8px; font: 600 16px/1 var(--f-body); letter-spacing: 0; color: var(--accent-ink); }
.intro-name, .intro-enter { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease), background .25s; }
.intro-enter { min-width: 220px; pointer-events: none; transition-delay: .12s; }
.intro.is-ready .intro-name, .intro.is-ready .intro-enter { opacity: 1; transform: none; }
.intro.is-ready .intro-enter { pointer-events: auto; }
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro.is-leaving .intro-ui { opacity: 0; transform: translateY(24px); }
html.intro-open body { overflow: hidden; }
html.intro-open .top, html.intro-open .rail { visibility: hidden; }

/* ---------- Cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur-dot, .cur-ring, .cur-trail { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 10000; }
.cur-trail { width: 100vw; height: 100vh; z-index: 9998; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .3s; }
.cur-ring { width: 50px; height: 50px; margin: -25px 0 0 -25px; opacity: 0; transition: opacity .3s, width .35s var(--spring), height .35s var(--spring), margin .35s var(--spring); }
.cur-ring svg { width: 100%; height: 100%; animation: curSpin 7s linear infinite; overflow: visible; }
.cur-ring circle { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.cur-ring circle.a { stroke: var(--accent); }
html.cursor-on .cur-dot, html.cursor-on .cur-ring { opacity: 1; }
.cur-ring.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.cur-ring.is-hover circle { stroke: var(--accent); }
.cur-ring.is-down { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cur-ring.is-text { width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: .5; }
@keyframes curSpin { to { transform: rotate(360deg); } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: calc(var(--top-h) + 6px); left: 50%; transform: translateX(-50%); z-index: 9500; display: grid; gap: 8px; pointer-events: none; width: min(92vw, 480px); }
.toast { background: var(--stat); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 16.5px; border-left: 3px solid var(--accent); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); animation: toastIn .45s var(--spring); transition: opacity .45s, transform .45s; }
.toast.out { opacity: 0; transform: translateY(-8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-title { width: auto; }
  .launch-cols { grid-template-columns: 1fr; }
  .coins-head { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 760px) {
  :root { --top-h: 78px; }
  body { font-size: 17px; }
  .logo { font-size: 26px; }
  .logo-mark { width: 40px; height: 40px; }
  .wallet-btn .wl { display: none; }
  .wallet-btn { width: 56px; padding: 0; }
  .rail { display: none; }
  .hero-stage { align-self: flex-end; padding-bottom: 120px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .frow, .b-ranges, .stat-row { grid-template-columns: 1fr; }
  .sum > div { grid-template-columns: 1fr; gap: 4px; }
  .ca-v { max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
