/* Metropolis · the website (Website chat). The city's own palette and type (public/city/ui/ui.css): warm black, bone ink, one amber
   accent, Instrument Serif italic for display, Geist for reading, Geist Mono for every number, address and time. One radius family
   (12 px cards, 12 px buttons). Every live number sits in a fixed slot: nothing moves when a number changes. */
@font-face { font-family: 'Instrument Serif'; src: url(/css/fonts/InstrumentSerif-Italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/css/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/css/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg0: #0d0907; --bg1: #130e0b; --bg2: #1a130f; --bg3: #231a14; --bg4: #2e221a;
  --ink: #f7eee2; --ink2: rgba(247, 238, 226, .66); --ink3: rgba(247, 238, 226, .42); --ink4: rgba(247, 238, 226, .24);
  --line: rgba(247, 238, 226, .08); --line2: rgba(247, 238, 226, .14); --line3: rgba(247, 238, 226, .24);
  --acc: #ffb37a; --acc2: #ff8f57; --accInk: #2a160a; --good: #8ed9a6; --bad: #ff8270; --gold: #ffd27a;
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Geist', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --r: 12px; --ease: cubic-bezier(.2, .7, .2, 1); --wrap: 1480px; --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { background: var(--bg0); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg0); color: var(--ink); font: 400 15.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11' 1; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--acc); color: var(--accInk); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
[hidden], .is-hidden { display: none !important; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cut { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.eyebrow b { color: var(--acc); font-weight: 500; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ------------------------------------------------------------------ buttons */
.btn { height: 46px; padding: 0 20px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 14.5px/1 var(--sans);
  letter-spacing: -.005em; white-space: nowrap; transition: transform .16s var(--ease), background .16s, box-shadow .16s, color .16s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.fill { background: linear-gradient(180deg, #ffc08e, var(--acc) 55%, #f7a465); color: var(--accInk); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 28px -10px rgba(255, 143, 87, .55); }
.btn.fill:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 32px -10px rgba(255, 143, 87, .7); }
.btn.ghost { background: rgba(13, 9, 7, .42); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line3); }
.btn.ghost:hover { background: rgba(13, 9, 7, .62); box-shadow: inset 0 0 0 1px rgba(247, 238, 226, .4); }
.btn[aria-disabled=true] { opacity: .5; pointer-events: none; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 500 13.5px var(--sans); color: var(--ink2); transition: color .16s; }
.link:hover { color: var(--acc); }
.link svg { width: 14px; height: 14px; transition: transform .16s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ the nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; transition: background .25s, box-shadow .25s; }
.nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 9, 7, .72), rgba(13, 9, 7, 0)); transition: opacity .25s; pointer-events: none; }
.nav.solid { background: rgba(13, 9, 7, .9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.nav.solid::before { opacity: 0; }
.nav-in { position: relative; height: 100%; max-width: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 0 clamp(18px, 2.6vw, 40px); }
.mark { display: inline-flex; align-items: center; gap: 11px; }
.mark img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line2); background: var(--bg2); }
.word { font: italic 400 30px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.word i { font-style: normal; color: var(--acc); }
.nav-links { display: flex; gap: 26px; justify-self: center; }
.nav-links a { font: 500 13.5px var(--sans); color: var(--ink2); transition: color .16s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-r { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line2); background: rgba(13, 9, 7, .35); transition: color .16s, box-shadow .16s; }
.icon-btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line3); }
.icon-btn svg { width: 15px; height: 15px; }

/* the coin address (the launch kit fills it: data-ca) */
.ca { height: 38px; display: grid; grid-template-columns: auto 196px auto; align-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line2); background: rgba(13, 9, 7, .45); overflow: hidden; }
.ca-sym { padding: 0 10px 0 12px; font: 600 11.5px/1 var(--mono); letter-spacing: .04em; color: var(--acc); }
.ca-addr { font: 500 12px/38px var(--mono); color: var(--ink2); padding-right: 10px; text-align: left; }
.ca.is-live .ca-addr { color: var(--ink); }
.ca-acts { display: flex; height: 100%; }
.ca-acts > * { height: 100%; padding: 0 11px; display: grid; place-items: center; font: 600 11.5px var(--sans); color: var(--ink2); box-shadow: -1px 0 0 var(--line); transition: background .16s, color .16s; }
.ca-acts > *:hover { background: rgba(247, 238, 226, .06); color: var(--ink); }
.ca-acts .copy { color: var(--accInk); background: var(--acc); box-shadow: none; }
.ca-acts .copy:hover { background: #ffc08e; color: var(--accInk); }
.ca:not(.is-live) .ca-acts { display: none; }
button.ca-addr { cursor: pointer; }

/* ------------------------------------------------------------------ the hero: the real city */
.hero { position: relative; height: 100svh; min-height: 700px; max-height: 1180px; overflow: hidden; isolation: isolate; background: #2a1a12; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.on { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 9, 7, .82) 0%, rgba(13, 9, 7, .55) 30%, rgba(13, 9, 7, .08) 58%, rgba(13, 9, 7, 0) 70%),
              linear-gradient(0deg, rgba(13, 9, 7, .96) 0%, rgba(13, 9, 7, .6) 15%, rgba(13, 9, 7, 0) 38%),
              linear-gradient(180deg, rgba(13, 9, 7, .45) 0%, rgba(13, 9, 7, 0) 16%); }
.hero-in { position: absolute; left: 0; right: 0; bottom: 132px; padding: 0 clamp(20px, 4.2vw, 72px); }
.hero-copy { max-width: 640px; }
.live-tag { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px 0 10px; border-radius: 15px; background: rgba(13, 9, 7, .5); box-shadow: inset 0 0 0 1px var(--line2);
  font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink2); }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(255, 179, 122, .5); animation: pulse 2s ease-in-out infinite; }
.live-tag b { color: var(--ink); font-weight: 500; display: inline-block; }
.live-tag .up { text-transform: uppercase; }
/* no X handle set in the brand kit yet: no X button pointing at x.com's home page */
a[href="https://x.com/"], li:has(> a[href="https://x.com/"]) { display: none !important; }
.live-tag b#t-clock { min-width: 5ch; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 122, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255, 179, 122, 0); } }
.hero h1 { margin: 22px 0 0; font: italic 400 clamp(58px, 7.4vw, 124px)/.92 var(--serif); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--acc); }
.hero p.lead { margin: 22px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.hero p.lead b { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { height: 52px; padding: 0 24px; font-size: 15px; }
.hero-ca { margin-top: 16px; display: none; }

/* the numbers band at the foot of the hero: six fixed slots */
.band { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; border-top: 1px solid var(--line2); background: linear-gradient(180deg, rgba(13, 9, 7, .55), rgba(13, 9, 7, .82)); }
.band-in { height: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0 clamp(20px, 4.2vw, 72px); }
.stat { position: relative; display: grid; grid-template-rows: 18px 38px 18px; align-content: center; gap: 4px; padding: 0 22px; min-width: 0; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line2); }
.stat:first-child { padding-left: 0; }
.stat .k { font: 500 11px/18px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.stat .v { font: 500 30px/38px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--ink); }
.stat .v small { font-size: 15px; color: var(--ink3); letter-spacing: 0; margin-left: 4px; }
.stat .s { font: 400 12.5px/18px var(--sans); color: var(--ink3); }
.stat .s b { color: var(--ink2); font-weight: 500; font-family: var(--mono); }
.stat.hot .v { color: var(--acc); }
.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { color: var(--gold); text-shadow: 0 0 18px rgba(255, 210, 122, .45); } 100% { text-shadow: none; } }

/* ------------------------------------------------------------------ sections */
section { position: relative; scroll-margin-top: 60px; }
.sec { padding: 104px 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.sec-head h2 { margin: 14px 0 0; font: italic 400 clamp(40px, 4.6vw, 68px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.sec-head p { margin: 14px 0 0; max-width: 60ch; color: var(--ink2); }

/* the chapters: a real capture of the city and the rule beside it, alternating sides */
.ch { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding: 44px 0; }
.ch + .ch { border-top: 1px solid var(--line); }
.ch.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.ch.flip .ch-media { order: 2; }
.ch-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg2); box-shadow: 0 0 0 1px var(--line2), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ch-media img, .ch-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ch:hover .ch-media img { transform: scale(1.025); }
.ch-media figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 8px;
  background: rgba(13, 9, 7, .72); font: 500 11.5px/1 var(--mono); color: var(--ink2); letter-spacing: .02em; }
.ch-media figcaption i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.ch-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--acc); }
.ch-n span { color: var(--ink4); }
.ch h3 { margin: 16px 0 0; font: italic 400 clamp(34px, 3.4vw, 50px)/1.02 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.ch-body p { margin: 16px 0 0; color: var(--ink2); max-width: 52ch; }
.ch-body p b { color: var(--ink); font-weight: 500; }
.facts { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r); background: var(--line); gap: 1px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fact { background: var(--bg1); padding: 14px 16px; display: grid; grid-template-rows: 16px 30px; gap: 4px; min-width: 0; }
.fact .k { font: 500 10.5px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.fact .v { font: 500 22px/30px var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact .v small { font-size: 12.5px; color: var(--ink3); margin-left: 3px; letter-spacing: 0; }

/* castes: the ladder of homes */
.ladder { margin-top: 26px; display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.rung { display: grid; grid-template-columns: 26px 110px 1fr 92px; align-items: center; gap: 12px; height: 46px; padding: 0 16px; background: var(--bg1); }
.rung i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.rung b { font: 600 14px var(--sans); }
.rung span { font-size: 13px; color: var(--ink3); }
.rung em { font: 500 13px var(--mono); font-style: normal; text-align: right; color: var(--ink2); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the farm: the live panel */
.farm { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2), 0 60px 120px -60px rgba(0, 0, 0, .9); }
.farm > div { background: var(--bg1); min-width: 0; }
.pot { position: relative; padding: 34px 36px 30px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 160, 96, .22), rgba(255, 160, 96, 0) 60%), linear-gradient(160deg, #241812, #150f0b 70%) !important; }
.pot-top { display: grid; grid-template-columns: 1fr 132px; gap: 20px; align-items: start; }
.pot .eyebrow { color: var(--ink2); }
.pot-v { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; height: 76px; }
.pot-v b { font: 500 64px/76px var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pot-v span { font: 500 16px var(--mono); color: var(--ink3); }
.pot-usd { font: 500 15px/22px var(--mono); color: var(--acc); height: 22px; }
.ring { width: 132px; height: 132px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: rgba(247, 238, 226, .1); }
.ring .fg { stroke: var(--acc); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font: 500 26px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring small { margin-top: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.pot-parts { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line2); padding-top: 18px; gap: 14px; }
.pot-parts div { display: grid; gap: 4px; min-width: 0; }
.pot-parts span { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.pot-parts b { font: 500 15px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.mults { padding: 30px 32px; display: grid; gap: 22px; align-content: start; }
.mult-row { display: grid; gap: 10px; }
.mult-head { display: flex; justify-content: space-between; align-items: baseline; }
.mult-head b { font: 500 13px var(--sans); }
.mult-head span { font: 500 12px var(--mono); color: var(--ink3); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.step { height: 54px; border-radius: 10px; padding: 8px 10px; display: grid; align-content: space-between; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: background .3s, box-shadow .3s; }
.step b { font: 500 18px/1 var(--mono); }
.step span { font: 500 10.5px/1 var(--mono); color: var(--ink3); letter-spacing: .04em; }
.step.on { background: linear-gradient(180deg, rgba(255, 179, 122, .18), rgba(255, 179, 122, .06)); box-shadow: inset 0 0 0 1px rgba(255, 179, 122, .55); }
.step.on b { color: var(--acc); }
.step.past { opacity: .42; }
.sched { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.board { grid-column: 1 / -1; padding: 0; }
.board-h { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 32px; border-bottom: 1px solid var(--line); }
.board-h b { font: 600 14px var(--sans); }
.board-h span { font: 500 12px var(--mono); color: var(--ink3); }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 92px 70px 110px; align-items: center; gap: 12px; height: 52px; padding: 0 32px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rows .row:nth-child(odd) { border-right: 1px solid var(--line); }
.row .rk { font: 500 12px var(--mono); color: var(--ink3); }
.row .nm { font-weight: 500; }
.row .nm small { display: block; font: 400 11.5px var(--mono); color: var(--ink3); }
.row .pt, .row .st, .row .es { font: 500 13px var(--mono); text-align: right; font-variant-numeric: tabular-nums; color: var(--ink2); }
.row .es { color: var(--acc); }
.row.empty { color: var(--ink3); grid-template-columns: 1fr; font-size: 13.5px; grid-column: 1 / -1; border-right: 0 !important; }

/* the fee split bar */
.split { margin-top: 26px; }
.split-bar { display: flex; height: 44px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.split-bar div { display: flex; align-items: center; padding: 0 12px; font: 600 12px/1 var(--mono); white-space: nowrap; overflow: hidden; transition: flex-basis .6s var(--ease); min-width: 0; }
.split-bar .ai { background: #3a2c22; color: var(--ink2); }
.split-bar .dr { background: linear-gradient(180deg, #ffc08e, var(--acc)); color: var(--accInk); }
.split-bar .bb { background: #8a4a2c; color: #ffe4d2; }
.split-bar .wk { background: #4c3a2c; color: var(--ink); }
.split-key { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 13px; color: var(--ink2); }
.split-key span { display: flex; gap: 8px; align-items: baseline; }
.split-key i { flex: none; width: 9px; height: 9px; border-radius: 2px; transform: translateY(1px); }

/* the mayor's plaque */
.plaque { margin-top: 26px; border-radius: var(--r); padding: 18px 20px; background: linear-gradient(160deg, #2a1d14, #18110c); box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .22); display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; }
.plaque .k { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.plaque b { grid-column: 1; font: italic 400 30px/1.1 var(--serif); height: 34px; }
.plaque em { grid-column: 2; grid-row: 1 / 3; align-self: center; text-align: right; font: 500 12px/1.6 var(--mono); font-style: normal; color: var(--ink2); }

/* ------------------------------------------------------------------ the ledger preview and the big tables */
.tbl { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line2); background: var(--bg1); }
.tr { display: grid; align-items: center; gap: 14px; height: 50px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; }
.tr:last-child { border-bottom: 0; }
.tr.h { height: 40px; background: var(--bg2); font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.tr .r { text-align: right; }
.tr .m { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tr .d { color: var(--ink3); font: 400 12.5px var(--mono); }
.tr a.tx { font: 500 12.5px var(--mono); color: var(--acc); display: inline-flex; gap: 6px; align-items: center; }
.tr a.tx:hover { text-decoration: underline; }
.tr a.tx svg { width: 11px; height: 11px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tag.drop { background: rgba(255, 179, 122, .14); color: var(--acc); }
.tag.buy { background: rgba(142, 217, 166, .12); color: var(--good); }
.tag.withdraw { background: rgba(247, 238, 226, .08); color: var(--ink2); }
.tag.burn { background: rgba(255, 130, 112, .13); color: var(--bad); }
.tag.fees { background: rgba(255, 210, 122, .12); color: var(--gold); }
.tbl-empty { padding: 34px 20px; text-align: center; color: var(--ink3); font-size: 14px; }

/* ------------------------------------------------------------------ the last call: the city at night */
.last { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.last img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.last::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 42% at 50% 50%, rgba(13, 9, 7, .78), rgba(13, 9, 7, .5) 70%, rgba(13, 9, 7, .82)), linear-gradient(180deg, var(--bg0), rgba(13, 9, 7, 0) 22%, rgba(13, 9, 7, 0) 70%, var(--bg0)); }
.last h2 { margin: 18px 0 0; font: italic 400 clamp(56px, 7vw, 112px)/.95 var(--serif); letter-spacing: -.025em; }
.last p { margin: 20px auto 0; max-width: 46ch; color: var(--ink2); font-size: 17px; }
.last .hero-cta { justify-content: center; }

/* ------------------------------------------------------------------ footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot p { margin: 14px 0 0; color: var(--ink3); font-size: 14px; max-width: 38ch; }
.foot h4 { margin: 4px 0 14px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li a { color: var(--ink2); font-size: 14px; transition: color .16s; }
.foot li a:hover { color: var(--acc); }
.fine { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; color: var(--ink4); }

/* ------------------------------------------------------------------ inner pages (ledger, docs) */
.page-head { padding: 148px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 85% 0%, rgba(255, 160, 96, .12), rgba(255, 160, 96, 0) 60%); }
.page-head h1 { margin: 16px 0 0; font: italic 400 clamp(52px, 6vw, 92px)/.95 var(--serif); letter-spacing: -.025em; }
.page-head p { margin: 18px 0 0; max-width: 62ch; color: var(--ink2); font-size: 16.5px; }
.totals { margin-top: 36px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.totals .fact { padding: 16px 18px; }
.tools { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 40px 0 16px; }
.seg { display: flex; padding: 3px; border-radius: 11px; background: var(--bg1); box-shadow: inset 0 0 0 1px var(--line2); }
.seg button { height: 34px; padding: 0 14px; border-radius: 8px; font: 500 13px var(--sans); color: var(--ink3); display: inline-flex; gap: 7px; align-items: center; transition: background .16s, color .16s; }
.seg button em { font: 500 11px var(--mono); font-style: normal; color: var(--ink4); min-width: 2ch; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--bg4); color: var(--ink); }
.seg button.on em { color: var(--acc); }
.search { height: 40px; width: 300px; justify-self: end; border-radius: 10px; border: 0; padding: 0 14px; background: var(--bg1); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink); font: 400 13.5px var(--mono); }
.search::placeholder { color: var(--ink4); }
.search:focus { outline: none; box-shadow: inset 0 0 0 1px var(--acc); }
.led .tr { grid-template-columns: 150px 104px minmax(0, 1fr) 150px 100px 200px; }
.led .tr > .r:last-child { white-space: nowrap; }
.more { display: flex; justify-content: center; padding: 18px 0 0; }
.more-tx { height: 22px; padding: 0 8px; margin-left: 6px; border-radius: 6px; font: 600 11px/22px var(--mono); color: var(--ink2); background: rgba(247, 238, 226, .07); transition: background .16s, color .16s; }
.more-tx:hover { background: rgba(255, 179, 122, .16); color: var(--acc); }
.led .tr.sub { height: auto; grid-template-columns: 150px minmax(0, 1fr) !important; align-items: start; padding-top: 12px; padding-bottom: 14px; background: var(--bg0); }
.tr.sub .sigs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 56px 0 120px; }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.toc a { padding: 7px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink3); transition: color .16s, background .16s; }
.toc a:hover { color: var(--ink); background: var(--bg1); }
.toc a.on { color: var(--ink); background: var(--bg2); box-shadow: inset 2px 0 0 var(--acc); }
.rule { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.rule:last-child { border-bottom: 0; }
.rule h2 { margin: 12px 0 0; font: italic 400 40px/1.05 var(--serif); letter-spacing: -.015em; }
.rule p, .rule li { color: var(--ink2); max-width: 70ch; }
.rule p b, .rule li b { color: var(--ink); font-weight: 500; }
.rule ul { padding-left: 18px; margin: 14px 0 0; display: grid; gap: 8px; }
.rule .tbl { margin-top: 22px; max-width: 760px; }
.rule .facts { max-width: 760px; }
.addr { font: 500 13px var(--mono); color: var(--acc); word-break: break-all; }
.addr:hover { text-decoration: underline; }
.v-live { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ entrances (once, short) */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.rise.in { opacity: 1; transform: none; }
.hero .rise { filter: blur(4px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.hero .rise.in { filter: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rise { opacity: 1; transform: none; filter: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .band-in .stat:nth-child(6) { display: none; }
  .band-in { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .totals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ch, .ch.flip { grid-template-columns: 1fr; }
  .ch.flip .ch-media { order: 0; }
  .farm { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .rows .row:nth-child(odd) { border-right: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .led .tr { grid-template-columns: 96px 90px minmax(0, 1fr) 110px; }
  .led .tr > :nth-child(5), .led .tr > :nth-child(6) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { height: 60px; }
  .nav .ca, .nav .enter { display: none; }
  .word { font-size: 27px; }
  .hero { min-height: 640px; }
  .hero-in { bottom: 168px; }
  .hero-media img, .hero-media video { object-position: 58% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(13, 9, 7, .97) 0%, rgba(13, 9, 7, .78) 30%, rgba(13, 9, 7, .2) 62%, rgba(13, 9, 7, .45) 100%); }
  .hero p.lead { font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 14px; }
  .hero-ca { display: block; }
  .hero-ca .ca { grid-template-columns: auto minmax(0, 1fr) auto; }
  .band { height: 148px; }
  .band-in { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; padding: 6px 20px; }
  .band-in .stat:nth-child(6) { display: grid; }
  .stat { grid-template-rows: 14px 26px; gap: 2px; padding: 0 0 0 12px; }
  .stat:nth-child(3n + 1) { padding-left: 0; }
  .stat:nth-child(3n + 1)::before { display: none; }
  .stat + .stat::before { top: 14px; bottom: 14px; }
  .stat .k { font-size: 9.5px; line-height: 14px; letter-spacing: .08em; }
  .stat .v { font-size: 19px; line-height: 26px; }
  .stat .v small { font-size: 11px; }
  .stat .s { display: none; }
  .sec { padding: 80px 0; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: 12px; }
  .fact .v { font-size: 17px; }
  .pot { padding: 26px 22px; }
  .pot-top { grid-template-columns: 1fr 104px; }
  .ring { width: 104px; height: 104px; }
  .ring b { font-size: 21px; }
  .pot-v b { font-size: 46px; }
  .pot-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mults { padding: 24px 22px; }
  .row { padding: 0 20px; grid-template-columns: 26px minmax(0, 1fr) 70px 90px; }
  .row .st { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sched { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { height: 50px; }
  .step span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #drops .tr { grid-template-columns: 64px minmax(0, 1fr) 120px !important; }
  #drops .tr > :nth-child(4), #drops .tr > :nth-child(5) { display: none; }
  .board-h { padding: 16px 20px; }
  .rung { grid-template-columns: 18px 92px 1fr 70px; padding: 0 12px; }
  .rung span { font-size: 12px; }
  .foot { grid-template-columns: 1fr; }
  .fine { flex-direction: column; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools { grid-template-columns: 1fr; }
  .seg { overflow-x: auto; }
  .search { width: 100%; }
  .led .tr { grid-template-columns: 70px minmax(0, 1fr) 96px; gap: 10px; padding: 0 14px; }
  .led .tr > :nth-child(2) { display: none; }
  .page-head { padding-top: 112px; }
  .rule h2 { font-size: 34px; }
  .rule .tr { gap: 10px; padding: 0 14px; font-size: 13.5px; }
  #d-tiers .tr { grid-template-columns: 92px minmax(0, 1fr) 72px !important; }
  #d-tiers .tr.h { font-size: 9.5px; }
  .last { min-height: 520px; }
}

.sec.tight { padding-top: 0; }
.led .tr.sub > .sigs { display: flex !important; }
@media (max-width: 760px) { .led .tr.sub { grid-template-columns: minmax(0, 1fr) !important; } .led .tr.sub > .d { display: none; } }
