/* ══════════════════════════════════════════════════════════
   $COOLCAT — The Coolest Cat
   Acid-green collage palette · deliberately its own layout:
   floating pill nav · centred overlapping hero · console stat rail
   reversed generator · zig-zag reasons · horizontal buy flow
   bento tokenomics · split chart · two-column FAQ · column footer
   ══════════════════════════════════════════════════════════ */

:root {
  --acid:      #a3e015;
  --acid-deep: #86bd0a;
  --acid-dark: #6d9a08;
  --acid-wash: #e9f8c2;

  --paper:     #fbf9f2;
  --paper-2:   #f1eee1;
  --paper-3:   #e2dece;

  --ink:       #0d0d0d;
  --ink-2:     #1b1b1b;
  --ink-soft:  #4c4c48;
  --ink-faint: #7d7d74;

  --gold:      #c99a3c;
  --gold-lite: #f0d074;
  --gold-deep: #8d6620;
  --ginger:    #d9822b;
  --pink:      #f2a9b0;
  --red:       #c0392b;

  --f-disp: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --f-cond: "Anton", "Arial Narrow", system-ui, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --sh-sm: 3px 3px 0 var(--ink);
  --sh:    6px 6px 0 var(--ink);
  --sh-lg: 10px 10px 0 var(--ink);

  --ease: cubic-bezier(.2, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  font-size: clamp(15px, .32vw + 14px, 16.5px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--acid);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--gold-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--acid); }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  padding: 10px 18px; background: var(--ink); color: var(--paper);
  font-weight: 700; border-radius: 4px;
  transform: translateY(-180%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ── backdrop: halftone + gold brush marks ────────────────── */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--acid); }
.bg__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.5) 1.3px, transparent 1.4px);
  background-size: 14px 14px; opacity: .1;
}
.bg__brush {
  position: absolute; display: block; opacity: .45;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-lite), var(--gold));
}
.bg__brush--1 { width: 26vw; height: 5vw; top: 11%; left: -6vw;
  clip-path: polygon(0 42%,14% 8%,33% 60%,52% 12%,71% 66%,88% 20%,100% 52%,84% 96%,62% 44%,44% 92%,24% 40%,8% 88%); }
.bg__brush--2 { width: 20vw; height: 4vw; top: 56%; right: -4vw;
  clip-path: polygon(0 50%,18% 10%,40% 64%,62% 14%,84% 62%,100% 30%,90% 90%,66% 42%,42% 94%,20% 38%,6% 92%); }
.bg__brush--3 { width: 14vw; height: 3vw; bottom: 6%; left: 7%;
  clip-path: polygon(0 46%,22% 6%,48% 62%,74% 12%,100% 54%,80% 94%,52% 44%,26% 92%); }

/* ── layout ───────────────────────────────────────────────── */
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(880px, 100% - 2.5rem); }
.sec { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }

/* full-bleed band, widened by transform so it never adds scroll width */
.band { position: relative; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper); border-block: 3px solid var(--ink);
  z-index: -1; transform: scaleX(1.06);
}
.band--ink::before { background: var(--ink); border-color: var(--ink); }

/* ── type ─────────────────────────────────────────────────── */
.h2 {
  font-family: var(--f-disp);
  font-size: clamp(1.85rem, 5.2vw, 3.3rem);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.foil {
  background: linear-gradient(168deg, var(--gold-lite) 6%, var(--gold) 42%, var(--gold-deep) 70%, var(--gold-lite) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
}
.scribble { font-family: var(--f-hand); font-size: clamp(1rem, 1.8vw, 1.28rem); }
.mono { font-family: var(--f-mono); font-size: .92em; }

/* section label: a small tab that sits on the section, not a centred eyebrow */
.tab {
  display: inline-block; padding: .3em .85em; margin-bottom: 1rem;
  font-family: var(--f-cond); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: var(--acid);
}
.sub { max-width: 58ch; margin-top: .9rem; color: var(--ink-2); font-weight: 500; }

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .82em 1.4em;
  font-family: var(--f-disp); font-size: .8rem; letter-spacing: .01em; line-height: 1;
  text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg);
  border: 3px solid var(--ink); box-shadow: var(--sh-sm);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translate(-3px,-3px); box-shadow: var(--sh); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--gold { background: linear-gradient(168deg, var(--gold-lite), var(--gold) 55%, var(--gold-deep)); }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--acid { --bg: var(--acid); }
.btn--red  { --bg: var(--red); --fg: #fff; }
.btn--sm   { padding: .62em 1em; font-size: .7rem; border-width: 2.5px; }
.btn--lg   { padding: .95em 1.6em; font-size: clamp(.82rem, 1.2vw, .95rem); }
.btn--full { width: 100%; }

.linkbtn { font-family: var(--f-hand); font-size: 1.05rem; color: var(--ink-soft); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.btnrow { display: flex; flex-wrap: wrap; gap: .6rem; }
.btnrow--c { justify-content: center; }
.btnrow--tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px,1fr)); gap: .4rem; margin-top: .9rem; }
.btnrow--split { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }

.iconbtn {
  display: grid; place-items: center; width: 36px; height: 36px;
  color: var(--paper); background: var(--ink); border: 2.5px solid var(--ink);
  transition: transform .12s var(--ease), background .12s, color .12s;
}
.iconbtn:hover { transform: translateY(-2px); background: var(--acid); color: var(--ink); }

/* ══ 1 · NAV — floating pill, detached from the top ══════════ */
.nav { position: sticky; top: 14px; z-index: 100; padding: 0 1rem; }
.nav__in {
  width: min(1200px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem .8rem .55rem 1rem;
  background: var(--paper); border: 3px solid var(--ink);
  border-radius: 100px; box-shadow: var(--sh);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.brand__pic { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--ink); }
.brand:hover .brand__pic { transform: rotate(-8deg) scale(1.06); }
.brand__txt { font-family: var(--f-disp); font-size: 1.02rem; letter-spacing: -.01em; }
.brand__txt em { font-style: normal; color: var(--acid-dark); }

.nav__links { display: flex; gap: 1.2rem; margin-inline: auto; }
.nav__links a {
  font-weight: 600; font-size: .84rem; color: var(--ink); text-decoration: none;
  padding: .25em 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--acid-dark); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.burger { display: none; width: 40px; height: 36px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 22px; height: 3px; background: var(--ink); transition: transform .22s, opacity .18s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ══ 2 · HERO — centred, type overlapping a big round portrait ══ */
.hero { padding: clamp(2.4rem, 5vw, 4rem) 0 0; text-align: center; }
.hero__in { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42em .95em; font-size: .78rem; font-weight: 700;
  background: var(--paper); border: 2.5px solid var(--ink); box-shadow: var(--sh-sm);
}
.kicker b { color: var(--acid-dark); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ginger); animation: blip 2.2s infinite; }
@keyframes blip { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

.wm { font-family: var(--f-disp); text-transform: uppercase; line-height: .82; margin-top: 1.1rem; }
.wm__the {
  display: inline-block; font-family: var(--f-cond); letter-spacing: .3em;
  font-size: clamp(.9rem, 2.2vw, 1.3rem); padding: .2em .5em .1em .8em;
  background: var(--ink); color: var(--acid); margin-bottom: .4rem;
}
.wm__cool {
  display: block; font-size: clamp(3rem, 15vw, 9.5rem); letter-spacing: -.035em;
  background: linear-gradient(168deg, var(--gold-lite) 6%, var(--gold) 40%, var(--gold-deep) 68%, var(--gold-lite) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: clamp(3px,.6vw,7px) var(--ink); paint-order: stroke fill;
  filter: drop-shadow(6px 6px 0 var(--ink));
}
/* the portrait sits between the two words and the type overlaps it.
   both are spans inside the h1, so they must be made block-level or they
   stay inline and ignore width/aspect-ratio entirely. */
.hero__stack { display: block; position: relative; margin-top: -.06em; }
.hero__portrait {
  display: block; position: relative; z-index: 0;
  width: clamp(180px, 34vw, 320px); aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--ink); box-shadow: var(--sh-lg);
  background: var(--paper);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.wm__cat {
  position: relative; z-index: 1; display: block;
  margin-top: clamp(-3.2rem, -7vw, -1.6rem);
  font-size: clamp(3rem, 15vw, 9.5rem); letter-spacing: -.03em;
  color: var(--paper);
  -webkit-text-stroke: clamp(3px,.6vw,7px) var(--ink); paint-order: stroke fill;
  filter: drop-shadow(6px 6px 0 var(--ink));
  pointer-events: none;
}
.lede { max-width: 52ch; margin: 1.4rem auto 0; font-weight: 500; color: var(--ink-2); }
.lede b { font-weight: 800; }
.hero .btnrow { margin-top: 1.5rem; justify-content: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1.1rem; }
.chip {
  font-family: var(--f-cond); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3em .8em; background: var(--ink); color: var(--acid);
}

/* CA as a full-width strip, not a chip in a column */
.castrip { margin-top: clamp(1.8rem, 4vw, 3rem); }
.castrip__in {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .9rem 1.2rem;
}
.castrip__lab { font-family: var(--f-cond); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.castrip__addr { flex: 1 1 320px; min-width: 0; font-family: var(--f-mono); font-size: clamp(.66rem,1.5vw,.86rem); font-weight: 700; word-break: break-all; }
.ca__btn {
  flex-shrink: 0; font-family: var(--f-disp); font-size: .7rem; letter-spacing: .04em;
  padding: .6em 1.1em; text-transform: uppercase;
  background: var(--acid); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  transition: transform .12s, background .15s;
}
.ca__btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.ca__btn.is-done { background: var(--gold-lite); }

/* ══ 3 · TICKER ═════════════════════════════════════════════ */
.ticker { background: var(--ink); overflow: hidden; padding: .5rem 0; border-block: 3px solid var(--ink); }
.ticker__track {
  display: flex; gap: 2.4rem; width: max-content;
  animation: roll 32s linear infinite;
  font-family: var(--f-cond); font-size: .98rem; letter-spacing: .1em;
  color: var(--paper); white-space: nowrap; text-transform: uppercase;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track b { font-weight: 400; color: var(--acid); }
.ticker__track .up { color: var(--acid) } .ticker__track .dn { color: #ff9b8f }
.ticker__track span { display: inline-flex; gap: .4rem; align-items: center; }
@keyframes roll { to { transform: translateX(-50%) } }

/* ══ 4 · STATS — one inline console rail, no boxes ══════════ */
.rail { padding: clamp(1.6rem,3vw,2.4rem) 0; }
.rail__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.rail__t { font-family: var(--f-cond); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; }
.livemeta { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-family: var(--f-mono); color: var(--ink-faint); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); flex-shrink: 0; }
.pulse.is-live { background: var(--acid-dark); animation: blip 1.9s infinite; }
.pulse.is-err { background: var(--red); }

.rail__row {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr));
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.cell { padding: .9rem 1rem; border-left: 2px dashed var(--paper-3); }
.cell:first-child { border-left: 0; }
.cell__k { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.cell__v { display: block; font-family: var(--f-mono); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.45rem); margin-top: .18rem; }
.cell__s { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); margin-top: .1rem; }
.cell__s.up { color: var(--acid-dark) } .cell__s.dn { color: var(--red) }
.cell--price .cell__v { color: var(--gold-deep) }
@media (max-width: 900px) { .rail__row { grid-template-columns: repeat(2,minmax(0,1fr)) } .cell:nth-child(odd) { border-left: 0 } .cell { border-top: 2px dashed var(--paper-3) } .cell:nth-child(-n+2) { border-top: 0 } }

.pressure { display: flex; align-items: center; gap: .8rem; padding: .8rem 0 0; flex-wrap: wrap; }
.pressure__k { font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.bar { flex: 1 1 220px; height: 12px; background: var(--paper-3); border: 2.5px solid var(--ink); overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: var(--acid); border-right: 2.5px solid var(--ink); transition: width .9s var(--ease); }
.pressure__v { font-family: var(--f-mono); font-size: .74rem; font-weight: 700; }

/* ══ 5 · GENERATOR — controls LEFT in one card, canvas RIGHT ══ */
.gen { display: grid; gap: clamp(1.2rem,2.6vw,2rem); grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); align-items: start; }
@media (max-width: 980px) { .gen { grid-template-columns: 1fr } .gen__panel { order: 2 } .gen__stage { order: 1 } }

.gen__stage { position: sticky; top: 96px; }
@media (max-width: 980px) { .gen__stage { position: static } }
.stagewrap {
  position: relative; aspect-ratio: 1; max-width: 620px; margin-inline: auto;
  background: repeating-conic-gradient(var(--paper-3) 0% 25%, var(--paper) 0% 50%) 0 0 / 26px 26px;
  border: 4px solid var(--ink); box-shadow: var(--sh-lg); overflow: hidden;
}
.stagewrap.is-over { box-shadow: 0 0 0 6px var(--acid-dark), var(--sh-lg); }
#stage { width: 100%; height: 100%; touch-action: none; cursor: grab; }
#stage.is-drag { cursor: grabbing; }

.drop { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); }
.drop[hidden] { display: none; }
.drop__in { text-align: center; padding: 1.4rem; display: grid; gap: .5rem; justify-items: center; }
.drop__ico { display: grid; place-items: center; padding: 1.3rem 1.7rem; margin-bottom: .3rem; background: var(--acid); border: 4px dashed var(--ink); }
.drop__t { font-family: var(--f-disp); font-size: 1rem; max-width: 22ch; text-transform: uppercase; }
.drop__s { font-size: .74rem; color: var(--ink-faint); font-family: var(--f-mono); }
.drop__in .btn { margin-top: .4rem; }

.stagetip {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  padding: .38em .85em; font-size: .68rem; font-weight: 700;
  color: var(--acid); background: var(--ink); white-space: nowrap;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.stagetip.is-on { opacity: 1; }

/* toolbar sits under the canvas */
.stagebar { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: space-between; align-items: center; max-width: 620px; margin: .8rem auto 0; }
.stagebar__btns { display: flex; gap: .4rem; }
.segs { display: inline-flex; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--sh-sm); }
.seg { padding: .48em 1em; font-family: var(--f-disp); font-size: .72rem; text-transform: uppercase; color: var(--ink-soft); transition: background .15s, color .15s; }
.seg.is-on { background: var(--ink); color: var(--acid); }

/* ONE continuous panel with rules between blocks (not stacked cards) */
.gen__panel { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--sh); }
.blk { padding: 1.15rem 1.25rem; border-bottom: 2px dashed var(--paper-3); }
.blk:last-child { border-bottom: 0; }
.blk[hidden] { display: none; }
.blk--sel { background: var(--acid-wash); }
.blk__h { display: flex; align-items: center; gap: .5rem; font-family: var(--f-disp); font-size: .9rem; text-transform: uppercase; margin-bottom: .8rem; }
.blk__h span { display: grid; place-items: center; width: 21px; height: 21px; flex-shrink: 0; font-family: var(--f-mono); font-size: .64rem; color: var(--acid); background: var(--ink); }
.blk__h em { font-family: var(--f-mono); font-style: normal; font-size: .66rem; color: var(--ink-faint); margin-left: auto; text-transform: none; }

.note { font-size: .76rem; color: var(--ink-faint); margin-top: .5rem; line-height: 1.5; }
.note--c { text-align: center; font-family: var(--f-mono); }
.note--ok { color: var(--acid-dark); font-weight: 700; }
.traylabel { font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin: .95rem 0 .45rem; }
.tray { display: grid; gap: .42rem; grid-template-columns: repeat(auto-fill, minmax(66px,1fr)); }
.trayItem {
  display: grid; place-items: center; gap: .25rem; padding: .5rem .25rem .38rem;
  background: var(--paper-2); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  transition: transform .12s var(--ease), background .15s;
}
.trayItem:hover { transform: translate(-2px,-2px); background: var(--acid); }
.trayItem:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.trayItem img { height: 24px; width: auto; object-fit: contain; }
.trayItem span { font-size: .54rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }

.layers { display: grid; gap: .35rem; }
.layerRow { display: flex; align-items: center; gap: .5rem; padding: .35rem .4rem .35rem .5rem; background: var(--paper-2); border: 2px solid var(--ink); }
.layerRow.is-sel { background: var(--acid); }
.layerRow__pick { display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 0; text-align: left; }
.layerRow__thumb { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--ink); font-family: var(--f-mono); font-size: .58rem; }
.layerRow__thumb img { max-width: 19px; max-height: 19px; }
.layerRow__name { flex: 1; min-width: 0; font-size: .76rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layerRow__del { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.layerRow__del:hover { background: var(--red); border-color: var(--ink); color: #fff; }
.layersEmpty { font-size: .74rem; color: var(--ink-faint); font-family: var(--f-mono); }

.row { display: flex; gap: .4rem; }
.inp { flex: 1; min-width: 0; padding: .58em .8em; background: var(--paper-2); border: 2.5px solid var(--ink); font-family: var(--f-disp); font-size: .8rem; }
.inp::placeholder { color: var(--ink-faint); }
.ctl { display: block; margin-bottom: .8rem; }
.ctl > span { display: flex; justify-content: space-between; align-items: baseline; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .3rem; }
.ctl b { font-family: var(--f-mono); font-size: .76rem; color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--paper-3); border: 2.5px solid var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 19px; height: 19px; margin-top: -8px; background: var(--acid); border: 2.5px solid var(--ink); border-radius: 50%; }
input[type="range"]::-moz-range-track { height: 8px; background: var(--paper-3); border: 2.5px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; background: var(--acid); border: 2.5px solid var(--ink); border-radius: 50%; }
.swatches { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.sw { width: 28px; height: 28px; border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .12s; }
.sw:hover { transform: translateY(-2px); }
.sw.is-on { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatches--bg .sw { width: auto; padding: .4em .62em; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.chk { display: flex; align-items: center; gap: .5rem; margin-top: .45rem; font-size: .82rem; font-weight: 600; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--acid-dark); cursor: pointer; flex-shrink: 0; }
.blk .btn--lg { margin-top: .8rem; }

/* ══ 6 · REASONS — alternating zig-zag rows, no card grid ══ */
.zig { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); }
.zigrow { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem,3vw,2.4rem); align-items: center; }
.zigrow:nth-child(even) { grid-template-columns: 1fr auto; }
.zigrow:nth-child(even) .zignum { order: 2; }
.zigrow:nth-child(even) .zigtxt { order: 1; text-align: right; }
.zignum {
  font-family: var(--f-disp); font-size: clamp(4rem, 13vw, 9rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  opacity: .85;
}
.zigtxt { max-width: 60ch; }
.zigtxt h3 { font-family: var(--f-disp); font-size: clamp(1.15rem, 2.6vw, 1.6rem); text-transform: uppercase; margin-bottom: .45rem; }
.zigtxt p { color: var(--ink-2); }
@media (max-width: 700px) {
  .zigrow, .zigrow:nth-child(even) { grid-template-columns: 1fr; gap: .3rem; }
  .zigrow:nth-child(even) .zignum { order: 0 }
  .zigrow:nth-child(even) .zigtxt { order: 0; text-align: left }
  .zignum { font-size: 3.6rem }
}

/* ══ 7 · GALLERY — varied tile sizes ══════════════════════ */
.gal { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); grid-auto-flow: dense; }
.galItem { padding: 8px; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--sh-sm); cursor: zoom-in; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.galItem:first-child { grid-column: span 2; grid-row: span 2; }
.galItem:hover { transform: translate(-3px,-3px); box-shadow: var(--sh); }
.galItem img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.galItem figcaption { font-family: var(--f-hand); font-size: .95rem; text-align: center; padding-top: .3rem; }
.galEmpty { grid-column: 1/-1; padding: clamp(2rem,5vw,3.2rem) 1.5rem; text-align: center; background: var(--paper); border: 4px dashed var(--ink); }
.galEmpty h3 { font-family: var(--f-disp); font-size: 1.1rem; text-transform: uppercase; margin-bottom: .4rem; }
.galEmpty p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto .9rem; font-size: .94em; }
.galEmpty code { background: var(--paper-3); padding: .12em .4em; font-family: var(--f-mono); font-size: .88em; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 4vmin; background: rgba(13,13,13,.93); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border: 5px solid var(--paper); }
.lightbox__x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; font-size: 1.15rem; background: var(--paper); border: 3px solid var(--ink); }

/* ══ 8 · BUY — horizontal flow, arrows between steps ════════ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; }
.flowstep { position: relative; padding: 1.3rem 1.1rem; background: var(--paper); border: 3px solid var(--ink); border-right-width: 0; }
.flowstep:last-child { border-right-width: 3px; }
.flowstep--last { background: var(--acid-wash); }
.flowstep__n { font-family: var(--f-disp); font-size: 2.2rem; line-height: .9; color: transparent; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
.flowstep h3 { font-family: var(--f-disp); font-size: .98rem; text-transform: uppercase; margin: .5rem 0 .35rem; }
.flowstep p { font-size: .86em; color: var(--ink-soft); }
.flowstep::after {
  content: "▸"; position: absolute; top: 50%; right: -11px; transform: translateY(-50%);
  z-index: 2; font-size: 1.1rem; line-height: 1; color: var(--ink);
  background: var(--acid); border: 2.5px solid var(--ink); width: 22px; height: 22px;
  display: grid; place-items: center;
}
.flowstep:last-child::after { display: none; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr } .flowstep { border-right-width: 3px; border-bottom-width: 0 } .flowstep:nth-child(-n+2) { border-bottom-width: 0 } .flowstep:nth-last-child(-n+2) { border-bottom-width: 3px } .flowstep::after { display: none } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr } .flowstep { border-bottom-width: 0 } .flowstep:last-child { border-bottom-width: 3px } }

/* ══ 9 · TOKENOMICS — bento, varied tile sizes ═════════════ */
.bento { display: grid; gap: .9rem; grid-template-columns: repeat(4, 1fr); }
.bt { padding: 1.3rem; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--sh-sm); display: flex; flex-direction: column; justify-content: space-between; gap: .8rem; }
.bt__ico { font-size: 1.5rem; line-height: 1 }
.bt__v { font-family: var(--f-disp); font-size: clamp(1.2rem,3vw,1.7rem); text-transform: uppercase; }
.bt__k { font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.bt--hero { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--paper); justify-content: center; align-items: flex-start; gap: .25rem; }
.bt--hero .bt__v { font-size: clamp(2.6rem, 8vw, 5rem); color: var(--acid); line-height: .9 }
/* the label is the only thing explaining a very large number, so keep it
   readable: bigger than the other tile labels and less tracked out */
.bt--hero .bt__k { color: var(--paper); font-size: .8rem; letter-spacing: .1em }
.bt__note { font-size: .92rem; font-weight: 600; color: var(--paper-3); margin-top: .3rem }
.bt--hero .scribble { color: var(--acid); margin-top: .15rem }
.bt--wide { grid-column: span 2 }
.bt__list { display: grid; gap: 0; }
.bt__li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 2px dashed var(--paper-3); font-size: .84rem; }
.bt__li:last-child { border-bottom: 0 }
.bt__li dt { font-weight: 700; color: var(--ink-faint); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase }
.bt__li dd { margin: 0; font-family: var(--f-mono); font-weight: 700 }
@media (max-width: 820px) { .bento { grid-template-columns: repeat(2,1fr) } .bt--hero, .bt--wide { grid-column: span 2 } .bt--hero { grid-row: auto } }

/* ══ 10 · CHART — split with a facts column ════════════════ */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px, 300px); gap: 1rem; align-items: stretch; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr } }
.chartbox { position: relative; aspect-ratio: 16/10; background: var(--paper); border: 4px solid var(--ink); box-shadow: var(--sh); overflow: hidden; }
.chartbox iframe { width: 100%; height: 100%; border: 0 }
@media (max-width: 700px) { .chartbox { aspect-ratio: 4/5 } }
.sidecard { padding: 1.3rem; background: var(--ink); color: var(--paper); border: 4px solid var(--ink); box-shadow: var(--sh); display: flex; flex-direction: column; gap: .8rem; }
.sidecard h3 { font-family: var(--f-disp); font-size: 1rem; text-transform: uppercase; color: var(--acid) }
.sidecard p { font-size: .86em; color: var(--paper-3) }
.sidecard .btn { margin-top: auto }

/* ══ 11 · FAQ — two columns ════════════════════════════════ */
.faq { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; align-content: start; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr } }
.q { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--sh-sm); height: max-content; }
.q summary { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.05rem; font-family: var(--f-disp); font-size: .9rem; cursor: pointer; list-style: none; text-transform: uppercase; }
.q summary::-webkit-details-marker { display: none }
.q summary::after { content: "+"; margin-left: auto; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; font-size: 1.05rem; color: var(--acid); background: var(--ink); transition: transform .2s var(--ease) }
.q[open] summary::after { content: "–"; transform: rotate(180deg) }
.q summary:hover { background: var(--acid-wash) }
.q > div { padding: 0 1.05rem 1.05rem }
.q p { color: var(--ink-soft); font-size: .93em }
.q code { background: var(--paper-3); padding: .12em .4em; word-break: break-all; font-family: var(--f-mono); font-size: .88em }

/* ══ 12 · FINALE — asymmetric band ════════════════════════ */
.finale { padding: clamp(2.6rem,5vw,4.5rem) 0 }
.finale__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(1.4rem,3vw,2.6rem); align-items: center }
@media (max-width: 760px) { .finale__in { grid-template-columns: 1fr; text-align: center; justify-items: center } }
.finale__h {
  font-family: var(--f-disp); font-size: clamp(1.9rem, 6.5vw, 4rem); line-height: .95;
  text-transform: uppercase; color: var(--paper);
  -webkit-text-stroke: clamp(3px,.55vw,6px) var(--ink); paint-order: stroke fill;
  filter: drop-shadow(5px 5px 0 var(--ink));
}
.finale__cta { display: grid; gap: .6rem; justify-items: stretch }

/* ══ 13 · FOOTER — column layout ══════════════════════════ */
.foot { background: var(--ink); color: var(--paper-3); padding: clamp(2.2rem,4.5vw,3.4rem) 0 1.6rem; border-top: 3px solid var(--ink) }
.foot__cols { display: grid; gap: 1.6rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .foot__cols { grid-template-columns: 1fr 1fr } .foot__brandcol { grid-column: span 2 } }
.foot__brandcol { display: grid; gap: .7rem; align-content: start }
.foot__brand { display: flex; align-items: center; gap: .8rem }
.foot__brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--acid) }
.foot__wm { font-family: var(--f-disp); font-size: 1.25rem; color: var(--paper); text-transform: uppercase; line-height: 1 }
.foot__sm { font-family: var(--f-hand); font-size: 1rem; color: var(--acid) }
.foot__ct { font-family: var(--f-cond); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--acid); margin-bottom: .2rem }
.foot__col a { display: block; color: var(--paper-3); font-size: .86rem; text-decoration: none; padding: .22rem 0 }
.foot__col a:hover { color: var(--acid) }
.foot__dis { max-width: 82ch; font-size: .75rem; line-height: 1.65; color: #8e8e86; border-top: 2px dashed #333; padding-top: 1.1rem; margin-top: 1.6rem }
.foot__dis b { color: var(--paper-3) }
.foot__c { font-size: .73rem; color: #6a6a63; font-family: var(--f-mono); margin-top: .8rem }

/* ── toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; z-index: 500; left: 50%; bottom: 24px; transform: translate(-50%,160%);
  padding: .78em 1.35em; font-family: var(--f-disp); font-size: .82rem;
  color: var(--acid); background: var(--ink); border: 3px solid var(--acid);
  transition: transform .3s var(--ease); max-width: calc(100% - 2rem); text-align: center;
}
.toast.is-on { transform: translate(-50%,0) }
.toast.is-bad { border-color: var(--red); color: #ffb3ab }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease) }
.reveal.is-in { opacity: 1; transform: none }

/* ── nav responsive ───────────────────────────────────────── */
@media (max-width: 1060px) {
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: .6rem 1.2rem 1rem; background: var(--paper);
    border: 3px solid var(--ink); box-shadow: var(--sh);
    transform: scaleY(0); transform-origin: top; opacity: 0;
    transition: transform .22s var(--ease), opacity .18s;
  }
  .nav__links.is-open { transform: scaleY(1); opacity: 1 }
  .nav__links a { padding: .7em 0; border-bottom: 2px dashed var(--paper-3); font-size: .96rem }
  .nav__links a::after { display: none }
  .nav__in { position: relative }
  .burger { display: flex }
  .nav__cta { margin-left: auto }
}
@media (max-width: 620px) {
  .nav__buy { display: none }
  .hero .btnrow .btn { flex: 1 1 100% }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
  html { scroll-behavior: auto }
  .reveal { opacity: 1; transform: none }
  .nav__links { transform: none !important; opacity: 1 !important }
  .nav__links:not(.is-open) { display: none }
}
@media print { .nav, .ticker, .gen__panel, .foot__col { display: none } }
