/* Cohort · cream grid, square corners, one red-orange accent, a warm pixel ramp for data */
@font-face { font-family: 'Inter Tight'; src: url(/fonts/inter-tight-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(/fonts/inter-tight-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url(/fonts/inter-tight-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --cream: #fbfbf8; --cream-2: #f5f4ef; --ink: #18181b; --black: #09090b; --mute: #6b6a66;
  --line: rgba(24, 24, 27, .12); --line-2: rgba(24, 24, 27, .22);
  --accent: #ff5229;
  --r1: #e0301e; --r2: #ff5229; --r3: #ff8204; --r4: #ffaf01; --r5: #ffd84a;
  --sealed: #ff5229; --filling: #ff8204; --open: #ffd84a; --spent: #e4e2db;
  --max: 1480px; --pad: clamp(20px, 4vw, 56px);
  --sans: 'Inter Tight', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 var(--sans); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-intro { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; text-transform: uppercase; }
.dim { color: var(--mute); }
.dot { color: var(--accent); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
[hidden], .off { display: none !important; }
.sq { display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor input, body.has-cursor select, body.has-cursor label { cursor: none; } }

/* grid rails + intersections */
.rails { position: fixed; inset: 0; pointer-events: none; z-index: 1; display: flex; justify-content: center; }
.rails i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rails i:first-child { left: max(var(--pad), calc(50% - var(--max) / 2 + var(--pad) - 24px)); }
.rails i:last-child { right: max(var(--pad), calc(50% - var(--max) / 2 + var(--pad) - 24px)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 28px; border: 1px solid transparent; font-weight: 500; font-size: 17px; transition: background .2s, color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); white-space: nowrap; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--accent); }
.btn--lg { height: 64px; padding: 0 34px; font-size: 18px; }
.btn--sm { height: 52px; padding: 0 20px; font-size: 16px; }
.btn--ink { background: var(--black); color: #fff; }
.btn--line { background: rgba(251,251,248,.7); border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; flex: none; }
.ico--lg { width: 36px; height: 36px; stroke-width: 1.4; }
.ca { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 6px 0 18px; border: 1px solid var(--ink); background: rgba(251,251,248,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 100%; }
.ca__k { color: var(--accent); }
.ca__v { text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.ca__c { background: var(--black); color: #fff; padding: 10px 14px; font-size: 12px; }
.ca--big { width: 100%; height: 64px; justify-content: space-between; }
.ca--big .ca__v { font-size: 15px; max-width: none; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--cream); transition: opacity .7s var(--ease), visibility .7s; }
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__in { height: 100%; max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.intro__top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.intro__top span:last-child { color: var(--accent); font-size: 15px; }
.intro__cells { display: grid; gap: 0; align-self: center; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.intro__cells i { aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--c); transform: scale(0); transition: transform .35s steps(4); }
.intro__cells i.on { transform: scale(1); }
.intro__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.intro__status { margin: 0; color: var(--mute); }
.enter { height: 68px; padding: 0 44px; border: 0; background: var(--black); color: #fff; font-weight: 500; font-size: 20px; display: inline-flex; gap: 16px; align-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease), box-shadow .3s; }
.enter.is-ready { opacity: 1; transform: none; pointer-events: auto; }
.enter:hover { box-shadow: 5px 5px 0 var(--accent); transform: translate(-3px, -3px); }
.intro__skip { position: absolute; right: var(--pad); top: 70px; border: 0; background: none; color: var(--mute); }

/* cursor: a square that snaps */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); }
.cursor__ring { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--ink); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; display: grid; place-items: center; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,82,41,.12); border-color: var(--accent); }
.cursor__label { font: 500 11px var(--mono); text-transform: uppercase; color: var(--accent); opacity: 0; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { transform: rotate(45deg); }

/* chrome */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; }
.progress i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--r2) 0 20px, var(--r3) 20px 40px, var(--r4) 40px 60px); transform-origin: 0 50%; transform: scaleX(0); }
.bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.top { position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%); width: min(var(--max), 100% - 2 * var(--pad) + 2 * var(--pad)); max-width: calc(100% - 24px); display: flex; border: 1px solid var(--line-2); background: rgba(251,251,248,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cell { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-right: 1px solid var(--line-2); font-weight: 500; font-size: 16px; background: none; border-top: 0; border-bottom: 0; border-left: 0; transition: background .2s; }
.cell:hover { background: var(--cream-2); }
.top__nav { display: flex; flex: 1; }
.top__nav .cell:last-child { margin-right: auto; }
.cell--ink { background: var(--black); color: #fff; border-right: 0; margin-left: auto; }
.cell--ink:hover { background: var(--accent); }
.brand { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.brand__logo { height: 30px; width: auto; }
.brand__mk { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 1px; }
.brand__mk i { background: var(--r2); } .brand__mk i:nth-child(2) { background: var(--r4); grid-column: 2; grid-row: 1 / 3; } .brand__mk i:nth-child(3) { background: var(--r3); }
kbd { font: 500 11px var(--mono); border: 1px solid currentColor; padding: 1px 6px; opacity: .7; }

.strip { position: fixed; z-index: 55; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: stretch; border: 1px solid var(--line-2); background: rgba(251,251,248,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.strip__segs { display: flex; }
.strip__segs a { position: relative; display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; height: 54px; padding: 0 16px; border-right: 1px solid var(--line-2); overflow: hidden; }
.strip__segs a::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .35s steps(5); z-index: -1; }
.strip__segs a span { font: 500 12px var(--mono); color: var(--mute); }
.strip__segs a b { font-weight: 500; font-size: 15px; white-space: nowrap; }
.strip__segs a.is-on::before { transform: none; }
.strip__segs a.is-on, .strip__segs a.is-on span { color: #fff; }
.strip__segs a:hover::before { transform: translateY(70%); }
.strip__clock { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--line-2); font-size: 12px; min-width: 120px; }
.strip__menu { border: 0; background: var(--black); color: #fff; padding: 0 20px; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.strip__menu:hover { background: var(--accent); }

.menu { position: fixed; inset: 0; z-index: 80; background: var(--cream); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s, visibility .35s; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; }
.menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.menu__in { max-width: var(--max); margin: 0 auto; height: 100%; padding: 28px var(--pad) 40px; display: grid; grid-template-rows: auto 1fr auto; }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__close { height: 50px; padding: 0 18px; border: 1px solid var(--ink); background: var(--cream); font: 500 13px var(--mono); text-transform: uppercase; }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu__list a { display: flex; align-items: baseline; gap: 22px; font-weight: 500; font-size: clamp(38px, 6vw, 88px); letter-spacing: -.04em; line-height: 1.08; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 100%; transition: background-size .35s steps(6), color .2s; padding-right: 20px; width: fit-content; }
.menu__list a span { color: var(--mute); font-size: 14px; }
.menu__list a:hover { background-size: 100% 100%; color: #fff; }
.menu__list a:hover span { color: #fff; }
.menu.is-open .menu__list li { animation: rise .5s var(--ease) both; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: .05s } .menu.is-open .menu__list li:nth-child(3) { animation-delay: .1s } .menu.is-open .menu__list li:nth-child(4) { animation-delay: .15s } .menu.is-open .menu__list li:nth-child(5) { animation-delay: .2s } .menu.is-open .menu__list li:nth-child(6) { animation-delay: .25s }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.menu__foot { display: flex; justify-content: space-between; align-items: center; }
.menu__ramp { display: flex; } .menu__ramp i { width: 40px; height: 40px; } .menu__ramp i:nth-child(1) { background: var(--r1) } .menu__ramp i:nth-child(2) { background: var(--r2) } .menu__ramp i:nth-child(3) { background: var(--r3) } .menu__ramp i:nth-child(4) { background: var(--r4) } .menu__ramp i:nth-child(5) { background: var(--r5) }
.menu__links { display: flex; gap: 24px; }

/* sections */
main { position: relative; z-index: 2; }
.sec { min-height: 100vh; min-height: 100svh; scroll-snap-align: start; display: flex; align-items: center; padding: 110px 0 110px; border-bottom: 1px solid var(--line); position: relative; }
.sec::after { content: ''; position: absolute; left: max(calc(var(--pad) - 4px), calc(50% - var(--max) / 2 + var(--pad) - 28px)); bottom: -5px; width: 9px; height: 9px; background: var(--ink); }
.sh { display: grid; grid-template-columns: 70px 1fr; gap: 16px; margin-bottom: clamp(28px, 4vh, 56px); max-width: 1200px; }
.sh__n { color: var(--accent); padding-top: 14px; }
.sh__t { margin: 0; font-weight: 500; font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.035em; line-height: 1.05; }
.panel { background: rgba(251,251,248,.66); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); border: 1px solid var(--line-2); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.hero__wrap { display: grid; justify-items: start; padding-left: clamp(var(--pad), 25vw, 440px); }
.hero__k { display: flex; align-items: center; margin: 0 0 22px; }
.hero__title { margin: 0; font-weight: 500; font-size: clamp(50px, 7.6vw, 138px); line-height: .98; letter-spacing: -.05em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform .9s steps(8); }
.hero__title .ln:nth-child(2) > span { transition-delay: .1s } .hero__title .ln:nth-child(3) > span { transition-delay: .2s }
body.is-ready .hero__title .ln > span { transform: none; }
.hero__row { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.hero__meta { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); }
.statgrid--4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 18px 18px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-height: 124px; display: grid; align-content: space-between; gap: 6px; background: rgba(251,251,248,.6); }
.stat__k, .stat__s { color: var(--mute); font-size: 11.5px; }
.stat__s { text-transform: none; }
.stat__v { font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; transition: color 1s; }
.stat--accent { box-shadow: inset 0 -5px 0 var(--accent); }
.stat.flash .stat__v { color: var(--accent); transition: none; }
.feed { color: var(--mute); font-size: 11.5px; margin: 12px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.acc { border-top: 1px solid var(--line-2); }
.acc__i { border-bottom: 1px solid var(--line-2); }
.acc summary, .faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 4px; font-weight: 500; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -.02em; }
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc__i[open] summary { color: var(--accent); }
.acc__pm { margin-left: auto; width: 14px; height: 14px; position: relative; flex: none; }
.acc__pm::before, .acc__pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; }
.acc__pm::after { transform: rotate(90deg); transition: transform .3s steps(3); }
details[open] > summary .acc__pm::after { transform: rotate(0); }
.acc__b p { margin: 0 0 22px 40px; color: #3c3b38; max-width: 52ch; }
.viz { padding: 22px; display: grid; gap: 16px; }
.viz__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--mute); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.legend i { width: 12px; height: 12px; display: inline-block; margin-left: 8px; }
.s-sealed { background: var(--sealed); } .s-filling { background: var(--filling); } .s-open { background: var(--open); } .s-spent { background: var(--spent); }
.mini { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 190px; align-items: end; }
.mini__col { display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; justify-content: flex-start; position: relative; }
.mini__col i, .tw__col i { display: block; aspect-ratio: 1; width: 100%; max-height: 18px; animation: pop .4s steps(3) both; }
.mini__col::after { content: attr(data-h); position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font: 400 10px var(--mono); color: var(--mute); }
@keyframes pop { from { transform: scale(0); } to { transform: none; } }
.mini { margin-bottom: 18px; }

.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); }
.steps4 li { padding: 28px 24px 32px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: rgba(251,251,248,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-height: 360px; display: grid; align-content: start; gap: 14px; transition: background .25s; }
.steps4 li:hover { background: var(--cream-2); }
.steps4 li > .mono { color: var(--accent); }
.steps4 h3 { margin: 6px 0 0; font-weight: 500; font-size: 30px; letter-spacing: -.03em; }
.steps4 p { margin: 0; color: #3c3b38; }
.steps4 li:nth-child(1) .ico { color: var(--r2) } .steps4 li:nth-child(2) .ico { color: var(--r3) } .steps4 li:nth-child(3) .ico { color: var(--r4) } .steps4 li:nth-child(4) .ico { color: var(--r1) }

.towers { padding: 24px 24px 16px; }
.towers__grid { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; height: min(46vh, 440px); align-items: end; }
.tw__col { display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; position: relative; }
.tw__col:hover { outline: 1px solid var(--accent); outline-offset: 3px; }
.tw__col i { max-height: 22px; }
.tw__n { position: absolute; top: -2px; left: 0; right: 0; text-align: center; font: 500 11px var(--mono); color: var(--mute); }
.towers__axis { display: flex; justify-content: space-between; color: var(--mute); margin-top: 12px; font-size: 11.5px; }

.tok { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.tok__main { padding: 26px; display: grid; gap: 16px; }
.tok__main p { margin: 0; }
.tok .hero__row { margin-top: 4px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { font-size: 20px; }
.faq p { margin: 0 0 20px 4px; color: #3c3b38; }
.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; color: var(--mute); font-size: 11.5px; flex-wrap: wrap; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 96px; transform: translate(-50%, 16px); background: var(--black); color: #fff; padding: 14px 20px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s steps(3); box-shadow: 4px 4px 0 var(--accent); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- board / builder ---------- */
body.page { }
html.page-html { scroll-snap-type: none; }
.page-main { position: relative; z-index: 2; padding: 120px 0 120px; min-height: 100vh; }
.ph { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.ph h1 { margin: 0; font-weight: 500; font-size: clamp(42px, 5.6vw, 88px); letter-spacing: -.05em; line-height: 1; }
.ph p { margin: 12px 0 0; color: #3c3b38; max-width: 62ch; }
.board { display: grid; grid-template-columns: 1fr 380px; gap: 0; border: 1px solid var(--line-2); }
.board__main { border-right: 1px solid var(--line-2); min-width: 0; }
.filters { display: flex; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.filters button { height: 52px; padding: 0 18px; border: 0; border-right: 1px solid var(--line-2); background: rgba(251,251,248,.8); font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.filters button.is-on { background: var(--black); color: #fff; }
.filters button i { width: 10px; height: 10px; }
.filters .search { flex: 1; min-width: 200px; display: flex; }
.filters input { flex: 1; border: 0; background: rgba(251,251,248,.8); padding: 0 18px; font: 400 16px var(--sans); outline: none; }
.heat { padding: 18px; border-bottom: 1px solid var(--line-2); background: rgba(251,251,248,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.heat__rows { display: grid; gap: 4px; }
.heat__row { display: grid; grid-template-columns: 62px 1fr 60px; gap: 10px; align-items: center; }
.heat__row > span { font: 400 11.5px var(--mono); color: var(--mute); }
.heat__row > span:last-child { text-align: right; }
.heat__cells { display: flex; gap: 3px; flex-wrap: wrap; min-height: 16px; }
.heat__cells button { width: 16px; height: 16px; border: 0; padding: 0; transition: transform .15s; }
.heat__cells button:hover, .heat__cells button.is-sel { transform: scale(1.45); outline: 1.5px solid var(--ink); position: relative; z-index: 2; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; background: rgba(251,251,248,.75); }
.table th { text-align: left; font: 500 11.5px var(--mono); text-transform: uppercase; color: var(--mute); padding: 12px 14px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--cream); cursor: pointer; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tr { transition: background .15s; }
.table tbody tr:hover, .table tbody tr.is-sel { background: var(--cream-2); }
.table tbody tr { cursor: pointer; }
.coin { display: flex; align-items: center; gap: 10px; max-width: 240px; }
.coin img, .coin .ph-img { width: 28px; height: 28px; object-fit: cover; flex: none; background: var(--cream-2); border: 1px solid var(--line); }
.coin b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.coin span { color: var(--mute); font: 400 12px var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-2); }
.pill i { width: 8px; height: 8px; }
.up { color: #1f8a3d; } .down { color: var(--r1); }
.tablewrap { max-height: 520px; overflow: auto; }
.side { padding: 22px; display: grid; gap: 14px; align-content: start; background: rgba(245,244,239,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.side h2 { margin: 0; font-weight: 500; font-size: 28px; letter-spacing: -.03em; }
.side .statgrid .stat { min-height: 96px; }
.side .stat__v { font-size: 26px; }
.side__empty { color: var(--mute); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv span { color: var(--mute); }
.kv code { font: 400 12px var(--mono); }

.build { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line-2); }
.build__form { padding: 26px; border-right: 1px solid var(--line-2); display: grid; gap: 22px; align-content: start; background: rgba(251,251,248,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.field { display: grid; gap: 8px; }
.field > span { font: 500 12px var(--mono); text-transform: uppercase; color: var(--mute); }
.input, .select { height: 60px; border: 1px solid var(--ink); background: var(--cream); padding: 0 16px; font: 400 18px var(--sans); color: var(--ink); width: 100%; outline: none; border-radius: 0; }
.input:focus, .select:focus { box-shadow: 4px 4px 0 var(--accent); }
.input.is-bad { border-color: var(--r1); }
.seg { display: flex; flex-wrap: wrap; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.seg button { height: 54px; padding: 0 18px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--cream); font-weight: 500; }
.seg button.is-on { background: var(--black); color: #fff; }
.hours { display: grid; grid-template-columns: repeat(12, 1fr); border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.hours button { height: 50px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--cream); font: 500 12px var(--mono); position: relative; }
.hours button small { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0); background: rgba(255,82,41,.2); z-index: 0; }
.hours button span { position: relative; z-index: 1; }
.hours button.is-on { background: var(--accent); color: #fff; }
.range { width: 100%; accent-color: var(--accent); height: 30px; }
.hint { margin: 0; font-size: 14px; color: var(--mute); min-height: 1.3em; }
.hint.bad { color: var(--r1); }
.build__out { padding: 26px; display: grid; gap: 16px; align-content: start; background: rgba(245,244,239,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.build__out h2 { margin: 0; font-weight: 500; font-size: 30px; letter-spacing: -.03em; }
.bars { display: grid; gap: 6px; max-height: 380px; overflow: auto; }
.bar { display: grid; grid-template-columns: 120px 1fr 58px; gap: 10px; align-items: center; font-size: 14px; }
.bar b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar span { height: 18px; background: var(--cream-2); position: relative; }
.bar span i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); transition: width .5s steps(6); }
.bar em { font: 400 12px var(--mono); font-style: normal; text-align: right; }
.receipt { display: none; padding: 18px; background: var(--black); color: #fff; gap: 6px; box-shadow: 5px 5px 0 var(--accent); }
.receipt.is-on { display: grid; animation: rise .5s var(--ease); }
.receipt .mono { color: rgba(255,255,255,.6); }
.receipt b { font: 500 22px var(--mono); }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 14px; padding: var(--pad); }
.nf h1 { font-weight: 500; font-size: clamp(48px, 9vw, 140px); letter-spacing: -.05em; margin: 0; line-height: .95; }

@media (max-width: 1100px) {
  .top__nav .cell:nth-child(n+3) { display: none; }
  .split, .tok, .board, .build { grid-template-columns: 1fr; }
  .board__main, .build__form { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 li { min-height: 0; }
  .statgrid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  html { scroll-snap-type: none; }
  body { font-size: 17px; }
  .top { top: 10px; }
  .top__nav { display: none; }
  .cell { height: 52px; padding: 0 16px; }
  .hero__wrap { padding-left: var(--pad); }
  .hero__title { font-size: clamp(42px, 11.6vw, 60px); }
  .sh { grid-template-columns: 1fr; gap: 6px; }
  .sh__n { padding: 0; }
  .strip { left: 10px; right: 10px; transform: none; }
  .strip__segs a b, .strip__clock { display: none; }
  .strip__segs { flex: 1; }
  .strip__segs a { flex: 1; justify-content: center; padding: 0 8px; grid-template-columns: auto; }
  .strip__menu { margin-left: auto; }
  .steps4 { grid-template-columns: 1fr; }
  .towers__grid { grid-template-columns: repeat(12, 1fr); }
  .tw__col:nth-child(n+13) { display: none; }
  .mini { grid-template-columns: repeat(6, 1fr); }
  .mini__col:nth-child(n+7) { display: none; }
  .table .hide-m { display: none; }
  .hours { grid-template-columns: repeat(6, 1fr); }
  .bar { grid-template-columns: 90px 1fr 50px; }
  .ca__v { max-width: 16ch; }
  .rails { display: none; }
  .intro__skip { top: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Helius ring: 4 × 4 member grid ---------- */
.ringgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 240px; margin: 6px 0 4px; }
.ringgrid i { display: block; aspect-ratio: 1; background: var(--spent); animation: pop .4s steps(3) both; }
.ringgrid i.m { background: var(--filling); }
.ringgrid.is-sealed i.m { background: var(--sealed); }
.ringgrid i.w { background: transparent; box-shadow: inset 0 0 0 2px var(--sealed); }
.ringgrid i.you { background: var(--ink); }
.ringgrid--lg { max-width: 300px; gap: 8px; }
.ringrow { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.ringrow .ringkey { display: grid; gap: 8px; font: 400 12px var(--mono); text-transform: uppercase; color: var(--mute); }
.ringrow .ringkey i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.ringkey .k-m { background: var(--filling); } .ringkey .k-you { background: var(--ink); } .ringkey .k-w { box-shadow: inset 0 0 0 2px var(--sealed); } .ringkey .k-e { background: var(--spent); }
.hours button.is-new span { font-size: 15px; }
