/* FinalTrade. Ink black, bone type, one ember light. Serif display, mono numbers, hairlines instead of boxes. */
:root {
  --bg: #080807;
  --bg-2: rgba(12, 12, 11, 0.6);
  --panel: rgba(255, 250, 240, 0.03);
  --panel-2: rgba(255, 250, 240, 0.06);
  --line: rgba(243, 239, 230, 0.1);
  --line-2: rgba(243, 239, 230, 0.22);
  --text: #f3efe6;
  --muted: #9a958a;
  --dim: #5c5952;
  --accent: #ff6b35;
  --accent-2: #ffa47c;
  --ink: #0b0a08;
  --paid: #7ee0a8;
  --warn: #ffb347;
  --heat: #ff3b3b;
  --neon: var(--accent);
  --bone: var(--text);
  --gold: var(--muted);
  --warm: var(--warn);
  --sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: var(--serif);
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1360px;
  --radius: 6px;
  --ease-out: cubic-bezier(0.3, 0.9, 0.2, 1);
  --ease-over: cubic-bezier(0.2, 1.4, 0.4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 0.9375rem/1.55 var(--sans); background: transparent; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, dt, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
b { font-weight: 500; color: var(--text); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num, .mono, .pot, .tape, .program, .addr-list, .bar-facts, .wallet, .line, .min-line, kbd, .tag, .bar-mint, .keys, .ticker, .facts dd, .idx, .count, .eyebrow { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font: 500 0.625rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
h2 { font: 400 clamp(2.25rem, 4vw, 3.5rem)/1 var(--serif); letter-spacing: -0.015em; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 0.35em; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--text); color: var(--ink); font: 500 0.875rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: background 140ms var(--ease-out), transform 140ms var(--ease-out), color 140ms;
}
.btn:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn b { color: inherit; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.big { height: 48px; padding: 0 24px; font-size: 0.9375rem; }

/* the bar */
.bar { position: sticky; top: 0; z-index: 5; height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 var(--gutter); background: rgba(8, 8, 7, 0.55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 400 1.25rem/1 var(--serif); letter-spacing: 0; text-decoration: none; }
.mark-svg { flex: none; overflow: visible; color: var(--accent); }
.wordmark em { font-style: italic; color: var(--text); }
.wordmark small { font: 400 0.6875rem/1 var(--mono); color: var(--dim); margin-left: 6px; letter-spacing: 0.04em; }
.bar-facts { display: flex; justify-content: center; gap: 28px; font-size: 0.75rem; color: var(--text); letter-spacing: 0.02em; }
.bar-facts i { font-style: normal; color: var(--dim); margin-right: 8px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.625rem; }
.bar-facts b { color: var(--text); }
.bar-nav { display: flex; align-items: center; gap: 4px; }
.bar-nav > a:not(.btn):not(.x) { padding: 8px 10px; font: 500 0.8125rem/1 var(--sans); color: var(--muted); text-decoration: none; border-radius: 999px; transition: color 120ms; }
.bar-nav > a:not(.btn):not(.x):hover { color: var(--text); }
.bar-nav .btn { height: 34px; padding: 0 14px; font-size: 0.8125rem; margin-left: 8px; }
.bar-mint { font-size: 0.75rem; color: var(--muted); padding: 0 10px; height: 32px; border-radius: 999px; white-space: nowrap; }
.bar-mint:hover { color: var(--text); background: var(--panel-2); }
.bar-mint.done { color: var(--paid); }
.x { color: var(--muted); display: inline-flex; padding: 8px; border-radius: 999px; }
.x:hover { color: var(--text); background: var(--panel-2); }
.x[hidden] { display: none; }
.ns { margin: 0; padding: 12px var(--gutter); font-size: 0.875rem; color: var(--muted); }

/* the activity line under the bar */
.ticker-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 36px; border-bottom: 1px solid var(--line); background: transparent; overflow: hidden; }
.ticker-wrap .live-tag { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 var(--gutter); font: 500 0.625rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); white-space: nowrap; }
.ticker-wrap .live-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.ticker-wrap.live .live-tag { color: var(--text); }
.ticker-wrap.live .live-tag i { background: var(--paid); box-shadow: 0 0 0 3px rgba(126, 224, 168, 0.18), 0 0 12px rgba(126, 224, 168, 0.6); }
.ticker { position: relative; height: 100%; overflow: hidden; mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 72px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 72px), transparent); }
.ticker .track { height: 100%; display: flex; align-items: center; gap: 0; padding-left: 8px; white-space: nowrap; font-size: 0.6875rem; color: var(--muted); transform: none !important; }
.ticker .track span { padding: 0 16px; border-right: 1px solid var(--line); line-height: 1; }
.ticker .track span:last-child { border-right: 0; }
.ticker .track span b { color: var(--text); font-weight: 500; }
.ticker .track span .amt { color: var(--text); }
.ticker .track span .tm { color: var(--dim); }
.ticker .track span::after { content: none; }
.ticker-nav { display: flex; height: 100%; border-left: 1px solid var(--line); }
.ticker-nav a { display: inline-flex; align-items: center; padding: 0 var(--gutter) 0 16px; font: 500 0.625rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 120ms; }
.ticker-nav a:hover { color: var(--text); }

/* the hero: the whole first screen is the picture. the canvas (field + clock) fills it; the HUD sits in the corners */
main { overflow-x: clip; }
.hero { position: relative; isolation: isolate; height: calc(100svh - 96px); min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--bg); }
.clock3d { position: absolute; inset: 0; z-index: 0; cursor: grab; touch-action: pan-y; }
.clock3d.grab { cursor: grabbing; }
.clock3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hud { position: absolute; inset: 0; z-index: 1; padding: 28px var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px 32px; pointer-events: none; }
.hud a, .hud button { pointer-events: auto; }
.hud-tl { grid-area: 1 / 1; align-self: start; justify-self: start; }
.hud-tr { grid-area: 1 / 2; align-self: start; justify-self: end; display: inline-flex; align-items: center; gap: 12px; font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hud-tr .sep { width: 1px; height: 10px; background: var(--line-2); }
.hud-tr b { color: var(--text); }
.hud-bl { grid-area: 3 / 1; align-self: end; max-width: 760px; text-shadow: 0 2px 24px rgba(8, 8, 7, 0.9), 0 0 2px rgba(8, 8, 7, 0.8); }
.hud-br { grid-area: 3 / 2; align-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.eyebrow .sep { width: 1px; height: 10px; background: var(--line-2); }
.live .eyebrow .dot { background: var(--paid); box-shadow: 0 0 0 3px rgba(126, 224, 168, 0.18), 0 0 12px rgba(126, 224, 168, 0.6); }
h1 { font: 800 clamp(3rem, 7vw, 7rem)/0.86 var(--sans); letter-spacing: -0.05em; text-transform: uppercase; color: var(--text); }
h1 em { font: italic 400 1.1em/0.86 var(--serif); text-transform: none; letter-spacing: -0.02em; color: var(--accent); }
.sub { margin-top: 20px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; max-width: 40ch; }
.sub b { color: var(--text); }
.cta { margin-top: 22px; display: flex; align-items: center; gap: 12px; }

/* the fallback digits: shown only without WebGL, centred in the hero */
.clock { grid-area: 2 / 1 / 3 / 3; place-self: center; display: flex; align-items: center; justify-content: center; }
.clock.has3d { display: none; }
.dial { display: none; }
.clock .digit { width: clamp(44px, 9vw, 110px); height: auto; --seg: var(--text); --seg-off: rgba(255, 255, 255, 0.06); }
.clock .digit.colon { width: clamp(18px, 3vw, 40px); }
.clock .s { fill: var(--seg-off); }
.clock .s.on, .clock .colon .s { fill: var(--seg); }
.clock.hot .digit { --seg: var(--heat); }
.clock.done .digit { --seg: var(--muted); }

/* the time bar: the hero's bottom edge */
.timebar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(243, 239, 230, 0.1); overflow: hidden; }
.timebar i { display: block; height: 100%; width: calc(var(--frac, 1) * 100%); background: var(--accent); box-shadow: 0 0 14px rgba(255, 107, 53, 0.7); transition: width 900ms linear; }
.hot .timebar i { background: var(--heat); }
.idle .timebar i { background: var(--line-2); box-shadow: none; }

/* the last-buy card: bottom right, glass over the field */
.card { width: 320px; max-width: 100%; padding: 16px 18px 14px; display: grid; gap: 4px; text-align: left; border: 1px solid var(--line-2); background: rgba(8, 8, 7, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
.card .label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card .wallet { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.card .wallet a { text-decoration: none; }
.card .wallet a:hover { color: var(--accent-2); }
.card .wallet.swap { animation: up 300ms var(--ease-out); }
.card .wallet.struck { text-decoration: line-through; color: var(--muted); }
.card .line { font-size: 0.75rem; color: var(--muted); }
.card .line:empty { display: none; }
.card .hold.ok { color: var(--paid); }
.card .hold.ok::before { content: "\2713\00a0"; }
.card .skip { color: var(--muted); }
.card .min-line { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.card .min-line b { color: var(--text); }
.card.pulse { animation: card-pulse 900ms var(--ease-out); }
@keyframes card-pulse { 0% { background: rgba(255, 107, 53, 0); } 20% { background: rgba(255, 107, 53, 0.18); } 100% { background: rgba(8, 8, 7, 0.55); } }
@keyframes up { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* the numbers: a full-width strip, hairlines, big mono figures */
.strip { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.facts { width: 100%; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 0.7fr; border-bottom: 1px solid var(--line); text-align: left; }
.facts > div { padding: 22px 24px 24px; border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.facts dd { align-self: end; }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 500 0.625rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dt small { display: block; margin-top: 3px; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: none; color: var(--dim); }
.facts dd { margin-top: 10px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1; color: var(--text); font-weight: 400; letter-spacing: -0.02em; }
.facts dd b { font-weight: 400; }
.facts dd .usd { color: var(--muted); font-size: 0.75rem; margin-left: 10px; letter-spacing: 0; }
.facts dd .unit { color: var(--dim); font-size: 0.75rem; margin-left: 8px; letter-spacing: 0.08em; }
.pot .num.bump { animation: bump 500ms var(--ease-over); display: inline-block; }
@keyframes bump { from { transform: scale(0.97); } to { transform: none; } }
[data-min].roll, [data-rise].roll { display: inline-block; animation: up 240ms var(--ease-out); }

/* sections: index and heading on the left, the thing on the right */
main > section { scroll-margin-top: 72px; }
.sec, .fine { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.sec { position: relative; max-width: var(--wide); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.sec::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.strip + .sec::before { display: none; }
.sec[hidden], .tape-empty[hidden], [hidden] { display: none !important; }
.sec-head { position: static; }
.sec-head .idx { font: 500 0.625rem/1 var(--mono); letter-spacing: 0.16em; color: var(--accent); margin-bottom: 20px; }
.sec-head p:not(.idx) { margin-top: 18px; color: var(--muted); font-size: 1rem; max-width: 36ch; line-height: 1.5; }
.sec-head .count { display: inline-block; margin-top: 18px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font: 500 0.6875rem/1 var(--mono); color: var(--muted); }
.sec-head .range { margin-top: 20px; }
.sec-body { min-width: 0; }

/* the rules: the spec on the right, then four columns across the page */
.program { font-size: 0.875rem; line-height: 1.5; counter-reset: ln; border-top: 1px solid var(--line); }
.program .row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: ln; }
.program .row > span:first-child { color: var(--muted); }
.program .row > span:first-child::before { content: counter(ln, decimal-leading-zero) "  "; color: var(--dim); }
.program b { color: var(--accent-2); }
.program .bars { display: flex; gap: 4px; padding: 20px 0 10px; }
.program .bars i { flex: 1; height: 8px; background: var(--line); }
.program .bars i.on { background: var(--accent); opacity: 0.5; }
.program .bars i.now { background: var(--accent); box-shadow: 0 0 10px rgba(255, 107, 53, 0.7); }
.program .bars-label { font: 500 0.625rem/1 var(--mono); color: var(--dim); letter-spacing: 0.16em; text-transform: uppercase; }
.rule-list { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.rule-list li { padding: 28px 0 8px; display: grid; gap: 14px; align-content: start; }
.rule-list .n { font: 400 clamp(3rem, 5vw, 4.5rem)/0.9 var(--serif); color: var(--text); letter-spacing: -0.03em; }
.rule-list .n::after { content: "."; color: var(--accent); }
.rule-list h3 { font: 500 1.0625rem/1.35 var(--sans); letter-spacing: -0.01em; margin-top: 10px; }
.rule-list p { color: var(--muted); font-size: 0.875rem; max-width: 30ch; }

/* the tape */
.tape-empty { display: grid; gap: 8px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tape-empty .big { font: 400 1.75rem/1.2 var(--serif); color: var(--text); }
.tape-empty .small { color: var(--muted); font-size: 0.875rem; }
.tape-empty[hidden] { display: none; }
.tape-shell { overflow-x: auto; }
.tape { width: 100%; border-collapse: collapse; font-size: 0.8125rem; line-height: 1.4; }
.tape th { text-align: left; font: 500 0.625rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px 0; border-bottom: 1px solid var(--line-2); }
.tape td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tape tbody tr:hover td { background: var(--panel); }
.tape .n, .tape .u, .tape th.n, .tape th.u { text-align: right; }
.tape .t { color: var(--muted); width: 1%; }
.tape .w a { text-decoration: none; }
.tape .w a:hover { color: var(--accent-2); }
.tape .unit, .tape .u { color: var(--muted); }
.tape .g { text-align: right; width: 1%; padding-right: 0; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-2); color: var(--muted); }
.tag.hot { color: var(--ink); background: var(--accent); border-color: transparent; }
.tag.ok { color: var(--accent-2); border-color: rgba(255, 107, 53, 0.4); }
.tag.dim { color: var(--dim); text-decoration: line-through; }
.tag.sell { color: var(--dim); }
.tape tr.new td { animation: row-in 220ms var(--ease-out); }
@keyframes row-in { from { background: rgba(255, 107, 53, 0.12); } to { background: transparent; } }
.note { margin-top: 14px; font-size: 0.75rem; color: var(--dim); font-family: var(--mono); }
.winners-table .paid a { color: var(--paid); }

/* the minimum chart */
.range { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.range button { padding: 6px 12px; border-radius: 999px; font: 500 0.6875rem/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.range button.on { background: var(--text); color: var(--ink); }
.range button:not(.on):hover { color: var(--text); }
.chart { padding: 0; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-svg .ax { fill: var(--muted); font: 500 11px var(--mono); }
.chart-svg .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.55)); }
.chart-svg .area { fill: url(#chart-fill); }
.chart-svg .now { stroke: var(--text); stroke-width: 1; stroke-dasharray: 2 4; }
.chart-svg .now-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 164, 124, 0.9)); }
.chart-svg .now-label { fill: var(--text); font: 500 11px var(--mono); }
.marks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.marks > div { padding: 18px 20px 4px; border-left: 1px solid var(--line); }
.marks > div:first-child { border-left: 0; padding-left: 0; }
.marks dt { font: 500 0.625rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.marks dd { margin-top: 8px; font: 400 1.375rem/1.1 var(--mono); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* the addresses */
.addr-list { border-top: 1px solid var(--line); }
.addr-list .row { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; font-size: 0.8125rem; border-bottom: 1px solid var(--line); }
.addr-list .k { color: var(--muted); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; }
.addr-list .addr { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-list .row.set .addr { color: var(--text); }
.addr-list .links { display: none; gap: 18px; font-family: var(--sans); font-size: 0.8125rem; }
.addr-list .row.set .links { display: flex; }
.addr-list .links a { color: var(--muted); text-decoration: none; }
.addr-list .links a:hover, .addr-list .copy:hover { color: var(--text); }
.addr-list .copy { color: var(--muted); }
.addr-list .copy.done { color: var(--paid); }

/* the fine print, then the name across the bottom of the page */
.fine { position: relative; max-width: var(--wide); margin: clamp(96px, 12vw, 160px) auto 0; padding: 40px var(--gutter) 0; color: var(--muted); font-size: 0.875rem; overflow: hidden; }
.fine::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.fine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fine-grid p { max-width: 30ch; line-height: 1.5; color: var(--text); font-size: 0.9375rem; }
.fine-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.fine .sources { font: 400 0.6875rem/1.5 var(--mono); color: var(--dim); max-width: 60ch; }
.fine .keys { font-size: 0.6875rem; white-space: nowrap; }
.giant { margin: 24px 0 0; font: 400 clamp(5rem, 19.5vw, 280px)/0.78 var(--serif); letter-spacing: -0.04em; text-align: center; white-space: nowrap; color: rgba(243, 239, 230, 0.5); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.08) 95%); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.08) 95%); transform: translateY(0.1em); user-select: none; }
kbd { display: inline-block; min-width: 1.5em; padding: 0 0.4em; margin-right: 0.3em; text-align: center; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 0.625rem; line-height: 1.7; color: var(--text); }
kbd + kbd, .keys kbd:not(:first-child) { margin-left: 1em; }

/* toasts */
.toasts { position: fixed; right: 16px; top: 108px; z-index: 20; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 10px; background: rgba(14, 14, 13, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); font: 400 0.8125rem/1.35 var(--sans); color: var(--text); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8); animation: toast-in 280ms var(--ease-out); }
.toast.out { animation: toast-out 240ms var(--ease-out) forwards; }
.toast i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.toast.reset i { background: var(--accent); }
.toast.wallet i { background: var(--text); }
.toast.skip i { background: var(--dim); }
.toast.pot i, .toast.zero i { background: var(--paid); }
.toast b { color: var(--text); font-weight: 500; font-family: var(--mono); }
.toast .k { display: block; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-out { to { transform: translateX(8px); opacity: 0; } }

/* the background: ink, one ember light behind the clock, a horizon, grain */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.bg i { position: absolute; display: block; }
.bg .light { left: 50%; top: 22vh; width: 110vw; height: 70vh; max-width: 1600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.03) 45%, transparent 72%); filter: blur(20px); }
.bg .horizon { display: none; }
.bg .grain { inset: 0; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px 180px; mix-blend-mode: overlay; }

/* under the boot screen the hero is already complete; the words settle by a few pixels as the screen lifts, nothing else moves */
.hud-tl, .hud-tr, .hud-bl, .hud-br { transition: opacity 650ms cubic-bezier(0.4, 0, 0.2, 1), transform 650ms cubic-bezier(0.4, 0, 0.2, 1); }
html.booting .hud-tl, html.booting .hud-tr, html.booting .hud-bl, html.booting .hud-br { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { html.booting .hud-tl, html.booting .hud-tr, html.booting .hud-bl, html.booting .hud-br { opacity: 1; transform: none; } }

/* sections fade up once */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .sec { grid-template-columns: 1fr; gap: 28px; }
  .rule-list { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .rule-list li { border-top: 1px solid var(--line); }
  .rule-list li:nth-child(-n + 2) { border-top: 0; }
  .bar-facts { display: none; }
  .bar-nav > a:not(.btn):not(.x) { display: none; }
  .ticker-nav { display: none; }
  .ticker-wrap { grid-template-columns: auto 1fr; }
  .fine-grid { grid-template-columns: 1fr; gap: 16px; }
  .fine-meta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 759px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .clock3d { position: relative; height: 66vw; min-height: 300px; }
  .hud { position: relative; inset: auto; display: block; padding: 20px var(--gutter) 28px; }
  .hud-tl, .hud-tr { display: none; }
  .hud-bl { max-width: none; }
  .hud-br { margin-top: 24px; width: 100%; }
  h1 { font-size: clamp(3rem, 15vw, 4.75rem); }
  .clock.has3d { display: none; }
  .clock { padding: 40px 0; }
}
@media (max-width: 599px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div { padding: 18px 16px; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cta { flex-wrap: wrap; }
  .rule-list { grid-template-columns: 1fr; }
  .rule-list li { border-top: 1px solid var(--line); }
  .rule-list li:first-child { border-top: 0; }
  .addr-list .row { grid-template-columns: 1fr; gap: 6px; }
  .program .row { grid-template-columns: 110px 1fr; }
  .marks { grid-template-columns: repeat(2, 1fr); }
  .marks > div { padding: 14px 12px 4px; }
  .marks > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .bar-nav .btn { padding: 0 12px; margin-left: 0; }
  .bar { gap: 12px; }
  .bar-mint, .wordmark small { display: none; }
  .toasts { left: 12px; right: 12px; top: 104px; max-width: none; }
  .bg .light { width: 180vw; height: 50vh; top: 26vh; }
  .giant { font-size: 21vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
