/* Layout and motion follow the studied structure. Colour comes only from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h, 140px) + 8px); }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font: 400 16px/1.6 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.ca-value, .sev, .badge, .code { font-family: 'Geist Mono', ui-monospace, monospace; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--c-violet-600), var(--c-violet-300), var(--c-aqua-400)); }

/* header */
.masthead { position: sticky; top: 0; z-index: 50; padding-top: 20px; }
.bar { background: color-mix(in srgb, var(--color-surface) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid color-mix(in srgb, var(--c-ink) 8%, transparent); border-radius: 16px; padding: 10px; }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: 10px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
nav { display: flex; gap: 24px; }
nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-size: 15px; text-decoration: none; }
nav a:hover { color: var(--color-accent); }
.bar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
nav + .bar-end { margin-left: 0; }
.social { display: flex; gap: 4px; }
.soc { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--color-line); color: var(--color-ink); }
a.soc:hover { background: var(--color-ink); color: var(--color-surface); }
.soc[aria-disabled] { color: var(--c-steel-300); cursor: default; }
.soc svg { width: 18px; height: 18px; fill: currentColor; }

.ca { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; width: 100%; min-height: 52px; margin: 8px 0 0; padding: 8px 14px; border: 1px solid var(--color-line); border-radius: 12px; background: color-mix(in srgb, var(--c-lilac-100) 70%, var(--color-surface)); color: var(--color-ink); font: inherit; text-align: left; }
.ca-label { font-size: 13px; font-weight: 500; color: var(--color-accent); }
.ca-value { flex: 1 1 220px; min-width: 0; font-size: clamp(18px, 2.1vw, 26px); font-weight: 500; line-height: 1.25; word-break: break-all; }
.ca-hint { font-size: 13px; font-weight: 500; background: var(--color-ink); color: var(--color-surface); border-radius: 8px; padding: 8px 14px; }
button.ca { cursor: pointer; }
button.ca:hover { border-color: var(--color-accent); }
button.ca.done .ca-hint { background: var(--color-signal); color: var(--color-ink); }
.ca.inert { cursor: default; }
.ca.inert .ca-value { color: var(--color-text-soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 500; text-decoration: none; text-align: center; }
.btn-ink { background: var(--color-ink); color: var(--color-surface); }
.btn-ink:hover { background: var(--color-night); }
.btn-out { border-color: var(--color-ink); }
.btn-out:hover { background: var(--color-ink); color: var(--color-surface); }
.btn-signal { background: var(--color-signal); color: var(--color-ink); }
.btn-signal:hover { background: var(--c-mint-300); }
.btn[aria-disabled] { border-color: var(--color-line); color: var(--color-text-soft); cursor: default; }
.bar .btn { min-height: 44px; white-space: nowrap; }

/* hero */
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--head-h, 140px)); padding: var(--head-h, 140px) 0 120px; isolation: isolate; background:
  radial-gradient(40% 50% at 8% 18%, color-mix(in srgb, var(--c-lilac-500) 55%, transparent), transparent 70%),
  radial-gradient(35% 45% at 92% 70%, color-mix(in srgb, var(--c-mint-500) 55%, transparent), transparent 70%),
  radial-gradient(30% 35% at 70% 100%, color-mix(in srgb, var(--c-aqua-200) 50%, transparent), transparent 70%),
  var(--color-bg); }
.mesh { position: absolute; inset: -20%; z-index: -2; background:
  radial-gradient(30% 30% at 52% 30%, var(--c-lilac-100), transparent 70%),
  radial-gradient(26% 30% at 40% 74%, color-mix(in srgb, var(--c-aqua-200) 55%, transparent), transparent 70%);
  animation: mesh 18s ease-in-out infinite alternate; }
.blob { position: absolute; z-index: -1; pointer-events: none; }
.blob::before { content: ''; position: absolute; inset: 0; border-radius: 50%; filter: blur(70px); animation: drift 20s ease-in-out infinite; }
.blob-a { width: 520px; height: 520px; left: -140px; top: 60px; }
.blob-b { width: 480px; height: 480px; right: -120px; top: 360px; }
.blob-a::before { background: color-mix(in srgb, var(--c-violet-600) 28%, transparent); }
.blob-b::before { background: color-mix(in srgb, var(--c-aqua-400) 26%, transparent); animation-delay: -9s; animation-duration: 24s; }
.hero-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 72px; position: relative; z-index: 2; }
.hero-copy { flex: 1.5 1 560px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: color-mix(in srgb, var(--color-surface) 60%, transparent); border: 1px solid var(--color-line); }
.pill .dot { width: 7px; height: 7px; }
.dot { display: inline-block; position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-steel-300); }
.dot.violet { background: var(--c-violet-600); }
.dot.teal { background: var(--c-teal-500); }
.dot.aqua { background: var(--c-aqua-400); }
.dot.ink { background: var(--color-ink); }
[data-state="live"] .dot { background: var(--c-teal-500); }
[data-state="wait"] .dot { background: var(--c-violet-300); }
[data-state="error"] .dot { background: var(--c-violet-600); }
[data-state] .dot::after, .dot.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
h1 { font-size: clamp(46px, 6vw, 86px); line-height: 0.98; letter-spacing: -0.05em; margin-bottom: 32px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--color-text-soft); max-width: 520px; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.stage { flex: 1 1 360px; min-width: 0; max-width: 560px; margin: 0 auto; position: relative; height: 520px; }
.layer { position: absolute; }
.layer-orbit, .layer-key { inset: 0; display: grid; place-items: center; grid-template: 100% / 100%; justify-items: center; }
.layer-orbit svg { width: min(100%, 480px); height: auto; }
.orbit { fill: none; stroke: color-mix(in srgb, var(--c-violet-600) 40%, transparent); stroke-width: 1.5; stroke-dasharray: 3 9; }
.orbit.faint { stroke: color-mix(in srgb, var(--c-teal-500) 45%, transparent); }
.layer-key img { height: 440px; width: auto; filter: drop-shadow(0 30px 30px color-mix(in srgb, var(--c-violet-900) 30%, transparent)); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; background: var(--color-surface); box-shadow: 0 20px 40px color-mix(in srgb, var(--c-violet-900) 16%, transparent); }
.chip-a { left: 0; top: 110px; }
.chip-b { right: 0; bottom: 70px; }
.mosaic { position: absolute; pointer-events: none; }
.mosaic-hero { left: 50%; bottom: 0; transform: translateX(-50%); width: min(1100px, 100%); height: 170px; z-index: 1; }
.mosaic-top { right: 0; top: 0; width: min(520px, 60%); height: auto; }
.px-violet { fill: var(--c-violet-300); }
.px-lilac { fill: var(--c-lilac-500); }
.px-mint { fill: var(--c-mint-500); }
.px-aqua { fill: var(--c-aqua-400); }
.px-teal { fill: var(--c-teal-500); }
.px-deep { fill: var(--c-violet-600); }
.px-steel { fill: var(--c-steel-700); }
.px-ink { fill: var(--color-ink); }

/* ticker strip */
.strip { border-block: 1px solid color-mix(in srgb, var(--c-violet-600) 18%, transparent); background: color-mix(in srgb, var(--color-surface) 45%, transparent); }
.strip-wrap { display: flex; align-items: center; gap: 16px 48px; padding-top: 32px; padding-bottom: 32px; min-height: 96px; }
.strip-label { flex: none; font-size: 14px; color: var(--color-text-soft); }
.tape-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, var(--color-ink) 6%, var(--color-ink) 94%, transparent); mask-image: linear-gradient(90deg, transparent, var(--color-ink) 6%, var(--color-ink) 94%, transparent); }
.tape { display: flex; width: max-content; min-height: 44px; align-items: center; }
.tape:has(.tape-run) { animation: tape 48s linear infinite; }
.tape:hover { animation-play-state: paused; }
.tape-run { display: flex; gap: 44px; padding-right: 44px; animation: fadein .6s ease-out both; }
.tick { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.tick .logo { width: 24px; height: 24px; font-size: 12px; }
.tick-px { color: var(--color-text-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.tick-ch { font-size: 13px; }
.sk-tick { width: 150px; height: 20px; margin-right: 44px; }

/* market */
.night { position: relative; overflow: hidden; color: var(--color-surface); background: radial-gradient(50% 60% at 90% 10%, color-mix(in srgb, var(--c-violet-600) 45%, transparent), transparent 70%), var(--color-night); }
.split { display: flex; flex-wrap: wrap; align-items: center; }
.split-market { gap: 56px 72px; padding-top: 120px; padding-bottom: 120px; }
.board-col { flex: 1 1 520px; min-width: 0; position: relative; }
.board { background: var(--color-surface); color: var(--color-ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px color-mix(in srgb, var(--c-ink) 35%, transparent); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; background: var(--c-lilac-100); }
.board-title, .board-tag { display: flex; align-items: center; gap: 8px; }
.board-title { font-size: 14px; font-weight: 500; }
.board-tag { font: 400 11px 'Geist Mono', ui-monospace, monospace; color: var(--color-text-soft); }
.cols, .row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 80px 70px 70px; gap: 12px; align-items: center; padding: 11px 16px; }
.cols { font-size: 11px; color: var(--c-steel-500); text-transform: uppercase; letter-spacing: .06em; border-left: 2px solid transparent; }
.cols span + span, .cell { text-align: right; }
.row { position: relative; min-height: 60px; border-top: 1px solid var(--c-lilac-100); border-left: 2px solid transparent; font-size: 12.5px; text-decoration: none; font-variant-numeric: tabular-nums; }
a.row[href]:hover { background-color: var(--c-lilac-100); }
.c-token { display: flex; align-items: center; gap: 10px; min-width: 0; }
.c-logo { display: block; flex: none; }
.logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--c-lilac-300); }
.logo.tile { font-weight: 600; font-size: 14px; color: var(--c-violet-900); background: linear-gradient(135deg, var(--c-lilac-500), var(--c-mint-500)); }
.logo.brand { object-fit: contain; padding: 3px; background: linear-gradient(135deg, var(--c-lilac-500), var(--c-mint-500)); }
.c-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sym { font-size: 14px; font-weight: 600; }
.sym, .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm { color: var(--c-steel-500); font-size: 12px; }
.cell { min-width: 0; }
.cell .k { display: none; }
.cell .v { display: inline-block; border-radius: 5px; padding: 1px 4px; margin-right: -4px; white-space: nowrap; }
.up { color: var(--color-up); }
.down { color: var(--color-down); }
.flash-up { animation: flashUp 1.1s ease-out; }
.flash-down { animation: flashDown 1.1s ease-out; }
.row.own { --color-accent-glow: color-mix(in srgb, var(--color-accent) 24%, transparent); border-left: 2px solid var(--color-accent); animation: ownPulse 2.6s ease-in-out infinite; }
.row.entering { background-color: var(--c-lilac-100); animation: inA .55s ease-out; }
.skel-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; border-top: 1px solid var(--c-lilac-100); }
.skeleton { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--c-lilac-100) 25%, var(--c-lilac-300) 50%, var(--c-lilac-100) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-dot { width: 32px; height: 32px; border-radius: 50%; }
.sk-a { width: 34%; height: 12px; }
.sk-b { width: 18%; height: 12px; margin-left: auto; }
.errline { padding: 22px 16px; border-top: 1px solid var(--c-lilac-100); font-size: 14px; color: var(--color-text-soft); }
.board-note { padding: 20px 16px 24px; border-top: 1px solid var(--c-lilac-100); font-size: 12px; color: var(--c-steel-500); }
.callout { position: absolute; right: -28px; bottom: -44px; width: 260px; padding: 16px 18px; border-radius: 14px; background: var(--c-mint-100); color: var(--color-ink); box-shadow: 0 20px 40px color-mix(in srgb, var(--c-ink) 35%, transparent); }
.callout-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.badge { background: var(--color-accent); color: var(--color-surface); border-radius: 6px; padding: 1px 8px; font-size: 11px; }
.callout p { font-size: 13.5px; line-height: 1.5; color: var(--c-steel-800); }
.split-copy { flex: 1 1 400px; min-width: 0; }
.split-code .split-copy { flex-basis: 360px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--color-accent); margin-bottom: 16px; }
.eyebrow.on-night { color: var(--c-violet-300); margin-bottom: 18px; }
.eyebrow.on-deep { color: var(--c-aqua-400); }
.split-market h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 24px; }
.body-lg { font-size: 18px; margin-bottom: 32px; color: var(--color-text-soft); }
.night .body-lg { color: var(--c-lilac-300); }

/* layers */
.section { padding: 128px 0; }
.head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.head h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 18px; }
.head > p:last-child { font-size: 18px; color: var(--color-text-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.card { position: relative; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 18px; padding: 14px 14px 30px; height: 100%; }
.art { display: flex; justify-content: center; border-radius: 12px; padding: 8px 0; overflow: hidden; }
.art svg { width: 100%; max-width: 340px; height: 170px; }
.tint-lilac { background: var(--c-lilac-300); }
.tint-mint { background: var(--c-mint-100); }
.tint-aqua { background: var(--c-aqua-200); }
.tint-fog { background: var(--c-fog); }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; letter-spacing: -0.03em; margin: 26px 16px 10px; }
.card h3 .dot { width: 12px; height: 12px; }
.card > p { margin: 0 16px; font-size: 15.5px; color: var(--color-text-soft); }
.footnote { max-width: 720px; margin: 36px auto 0; text-align: center; font-size: 15px; color: var(--color-text-soft); }
.tag { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--color-accent); background: var(--c-lilac-300); }

/* signals */
.deep { background: radial-gradient(45% 55% at 8% 90%, color-mix(in srgb, var(--c-teal-500) 28%, transparent), transparent 70%), var(--color-deep); color: var(--color-surface); }
.section-pad { padding-top: 120px; padding-bottom: 120px; }
.deep .head { max-width: 760px; margin-bottom: 56px; }
.deep .head h2 { margin-bottom: 16px; }
.deep .head > p:last-child { color: var(--c-mint-100); }
.signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); column-gap: 56px; border-top: 1px solid color-mix(in srgb, var(--color-surface) 22%, transparent); }
.signals li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-surface) 14%, transparent); font-size: 17px; }
.sev { font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.severe { color: var(--c-aqua-400); }
.raised { color: var(--c-aqua-200); }
.denied { color: var(--c-violet-300); }

/* policy */
.split-code { gap: 48px 72px; }
.split-code h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 20px; }
.code { flex: 1 1 540px; min-width: 0; margin: 0; padding: 28px; border-radius: 16px; overflow-x: auto; background: var(--color-ink); color: var(--c-fog); font-size: 13.5px; line-height: 1.85; }
.code .c { color: var(--c-steel-300); }
.code .k { color: var(--c-violet-300); }
.code .s { color: var(--c-aqua-400); }
.code .r { color: var(--c-lilac-500); }

/* token panel */
.token-sec { padding-bottom: 128px; }
.panel { display: flex; flex-wrap: wrap; gap: 40px 72px; padding: clamp(32px, 5vw, 72px); border-radius: 24px; background: var(--c-lilac-300); }
.panel-main { flex: 1 1 380px; min-width: 0; }
.panel-side { flex: 1 1 420px; min-width: 0; font-size: 17px; color: var(--c-steel-900); }
.panel-side p { margin-bottom: 18px; }
.panel-side p:nth-of-type(2) { margin-bottom: 24px; }
.panel-side .fine { font-size: 13px; color: var(--color-text-soft); margin: 6px 0 0; }
.panel h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
.panel .ca { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--color-surface) 70%, transparent); }
.panel .ca-label { flex-basis: 100%; margin-bottom: 4px; }
.panel .ca-value { font-size: 14px; }

/* closing + footer */
.closing { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--c-violet-600) 18%, transparent); }
.closing-wrap { position: relative; padding-top: 128px; padding-bottom: 128px; text-align: center; }
.closing h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.05em; max-width: 900px; margin: 0 auto 24px; }
.closing p { font-size: 18px; color: var(--color-text-soft); margin-bottom: 36px; }
.footer { background: var(--color-ink); color: var(--c-steel-300); }
.footer-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--color-surface); font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--color-surface); }

/* spotlight */
.spot { --mx: -400px; --my: -400px; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--c-violet-300) 24%, transparent), transparent 70%); }
.spot:hover::after { opacity: 1; }
.await { opacity: 0; }

/* motion: durations follow the studied values */
.float { animation: float 7s ease-in-out infinite; }
.bob { animation: float 5.5s ease-in-out infinite; }
.bob.late { animation-delay: -2.7s; }
.spin { animation: spin 10s linear infinite; transform-origin: 50% 55%; }
.layer-orbit .spin { transform-origin: 50% 50%; }   /* concentric rings must not wobble */
.breathe { animation: breathe 5s ease-in-out infinite; }
@supports (animation-timeline: view()) { .rev { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }
@keyframes inA { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes mesh { from { transform: translate(-3%, -2%) rotate(0deg); } to { transform: translate(3%, 3%) rotate(6deg); } }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.8); } }
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes flashUp { 0% { background: var(--c-mint-500); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: var(--c-lilac-500); } 100% { background: transparent; } }
@keyframes ownPulse { 0%, 100% { box-shadow: inset 0 0 0 0 transparent; } 50% { box-shadow: inset 70px 0 50px -44px var(--color-accent-glow); } }

/* responsive */
@media (max-width: 1120px) { .open-board { display: none; } }
@media (max-width: 980px) { nav { gap: 14px; } nav a { font-size: 14px; } }
@media (max-width: 860px) { nav { display: none; } nav + .bar-end { margin-left: auto; } }
@media (max-width: 820px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .callout { display: none; }
  .hero-copy, .board-col, .split-copy, .code, .panel-main, .panel-side { flex-basis: 100%; }
  .stage { flex-basis: 100%; height: 400px; }
  .layer-key img { height: 320px; }
  .chip-a { top: 40px; }
  .chip-b { bottom: 20px; }
  .strip-wrap { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 640px) {
  .cols { display: none; }
  .row { font-size: 11.5px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'token price' 'token change' 'vol liq'; gap: 2px 12px; min-height: 90px; padding: 12px; }
  .c-token { grid-area: token; }
  .c-price { grid-area: price; font-size: 14px; font-weight: 500; }
  .c-change { grid-area: change; }
  .c-vol { grid-area: vol; text-align: left; padding-top: 4px; }
  .c-liq { grid-area: liq; padding-top: 4px; }
  .c-vol .k, .c-liq .k { display: inline; margin-right: 6px; color: var(--c-steel-500); }
  .skel-row { min-height: 90px; }
  button.ca .ca-hint { margin-left: auto; padding: 2px 10px; }
  button.ca .ca-value { order: 1; flex-basis: 100%; }
}
@media (max-width: 420px) {
  .bar-row { gap: 8px; }
  .ca { padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .row.own { animation: none; }
  .await { opacity: 1; }
  .spot::after { display: none; }
}
