/* DUMB MONEY — black, white, a terminal, and a little red. */
:root {
  --bg: #050505; --bg2: #0a0a0a; --ink: #f4f4f2; --ink2: rgba(244, 244, 242, .66); --ink3: rgba(244, 244, 242, .38); --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18);
  --red: #e5202a; --red2: rgba(229, 32, 42, .55); --red3: rgba(229, 32, 42, .14);
  --pix: 'VT323', 'JetBrains Mono', monospace; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 13px/1.55 var(--mono); font-feature-settings: 'tnum'; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
.hide { display: none !important; }
.dim { color: var(--ink3); }
.red { color: var(--red); }
code { font-family: var(--mono); }

#bg { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
/* scanlines, faint, the whole page */
.scan { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 3px); mix-blend-mode: screen; }

/* ── header ─────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 26px; padding: 9px clamp(16px, 4vw, 40px); background: rgba(5, 5, 5, .9); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 var(--red3); }
.brand { display: flex; align-items: center; gap: 10px; font: 22px/1 var(--pix); letter-spacing: .08em; }
.logo-s { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(229, 32, 42, .25)); }
.brandrow { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.logo { height: 72px; width: auto; display: block; filter: drop-shadow(0 0 18px rgba(229, 32, 42, .28)); }
.brandrow .label { padding-bottom: 6px; }
.brand em, .label em { font-style: normal; color: var(--red); text-shadow: 0 0 12px var(--red2); }
.brand i { width: 9px; height: 9px; background: var(--red); box-shadow: 0 0 10px var(--red2); }
nav { display: flex; gap: 18px; color: var(--ink2); font-size: 12px; }
nav a:hover { color: var(--ink); }
.status { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 5px 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.status b { flex: 0 0 6px; width: 6px; height: 6px; background: var(--ink3); }
.status.live b { background: var(--red); box-shadow: 0 0 8px var(--red2); animation: blink 1.4s steps(2) infinite; }
.status-state { color: var(--ink); font-weight: 500; }
.status-count { color: var(--ink3); }
.status-count:not(:empty)::before { content: '·'; margin-right: 8px; color: var(--line2); }
@keyframes blink { 50% { opacity: .25; } }

main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 70px; }
section { margin-top: 58px; }
.sh { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.sh h2 { margin: 0; font: 24px/1 var(--pix); letter-spacing: .06em; text-transform: uppercase; }
.sh span { font-size: 11px; color: var(--ink3); }
.panel { border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 60px), var(--bg2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(0, 0, 0, .6), 0 10px 40px rgba(0, 0, 0, .35); transition: border-color .25s, box-shadow .25s; }
.panel:hover { border-color: rgba(255, 255, 255, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .6), 0 10px 40px rgba(0, 0, 0, .35), 0 0 28px rgba(229, 32, 42, .08); }
.panel.pad { padding: 16px 18px; }

/* ── hero ───────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding-top: 40px; align-items: stretch; }
.label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.big { display: flex; align-items: flex-end; font: clamp(140px, 19vw, 230px)/.85 var(--pix); letter-spacing: -.02em; color: #fff; margin: 14px 0 0 -4px; text-shadow: 0 0 26px rgba(255, 255, 255, .18); font-variant-numeric: tabular-nums; }
.big .cur { display: inline-block; width: .07em; height: .3em; margin: 0 0 .08em .05em; background: var(--red); color: transparent; box-shadow: 0 0 14px var(--red2); animation: blink 1s steps(2) infinite; }
.zone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.zone { font: 34px/1 var(--pix); letter-spacing: .1em; text-transform: uppercase; }
.zone.apes { color: var(--red); text-shadow: 0 0 16px var(--red2); }
.chip { padding: 5px 8px; border: 1px solid var(--line2); font-size: 11px; letter-spacing: .06em; }
.chip.up { color: #fff; border-color: rgba(255, 255, 255, .4); }
.bar { position: relative; display: flex; height: 26px; margin-top: 16px; border: 1px solid var(--line2); }
.seg { display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); border-right: 1px solid var(--line); }
.seg:last-child { border-right: 0; }
.seg.a { color: var(--red); background: var(--red3); }
.mark { position: absolute; top: -6px; bottom: -6px; width: 3px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .6); transition: left .6s ease; }
.lead { margin: 18px 0 0; max-width: 520px; font-size: 14px; color: var(--ink2); }
.ascii { margin: 18px 0 0; padding: 10px 12px; max-width: 520px; border: 1px solid var(--line); background: #030303; font: 12px/1.15 var(--mono); letter-spacing: .04em; color: rgba(244, 244, 242, .55); overflow: hidden; white-space: pre; user-select: none; }
.ascii b { font-weight: 400; color: #fff; }
.ascii i { font-style: normal; color: var(--red); }
.rule { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 4px 12px; margin-top: 14px; font-size: 11px; max-width: 520px; }
.rule span { color: var(--ink3); }
.rule b { font-weight: 500; }

/* the terminal */
.term { display: flex; flex-direction: column; min-height: 560px; max-height: 660px; border: 1px solid rgba(229, 32, 42, .32); background: #030303; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 34px rgba(229, 32, 42, .12), 0 14px 50px rgba(0, 0, 0, .45); }
.thead, .tfoot { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border-bottom: 1px solid var(--line); }
.tfoot { border-bottom: 0; border-top: 1px solid var(--line); justify-content: center; }
.tfoot button { padding: 4px 10px; color: var(--ink3); letter-spacing: .1em; }
.tfoot button:hover { color: var(--ink); }
.tbody { flex: 1; overflow-y: auto; padding: 8px 0; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.th { display: grid; grid-template-columns: 58px 1fr 52px; gap: 10px; padding: 5px 14px; font-size: 12px; line-height: 1.45; border-left: 2px solid transparent; }
.th.new { animation: land .9s ease-out; }
@keyframes land { 0% { background: rgba(255, 255, 255, .12); } 100% { background: transparent; } }
.th .t { color: var(--ink3); font-size: 11px; padding-top: 1px; }
.th .x { min-width: 0; color: var(--ink2); overflow-wrap: anywhere; }
.th .x b { color: var(--ink); font-weight: 500; }
.th .x a { color: inherit; border-bottom: 1px dotted var(--ink3); }
.th .d { text-align: right; font-weight: 500; color: var(--ink3); }
.th .d.up { color: #fff; }
.th .d.dn { color: var(--ink3); }
.th.post .x b { color: #fff; }
.th.source .x { color: var(--ink); }
.th.pulse .x, .th.pulse .t { color: var(--ink3); }
.th.decay .x { color: var(--ink3); font-style: italic; }
.th.zone { border-left-color: var(--red); background: var(--red3); }
.th.zone .x { color: var(--red); font-weight: 700; letter-spacing: .04em; }
.th.buy { border-left-color: #fff; background: rgba(255, 255, 255, .06); }
.th.buy .x { color: #fff; font-weight: 700; }
.th.claim .x { color: #fff; }
.th.note .x { color: var(--ink3); }

/* ── sources ────────────────────────────────────────────────────── */
.srow { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr .6fr .7fr .6fr; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; }
.srow:first-child, .srow.head { border-top: 0; }
.srow.head { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.srow .name { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.srow .name i { width: 6px; height: 6px; background: var(--ink3); }
.srow .name i.on { background: #fff; }
.srow .name i.gen { background: var(--red); }
.srow .sc { display: flex; align-items: center; gap: 8px; }
.srow .sc u { display: block; flex: 1; height: 6px; background: var(--line); text-decoration: none; position: relative; }
.srow .sc u i { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; }
.srow.off { color: var(--ink3); }
.formula { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink3); line-height: 1.7; }
.formula sup { font-size: 9px; }

/* ── how it works ───────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line2); background: var(--line); }
.how-step { position: relative; min-height: 190px; padding: 18px; background: var(--bg2); }
.how-n { display: block; margin-bottom: 34px; color: var(--red); font: 18px/1 var(--pix); letter-spacing: .08em; }
.how-step h3 { margin: 0 0 9px; font: 28px/1 var(--pix); letter-spacing: .05em; text-transform: uppercase; }
.how-step p { margin: 0; color: var(--ink2); font-size: 12px; line-height: 1.65; }
.how-foot { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 16px; border: 1px solid var(--line2); border-top: 0; background: #030303; }
.how-foot code { color: var(--ink3); font-size: 11px; }
.how-foot a { flex: 0 0 auto; padding-bottom: 2px; border-bottom: 1px solid var(--red); color: var(--ink); font-size: 11px; }
.how-foot a:hover { color: var(--red); }

/* ── chart ──────────────────────────────────────────────────────── */
#cv { width: 100%; height: 220px; display: block; }

/* ── tiles ──────────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line2); margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 40px rgba(0, 0, 0, .35); }
.tile { background: var(--bg2); padding: 16px 18px; transition: background .25s; }
.tile:hover { background: #0e0e0e; }
.tile b { display: block; font: 34px/1 var(--pix); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile b.red { color: var(--red); text-shadow: 0 0 12px var(--red2); }
.tile b.warn { color: #d8b35a; }
.tile span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.tile small { font: 12px var(--mono); color: var(--ink3); margin-left: 6px; }

/* ── buys ───────────────────────────────────────────────────────── */
.brow { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr .7fr 1.6fr; gap: 12px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 12px; }
.brow.head { border-top: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.brow .n { color: var(--ink2); }
.brow .open { color: var(--red); }
.brow a { border-bottom: 1px dotted var(--ink3); }
.brow.empty { color: var(--ink3); }

/* ── coin ───────────────────────────────────────────────────────── */
.carow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ca code { font-size: 13px; color: #fff; word-break: break-all; }
.ca button, .links a { padding: 6px 10px; border: 1px solid var(--line2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.ca button:hover, .links a:hover { border-color: var(--red2); color: #fff; }
.links { display: flex; gap: 8px; }

/* ── scan ───────────────────────────────────────────────────────── */
.scanf { display: flex; align-items: center; gap: 12px; }
.prompt { font: 26px/1 var(--pix); color: var(--red); }
#addr { flex: 1; padding: 10px 12px; border: 1px solid var(--line2); background: #030303; color: #fff; font-size: 13px; outline: none; }
#addr:focus { border-color: rgba(255, 255, 255, .5); }
.scanf button { padding: 10px 18px; border: 1px solid var(--line2); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.scanf button:hover { border-color: var(--red2); }
.scanout { margin-top: 14px; font-size: 12px; }
.scanout .err { color: var(--red); }
.sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line2); }
.sg div { background: var(--bg2); padding: 12px 14px; }
.sg b { display: block; font: 30px/1 var(--pix); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg span { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.sg .m { color: var(--red); }

/* ── docs ───────────────────────────────────────────────────────── */
.docs p { margin: 0 0 12px; max-width: 760px; color: var(--ink2); }
.docs p:last-child { margin: 0; }
.docs b { color: var(--ink); font-weight: 500; }
.docs-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.docs-cta p { margin: 0; color: var(--ink2); }
.docs-cta a, .docs-back { color: var(--ink); border-bottom: 1px solid var(--red); padding-bottom: 2px; white-space: nowrap; }
.docs-cta a:hover, .docs-back:hover { color: var(--red); }
.docs-page { max-width: 980px; }
.docs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 58px; }
.docs-head h1 { margin: 0; font: clamp(58px, 10vw, 104px)/.82 var(--pix); letter-spacing: -.02em; }
.docs-head p { max-width: 430px; margin: 0 0 4px; color: var(--ink2); }
.docs-intro { margin-top: 28px; max-width: 760px; font-size: 15px; color: var(--ink2); }
.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.docs-card { padding: 22px; background: var(--bg2); }
.docs-card h2 { margin: 0 0 14px; font: 27px/1 var(--pix); letter-spacing: .05em; text-transform: uppercase; }
.docs-card h3 { margin: 20px 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.docs-card p { margin: 0 0 12px; color: var(--ink2); }
.docs-card p:last-child { margin-bottom: 0; }
.docs-card ul { margin: 0; padding-left: 18px; color: var(--ink2); }
.docs-card li { margin: 0 0 7px; }
.docs-card strong { color: var(--ink); font-weight: 500; }
.docs-code { margin: 12px 0 0; padding: 12px; overflow-x: auto; border: 1px solid var(--line); background: #030303; color: var(--ink2); font: 12px/1.7 var(--mono); }
.docs-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding: 16px 0 70px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 11px; }

footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink3); }

/* ── responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .term { min-height: 420px; max-height: 480px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  nav { display: none; }
  .srow { grid-template-columns: 1.2fr 1.6fr .7fr .6fr; }
  .srow > :nth-child(3), .srow > :nth-child(6) { display: none; }
  .brow { grid-template-columns: 1fr 1fr 1fr .7fr; }
  .brow > :nth-child(4), .brow > :nth-child(6) { display: none; }
  .sg { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .docs-head { display: block; }
  .docs-head p { margin-top: 20px; }
  .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo { height: 56px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .th { grid-template-columns: 46px 1fr 44px; }
  .rule { grid-template-columns: auto 1fr; }
  .status { padding: 5px 7px; }
  .status-count { display: none; }
  .status-count:not(:empty)::before { display: none; }
  .docs-cta, .docs-foot { display: block; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { min-height: 0; }
  .how-n { margin-bottom: 18px; }
  .how-foot { display: block; }
  .how-foot a { display: inline-block; margin-top: 10px; }
  .docs-cta a { display: inline-block; margin-top: 12px; }
  .docs-foot a { display: inline-block; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .big .cur, .status.live b { animation: none; } .mark { transition: none; } }

/* ── motion: reveals on scroll, hover on anything you can press ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
button, .links a, .ca button { transition: border-color .2s, color .2s, box-shadow .2s, transform .15s; }
.scanf button:hover, .tfoot button:hover, .links a:hover, .ca button:hover { box-shadow: 0 0 18px rgba(229, 32, 42, .18); transform: translateY(-1px); }
.scanf button:active, .links a:active, .ca button:active { transform: translateY(0); }
.tile { position: relative; }
.tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); opacity: 0; transition: opacity .25s; }
.tile:hover::after { opacity: .6; }
.th { transition: background .2s; }
.th:hover { background: rgba(255, 255, 255, .04); }
.srow, .brow { transition: background .2s; }
.srow:hover, .brow:hover { background: rgba(255, 255, 255, .03); }
.big { transition: text-shadow .6s; }
.zone.apes ~ .big, .hero.apes .big { text-shadow: 0 0 34px rgba(229, 32, 42, .35); }
.mark { transition: left .8s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
