:root {
  --bg: #0B0B0A; --fg: #ECE9E2; --dim: #75726B; --line: #262522; --sig: #39FF6A; --red: #FF3B3B;
  --pad: clamp(16px, 3vw, 40px);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sig); color: #000; }
.dim { color: var(--dim); }
.sig { color: var(--sig); }
main, .foot { position: relative; z-index: 1; }

/* backdrop */
.gridbg { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .4;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc((100vw - 2 * var(--pad)) / 12) 48px; background-position: var(--pad) 0; }
.scan { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 40; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--scan-c, var(--sig)), transparent); }
.scan.go { animation: scan .55s linear; }
@keyframes scan { 0% { top: 0; opacity: .9; } 100% { top: 100vh; opacity: 0; } }

/* crosshair cursor (fine pointers only) */
.crosshair { display: none; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.ch-h, .ch-v { position: fixed; background: rgba(236,233,226,.14); }
.ch-h { left: 0; right: 0; height: 1px; top: 0; }
.ch-v { top: 0; bottom: 0; width: 1px; left: 0; }
.ch-read { position: fixed; left: 0; top: 0; font-size: 10px; color: var(--sig); white-space: nowrap; padding: 2px 5px; background: rgba(11,11,10,.8); }
@media (hover: hover) and (pointer: fine) { .crosshair { display: block; opacity: 0; transition: opacity .3s; } .crosshair.on { opacity: 1; } }

/* top bar */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: rgba(11,11,10,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar > * { padding: 11px 0; white-space: nowrap; }
.bar-brand { font-weight: 700; }
.bar-mid, .bar-rec { color: var(--dim); }
.bar-rec b { color: var(--fg); font-weight: 400; }
.bar-cta { text-align: right; color: var(--sig); }
.bar-cta:hover { text-decoration: underline; }
.rec-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 760px) { .bar { grid-template-columns: 1fr auto; gap: 16px; } .bar-mid, .bar-rec { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--fg); padding: 15px 20px; color: var(--fg); background: none; font: 700 13px var(--mono); cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .2s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--sig); transform: translateX(-101%); transition: transform .25s cubic-bezier(.7,0,.2,1); z-index: -1; }
.btn:hover, .btn:focus-visible { color: #000; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); }
.btn:hover i, .btn:focus-visible i { background: #000; }

.glitch { display: inline-block; }
.glitch.hit { animation: gl .18s steps(2); }
@keyframes gl { 0% { transform: translate(3px,-2px); text-shadow: -4px 0 #FF3B3B, 4px 0 #00F5FF; } 50% { transform: translate(-3px,1px); text-shadow: 4px 0 #FF3B3B, -4px 0 #00F5FF; } 100% { transform: none; text-shadow: none; } }

.lbl { color: var(--dim); font-size: 11px; letter-spacing: .1em; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; }
.lbl.mt { margin-top: 14px; }
.h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(48px, 7vw, 112px); line-height: .86; letter-spacing: -.06em; margin: 14px 0 0; }
.sub { max-width: 400px; color: #BDB9B0; margin: 0 0 22px; font-size: 13.5px; }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 700px; }
.hero-arena { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.cross { position: absolute; inset: 0; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--line); }
.cross::before { left: 56%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.panel { position: absolute; z-index: 3; }
.p-copy { left: var(--pad); top: 76px; max-width: 540px; }
.p-vel { right: var(--pad); top: 76px; text-align: right; width: 300px; }
.p-feed { left: var(--pad); bottom: 40px; width: 300px; }
.p-spark { right: var(--pad); bottom: 40px; width: 320px; }
.hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(76px, 10.5vw, 176px); line-height: .82; letter-spacing: -.06em; margin: 14px 0 20px; }
.ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.p-copy .hint { display: block; margin-top: 14px; }
.hint { font-size: 10.5px; color: var(--dim); letter-spacing: .06em; transition: opacity .5s; }
.hint.off { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.big { font-family: var(--sans); font-weight: 500; font-size: clamp(64px, 8vw, 128px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rally { font-family: var(--sans); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.rally.pop { animation: pop .22s ease-out; }
@keyframes pop { 0% { transform: scale(1.35); color: var(--c, #fff); } 100% { transform: scale(1); } }
.feed { min-height: 60px; }
.feed div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); animation: feedIn .35s cubic-bezier(.2,.9,.2,1); }
.feed div:first-child { color: #fff; }
.feed .sw { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--c); }
@keyframes feedIn { from { transform: translateX(-30px); opacity: 0; background: rgba(57,255,106,.25); } }
#spark { width: 100%; height: 90px; display: block; border-bottom: 1px solid var(--line); }
.alive { display: flex; gap: 4px; margin-top: 10px; }
.alive i { flex: 1; height: 18px; background: var(--c); transition: opacity .3s, transform .3s; }
.alive i.x { opacity: .12; transform: scaleY(.3); }

@media (max-width: 1100px) and (min-width: 761px) { .p-feed { display: none; } .p-vel { width: 240px; } }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding: 58px var(--pad) 36px; }
  .cross, .p-vel, .p-feed, .p-spark { display: none; }
  .p-copy { display: contents; }
  .p-copy > .dim { order: 1; font-size: 11px; }
  .hero h1 { order: 2; font-size: 15.2vw; white-space: nowrap; margin: 6px 0 0; }
  .hero h1 br { display: none; }
  .hero h1 #h1a { margin-right: .22em; }
  .hero-arena { position: relative; inset: auto; order: 3; width: calc(100% + 2 * var(--pad)); height: min(104vw, 58svh); margin: 0 calc(-1 * var(--pad)); }
  .hero .m-hud { order: 4; display: flex; }
  .hero .hint { order: 5; margin-top: 8px; }
  .hero .stores { order: 6; margin-top: 22px; }
  .hero .sub { order: 7; margin: 26px 0 18px; }
  .hero .ctas { order: 8; }
  .hero .ctas .btn { width: 100%; justify-content: center; }
}


/* store buttons with "launching soon" tape */
.stores { position: relative; display: flex; gap: 10px; margin-top: 34px; padding-top: 6px; max-width: 420px; }
.store { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #3a3935; border-radius: 10px; background: #000; color: var(--fg); font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.05; white-space: nowrap; transition: border-color .2s, transform .2s; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font: 400 10px var(--mono); color: var(--dim); letter-spacing: .02em; }
.stores[data-state="soon"] .store { opacity: .72; filter: grayscale(.3); pointer-events: auto; }
.stores[data-state="soon"]:hover .store { border-color: var(--fg); }
.soon { position: absolute; left: -10px; right: -10px; top: 0; transform: translateY(-85%) rotate(-3deg); background: var(--sig); color: #000; overflow: hidden; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 24px rgba(57,255,106,.25); }
.soon div { display: inline-block; font: 700 10px var(--mono); letter-spacing: .14em; padding: 4px 0; animation: soon 12s linear infinite; }
.stores[data-state="live"] .soon { display: none; }
@keyframes soon { to { transform: translateX(-50%); } }
.m-hud { display: none; justify-content: space-between; gap: 8px; border-block: 1px solid var(--line); padding: 8px 0; font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.m-hud b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }
.m-hud #m-rally.pop { color: var(--sig); }

/* tape */
.tape { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 10px 0; background: var(--bg); position: relative; z-index: 2; }
.tape div { display: inline-block; will-change: transform; }
.tape b, .tape em { font-family: var(--sans); font-weight: 500; font-size: clamp(40px, 6vw, 84px); letter-spacing: -.04em; margin-right: 40px; font-style: normal; }
.tape b.o { color: transparent; -webkit-text-stroke: 1px var(--fg); }
.tape em { color: var(--sig); }

/* 01 procedure */
.proc { height: 420vh; border-bottom: 1px solid var(--fg); }
.proc-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 4fr 5fr 3fr; grid-template-rows: auto 1fr; gap: 0 32px; padding: 66px var(--pad) 28px; overflow: hidden; }
.proc-head { grid-column: 1; grid-row: 1 / 3; align-self: end; padding-bottom: 20px; }
.proc-stage { grid-column: 2; grid-row: 1 / 3; position: relative; border-inline: 1px solid var(--line); }
.proc-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.proc-n { position: absolute; left: 16px; top: 12px; display: flex; gap: 10px; align-items: baseline; }
.proc-n b { font-family: var(--sans); font-weight: 500; font-size: 72px; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.proc-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px; background: var(--line); }
.proc-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sig); width: 0; }
.proc-steps { grid-column: 3; grid-row: 1 / 3; list-style: none; margin: 0; padding: 0; align-self: end; }
.pstep { padding: 14px 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .4s; }
.pstep.on { opacity: 1; }
.pstep.on .dim { color: var(--sig); }
.pstep h3 { font-family: var(--sans); font-size: 22px; letter-spacing: -.02em; margin: 4px 0; }
.pstep p { margin: 0; color: #BDB9B0; font-size: 12.5px; }
@media (max-width: 1000px) {
  .proc { height: 380vh; }
  .proc-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 56px; gap: 10px; }
  .proc-head { grid-row: 1; padding: 0; }
  .proc-head .h2 { font-size: 44px; }
  .proc-head .h2 br { display: none; }
  .proc-n b { font-size: 44px; }
  .proc-stage { grid-column: 1; grid-row: 2; border: 0; }
  .proc-steps { grid-column: 1; grid-row: 3; }
  .pstep { display: none; }
  .pstep.on { display: block; }
}

/* 02 spec */
.spec { border-bottom: 1px solid var(--fg); }
.sec-head { padding: 90px var(--pad) 50px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cell { padding: 30px 22px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.cell:nth-child(3n) { border-right: 0; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.7,0,.2,1); }
.cell:hover::after { transform: none; }
.cell .n { font-family: var(--sans); font-size: clamp(80px, 9vw, 130px); font-weight: 500; line-height: .9; letter-spacing: -.06em; margin-top: 18px; color: transparent; -webkit-text-stroke: 1px var(--fg); transition: color .3s, -webkit-text-stroke-color .3s; font-variant-numeric: tabular-nums; }
.cell .n small { font-size: .3em; letter-spacing: 0; margin-left: 8px; }
.cell:hover .n { color: var(--sig); -webkit-text-stroke-color: var(--sig); }
.cell h3 { font-family: var(--sans); font-size: 24px; letter-spacing: -.02em; margin: auto 0 6px; padding-top: 24px; }
.cell p { margin: 0; color: #BDB9B0; max-width: 340px; }
.comet-n { display: inline-block; }
.cell:hover .comet-n { animation: comet .6s cubic-bezier(.2,.9,.2,1); }
@keyframes comet { 0% { transform: translateX(-60px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 1000px) { .cells { grid-template-columns: 1fr 1fr; } .cell:nth-child(3n) { border-right: 1px solid var(--line); } .cell:nth-child(2n) { border-right: 0; } }
@media (max-width: 600px) { .cells { grid-template-columns: 1fr; } .cell { border-right: 0 !important; min-height: 260px; } }

/* 03 rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 100px var(--pad); border-bottom: 1px solid var(--fg); }
.rooms .sub { margin-top: 22px; }
.spec-table { border-collapse: collapse; width: 100%; max-width: 520px; }
.spec-table td { border-top: 1px solid var(--line); padding: 10px 0; vertical-align: top; }
.spec-table td:first-child { color: var(--dim); width: 40%; }
.room { border: 1px solid var(--fg); padding: 22px; background: rgba(11,11,10,.8); }
.room-head { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; letter-spacing: .1em; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.flap { display: flex; gap: 8px; margin: 22px 0; perspective: 600px; }
.flap span { flex: 1; aspect-ratio: .8; display: grid; place-items: center; font: 700 clamp(28px, 4vw, 54px) var(--mono); border: 1px solid var(--line); background: linear-gradient(#171715 50%, #121210 50%); position: relative; }
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #000; }
.flap span.flip { animation: flip .14s linear; }
@keyframes flip { 50% { transform: rotateX(90deg); } }
.seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.seat { aspect-ratio: 1.6; border: 1px dashed #3a3935; display: grid; place-items: center; font-size: 11px; color: transparent; transition: background .25s, color .25s, border-color .25s; }
.seat.on { border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; }
.seat.bot { border-style: dashed; border-color: var(--c); color: var(--c); background: transparent; }
.room-log { margin-top: 16px; font-size: 11px; color: var(--dim); height: 88px; overflow: hidden; }
.room-log div { padding: 3px 0; border-top: 1px solid var(--line); animation: feedIn .3s ease-out; }
.room-log div:first-child { color: var(--fg); }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr; gap: 40px; padding-block: 70px; } }

/* 04 launch */
.launch { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: 100px var(--pad); border-bottom: 1px solid var(--fg); }
#launch-arena { position: absolute; top: 0; bottom: 0; right: -10%; width: 70%; height: 100%; opacity: .55; }
.launch-inner { position: relative; z-index: 2; max-width: 640px; }
.launch-title { font-family: var(--sans); font-weight: 700; font-size: clamp(72px, 11vw, 190px); line-height: .82; letter-spacing: -.06em; margin: 14px 0 26px; }
.notify { display: grid; grid-template-columns: 1fr auto; gap: 0; max-width: 560px; border: 1px solid var(--fg); background: var(--bg); }
.notify .field { display: flex; flex-direction: column; padding: 8px 14px; }
.notify .field span { font-size: 10px; letter-spacing: .1em; }
.notify input[type=email] { background: none; border: 0; color: var(--fg); font: 15px var(--mono); padding: 2px 0 4px; outline: none; min-width: 0; }
.notify input[type=email]::placeholder { color: #4a4843; }
.notify .btn { border: 0; border-left: 1px solid var(--fg); }
.notify .consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); cursor: pointer; }
.notify .consent input { accent-color: var(--sig); margin: 2px 0 0; }
.notify .consent a { color: var(--fg); text-decoration: underline; }
.notify:focus-within { box-shadow: 0 0 0 1px var(--sig); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 760px) {
  #launch-arena { right: -40%; width: 140%; opacity: .3; }
  .notify { grid-template-columns: 1fr; }
  .notify .btn { border-left: 0; border-top: 1px solid var(--fg); justify-content: center; }
}

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); color: var(--dim); font-size: 11px; letter-spacing: .08em; }
.foot nav { display: flex; gap: 22px; }
.foot a:hover { color: var(--fg); }

/* wipes */
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.wipe.in { clip-path: inset(0 0 0 0); }

/* legal + thanks pages */
.page { max-width: 820px; margin: 0 auto; padding: 110px var(--pad) 80px; position: relative; z-index: 1; font-size: 14px; }
.page h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: .9; letter-spacing: -.05em; margin: 14px 0 40px; }
.page h2 { font-family: var(--sans); font-size: 24px; letter-spacing: -.02em; margin: 44px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.page h3 { font-family: var(--sans); font-size: 18px; margin: 26px 0 8px; }
.page p, .page li { color: #BDB9B0; }
.page h2.part { font-size: clamp(30px, 4vw, 44px); color: var(--sig); border-top: 1px solid var(--fg); margin-top: 64px; }
.page section > div > p:first-child { margin-top: 0; }
.page a { color: var(--sig); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .wipe { clip-path: none; }
}
@media (min-width: 761px) and (max-height: 820px) { .p-feed { display: none; } }
