/* videobeast.app landing page v2. No inline styles anywhere (strict CSP): everything lives here.
   Palette comes from the mascot (ui/public/mascot/videobeast/recipe.json): cyan, electric blue,
   magenta, white, near-black. Never green. */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/fonts/silkscreen.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pixelify"; src: url("/fonts/pixelify.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains"; src: url("/fonts/jetbrains.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #060818;
  --ink-2: #0b1020;
  --ink-3: #131b3a;
  --cyan: #3fd0ff;
  --blue: #1450ff;
  --blue-deep: #0a2fb8;
  --mag: #ff3fd2;
  --white: #f6fbff;
  --paper: #e9f3ff;
  --mute: #9fb4d8;
  --gut: clamp(16px, 4vw, 56px);
  --px: 4px;
  --display: "Bricolage", "Arial Narrow", Impact, sans-serif;
  --pixel: "Silkscreen", "Pixelify", ui-monospace, monospace;
  --pixel-2: "Pixelify", "Silkscreen", ui-monospace, monospace;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 17px/1.55 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; }
::selection { background: var(--mag); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; font: 400 13px var(--pixel); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- shared pieces ---------- */
.label {
  font: 400 13px/1 var(--pixel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 10px; height: 10px; background: currentColor; box-shadow: 4px 4px 0 var(--mag); animation: blink 1.1s steps(2, jump-none) infinite; }
.label--ink { color: var(--blue); }
@keyframes blink { 50% { opacity: 0.25; } }

.h2 {
  font: 800 clamp(44px, 7.4vw, 124px)/0.88 var(--display);
  font-stretch: 75%;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-top: 18px;
  text-wrap: balance;
}
.h2--ink { color: var(--ink); }

.shout {
  display: block;
  font: 800 clamp(64px, 13.2vw, 232px)/0.8 var(--display);
  font-stretch: 75%;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0.028em 0.028em 0 var(--blue), 0.056em 0.056em 0 var(--mag);
}
.shout .ch { display: inline-block; will-change: transform; }
.shout .wd { display: inline-block; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  font: 400 15px/1 var(--pixel); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--cyan);
  border: 3px solid var(--ink); border-radius: 0;
  box-shadow: 5px 5px 0 var(--mag);
  cursor: pointer;
  transition: transform 0.08s steps(2), box-shadow 0.08s steps(2), background-color 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--mag); background: var(--white); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--mag); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--small { min-height: 40px; padding: 0 14px; font-size: 12px; box-shadow: 4px 4px 0 var(--mag); }
.btn--ink { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 5px 5px 0 var(--blue); }
.btn--ink:hover { background: var(--blue); color: var(--white); box-shadow: 7px 7px 0 var(--mag); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--white); box-shadow: none; transform: none; }

/* pixel staircase edge between colour blocks: the next block's colour eats into this one */
.hero::after, .stage::after, .leash::after, .kinds::after, .mcp::after, .pricing::after, .faq::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; z-index: 3; pointer-events: none;
  background: var(--next);
  -webkit-mask: url("/assets/px-edge.svg") repeat-x left bottom / 96px 24px;
  mask: url("/assets/px-edge.svg") repeat-x left bottom / 96px 24px;
}

/* sprites: a zero-size anchor at the creature's feet (or scruff); the canvas hangs off it */
.sprite { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; }
.sprite canvas { position: absolute; max-width: none; image-rendering: pixelated; image-rendering: crisp-edges; opacity: 0; transition: opacity 0.2s steps(3); pointer-events: none; }
.sprite.is-ready canvas { opacity: 1; }
.sprite.is-flip canvas { transform: scaleX(-1); }
.sprite-box { position: relative; }

/* ---------- top bar ---------- */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gut);
}
.top__brand img { width: 92px; height: auto; }
.top__nav { margin-left: auto; display: flex; gap: 26px; }
.top__nav a { font: 400 12px/1 var(--pixel); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--mute); padding: 8px 0; }
.top__nav a:hover { color: var(--white); box-shadow: 0 3px 0 var(--mag); }

/* ---------- 1. hero ---------- */
.hero {
  --next: var(--blue);
  position: relative; isolation: isolate;
  min-height: 100svh;
  padding: 92px var(--gut) 150px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px;
  overflow: clip;
  background: var(--ink);
}
.hero__sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 1px 1px, rgba(63, 208, 255, 0.22) 1px, transparent 1.6px) 0 0 / 28px 28px,
    linear-gradient(to top,
      var(--blue) 0 9%, #1146e4 9% 14%, #0e3bc4 14% 19%, #0b309f 19% 24%, #09267c 24% 30%, #081d5d 30% 37%, #071544 37% 46%, #060d2c 46% 58%, var(--ink) 58%);
}
.hero__h1 { grid-column: 1 / -1; position: relative; z-index: 2; font: inherit; }
.hero__kicker { display: block; font: 400 13px/1.3 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.shout--hero { font-size: min(19.6vw, 42svh); white-space: nowrap; }
.hero__pitch { grid-column: 1; grid-row: 2; position: relative; z-index: 4; align-self: start; padding-top: clamp(22px, 3.4vw, 48px); }
.hero__lead { max-width: 30em; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: #d6e6ff; }

.waitlist { margin-top: 26px; max-width: 520px; }
.waitlist__label { display: inline-block; font: 400 12px/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.waitlist__label::after { content: " ▼"; color: var(--mag); animation: blink 1.1s steps(2, jump-none) infinite; }
.waitlist__row { display: flex; gap: 10px; }
.waitlist__row input {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 14px;
  font: 500 17px var(--mono); color: var(--white);
  background: var(--ink); border: 3px solid var(--cyan); border-radius: 0;
  box-shadow: 5px 5px 0 var(--blue);
}
.waitlist__row input::placeholder { color: #6f86b5; }
.waitlist__row input:focus { outline: none; border-color: var(--white); box-shadow: 5px 5px 0 var(--mag); }
.waitlist__note { margin-top: 14px; font-size: 14px; color: var(--mute); min-height: 1.5em; }
.waitlist__note.is-ok { color: var(--cyan); font-weight: 600; }
.waitlist__note.is-error { color: #ff9be6; font-weight: 600; }

.hero__arena { grid-column: 2; grid-row: 2; position: relative; min-height: 300px; z-index: 3; }
.sprite--hero { left: 52%; bottom: -26px; cursor: pointer; }
.sprite--hero canvas { pointer-events: auto; filter: drop-shadow(0 0 28px rgba(63, 208, 255, 0.35)); }
.hero__floor { position: absolute; left: -20%; right: -20%; bottom: -30px; height: 12px; background: repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 24px); opacity: 0.5; }
.hero__poke {
  position: absolute; right: 0; top: 34%; z-index: 2;
  font: 400 12px/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--white);
  padding: 8px 10px; box-shadow: 4px 4px 0 var(--mag);
  opacity: 0; transform: rotate(6deg);
}
.hero__poke::after { content: ""; position: absolute; left: 14px; bottom: -8px; width: 8px; height: 8px; background: var(--white); box-shadow: -4px 4px 0 var(--white); }
.hero__poke.is-on { opacity: 1; animation: bob 1.2s steps(2, jump-none) infinite; }
@keyframes bob { 50% { translate: 0 -6px; } }
.hero__still { position: absolute; right: 4%; bottom: 120px; width: min(52vw, 820px); height: auto; image-rendering: pixelated; z-index: 1; }

.feed { position: absolute; inset: 0; }
.chip {
  position: absolute;
  font: 400 12px/1 var(--pixel); letter-spacing: 0.04em; color: var(--ink); background: var(--white);
  padding: 9px 11px 9px 30px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--cyan);
  white-space: nowrap; opacity: 0;
}
.chip::before { content: ""; position: absolute; left: 9px; top: 8px; width: 12px; height: 14px; background: var(--blue); box-shadow: inset -4px 4px 0 var(--white), inset -4px 4px 0 1px var(--blue); }
.chip--a { left: 4%; top: 30%; rotate: -7deg; }
.chip--b { left: 58%; top: 18%; rotate: 5deg; box-shadow: 4px 4px 0 var(--mag); }
.chip--c { left: 16%; top: 62%; rotate: 4deg; box-shadow: 4px 4px 0 var(--mag); }
.chip--d { left: 66%; top: 52%; rotate: -4deg; }

.flash { position: fixed; inset: 0; z-index: 60; background: var(--white); opacity: 0; pointer-events: none; }

.tape {
  position: absolute; left: -4%; right: -4%; bottom: 46px; z-index: 4;
  background: var(--mag); color: var(--ink);
  border-block: 3px solid var(--ink);
  rotate: -1.6deg;
  overflow: hidden;
}
.tape__run { display: flex; width: max-content; animation: tape 26s linear infinite; }
.tape__run span { font: 400 clamp(15px, 1.6vw, 22px)/1 var(--pixel); text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 0 12px 22px; white-space: nowrap; }
.tape__run span::after { content: "▶"; margin-left: 22px; font-size: 0.7em; vertical-align: 0.12em; }
@keyframes tape { to { transform: translateX(-25%); } }

/* ---------- 2. stage ---------- */
.stage { --next: var(--paper); position: relative; background: var(--blue); padding: clamp(64px, 9vw, 130px) 0 0; }
.stage__head { padding: 0 var(--gut) clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.stage__head .label { color: var(--white); grid-column: 1 / -1; }
.stage__sub { font: 400 14px/1.5 var(--pixel); text-transform: uppercase; letter-spacing: 0.04em; color: #cfe0ff; max-width: 22em; padding-bottom: 12px; }
.stage__runway { position: relative; }
.stage__sticky { padding: 0 var(--gut) clamp(56px, 8vw, 110px); }

.browser { background: var(--ink); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--mag); }
.browser__bar { position: relative; display: flex; align-items: flex-end; gap: 14px; padding: 8px 12px 0; background: var(--ink); min-height: 46px; }
.browser__dots { display: flex; gap: 7px; padding-bottom: 14px; }
.browser__dots i { width: 11px; height: 11px; background: var(--mag); }
.browser__dots i:nth-child(2) { background: var(--cyan); }
.browser__dots i:nth-child(3) { background: var(--white); }
.browser__tabs { display: none; }
.browser__url { display: none; }
.sprite--walker { display: none; }

/* stacked fallback (no JS, or reduced motion): six windows one under the other */
.slot { position: relative; background: var(--ink-2); }
.slot + .slot { border-top: 3px solid var(--ink); margin-top: 0; }
.slot__media { position: relative; aspect-ratio: 16 / 9; background: #0d1426; overflow: hidden; }
.slot__media img, .slot__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.slot__media video { opacity: 0; transition: opacity 0.3s steps(4); }
.slot__media.is-playing video { opacity: 1; }
.slot__cap { padding: 18px 20px 26px; background: var(--ink); color: var(--white); }
.slot__n { font: 400 12px/1 var(--pixel); letter-spacing: 0.08em; color: var(--mag); }
.slot__cap h3 { font: 800 clamp(22px, 2.3vw, 34px)/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.01em; margin: 8px 0 8px; }
.slot__cap p { font-size: 15.5px; line-height: 1.5; color: #c9dbfa; max-width: 46em; }

/* live, desktop: one pinned full-bleed window, tabs switch the slot */
.stage.is-live .stage__runway { height: calc(var(--slots, 6) * 82svh + 100svh); }
.stage.is-live .stage__sticky { position: sticky; top: 0; height: 100svh; padding: 14px var(--gut) 22px; display: grid; place-items: center; }
.stage.is-live .browser { width: min(100%, calc((100svh - 36px - 86px) * 16 / 9)); }
.stage.is-live .browser__dots, .stage.is-swipe .browser__dots { display: flex; }
.stage.is-live .browser__tabs, .stage.is-swipe .browser__tabs { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; }
.tab {
  flex: 0 1 190px; min-width: 0; height: 38px; padding: 0 14px;
  font: 400 12px/1 var(--pixel); letter-spacing: 0.04em; text-transform: uppercase; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--mute); background: var(--ink-3); border: 0; border-top: 3px solid transparent; cursor: pointer;
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--cyan); border-top-color: var(--white); }
.stage.is-live .browser__url, .stage.is-swipe .browser__url {
  display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 12px;
  background: var(--cyan); color: var(--ink); font: 500 13px/1 var(--mono);
}
.browser__nav { letter-spacing: 0.3em; font-size: 11px; opacity: 0.7; }
.browser__addr { flex: 1 1 auto; min-width: 0; background: var(--white); padding: 7px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__addr b { font-weight: 700; }
.browser__count { font: 400 12px/1 var(--pixel); }

.stage.is-live .browser__view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1426; }
.stage.is-live .slot { position: absolute; inset: 0; border: 0; visibility: hidden; opacity: 0; transition: opacity 0.24s steps(4), visibility 0s 0.24s; }
.stage.is-live .slot.is-active { visibility: visible; opacity: 1; transition: opacity 0.24s steps(4); z-index: 1; }
.stage.is-live .slot__media { position: absolute; inset: 0; aspect-ratio: auto; }
.stage.is-live .slot__cap {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; width: min(430px, 44%);
  padding: 16px 18px 18px; border: 3px solid var(--ink); background: var(--white); color: var(--ink);
  box-shadow: 7px 7px 0 var(--mag);
  translate: 0 14px; opacity: 0; transition: translate 0.3s steps(5) 0.12s, opacity 0.3s steps(5) 0.12s;
}
.stage.is-live .slot.is-active .slot__cap { translate: 0 0; opacity: 1; }
.stage.is-live .slot__cap h3 { font-size: clamp(20px, 1.9vw, 28px); }
.stage.is-live .slot__cap p { color: #25304f; font-size: 14.5px; }
.stage.is-live .slot__n { color: var(--blue); }
.stage.is-live .sprite--walker { display: block; left: 0; top: 0; z-index: 5; }

/* live, phone: a swipeable strip inside a phone-width window */
.stage.is-swipe .stage__sticky { padding-inline: 12px; }
.stage.is-swipe .browser { box-shadow: 6px 6px 0 var(--mag); }
.stage.is-swipe .browser__bar { padding: 8px 8px 0; gap: 8px; }
.stage.is-swipe .browser__dots { display: none; }
.stage.is-swipe .browser__tabs { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.stage.is-swipe .browser__tabs::-webkit-scrollbar { display: none; }
.stage.is-swipe .tab { flex: 0 0 auto; scroll-snap-align: center; }
.stage.is-swipe .browser__nav { display: none; }
.stage.is-swipe .browser__view { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.stage.is-swipe .browser__view::-webkit-scrollbar { display: none; }
.stage.is-swipe .slot { flex: 0 0 100%; scroll-snap-align: start; border: 0; display: flex; flex-direction: column; }
.stage.is-swipe .slot__media { aspect-ratio: 4 / 5; }
.stage.is-swipe .slot__cap { flex: 1 1 auto; }
@media (max-width: 760px) {
  .slot__media { aspect-ratio: 4 / 5; }
  .stage__head { grid-template-columns: 1fr; }
  .stage__sub { margin-top: 16px; padding-bottom: 0; }
}

/* ---------- 3. leash ---------- */
.leash {
  --next: var(--ink);
  position: relative; background: var(--paper); color: var(--ink);
  padding: clamp(72px, 10vw, 150px) var(--gut) clamp(96px, 11vw, 170px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.leash__lead { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 30em; }
.facts { margin-top: 30px; display: grid; gap: 14px; max-width: 34em; }
.facts li { position: relative; padding-left: 30px; font-weight: 500; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; background: var(--blue); box-shadow: 4px 4px 0 var(--mag); }
.leash__play { position: relative; padding-top: 270px; }
.hook { position: absolute; right: 18%; top: 0; z-index: 2; width: 6px; height: 30px; background: var(--ink); }
.hook::before { content: ""; position: absolute; left: -9px; top: 0; width: 24px; height: 6px; background: var(--ink); }
.sprite--hang { left: 3px; top: 30px; }
.dialog { position: relative; background: var(--ink); color: var(--white); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--blue); padding: 24px 24px 22px; }
.dialog__tag { font: 400 12px/1 var(--pixel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.dialog__tag span { margin-left: 8px; padding: 3px 6px; background: var(--mag); color: var(--ink); }
.dialog__title { margin-top: 14px; font: 800 clamp(24px, 2.4vw, 34px)/1.02 var(--display); font-stretch: 80%; text-transform: uppercase; }
.dialog__rows { margin-top: 18px; border-top: 3px solid var(--ink-3); }
.dialog__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 3px solid var(--ink-3); font: 500 14.5px/1.3 var(--mono); }
.dialog__rows dt { color: var(--mute); }
.dialog__rows dd { text-align: right; }
.dialog__rows > div:nth-child(2) dd { color: var(--cyan); font-weight: 700; }
.dialog__actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.dialog .btn--ink { background: var(--cyan); color: var(--ink); box-shadow: 5px 5px 0 var(--mag); }
.dialog .btn--ghost { color: var(--white); border-color: var(--ink-3); }
.dialog .btn--ghost:hover { background: var(--ink-3); }
.dialog__out { margin-top: 16px; font: 400 12px/1.5 var(--pixel); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); min-height: 1.5em; }
.dialog.is-approved .dialog__out { color: var(--cyan); }
.dialog.is-waiting .dialog__out { color: #ff9be6; }

/* ---------- 4. kinds ---------- */
.kinds { --next: var(--cyan); position: relative; background: var(--ink); padding: clamp(72px, 10vw, 150px) var(--gut) clamp(96px, 11vw, 170px); }
.kinds__grid { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 3px solid var(--blue); }
.kind { position: relative; padding: 22px 22px 30px; border-left: 3px solid var(--blue); background: var(--ink-2); transition: background-color 0.15s steps(3), color 0.15s steps(3); }
.kind:first-child { border-left: 0; }
.kind__art { position: relative; z-index: 2; width: 100%; aspect-ratio: 1 / 0.8; margin-bottom: 22px; transition: transform 0.2s steps(4); }
.kind__art img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; image-rendering: crisp-edges; }
.kind__art.is-live img { visibility: hidden; }
.kind__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: repeating-linear-gradient(90deg, var(--blue) 0 12px, transparent 12px 18px); }
.kind:hover .kind__art::after { background: repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 18px); }
.kind__n { font: 400 12px/1 var(--pixel); color: var(--mag); letter-spacing: 0.08em; }
.kind h3 { font: 800 clamp(34px, 4.2vw, 68px)/0.9 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: -0.02em; margin: 8px 0 12px; }
.kind p { font-size: 15.5px; line-height: 1.5; color: #c9dbfa; }
@media (hover: hover) {
  .kind:hover { background: var(--blue); }
  .kind:hover p { color: var(--white); }
  .kind:hover .kind__n { color: var(--white); }
  .kind:hover .kind__art { transform: translateY(-6px); }
}

/* ---------- 5. mcp ---------- */
.mcp {
  --next: var(--ink);
  position: relative; background: var(--cyan); color: var(--ink);
  padding: clamp(72px, 10vw, 150px) var(--gut) clamp(96px, 11vw, 170px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.mcp .label--ink { color: var(--ink); }
.mcp .h2 { font-size: clamp(38px, 5.2vw, 86px); }
.mcp__copy > p:not(.label) { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 32em; }
.mcp code { background: var(--ink); color: var(--cyan); padding: 2px 6px; }
.mcp .sprite-box { height: 150px; margin-top: 18px; }
.sprite--laptop { left: 90px; bottom: 0; }
.term { background: var(--ink); color: #d6e6ff; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--blue); min-width: 0; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 3px solid var(--ink-3); }
.term__bar i { width: 11px; height: 11px; background: var(--mag); }
.term__bar i:nth-child(2) { background: var(--cyan); }
.term__bar i:nth-child(3) { background: var(--white); }
.term__bar span { margin-left: 10px; font: 400 12px/1 var(--pixel); color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.term__body { margin: 0; padding: 20px 20px 24px; font: 500 clamp(11.5px, 1.02vw, 14.5px)/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.term__body code { font-size: inherit; background: none; color: inherit; padding: 0; }
.t-dim { color: #7088b8; } .t-ok { color: var(--cyan); } .t-you { color: var(--mag); } .t-tool { color: var(--cyan); font-weight: 700; }
.t-key { color: #9fc4ff; } .t-val { color: var(--mag); } .t-str { color: #ffe0f8; } .t-claude { color: var(--white); font-weight: 700; }
.t-caret { display: inline-block; width: 0.6em; height: 1.05em; margin-left: 4px; background: var(--cyan); vertical-align: -0.18em; animation: blink 1s steps(2, jump-none) infinite; }

/* ---------- 6. pricing ---------- */
.pricing { --next: var(--paper); position: relative; background: var(--ink); padding: clamp(72px, 10vw, 150px) var(--gut) clamp(96px, 11vw, 170px); }
.pricing__sub { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); color: #d6e6ff; }
.pricing__controls { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.modeswitch, .billing { display: inline-flex; border: 3px solid var(--white); background: var(--ink); }
.modeswitch__btn, .billing__btn { border: 0; background: transparent; cursor: pointer; font: 400 14px/1 var(--pixel); text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); padding: 15px 20px; }
.modeswitch__btn { font-size: clamp(15px, 1.6vw, 22px); padding: 17px 24px; }
.modeswitch__btn[aria-pressed="true"][data-mode-btn="yours"] { background: var(--cyan); color: var(--ink); }
.modeswitch__btn[aria-pressed="true"][data-mode-btn="ours"] { background: var(--mag); color: var(--ink); }
.billing { border-color: var(--mute); }
.billing__btn { font-size: 12px; padding: 12px 14px; }
.billing__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }

.lanes { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.lane { position: relative; display: flex; flex-direction: column; border: 3px solid var(--lane); background: var(--ink-2); transition: transform 0.2s steps(4), box-shadow 0.2s steps(4), filter 0.2s steps(4), translate 0.5s steps(6), opacity 0.5s steps(6); }
.lane + .lane { transition-delay: 0s, 0s, 0s, 0.12s, 0.12s; }
.motion .lanes:not(.is-in) .lane { opacity: 0; translate: 0 70px; }
.lane--yours { --lane: var(--cyan); --lane-ink: var(--ink); }
.lane--ours { --lane: var(--mag); --lane-ink: var(--ink); }
.lane__head { background: var(--lane); color: var(--lane-ink); padding: 22px 22px 20px; }
.lane__who { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; }
.sprite-box--bit { width: 96px; height: 118px; }
.sprite-box--beast { width: 172px; height: 118px; }
.sprite-box--bit .sprite, .sprite-box--beast .sprite { left: 50%; bottom: 0; }
.lane__tag { font: 400 12px/1 var(--pixel); text-transform: uppercase; letter-spacing: 0.08em; }
.lane__title { font: 800 clamp(48px, 6.4vw, 104px)/0.84 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: -0.03em; margin-top: 6px; }
.lane__line { margin-top: 10px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.bring { margin-top: 18px; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.bring > div { display: grid; grid-template-columns: 8.2em 1fr; gap: 12px; padding: 9px 0; border-bottom: 3px solid var(--ink); font-size: 14.5px; line-height: 1.35; }
.bring dt { font: 400 11.5px/1.4 var(--pixel); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.bring dd { font-weight: 600; }
.lane__plans { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.plan { display: flex; flex-direction: column; padding: 22px 22px 24px; }
.plan + .plan { border-left: 3px solid var(--ink-3); }
.plan__name { font: 400 14px/1 var(--pixel); text-transform: uppercase; letter-spacing: 0.06em; color: var(--lane); }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__amt { font: 800 clamp(48px, 5vw, 76px)/0.9 var(--display); font-stretch: 75%; letter-spacing: -0.02em; }
.plan__per { font: 400 12px/1 var(--pixel); text-transform: uppercase; color: var(--mute); }
.plan__alt { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.plan__list { margin: 18px 0 22px; display: grid; gap: 9px; font-size: 15px; line-height: 1.35; flex: 1 1 auto; align-content: start; }
.plan__list li { position: relative; padding-left: 20px; color: #d6e6ff; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; background: var(--lane); }
.plan__list b { color: var(--white); font-weight: 700; }
.btn--plan { background: var(--lane); align-self: flex-start; min-height: 44px; font-size: 12px; padding: 0 14px; box-shadow: 4px 4px 0 var(--white); }
.btn--plan:hover { box-shadow: 6px 6px 0 var(--white); }

/* the switch lights one lane; both stay readable on wide screens */
@media (min-width: 981px) {
  .pricing[data-mode="yours"] .lane--yours, .pricing[data-mode="ours"] .lane--ours { transform: translateY(-10px); box-shadow: 10px 10px 0 var(--lane); z-index: 1; }
}

.free { margin-top: 26px; display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px 26px; align-items: center; padding: 18px 22px; border: 3px dashed var(--mute); }
.free__name { font: 400 14px/1 var(--pixel); text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); }
.free__price { font: 800 40px/0.9 var(--display); font-stretch: 75%; }
.free__what { font-size: 15.5px; color: #d6e6ff; }
.pricing__fine { margin-top: 18px; font: 400 12px/1.5 var(--pixel); text-transform: uppercase; letter-spacing: 0.04em; color: var(--mute); }

/* ---------- 7. faq ---------- */
.faq { --next: var(--blue); position: relative; overflow-x: clip; background: var(--paper); color: var(--ink); padding: clamp(72px, 10vw, 150px) var(--gut) clamp(96px, 11vw, 170px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 3px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 2px; font: 800 clamp(22px, 2.3vw, 34px)/1.05 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; font: 400 20px/1 var(--pixel); background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--mag); }
.faq details[open] summary::after { content: "–"; background: var(--blue); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 2px 24px; max-width: 40em; font-size: 17px; }

/* ---------- 8. join ---------- */
.join {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--blue);
  padding: clamp(72px, 9vw, 130px) var(--gut) clamp(72px, 9vw, 130px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end;
  min-height: min(92svh, 860px);
}
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.2) 1px, transparent 1.6px) 0 0 / 28px 28px; }
.join__beast { position: relative; height: 100%; min-height: 300px; }
.join__beast .sprite { left: 48%; bottom: -10px; }
.join__copy { padding-bottom: 12px; }
.shout--join { font-size: clamp(56px, 9.4vw, 170px); text-shadow: 0.028em 0.028em 0 var(--ink), 0.056em 0.056em 0 var(--mag); }
.join__copy > p { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); max-width: 26em; }
.join .waitlist__label { color: var(--white); }
.join .waitlist__row input { box-shadow: 5px 5px 0 var(--ink); border-color: var(--white); }
.join .waitlist__note { color: #d6e6ff; }
.join .waitlist__note.is-ok { color: var(--white); }

/* ---------- footer ---------- */
.foot { background: var(--ink); padding: 26px var(--gut) 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 13px; color: var(--mute); border-top: 3px solid var(--ink); }
.foot__nav { display: flex; gap: 20px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--white); }
.bz-credit { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.3; color: #8a93ad; text-decoration: none; }
.bz-credit img { width: 84px; height: auto; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.bz-credit:hover { color: var(--white); }
.bz-credit:hover img { transform: rotate(-4deg) scale(1.06); }

/* ---------- small standalone pages (thanks, error, 404) ---------- */
.solo { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gut); background: var(--blue); }
.solo img { width: 150px; height: auto; margin: 0 auto 26px; }
.solo h1 { font: 800 clamp(44px, 9vw, 110px)/0.86 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: -0.03em; text-shadow: 0.03em 0.03em 0 var(--ink), 0.06em 0.06em 0 var(--mag); }
.solo p { margin: 22px auto 28px; max-width: 30em; font-size: 18px; }

/* ---------- reveal helper (only when JS says motion is on) ---------- */
.motion [data-rise] { clip-path: inset(0 0 100% 0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding-top: 88px; padding-bottom: 120px; }
  .hero__pitch { grid-row: 3; padding-top: 34px; }
  .hero__arena { grid-column: 1; grid-row: 2; height: clamp(210px, 56vw, 430px); margin-top: -3vw; }
  .sprite--hero { bottom: 0; }
  .hero__floor { bottom: -6px; }
  .hero__still { position: static; width: 100%; margin-top: 18px; }
  .hero__poke { right: 6%; top: 0; }
  .chip--a { left: 0; top: 4%; } .chip--b { left: 56%; top: 0; } .chip--c { left: 2%; top: 46%; } .chip--d { left: 62%; top: 38%; }
  .leash, .mcp, .faq, .join { grid-template-columns: minmax(0, 1fr); }
  .leash__play { padding-top: 250px; max-width: 520px; }
  .kinds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind:nth-child(3) { border-left: 0; }
  .kind:nth-child(n + 3) { border-top: 3px solid var(--blue); }
  .kind { padding-top: 48px; }
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .has-js .pricing[data-mode="yours"] .lane--ours, .has-js .pricing[data-mode="ours"] .lane--yours { display: none; }
  .join { align-items: start; min-height: 0; }
  .join__beast { order: 2; height: clamp(230px, 60vw, 420px); }
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top__brand img { width: 76px; }
  .shout--hero { font-size: 34vw; white-space: normal; }
  .shout--join { font-size: 24vw; }
  .waitlist__row { flex-direction: column; }
  .waitlist__row .btn { width: 100%; }
  .kinds__grid { grid-template-columns: minmax(0, 1fr); }
  .kind { border-left: 0; display: grid; grid-template-columns: 132px 1fr; column-gap: 16px; align-items: start; padding: 18px 16px 22px; }
  .kind + .kind { border-top: 3px solid var(--blue); }
  .kind__art { grid-row: 1 / span 3; margin: 26px 0 0; }
  .lane__plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 3px solid var(--ink-3); }
  .lane__who { grid-template-columns: 1fr; }
  .sprite-box--bit, .sprite-box--beast { height: 100px; }
  .sprite-box--bit .sprite, .sprite-box--beast .sprite { left: 60px; }
  .sprite-box--beast .sprite { left: 100px; }
  .bring > div { grid-template-columns: 1fr; gap: 2px; }
  .modeswitch { display: flex; width: 100%; }
  .modeswitch__btn { flex: 1 1 0; padding-inline: 8px; }
  .free { grid-template-columns: auto 1fr; }
  .free__what, .free .btn { grid-column: 1 / -1; }
  .foot { flex-direction: column; align-items: flex-start; }
  .bz-credit { margin-left: 0; align-self: flex-end; }
  .hook { right: 22%; }
  .leash__play { padding-top: 190px; }
}

/* ---------- reduced motion: calm and complete ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape__run, .label::before, .waitlist__label::after, .t-caret, .hero__poke.is-on { animation: none; }
  .btn, .lane, .kind, .kind__art, .bz-credit img { transition: none; }
  .chip { opacity: 1; }
}

/* ---------- legal pages (terms, privacy, refunds, acceptable use, contact) ---------- */
.top--bar { position: relative; background: var(--ink); border-bottom: 3px solid var(--ink-3); }
.legal-hero { background: var(--blue); padding: clamp(40px, 7vw, 88px) var(--gut) clamp(36px, 5vw, 64px); border-bottom: 3px solid var(--ink); }
.legal-hero .label { color: var(--white); }
.legal-hero__title {
  margin-top: 18px;
  font: 800 clamp(42px, 8.4vw, 112px)/0.9 var(--display); font-stretch: 75%;
  text-transform: uppercase; letter-spacing: -0.02em; overflow-wrap: anywhere;
  text-shadow: 0.03em 0.03em 0 var(--ink), 0.06em 0.06em 0 var(--mag);
}
.legal-hero__meta { margin-top: 18px; font: 400 12px/1.4 var(--pixel); letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper); }
.legal { background: var(--paper); color: var(--ink); padding: clamp(32px, 5vw, 64px) var(--gut) clamp(56px, 8vw, 104px); }
.legal__doc { max-width: 44rem; margin: 0 auto; font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.legal__doc h2 {
  margin: 52px 0 14px; scroll-margin-top: 20px;
  font: 800 clamp(26px, 3.4vw, 36px)/1.02 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -0.005em;
}
.legal__doc h3 { margin: 28px 0 8px; font: 700 19px/1.3 var(--body); }
.legal__doc p, .legal__doc ul, .legal__doc ol { margin: 0 0 14px; }
.legal__doc ul { list-style: square; padding-left: 1.3em; }
.legal__doc ol { list-style: decimal; padding-left: 1.5em; }
.legal__doc li { margin-bottom: 6px; }
.legal__doc li::marker { color: var(--blue); }
.legal__doc strong { font-weight: 650; }
.legal__doc a { color: var(--blue-deep); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.legal__doc a:hover { color: var(--mag); }
.legal__keys, .legal__card { background: var(--white); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--mag); padding: 22px 24px 10px; margin: 0 0 36px; }
.legal__doc .legal__keys-title { margin: 0 0 12px; font: 400 14px/1.2 var(--pixel); letter-spacing: 0.06em; color: var(--blue); }
.legal__toc { border-left: 4px solid var(--blue); padding: 4px 0 4px 18px; margin: 0 0 12px; }
.legal__toc-title { font: 400 12px/1.2 var(--pixel); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.legal__toc ol { columns: 2; column-gap: 28px; font-size: 15px; }
.legal__toc li { break-inside: avoid; margin-bottom: 4px; }
.legal__card-label { font: 400 12px/1.2 var(--pixel); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.legal__card-big { font: 800 clamp(24px, 4.6vw, 40px)/1.1 var(--display); font-stretch: 80%; overflow-wrap: anywhere; }
.legal__doc mark.owner { background: #ffd6f4; color: var(--ink); font-family: var(--mono); font-size: 0.86em; padding: 0 4px; }
.foot__left a { color: var(--white); text-decoration: none; }
.foot__left a:hover { text-decoration: underline; }
.foot__nav { flex-wrap: wrap; row-gap: 8px; }
.foot__legal a { color: var(--paper); }
.solo + .foot { border-top: 3px solid var(--ink); }
.pricing__fine a { color: var(--white); }
@media (max-width: 760px) {
  .top--bar .top__nav { display: none; }
  .top--bar .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .legal__doc { font-size: 16px; }
  .legal__toc ol { columns: 1; }
  .legal__keys, .legal__card { padding: 18px 16px 6px; box-shadow: 4px 4px 0 var(--mag); }
}
