/* Layout, type and motion. No colour literals here: everything comes from tokens.css.
   Timings and easings follow values measured on the reference (0.2s/0.25s hovers,
   0.8s/0.85s entrances on cubic-bezier(.22,1,.36,1), 28px dock rise, 2px/-2px arrow nudge). */

@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg);
  font: 400 14px/1.5 var(--font-sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- fixed world ---------- */
.world { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 70%); }
.world-glow {
  position: absolute; inset: -10%; will-change: transform;
  background:
    radial-gradient(46% 42% at 78% 22%, color-mix(in srgb, var(--c-amber) 46%, transparent), transparent 70%),
    radial-gradient(38% 38% at 92% 46%, color-mix(in srgb, var(--c-orange) 36%, transparent), transparent 72%),
    radial-gradient(60% 50% at 8% 6%, color-mix(in srgb, var(--c-indigo) 60%, transparent), transparent 70%);
}
.mesh { position: absolute; inset: 0; will-change: transform; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.mesh i:nth-child(1) { width: 52vmax; height: 52vmax; left: 52%; top: -14%; background: radial-gradient(circle, var(--c-orange), transparent 66%); animation: drift-a 26s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { width: 46vmax; height: 46vmax; left: -12%; top: 18%; background: radial-gradient(circle, var(--c-plum), transparent 66%); animation: drift-b 32s ease-in-out infinite alternate; }
.mesh i:nth-child(3) { width: 40vmax; height: 40vmax; left: 34%; top: 56%; background: radial-gradient(circle, var(--c-indigo), transparent 66%); animation: drift-c 38s ease-in-out infinite alternate; }
.world-wash { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 30%, transparent 62%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 40%, transparent), transparent 55%); }
@keyframes drift-a { to { transform: translate3d(-8vw, 10vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(10vw, -6vh, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(-12vw, -8vh, 0) scale(1.2); } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 64px; height: 86px; margin: 0 4.2%; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 42px/1 var(--font-sans); letter-spacing: -3.5px; padding: 0 0 5px; min-height: 44px; }
.wordmark img { width: 40px; height: 40px; margin-bottom: -5px; }
.wordmark b { color: var(--accent); font-weight: 600; }
.wordmark.small { font-size: 30px; letter-spacing: -2.2px; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; font-size: 12px; letter-spacing: .15px; color: var(--muted); text-decoration: none; transition: color var(--t-fast); }
.site-nav a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 1px; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--t-mid); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--strong); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); text-decoration: none; transition: color var(--t-fast), background var(--t-fast); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
a.social:hover, a.social:focus-visible { color: var(--strong); background: var(--frost-hi); }
.social.is-inert { color: var(--faint); cursor: default; }

/* ---------- CA slot ---------- */
.ca { position: relative; z-index: 5; width: 91.6%; margin: 0 auto 8px; padding: 16px 22px 18px; border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--frost); backdrop-filter: blur(22px); box-shadow: 0 12px 40px var(--shadow); }
.ca-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.ca-row { display: flex; align-items: center; gap: 16px; }
.ca-value { flex: 1; min-width: 0; font: 500 clamp(17px, 2.35vw, 31px)/1.25 var(--font-mono); letter-spacing: -.01em; color: var(--strong); overflow-wrap: anywhere; word-break: break-all; }
.ca[data-state="stated"] .ca-value { color: var(--accent-3); }
.ca:not([data-state="stated"]) .ca-value { font-family: var(--font-sans); font-weight: 500; color: var(--dim); letter-spacing: 0; }
.ca-copy { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; height: 44px; padding: 0 20px; border: 1px solid var(--edge); border-radius: 30px; background: var(--frost); color: var(--fg); font: 500 12px var(--font-sans); cursor: pointer; backdrop-filter: blur(12px); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.ca-copy:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: translateY(-2px); }
.ca-copy svg, .copy svg { width: 18px; height: 18px; }
.ca-copy .lbl-done, .ca-copy[data-copied="true"] .lbl-copy { display: none; }
.ca-copy[data-copied="true"] .lbl-done { display: inline; }
.ca-copy[data-copied="true"] { background: var(--accent-3); color: var(--bg); border-color: var(--accent-3); }

/* ---------- hero ---------- */
.stage { position: relative; width: 91.6%; margin: 0 auto; display: grid; grid-template-columns: 44% 56%; grid-template-rows: auto; min-height: 600px; padding-bottom: 20px; }
.hero-copy { position: relative; z-index: 2; align-self: center; display: flex; flex-direction: column; gap: 26px; padding: 14px 0 26px 1.7%; }
.pulse { position: relative; display: flex; align-items: flex-start; gap: 14px; max-width: 420px; padding: 14px 16px; border: 1px solid var(--glass-edge); border-radius: 8px; background: var(--frost); backdrop-filter: blur(22px); text-decoration: none; overflow: hidden; animation: surface-enter .8s var(--ease-out) .1s both; }
.pulse-tag { flex: none; margin-top: 2px; padding: 3px 5px; border-radius: 6px; background: var(--accent-2); color: var(--c-ink); font: 700 8px/1 var(--font-sans); letter-spacing: 1px; }
.pulse-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12px; line-height: 1.4; }
.pulse-body b { font-weight: 600; color: var(--strong); }
.pulse-body span { color: var(--dim); font-size: 11px; }
.card-arrow { margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1.2; transition: transform var(--t-mid); }
.pulse:hover .card-arrow, .launcher a:hover .card-arrow { transform: translate(2px, -2px); }
.landing-intro { animation: landing-arrive .85s var(--ease-out) .12s both; }
.eyebrow, .eyebrow-h { margin: 0 0 20px; font: 500 9px/1.5 var(--font-sans); letter-spacing: 2.4px; color: var(--muted); }
h1 { margin: 0 0 27px; font: 400 clamp(56px, 6.8vw, 108px)/.96 var(--font-sans); letter-spacing: -.072em; color: var(--strong); }
.h1-a { display: block; }
.h1-b { display: inline-block; padding: 3px 12px 4px 0; font: italic 400 1.18em/.91 var(--font-serif); letter-spacing: -.055em; color: var(--accent-3); }
.lede { max-width: 400px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.enter-link { display: inline-flex; align-items: center; gap: 40px; margin-top: 26px; min-height: 44px; padding: 13px 20px; border: 1px solid var(--fg); border-radius: 30px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 500; text-decoration: none; transition: background var(--t-fast), transform var(--t-fast); }
.enter-link span { font-size: 19px; line-height: 1; transition: transform var(--t-fast); }
.enter-link:hover { background: var(--press); transform: translateY(-2px); }
.enter-link:hover span { transform: translate(2px, -2px); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--edge); border-radius: 30px; background: var(--frost); backdrop-filter: blur(12px); color: var(--fg); font-size: 12px; font-weight: 500; text-decoration: none; letter-spacing: .3px; transition: background var(--t-fast), color var(--t-fast); }
a.hero-pill:hover { background: var(--fg); color: var(--bg); }
.hero-art { position: relative; z-index: 1; min-height: 520px; }
.hero-art > * { position: absolute; will-change: transform; }
.halo { right: 6%; top: 6%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-cream) 55%, transparent), color-mix(in srgb, var(--c-amber) 24%, transparent) 38%, transparent 68%); filter: blur(10px); animation: halo-breathe 7s ease-in-out infinite alternate; }
.rings { right: 8%; top: 2%; width: 76%; height: auto; stroke: var(--edge); stroke-width: .6; }
.ghost { right: -2%; top: 0; height: 100%; width: auto; max-width: none; object-fit: cover; mask-image: radial-gradient(ellipse 62% 66% at 58% 46%, var(--c-ink) 52%, transparent 100%); }
@keyframes halo-breathe { to { transform: scale(1.06); opacity: .85; } }
@keyframes surface-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes landing-arrive { from { opacity: 0; transform: translate(-42px, 8px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes dock-arrive { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translate(0, 0); } }

/* ---------- spotlight ---------- */
[data-spot] { position: relative; }
[data-spot]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--t-mid); background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 70%); }
[data-spot]:hover::before { opacity: 1; }

/* ---------- launcher ---------- */
.launchpad { width: 91.6%; margin: 0 auto; }
.launcher-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.launcher-heading .eyebrow-h { margin: 0; font-size: 9px; letter-spacing: 1.7px; }
.launcher-hint { font-size: 9px; letter-spacing: .2px; color: var(--muted); }
.launcher { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--glass-edge); border-radius: 6px; background: var(--frost); backdrop-filter: blur(22px); overflow: hidden; box-shadow: 0 12px 40px var(--shadow); }
.launcher li { position: relative; min-width: 0; transition: background var(--t-mid), transform .3s; }
.launcher li:not(:nth-child(6n))::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: 0; width: 1px; background: var(--hair); }
.launcher li:nth-child(n+7) { border-top: 1px solid var(--hair); }
.launcher a { display: flex; align-items: flex-start; gap: 14px; height: 100%; min-height: 105px; padding: 23px 23px 18px; text-decoration: none; transition: background var(--t-mid); }
.launcher a:hover, .launcher a:focus-visible { background: var(--frost-hi); }
.launcher a:focus-visible { outline-offset: -5px; }
.launcher .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--muted); transition: transform .3s; }
.launcher a:hover .icon { transform: translateY(-3px) rotate(-8deg); }
.tile-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile-text small { font-size: 9px; letter-spacing: 1.2px; color: var(--faint); }
.tile-text b { font-size: 18px; font-weight: 500; letter-spacing: -.5px; line-height: 1.3; color: var(--strong); }
.tile-text em { font-style: normal; font-size: 12px; line-height: 1.45; color: var(--dim); }

/* ---------- ticker ---------- */
.ticker { position: relative; margin: 64px 0 0; padding: 14px 0; border-block: 1px solid var(--hair); background: var(--frost); overflow: hidden; mask-image: linear-gradient(90deg, transparent, var(--c-ink) 6%, var(--c-ink) 94%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 14px; padding-left: 14px; animation: marquee var(--dur, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 6px 14px 6px 8px; border: 1px solid var(--hair); border-radius: 30px; font-size: 12px; white-space: nowrap; }
.tick .logo { width: 24px; height: 24px; border-radius: 8px; }
.tick b { font-weight: 600; color: var(--strong); }
.tick .px { color: var(--muted); }
.tick-skel { width: 168px; height: 38px; border-radius: 30px; }

/* ---------- sections ---------- */
.market, .workspace { width: 91.6%; margin: 0 auto; padding-top: 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
h2 { font: 400 clamp(32px, 3.6vw, 52px)/1.04 var(--font-sans); letter-spacing: -.05em; color: var(--strong); }
h3 { font: 500 20px/1.3 var(--font-sans); letter-spacing: -.4px; color: var(--strong); margin-bottom: 10px; }

.pill { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 30px; background: var(--frost); backdrop-filter: blur(12px); font-size: 11px; font-weight: 500; white-space: nowrap; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
.pill[data-status="live"] .dot { background: var(--accent-3); }
.pill[data-status="stale"] .dot, .pill[data-status="loading"] .dot { background: var(--accent); }
.pill[data-status="error"] .dot { background: var(--down); }
.pill[data-status="error"] .dot::after { animation: none; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid var(--glass-edge); border-radius: 7px; background: var(--glass); backdrop-filter: blur(20px); overflow: hidden; }
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: .2px; }
.stat-num { font: 500 clamp(26px, 2.6vw, 38px)/1.1 var(--font-sans); letter-spacing: -1.2px; color: var(--strong); font-variant-numeric: tabular-nums; }
.board-note { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--down); border-radius: 8px; color: var(--down); font-size: 12px; }

.board { border: 1px solid var(--glass-edge); border-radius: 7px; background: var(--glass); backdrop-filter: blur(20px); overflow: hidden; }
.board-head, .row .real { display: grid; grid-template-columns: 44px minmax(0, 2.3fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.2fr) 44px; align-items: center; column-gap: 14px; }
.board-head { padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.board-head span:nth-child(n+3):nth-child(-n+6) { text-align: right; }
.rows { position: relative; }
.row { position: relative; min-height: 72px; padding: 14px 20px; border-bottom: 1px solid var(--hair); transition: background var(--t-mid); }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--frost-hi); }
.row .real { opacity: 0; transition: opacity .55s var(--ease-out) calc(var(--i, 0) * 55ms); }
.row[data-state="ready"] .real, .row[data-state="error"] .real { opacity: 1; }
.row .skel { position: absolute; inset: 0; display: grid; grid-template-columns: 44px minmax(0, 2.3fr) repeat(4, minmax(0, 1fr)) 44px; align-items: center; column-gap: 14px; padding: 14px 20px; transition: opacity .35s var(--ease-soft) calc(var(--i, 0) * 55ms); }
.row[data-state="ready"] .skel, .row[data-state="error"] .skel { opacity: 0; pointer-events: none; }
.bar { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--hair), var(--line), var(--hair)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.bar.b-logo { height: 40px; width: 40px; border-radius: 10px; }
.bar.b-tok { width: 62%; height: 18px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.rank { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { position: relative; flex: none; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--c-indigo) 70%, var(--bg)); }
.logo .letter { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 600; font-size: 16px; color: var(--accent-3); }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.logo.has-img img { opacity: 1; }
.tok-text { display: flex; flex-direction: column; min-width: 0; }
.sym { font-size: 15px; font-weight: 600; color: var(--strong); letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm { font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; color: var(--fg); white-space: nowrap; border-radius: 6px; padding: 2px 0; }
.cell.chg.up { color: var(--up); }
.cell.chg.down { color: var(--down); }
.cell.flash-up { animation: flash-up 1s ease-out; }
.cell.flash-down { animation: flash-down 1s ease-out; }
@keyframes flash-up { from { background: color-mix(in srgb, var(--up) 34%, transparent); } to { background: transparent; } }
@keyframes flash-down { from { background: color-mix(in srgb, var(--down) 34%, transparent); } to { background: transparent; } }
.copy { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.copy:hover:not(:disabled) { background: var(--frost-hi); border-color: var(--edge); color: var(--strong); }
.copy:disabled { opacity: .35; cursor: default; }
.copy .tick-i { display: none; }
.copy[data-copied="true"] .copy-i { display: none; }
.copy[data-copied="true"] .tick-i { display: block; }
.copy[data-copied="true"] { color: var(--accent-3); border-color: var(--accent-3); }

/* ---------- workspace ---------- */
.tabs { display: flex; gap: 4px; margin-bottom: 26px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, var(--c-ink) 18px calc(100% - 40px), transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 30px; background: transparent; color: var(--dim); font-size: 11px; font-weight: 500; letter-spacing: .2px; cursor: pointer; white-space: nowrap; transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast); }
.tab:first-child { margin-left: 10px; }
.tab:last-child { margin-right: 40px; }
.tab:hover { color: var(--fg); transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--frost-hi); color: var(--fg); }
.panel { padding: 25px; border: 1px solid var(--glass-edge); border-radius: 7px; background: var(--glass); backdrop-filter: blur(20px); animation: surface-enter .35s both; }
.panel[hidden] { display: none; }
.panel p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.panel-lede { margin-bottom: 20px; max-width: 560px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.principles li, .phases li, .chips li, .facts li { position: relative; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.principles b, .phases b { display: block; margin-bottom: 6px; font-size: 18px; font-weight: 500; letter-spacing: -.5px; color: var(--strong); }
.principles span, .phases li > span:last-child { font-size: 12px; line-height: 1.55; color: var(--dim); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: ph; }
.phase-n { display: block; margin-bottom: 14px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); }
.chips, .facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.chip-label, .fact-label { display: block; font-size: 11px; letter-spacing: .3px; color: var(--muted); margin-bottom: 8px; }
.chip-value, .fact-value { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.4px; color: var(--strong); overflow-wrap: anywhere; }
[data-state]:not([data-state="stated"]) > .chip-value, [data-state]:not([data-state="stated"]) > .fact-value { color: var(--faint); font-weight: 400; font-size: 15px; letter-spacing: 0; }
.fact-value.mono { font: 500 13px/1.5 var(--font-mono); word-break: break-all; }
.fact-src { display: block; margin-top: 8px; font-size: 11px; color: var(--dim); }
.fact-value a { text-decoration: none; border-bottom: 1px solid var(--edge); }
.fact-value a:hover { border-color: var(--accent-3); }
.fact-link { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- footer ---------- */
.site-footer { width: 91.6%; margin: 110px auto 0; padding: 30px 0 44px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-site a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 13px; text-decoration: none; color: var(--muted); }
.foot-site a:hover { color: var(--strong); }
.foot-site { font-size: 13px; color: var(--dim); }
.fine { margin-top: 10px; max-width: 560px; font-size: 11px; line-height: 1.6; color: var(--faint); }

/* ---------- reveal (spring driven from js) ---------- */
.js .reveal:not(.is-in) { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1450px) { .launcher { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1300px) {
  .site-header { height: 72px; gap: 44px; }
  .launcher a { padding-left: 17px; padding-right: 17px; gap: 10px; }
  .launcher .icon { display: none; }
  .board-head, .row .real { grid-template-columns: 32px minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) 44px; }
  .row .skel { grid-template-columns: 32px minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)) 44px; }
}
@media (max-width: 1100px) {
  .launcher { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .launcher li::after { display: none; }
  .launcher li:not(:nth-child(4n))::after { display: block; }
  .launcher li:nth-child(n+5) { border-top: 1px solid var(--hair); }
  .stage { min-height: 520px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { gap: 24px; }
}
@media (max-width: 760px) {
  .site-header { height: 64px; margin: 0 6%; gap: 12px; flex-wrap: nowrap; }
  .wordmark { font-size: 31px; letter-spacing: -2.4px; }
  .wordmark img { width: 32px; height: 32px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 64px; z-index: 5; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 0 2px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; padding: 0 14px; }
  .site-nav a::after { display: none; }
  .ca { width: 88%; margin-top: 52px; padding: 14px 16px 16px; }
  .ca-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .ca-copy { width: 100%; }
  .stage, .launchpad, .market, .workspace, .site-footer { width: 88%; }
  .stage { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 26px 0 0; gap: 22px; }
  h1 { font-size: clamp(46px, 13vw, 88px); margin-bottom: 18px; }
  .enter-link { margin-top: 20px; padding: 10px 17px; gap: 30px; }
  .hero-art { min-height: 360px; margin-top: 10px; }
  .launcher { grid-template-columns: 1fr 1fr; background: var(--frost); backdrop-filter: none; }
  .launcher li::after { display: none !important; }
  .launcher li:not(:nth-child(2n))::after { display: block !important; }
  .launcher li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .launcher a { min-height: 110px; padding: 17px 14px 22px; gap: 8px; }
  .tile-text b { font-size: 17px; }
  .launcher-hint { display: none; }
  .ticker { margin-top: 48px; }
  .market, .workspace { padding-top: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .principles { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  /* rows turn into stacked cards */
  .board-head { display: none; }
  .row { padding: 16px; }
  .row .real { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "tok copy" "m m"; row-gap: 12px; }
  .row .real .rank { display: none; }
  .row .real .tok { grid-area: tok; }
  .row .real .copy { grid-area: copy; }
  .row .real .cell { grid-area: auto; text-align: left; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
  .row .real .cell::before { content: attr(data-label); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
  .row .real { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "tok tok tok copy" "p c v l"; }
  .row .real .price { grid-area: p; } .row .real .chg { grid-area: c; } .row .real .vol { grid-area: v; } .row .real .liq { grid-area: l; }
  .row .skel { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 16px; }
  .row .skel .bar:nth-child(n+3) { display: none; }
  .row { min-height: 120px; }
}
@media (max-width: 430px) {
  .site-header { margin: 0 6%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 24px; }
  .row .real { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "tok copy" "p c" "v l"; }
  .row .real .tok { grid-area: tok; }
  .row { min-height: 168px; }
  .row .real .copy { justify-self: end; }
}

/* ---------- reduced motion: instant everywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-in) { opacity: 1; }
  .ticker-track { width: auto; overflow-x: auto; }
  .ticker { overflow-x: auto; mask-image: none; }
  .bar { background: var(--line); }
  .world .mesh i { display: none; }
}
.reduce *, .reduce *::before, .reduce *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.reduce.js .reveal:not(.is-in) { opacity: 1; }
.reduce .ticker { overflow-x: auto; mask-image: none; }
.reduce .ticker-track { width: auto; }
.reduce .bar { background: var(--line); }
.reduce .world .mesh i { display: none; }
