:root {
  --ink: #0d0b14;
  --ink-2: #16131f;
  --paper: #f1ead8;
  --paper-2: #e3dbc5;
  --hot: #ff5b14;
  --hot-2: #c63f05;
  --text-dark: #1b1722;
  --line-dark: rgba(241, 234, 216, .14);
  --line-light: rgba(27, 23, 34, .2);
  --display: "Bungee", "Instrument Sans", sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --px: "Press Start 2P", monospace;
  --vt: "VT323", monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
em { font-style: normal; color: var(--hot); }
code, kbd { font-family: var(--mono); font-size: .88em; background: rgba(255, 91, 20, .14); padding: .1em .4em; border-radius: 4px; }
kbd { border: 1px solid currentColor; background: none; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.px { font-family: var(--px); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.muted { opacity: .62; }
.small { font-size: 14px; }
.center { text-align: center; justify-content: center; }
::selection { background: var(--hot); color: var(--ink); }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

/* ---------- boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--paper); color: var(--text-dark); transition: opacity .8s ease, visibility .8s;
  background-image: radial-gradient(rgba(27,23,34,.13) 1px, transparent 1.2px); background-size: 7px 7px;
}
.boot.is-gone { opacity: 0; visibility: hidden; }
.boot__mascot { width: 150px; height: 150px; object-fit: contain; animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.boot__word { font-family: var(--display); font-size: clamp(44px, 9vw, 84px); line-height: .9; letter-spacing: .02em; }
.boot__bar { width: min(320px, 70vw); height: 18px; border: 3px solid var(--text-dark); padding: 2px; }
.boot__bar i { display: block; height: 100%; width: 8%; background: repeating-linear-gradient(90deg, var(--hot) 0 10px, transparent 10px 13px); transition: width .3s steps(8); }
.boot__txt { font-family: var(--px); font-size: 12px; letter-spacing: .12em; }
.boot__txt.is-start { animation: blink .8s steps(1) infinite; color: var(--hot-2); cursor: pointer; }
@keyframes blink { 50% { opacity: 0; } }
.boot__foot { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; opacity: .55; }

/* ---------- 3D stage ---------- */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; }
main, .footer { position: relative; z-index: 2; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); transition: background .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(13, 11, 20, .82); backdrop-filter: blur(10px); border-color: var(--line-dark); }
.topbar.is-light { color: var(--text-dark); }
.topbar.is-light.is-solid { background: rgba(241, 234, 216, .86); border-color: var(--line-light); }
.wordmark { font-family: var(--display); font-size: 24px; letter-spacing: .03em; line-height: 1; }
.wordmark--small { font-size: 20px; }
.hud { display: flex; gap: 22px; font-family: var(--vt); font-size: 22px; letter-spacing: .06em; }
.hud b { color: var(--hot); font-weight: 400; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 99px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.iconbtn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; opacity: .85; }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 99px;
  background: var(--hot); color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 6px 0 var(--hot-2); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--hot-2); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--hot-2); }
.btn--ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; box-shadow: none; }
.btn--ghost:hover { box-shadow: none; background: rgba(255,255,255,.06); }
.btn--small { padding: 9px 16px; font-size: 13px; box-shadow: 0 4px 0 var(--hot-2); }
.gb {
  font-family: var(--px); font-size: 10px; letter-spacing: .06em; padding: 12px 16px; border: 3px solid currentColor;
  background: transparent; box-shadow: 4px 4px 0 currentColor; transition: transform .08s, box-shadow .08s;
}
.gb:active { transform: translate(4px, 4px); box-shadow: 0 0 0 currentColor; }
.gb--go { background: var(--hot); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(96px, 14vw, 180px) var(--gutter); }
.light { background: var(--paper); color: var(--text-dark); }
.light em { color: var(--hot-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.chapter { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 92px); line-height: .95; letter-spacing: .01em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }

/* hero */
.hero { min-height: 100svh; display: grid; align-items: center; padding-top: 120px; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0 0; background-size: cover; background-position: center bottom; z-index: -1; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,20,.88) 0%, rgba(13,11,20,.45) 55%, rgba(13,11,20,.1) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.hero__inner { max-width: 640px; display: grid; gap: 22px; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 14vw, 190px); line-height: .82; letter-spacing: .01em; text-shadow: 0 0 60px rgba(255, 91, 20, .35); }
.hero__tag { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.hero__copy { max-width: 520px; opacity: .82; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); opacity: .5; animation: bob 1.6s ease-in-out infinite; }

.countdown { display: grid; gap: 8px; margin-top: 4px; padding: 16px 18px 14px; border: 2px solid var(--line-dark); background: rgba(13, 11, 20, .55); backdrop-filter: blur(4px); width: fit-content; max-width: 100%; }
.countdown__label { font-family: var(--px); font-size: 9px; letter-spacing: .1em; color: var(--hot); }
.countdown__digits { display: flex; align-items: flex-start; gap: 8px; font-family: var(--vt); }
.countdown__digits span { display: grid; justify-items: center; }
.countdown__digits b { font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: .9; letter-spacing: .04em; }
.countdown__digits i { font-style: normal; font-size: 15px; letter-spacing: .14em; opacity: .55; }
.countdown__digits em { font-size: clamp(36px, 5vw, 52px); line-height: .9; color: var(--hot); animation: blink 1s steps(1) infinite; }

/* manifesto */
.manifesto { display: grid; gap: 28px; min-height: 90vh; align-content: center; }
.manifesto__text { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; max-width: 1180px; }
.js .manifesto__text .w { opacity: .14; }

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step img { border-radius: 16px; border: 1px solid var(--line-dark); aspect-ratio: 1; object-fit: cover; }
.step__n { position: absolute; top: 14px; left: 14px; font-family: var(--px); font-size: 11px; background: var(--ink); color: var(--hot); padding: 8px 10px; border-radius: 6px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .02em; margin-top: 6px; }
.step p { opacity: .75; }
.split { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 14px; max-width: 900px; }
.split__bar { display: flex; height: 54px; border: 2px solid var(--paper); font-family: var(--px); font-size: 10px; }
.split__bar span { width: var(--w); display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; }
.split__bar span:first-child { background: var(--hot); color: var(--ink); }
.split__bar span:last-child { background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(241,234,216,.18) 6px 8px); }

/* practice */
.practice { background: radial-gradient(ellipse at 50% 30%, #1f1a2b 0%, var(--ink) 65%); }
.cab {
  max-width: 760px; margin: 0 auto; border-radius: 220px 220px 28px 28px; padding: 26px 26px 22px;
  background: var(--paper); color: var(--text-dark); border: 6px solid var(--hot);
  box-shadow: 0 0 0 6px var(--ink), 0 0 80px rgba(255, 91, 20, .25), 0 40px 80px rgba(0,0,0,.5);
}
.cab__head { display: flex; justify-content: space-between; align-items: center; padding: 34px 40px 16px; }
.cab__score b { color: var(--hot-2); }
.cab__glass { position: relative; border-radius: 180px 180px 14px 14px; overflow: hidden; background: var(--ink); border: 4px solid var(--text-dark); }
.cab__glass canvas { display: block; width: 100%; aspect-ratio: 4 / 5; cursor: crosshair; touch-action: manipulation; }
.cab__panel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 20px; }
.cab__panel .gb { color: var(--text-dark); }
.cab__panel .gb--go { color: var(--ink); box-shadow: 4px 4px 0 var(--text-dark); }
.cab__hint { margin-left: auto; opacity: .5; font-size: 8px; }

/* fair */
.fair__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.card { display: grid; gap: 10px; align-content: start; padding: 16px 16px 22px; border: 1px solid var(--line-light); border-radius: 18px; background: rgba(255,255,255,.35); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(27,23,34,.12); }
.card img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; margin-top: 6px; }
.card p { font-size: 15.5px; opacity: .8; }
.card a.inline { color: var(--hot-2); border-bottom: 1px solid currentColor; }

/* flow */
.flow__svg { width: 100%; max-width: 1040px; display: block; margin: 0 auto; color: var(--paper); }
.flow__node rect { fill: var(--ink-2); stroke: var(--line-dark); stroke-width: 2; }
.flow__node--hot rect { fill: var(--hot); stroke: var(--hot); }
.flow__node text { fill: var(--paper); font-family: var(--px); font-size: 13px; text-anchor: middle; }
.flow__node text.sub { font-family: var(--sans); font-size: 14px; opacity: .65; }
.flow__node--hot text { fill: var(--ink); }
.flow__node--hot text.sub { opacity: .75; }
.flow__path { fill: none; stroke: var(--paper); stroke-width: 2; stroke-dasharray: 6 7; opacity: .7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.flow__ball { fill: var(--hot); filter: drop-shadow(0 0 6px var(--hot)); }
.slots { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 180px; max-width: 760px; margin: 56px auto 16px; }
.slots span { flex: 1; height: var(--h); display: grid; place-items: start center; padding-top: 10px; border: 2px solid var(--paper); border-bottom-width: 6px; font-family: var(--px); font-size: 10px; }
.slots__top { background: var(--hot); color: var(--ink); border-color: var(--hot) !important; box-shadow: 0 0 40px rgba(255,91,20,.45); }

.flow__list { display: none; }
@media (max-width: 640px) {
  .flow__svg { display: none; }
  .flow__list { display: grid; gap: 30px; position: relative; }
  .flow__list::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; border-left: 2px dashed var(--line-dark); }
  .flow__list li { position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 58px; border: 2px solid var(--line-dark); border-radius: 14px; background: var(--ink-2); }
  .flow__list li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); }
  .flow__list li:nth-child(n+3) { margin-left: 24px; }
  .flow__list .is-hot { background: var(--hot); color: var(--ink); border-color: var(--hot); }
  .flow__list .is-hot::before { background: var(--ink); }
  .flow__list b { font-family: var(--px); font-size: 11px; font-weight: 400; }
  .flow__list span { font-size: 15px; opacity: .75; }
}

/* timeline */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.stage-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 18px 26px; border: 3px solid var(--text-dark); box-shadow: 6px 6px 0 var(--text-dark); background: var(--paper); }
.stage-card b { font-family: var(--vt); font-weight: 400; font-size: 30px; line-height: 1; }
.stage-card p { font-size: 15px; opacity: .8; }
.stage-card .px { color: var(--hot-2); font-size: 9px; }
.stage-card.is-done { opacity: .55; }
.stage-card.is-done::after { content: "CLEAR"; position: absolute; top: 18px; right: 14px; font-family: var(--px); font-size: 8px; border: 2px solid; padding: 4px 6px; transform: rotate(6deg); }
.stage-card.is-next { background: var(--hot); box-shadow: 6px 6px 0 var(--text-dark); }
.stage-card.is-next .px { color: var(--text-dark); }

/* closing */
.closing { min-height: 110vh; display: grid; align-content: end; justify-items: center; gap: 22px; text-align: center; padding-bottom: 64px; }
.closing__title { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 150px); line-height: .9; text-shadow: 0 0 60px rgba(255, 91, 20, .4); }
.closing__mascot { width: 150px; height: 150px; object-fit: contain; animation: bob 1.4s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255,91,20,.4)); }
@media (min-width: 900px) { .closing__mascot { display: none; } }
.ca { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 2px dashed var(--line-dark); flex-wrap: wrap; justify-content: center; max-width: 100%; }
.ca--hero { justify-content: flex-start; border-color: rgba(255,91,20,.55); background: rgba(13,11,20,.55); backdrop-filter: blur(4px); width: fit-content; }
.ca--hero .btn--small { margin-left: 4px; }
.ca .gb[disabled] { opacity: .45; cursor: not-allowed; }
.ca code { background: none; font-size: 14px; word-break: break-all; }
.ca .gb { color: var(--paper); padding: 8px 10px; box-shadow: 3px 3px 0 currentColor; border-width: 2px; }

.footer { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 48px var(--gutter) 56px; border-top: 1px solid var(--line-dark); background: var(--ink); }
.footer p { max-width: 640px; }

/* ---------- socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.socials a { color: var(--hot); border-bottom: 1px dashed currentColor; }
.machine .socials { justify-content: flex-start; margin-top: 14px; }

/* ---------- nav, connect, modal, toast ---------- */
.nav { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav a, .navlink { opacity: .7; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav a:hover, .navlink:hover, .nav a[aria-current] { opacity: 1; color: var(--hot); }
[data-connect].is-connected { background: var(--ink-2); color: var(--paper); border: 1.5px solid var(--hot); box-shadow: 0 4px 0 var(--hot-2); font-family: var(--mono); font-size: 12px; }
.topbar.is-light [data-connect].is-connected { background: var(--paper); color: var(--text-dark); }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(13, 11, 20, .72); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal__card { width: min(440px, 100%); display: grid; gap: 14px; padding: 24px; background: var(--paper); color: var(--text-dark); border: 4px solid var(--text-dark); box-shadow: 8px 8px 0 var(--hot); }
.modal__head { display: grid; gap: 6px; }
.modal__head .px { color: var(--hot-2); font-size: 9px; }
.modal__head h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.modal__text { font-size: 15px; opacity: .8; }
.modal__note { font-size: 13px; opacity: .6; }
.modal__close { justify-self: start; color: var(--text-dark); }
.wallets { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--text-dark); background: #fff8; text-align: left; font-weight: 600; transition: transform .08s, box-shadow .08s; }
.wallet-opt:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--text-dark); }
.wallet-opt img, .wallet-opt__ph { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.wallet-opt__ph { background: var(--hot); }
.wallet-opt span { flex: 1; }
.wallet-opt small { font-family: var(--px); font-size: 7px; opacity: .55; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 140%); padding: 12px 18px; background: var(--paper); color: var(--text-dark); border: 3px solid var(--text-dark); box-shadow: 5px 5px 0 var(--hot); font-weight: 600; transition: transform .3s; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- machine page ---------- */
.page-machine { background: radial-gradient(ellipse at 50% 0%, #241c33 0%, var(--ink) 60%); min-height: 100vh; }
.machine { position: relative; z-index: 2; padding: 120px var(--gutter) 80px; max-width: 1240px; margin: 0 auto; }
.machine__head { display: grid; gap: 14px; margin-bottom: 40px; }
.machine__status { color: var(--hot); font-size: 10px; }
.machine__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.panel { border: 3px solid var(--paper); box-shadow: 6px 6px 0 var(--hot); background: var(--ink-2); }
.panel--seat { grid-row: span 2; background: var(--paper); color: var(--text-dark); border-color: var(--text-dark); }
.panel--drop { border-color: var(--hot); box-shadow: 6px 6px 0 var(--paper); }
.panel__title { padding: 12px 16px; border-bottom: 3px solid currentColor; font-size: 10px; }
.panel--seat .panel__title { background: var(--hot); color: var(--ink); border-color: var(--text-dark); }
.panel__body { display: grid; gap: 12px; padding: 18px 16px 20px; }
.panel__body .lead { font-size: 18px; font-weight: 600; }
.panel__body a { color: var(--hot); }
.panel--seat .panel__body a { color: var(--hot-2); }
.kv { display: flex; align-items: baseline; gap: 10px; font-family: var(--vt); font-size: 22px; letter-spacing: .03em; }
.kv span { white-space: nowrap; opacity: .7; }
.kv i { flex: 1; border-bottom: 2px dotted currentColor; opacity: .3; transform: translateY(-5px); }
.kv b { font-weight: 400; text-align: right; }
.kv.hot b { color: var(--hot); }
.panel--seat .kv.hot b { color: var(--hot-2); }
.amount { display: flex; gap: 10px; margin-top: 6px; }
.amount input { flex: 1; min-width: 0; padding: 12px 14px; font-family: var(--vt); font-size: 28px; background: #fff; color: var(--text-dark); border: 3px solid var(--text-dark); outline: none; }
.amount input:focus { box-shadow: 4px 4px 0 var(--hot); }
.amount .gb, .actions .gb { color: var(--text-dark); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions .gb--go { grid-column: 1 / -1; color: var(--ink); box-shadow: 4px 4px 0 var(--text-dark); padding: 16px; font-size: 11px; }
.gb[disabled] { opacity: .4; cursor: not-allowed; }
.panel .gb--go { box-shadow: 4px 4px 0 var(--paper); }
.panel--seat .gb--go { box-shadow: 4px 4px 0 var(--text-dark); color: var(--ink); }
.note { font-family: var(--px); font-size: 9px; line-height: 1.6; }
.note.ok { color: #1f8a4c; } .note.warn { color: var(--hot-2); }
.demo { display: grid; gap: 10px; padding: 14px; border: 3px dashed var(--hot-2); background: rgba(255,91,20,.08); }
.demo p { font-size: 14.5px; }
.panel--draw { grid-column: 1 / -1; }
.slots-table { width: 100%; border-collapse: collapse; font-family: var(--vt); font-size: 20px; }
.slots-table th { font-family: var(--px); font-size: 8px; text-align: left; opacity: .6; padding: 6px 6px 8px; border-bottom: 2px solid var(--line-dark); }
.slots-table td { padding: 5px 6px; border-bottom: 1px dashed var(--line-dark); }
.slots-table tr.is-mine td { color: var(--hot); }
.slots-table em { font-family: var(--px); font-size: 8px; }
.gb--mini { padding: 6px 8px; font-size: 8px; box-shadow: 2px 2px 0 var(--paper); }
.machine__foot { margin-top: 32px; max-width: 760px; }

/* ---------- docs ---------- */
.page-docs { background: var(--ink); }
.docs { position: relative; z-index: 2; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; max-width: 1180px; margin: 0 auto; padding: 120px var(--gutter) 96px; }
.docs__toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 14px; }
.docs__toc .px { color: var(--hot); font-size: 10px; }
.docs__toc ol { display: grid; gap: 8px; counter-reset: t; }
.docs__toc li { counter-increment: t; }
.docs__toc a { display: flex; gap: 10px; font-size: 15px; opacity: .7; }
.docs__toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--vt); font-size: 18px; color: var(--hot); opacity: .8; }
.docs__toc a:hover { opacity: 1; }
.docs__body { display: grid; gap: 22px; min-width: 0; }
.docs__body section { display: grid; gap: 14px; padding: 36px 0 0; border-top: 1px solid var(--line-dark); scroll-margin-top: 90px; }
.docs__body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.docs__body h3 { font-family: var(--px); font-size: 11px; color: var(--hot); margin-top: 8px; }
.docs__body p, .docs__body li { opacity: .86; max-width: 72ch; }
.docs__body a { color: var(--hot); border-bottom: 1px dashed currentColor; }
.docs__lead { font-size: 20px; max-width: 64ch; }
.docs__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.docs__cards > div, .docs__timeline > div { display: grid; gap: 6px; padding: 16px; border: 2px solid var(--line-dark); background: var(--ink-2); }
.docs__cards .px, .docs__timeline .px { color: var(--hot); font-size: 9px; }
.docs__cards b { font-family: var(--vt); font-weight: 400; font-size: 26px; line-height: 1; }
.docs__cards p, .docs__timeline p { font-size: 15px; }
.docs__steps { display: grid; gap: 10px; counter-reset: s; }
.docs__steps li { counter-increment: s; position: relative; padding-left: 44px; }
.docs__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--px); font-size: 10px; background: var(--hot); color: var(--ink); }
.docs__note { padding: 14px 16px; border-left: 4px solid var(--hot); background: rgba(255,91,20,.08); }
.docs__timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.docs__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs__table th { text-align: left; font-family: var(--px); font-size: 8px; padding: 10px 8px; border-bottom: 2px solid var(--line-dark); opacity: .7; }
.docs__table td { padding: 10px 8px; border-bottom: 1px dashed var(--line-dark); vertical-align: top; }
.docs__table code { background: none; padding: 0; }
.docs__list { display: grid; gap: 10px; padding-left: 18px; list-style: square; }
.docs__list li::marker { color: var(--hot); }
.docs__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.docs__two > div { padding: 16px; border: 2px solid var(--line-dark); display: grid; gap: 10px; align-content: start; }
.docs__two ul { display: grid; gap: 6px; padding-left: 18px; list-style: square; font-size: 15px; }
.docs__can .px { color: var(--hot); font-size: 9px; }
.docs__cant { background: rgba(255,91,20,.08); border-color: rgba(255,91,20,.45) !important; }
.docs__cant .px { color: var(--paper); font-size: 9px; }
.docs details { border: 2px solid var(--line-dark); padding: 12px 16px; background: var(--ink-2); }
.docs details + details { margin-top: -6px; }
.docs summary { cursor: pointer; font-weight: 600; }
.docs summary::marker { color: var(--hot); }
.docs details p { margin-top: 10px; }
.docs .socials { justify-content: flex-start; margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .steps, .fair__grid { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .hud__hi { display: none; }
  .machine__grid { grid-template-columns: 1fr; }
  .panel--seat { grid-row: auto; }
  .topbar__buy, .navlink { display: none; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs__toc { position: static; }
  .docs__toc ol { grid-template-columns: 1fr 1fr; }
  .docs__timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pill, .hud, .nav { display: none; }
  .docs__cards, .docs__timeline, .docs__two, .docs__toc ol { grid-template-columns: 1fr; }
  .topbar #mute { display: none; }
  .steps, .fair__grid, .stages { grid-template-columns: 1fr; }
  .cab { border-radius: 140px 140px 20px 20px; padding: 16px 14px 16px; border-width: 4px; }
  .cab__head { padding: 26px 22px 12px; }
  .cab__glass { border-radius: 120px 120px 10px 10px; }
  .cab__hint { display: none; }
  .hero__bg::after { background: linear-gradient(0deg, var(--ink) 10%, rgba(13,11,20,.55) 60%, rgba(13,11,20,.35) 100%); }
  .countdown__digits { gap: 4px; }
  .flow__node text { font-size: 16px; }
  .flow__node text.sub { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .manifesto__text .w { opacity: 1; }
}
