/* Nookiva site. Dark by default (the worlds glow on it); body.paper is the light tone of the long-text pages and of the
   pricing band. Motion (app.js) only adds html.motion; without it every part is shown at rest. */
:root {
  --bg: #07080a; --bg2: #0d0f12; --card: #13161a; --card2: #1a1e23; --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18);
  --fg: #f3f1ec; --mute: rgba(243, 241, 236, .64); --dim: rgba(243, 241, 236, .42);
  --amber: #f4b860; --amber-ink: #1b1206; --good: #6fd6a0; --bad: #ff8a7a;
  --r: 18px; --r-sm: 12px; --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  font-family: var(--sans); color-scheme: dark;
}
.paper, body.paper {
  --bg: #f4f1ea; --bg2: #ece8de; --card: #ffffff; --card2: #f7f5f0; --line: rgba(20, 22, 26, .1); --line2: rgba(20, 22, 26, .2);
  --fg: #15171b; --mute: rgba(21, 23, 27, .64); --dim: rgba(21, 23, 27, .44); --good: #1a7f4b; --bad: #c4362b;
  color-scheme: light;
}
.paper { background: var(--bg); color: var(--fg); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
html:has(> body.paper) { background: #f4f1ea; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--amber-ink); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
main.page { padding-top: 96px; min-height: 70vh; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.025em; line-height: 1.05; }

/* header: over the hero it is clear; once the page moves it gets a glass backing */
header.top { position: fixed; z-index: 50; inset: 0 0 auto; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
header.top .bar { display: flex; align-items: center; gap: 20px; height: 64px; }
header.top.solid, body:not(.home) header.top { background: rgba(7, 8, 10, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
body.paper header.top { background: rgba(244, 241, 234, .8); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 650 19px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.mark { width: 18px; height: 20px; border: 2px solid currentColor; border-radius: 9px 9px 3px 3px; position: relative; }
.mark::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 5px; border-radius: 3px 3px 1px 1px; background: var(--amber); }
header.top nav { margin-left: auto; display: flex; gap: 26px; align-items: center; font-size: 14.5px; }
header.top nav a { text-decoration: none; color: var(--mute); transition: color .2s; }
header.top nav a:hover { color: var(--fg); }
header.top nav .btn { color: var(--amber-ink); }

/* small parts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 999px; padding: 0 22px;
  font: 600 15px/1 var(--sans); background: var(--fg); color: var(--bg); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.amber, header.top nav .btn { background: var(--amber); color: var(--amber-ink); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line2);
  font: 600 11px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--mute); width: fit-content; }
.chip.amber { border-color: rgba(244, 184, 96, .45); color: var(--amber); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.note { font-size: 14px; color: var(--mute); }
.status { min-height: 24px; font-size: 14px; }
.status.err { color: var(--bad); }
.kicker { display: grid; gap: 18px; margin-bottom: 44px; }
.kicker h2 { margin: 0; font-size: clamp(36px, 5.2vw, 76px); max-width: 15ch; }
.kicker p { margin: 0; color: var(--mute); font-size: 19px; max-width: 56ch; }
section.band { padding: 120px 0; }

/* ---------- home: the stage (a desktop pulled back from, then a wall of worlds) ---------- */
.stage { position: relative; height: 100vh; min-height: 560px; }
.motion .stage { height: 360vh; }
.stage-pin { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; background: #000; perspective: 1600px; }
.screen { position: absolute; left: 50%; top: 50%; width: var(--w0, 100vw); height: calc(var(--w0, 100vw) * 9 / 16); min-height: 100%;
  transform: translate(-50%, calc(-50% + var(--ty, 0px))) scale(var(--s, 1)); transform-origin: 50% 50%; border-radius: calc(var(--rad, 0) * 1px); overflow: hidden; z-index: 3;
  box-shadow: 0 0 0 calc(var(--edge, 0) * 1.6px) rgba(255, 255, 255, .14), 0 60px 160px rgba(0, 0, 0, calc(var(--edge, 0) * .7)); background: #0b1512; will-change: transform; }
.motion .screen { min-height: 0; }
.screen video, .screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.screen video.on { opacity: 1; }
.screen .shade { position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 1);
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 38%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100%); }
.stage-copy { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 0 9vh; opacity: var(--copy, 1); transform: translateY(calc((1 - var(--copy, 1)) * -40px)); }
.stage-copy .wrap { display: grid; gap: 22px; }
.stage-copy h1 { margin: 0; font-size: clamp(54px, 9.4vw, 148px); line-height: .92; letter-spacing: -.05em; max-width: 9ch; text-wrap: balance; }
.stage-copy p { margin: 0; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, .78); max-width: 46ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.facts b { color: #fff; font-weight: 600; }
.scroll-cue { position: absolute; z-index: 5; right: 28px; bottom: 9vh; display: none; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); opacity: var(--copy, 1); }
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.motion .scroll-cue { display: inline-flex; }

/* the Nookiva menu, as it drops from the menu bar glyph (the clips are 16:9, so the glyph sits at a fixed spot) */
.nmenu { display: none; position: absolute; z-index: 4; top: 3%; right: 3.6%; width: 25%; font: calc(var(--w0, 1600px) * .0128) / 1.25 var(--sans); color: #111; transform-origin: 90% 0;
  opacity: var(--menu, 0); transform: scale(calc(.94 + var(--menu, 0) * .06)); filter: drop-shadow(0 1.4em 2.6em rgba(0, 0, 0, .4)); pointer-events: none; }
.motion .nmenu { display: block; }
.nmenu .panel { background: rgba(238, 238, 240, .86); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  border-radius: .72em; padding: .38em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.nmenu .it { display: flex; justify-content: space-between; align-items: center; height: 1.9em; padding: 0 .7em 0 1.7em; border-radius: .4em; white-space: nowrap; position: relative; transition: background .25s, color .25s; }
.nmenu .it kbd { font: inherit; color: rgba(0, 0, 0, .42); }
.nmenu .it.sub::after { content: "›"; font-size: 1.2em; color: rgba(0, 0, 0, .5); }
.nmenu .it.hot { background: #2f7bf5; color: #fff; }
.nmenu .it.hot::after, .nmenu .it.hot kbd { color: rgba(255, 255, 255, .85); }
.nmenu .sep { height: 1px; margin: .38em .7em; background: rgba(0, 0, 0, .12); }
.nmenu .worlds { position: absolute; right: calc(100% - .3em); top: 0; width: 80%; }
.nmenu .worlds .it.on::before { content: "✓"; position: absolute; left: .55em; font-size: .85em; }
.caption { position: absolute; z-index: 5; left: 50%; bottom: 4.5vh; width: min(640px, 86vw); transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; opacity: var(--cap, 0); font-size: 15px; color: rgba(255, 255, 255, .7); }
.caption b { font: 650 24px/1.1 var(--display); color: #fff; letter-spacing: -.02em; }
.caption b::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -2px; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.motion .caption { display: flex; }

/* the wall of worlds that comes in around the screen */
.wall { display: none; position: absolute; inset: 0; transform-style: preserve-3d; z-index: 2; pointer-events: none; }
.motion .wall { display: block; }
.tile { position: absolute; left: 50%; top: 50%; width: 24vw; aspect-ratio: 16 / 9; margin: calc(-24vw * 9 / 32) 0 0 -12vw; border-radius: 12px; overflow: hidden;
  background: #111 center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .6);
  --k: clamp(0, calc(var(--wall, 0) * 1.6 - var(--i) * .07), 1);
  opacity: var(--k); transform: translate3d(var(--x), var(--y), calc((1 - var(--k)) * -1400px + var(--z, 0px))) rotateY(var(--ry, 0deg)); }
.tile span { position: absolute; left: 10px; bottom: 9px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile:nth-child(1) { --x: -37vw; --y: -30vh; --z: -240px; --ry: 22deg; }
.tile:nth-child(2) { --x: -39vw; --y: 2vh; --z: -180px; --ry: 22deg; }
.tile:nth-child(3) { --x: -44vw; --y: 34vh; --z: -420px; --ry: 20deg; }
.tile:nth-child(4) { --x: 37vw; --y: -30vh; --z: -240px; --ry: -22deg; }
.tile:nth-child(5) { --x: 39vw; --y: 2vh; --z: -180px; --ry: -22deg; }
.tile:nth-child(6) { --x: 44vw; --y: 34vh; --z: -420px; --ry: -20deg; }
.tile:nth-child(7) { --x: -15vw; --y: -38vh; --z: -1000px; }
.tile:nth-child(8) { --x: 15vw; --y: -38vh; --z: -1000px; }
.stage-end { position: absolute; z-index: 6; left: 0; right: 0; bottom: 5vh; display: none; text-align: center; opacity: var(--end, 0);
  transform: translateY(calc((1 - var(--end, 0)) * 30px)); pointer-events: none; }
.stage-end h2 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.04em; }
.stage-end p { margin: 0 auto 22px; color: var(--mute); max-width: 52ch; }
.stage-end .cta { justify-content: center; pointer-events: auto; }
.motion .stage-end { display: block; }

/* ---------- how it lives with you: full-height chapters, words left, the world right ---------- */
.chapter { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 64px; align-items: center; padding: 96px 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }
.chapter .words { display: grid; gap: 18px; align-content: start; }
.chapter h3 { margin: 0; font-size: clamp(32px, 3.6vw, 54px); letter-spacing: -.035em; }
.chapter p { margin: 0; color: var(--mute); font-size: 18px; max-width: 40ch; }
.chapter ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--mute); }
.chapter li { display: flex; gap: 10px; align-items: baseline; }
.chapter li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); transform: translateY(-2px); }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #0b0d10; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .55); }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font: 600 11px/1 var(--sans);
  letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10, 12, 14, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.tag i { width: 7px; height: 7px; border-radius: 2px; background: var(--amber); }
.tag.no i { background: var(--bad); border-radius: 50%; }
.tag.tl { left: 16px; top: 16px; } .tag.bl { left: 16px; bottom: 16px; } .tag.tr { right: 16px; top: 16px; } .tag.br { right: 16px; bottom: 16px; }
.box { position: absolute; z-index: 2; border: 1.5px solid var(--amber); border-radius: 10px; box-shadow: 0 0 0 4px rgba(244, 184, 96, .14); }
.box::before { content: attr(data-l); position: absolute; left: -1.5px; top: -22px; padding: 3px 6px; border-radius: 5px 5px 5px 0; background: var(--amber); color: var(--amber-ink);
  font: 700 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
/* the window that covers the desktop in the last chapter */
.win { position: absolute; z-index: 3; left: 9%; top: 12%; width: 62%; height: 70%; border-radius: 12px; background: #f6f6f7; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 .5px rgba(0, 0, 0, .3);
  transform: translateX(-130%); transition: transform 1.1s var(--ease); overflow: hidden; }
.win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: #e9e9eb; border-bottom: 1px solid #d6d6d9; }
.win::after { content: ""; position: absolute; left: 12px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: 16px 0 #febc2e, 32px 0 #28c840; }
.win b { position: absolute; left: 24px; right: 24px; top: 56px; height: 12px; border-radius: 6px; background: #dcdce0; box-shadow: 0 26px #e6e6e9, 0 52px #e6e6e9, 0 78px #e6e6e9; }
.win b:last-child { top: auto; bottom: 26px; width: 40%; }
.frame.covered .win { transform: none; }
.meter { position: absolute; z-index: 4; right: 16px; top: 16px; display: grid; gap: 4px; padding: 10px 14px; border-radius: 10px; min-width: 128px;
  background: rgba(10, 12, 14, .66); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; }
.meter small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.meter b { font: 650 26px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.meter em { font-style: normal; font-size: 12px; color: var(--good); }
.frame.covered .meter em { color: rgba(255, 255, 255, .6); }

/* ---------- the seasons of Koi Pond, scrubbed by scrolling ---------- */
.seasons { position: relative; }
.seasons .pin { position: relative; min-height: 100vh; overflow: hidden; display: grid; align-items: end; background: #0b1512; }
.motion .seasons { height: 300vh; }
.motion .seasons .pin { position: sticky; top: 0; height: 100vh; }
.seasons .layers { position: absolute; inset: -4%; transform: scale(calc(1.06 - var(--p, 0) * .06)); }
.seasons .layer { position: absolute; inset: 0; background: #0b1512 center / cover no-repeat; opacity: 0; }
.seasons .layer:first-child { opacity: 1; }
.motion .seasons .layer:not(:first-child) { opacity: var(--o, 0); }
.seasons .glint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: radial-gradient(60% 40% at 30% 30%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(50% 50% at 75% 70%, rgba(255, 255, 255, .35), transparent 60%);
  background-size: 140% 140%; animation: glint 14s ease-in-out infinite alternate; }
@keyframes glint { to { background-position: 30% 20%, 70% 80%; } }
.seasons .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .8) 100%); }
.seasons .words { position: relative; z-index: 2; padding-bottom: 10vh; display: grid; gap: 18px; }
.seasons h2 { margin: 0; font-size: clamp(38px, 5.4vw, 80px); max-width: 14ch; letter-spacing: -.045em; }
.seasons p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 52ch; font-size: 18px; }
.seasons .names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; margin-top: 14px; max-width: 760px; }
.seasons .names span { padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color .4s, border-color .4s; }
.seasons .names span.on { color: #fff; border-color: var(--amber); }

/* ---------- the worlds ---------- */
.worlds .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.filters { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.filters button { font: 600 14px/1 var(--sans); color: var(--mute); background: none; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: background .2s, color .2s; }
.filters button.on { background: var(--fg); color: var(--bg); }
.worlds[data-show="free"] .group[data-group="pro"], .worlds[data-show="pro"] .group[data-group="free"] { display: none; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 16px; }
.section-title h2 { margin: 0; font-size: 22px; letter-spacing: -.015em; }
.section-title span { color: var(--mute); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; padding-bottom: 28px; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line2), 0 24px 60px rgba(0, 0, 0, .45); }
.preview { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; place-content: center; background-size: cover; background-position: center; color: rgba(255, 255, 255, .85); font-size: 30px; }
.preview .engine { position: absolute; z-index: 1; left: 10px; bottom: 10px; font-size: 11.5px; font-weight: 600; background: rgba(0, 0, 0, .45); color: #fff; padding: 4px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 14px 16px 16px; display: grid; gap: 6px; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 650; font-variant-numeric: tabular-nums; }
.price.free { color: var(--good); }
.owned-badge { font-size: 12px; color: var(--good); font-weight: 600; }
.ed { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.ed.free { background: rgba(111, 214, 160, .14); color: var(--good); }
.ed.pro { background: rgba(244, 184, 96, .16); color: var(--amber); }
.paper .ed.free { background: rgba(26, 127, 75, .12); }
.paper .ed.pro { background: #1b1206; color: var(--amber); }

/* ---------- plans (home and pricing): a light band ---------- */
.plans-band { padding: 120px 0; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: #121418; color: #f3f1ec; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); --mute: rgba(243, 241, 236, .64); --line: rgba(255, 255, 255, .12); }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h3 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.plan .amount { display: flex; align-items: baseline; gap: 8px; }
.plan .amount b { font: 650 54px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan .amount span { color: var(--mute); font-size: 14px; }
.plan > p { margin: 0; color: var(--mute); min-height: 3em; }
.plan ul { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 11px; font-size: 15px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; flex: none; }
.plan.best li::before { color: var(--amber); }
.plan .btn { width: 100%; }
.plan.best .btn { background: var(--amber); color: var(--amber-ink); }
.paper .plan:not(.best) .btn { background: #15171b; color: #f4f1ea; }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 26px; color: var(--mute); font-size: 14px; }
.plans-foot b { color: var(--fg); }
table.plans { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
table.plans th, table.plans td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.plans th { font-size: 13px; color: var(--mute); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }

/* ---------- questions, waitlist, footer ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font: 600 21px/1.3 var(--display); letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--mute); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -8px 0 26px; color: var(--mute); max-width: 70ch; font-size: 17px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.waitlist { border-radius: 24px; padding: 40px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.waitlist h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.waitlist .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.waitlist input[type=email] { flex: 1 1 260px; font: inherit; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg); color: var(--fg); }
.waitlist label { font-size: 14px; color: var(--mute); }
footer.site { position: relative; overflow: hidden; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
footer.site .inner { position: relative; z-index: 2; padding: 56px 0 40px; display: grid; gap: 14px; }
footer.site nav.legal a { text-decoration: none; }
footer.site nav.legal a:hover { color: var(--fg); }
footer.big { min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; border-top: 0; background: #000; }
footer.big video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
footer.big::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #07080a 0%, rgba(7, 8, 10, 0) 30%, rgba(7, 8, 10, .2) 60%, rgba(7, 8, 10, .92) 100%); }
footer.big .word { margin: 0; font: 700 clamp(84px, 21vw, 340px)/.8 var(--display); letter-spacing: -.07em; color: #fff; opacity: .92; mix-blend-mode: overlay; }
footer.big .cta { margin: 8px 0 18px; }
footer.big .line { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 52ch; margin: 0; }

/* in-view reveal (app.js adds .in) */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- the other pages ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; padding: 28px 0 80px; align-items: start; }
.detail .preview { border-radius: var(--r); font-size: 56px; }
.detail-video { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; background: #111; display: block; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .5); }
.detail h1 { margin: 0 0 6px; font-size: clamp(36px, 4vw, 56px); letter-spacing: -.04em; }
.detail .by { color: var(--mute); margin: 0 0 18px; }
.detail .buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 22px 0; }
.detail .price { font-size: 24px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; color: var(--mute); margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.specs dt { color: var(--fg); font-weight: 600; }
.form { display: grid; gap: 14px; max-width: 720px; padding: 28px 0 80px; }
.form h1, .creator h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.04em; }
.form input { font: inherit; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--fg); }
.form h2 { margin: 26px 0 0; font-size: 24px; }
.form ol, .form ul { padding-left: 22px; display: grid; gap: 8px; color: var(--mute); }
.creator { padding: 28px 0 80px; display: grid; gap: 14px; max-width: 860px; }
.creator h2 { margin: 22px 0 0; font-size: 22px; }
.creator pre { margin: 0; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; overflow-x: auto; }
.creator input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card); color: var(--fg); }
.creator label { display: block; max-width: 70ch; }
.creator label input[type=checkbox] { margin-right: 6px; }
.subs { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.subs th, .subs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.subs th { color: var(--mute); font-weight: 600; font-size: 13px; }
.subs tr:last-child td { border-bottom: 0; }
.subs .detail-text { color: var(--mute); font-size: 13px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line); }
.pill.approved { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.pill.rejected { background: rgba(209, 69, 59, .15); color: var(--bad); }
.table-scroll { overflow-x: auto; }
.prose h2 { margin-top: 30px; }
.prose p, .prose li { max-width: 70ch; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 0; }
.prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose dl.faq { margin: 0; }
.prose dl.faq dt { font-weight: 600; margin-top: 14px; }
.prose dl.faq dd { margin: 4px 0 0; max-width: 70ch; }
.draft { padding: 10px 14px; border-radius: 10px; background: rgba(226, 160, 40, .15); color: var(--fg); font-size: 14px; }
mark.todo { background: rgba(226, 160, 40, .3); color: var(--fg); border-radius: 4px; padding: 0 3px; }
#surveyPage textarea, #surveyPage select, #surveyPage input:not([type=number]),
#feedbackPage textarea, #feedbackPage select, #feedbackPage input { display: block; width: 100%; max-width: 70ch; margin-top: 6px; font: inherit; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--line2); background: var(--card); color: var(--fg); box-sizing: border-box; }
#surveyPage input[type=number] { width: 7em; font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line2); background: var(--card); color: var(--fg); }
#surveyPage h2 { font-size: 17px; margin-top: 22px; }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.clips figure { margin: 0; }
.clips video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); background: #111; display: block; box-shadow: 0 0 0 1px var(--line); }
.clips figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.clips figcaption a { text-decoration: none; }
.clips figure p { margin: 4px 0 0; color: var(--mute); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gallery { padding: 40px 0 80px; }

/* ---------- narrow screens: no pinned scenes, everything stacked ---------- */
@media (max-width: 899px) {
  .wrap { padding: 0 18px; }
  header.top nav { gap: 16px; }
  header.top nav .hide-sm { display: none; }
  .stage, .stage-pin { height: 92vh; min-height: 520px; }
  .stage-copy { padding-bottom: 7vh; }
  .chapter { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 28px; padding: 72px 0; }
  .seasons .names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
  .plan-cards { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  section.band, .plans-band { padding: 80px 0; }
  .waitlist { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.kicker h1 { margin: 0; font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.05em; max-width: 12ch; }
.band.tight { padding-bottom: 0; }
@media (max-width: 599px) {
  .tag { font-size: 9.5px; padding: 5px 8px; }
  .tag.br, .box::before { display: none; }
}
