/* Maneki waitlist. Colours, radii and type come from the harness tokens (neko-handoff/tokens/tokens.css). */
:root {
  /* harness light theme, on a white page */
  --ground: #FFFFFF;
  --surface: #F5F2EC;
  --raised: #FFFFFF;
  --app: #EFEAE0;
  --ink: #121212;
  --ink-soft: #2E2C29;
  --ink2: #55524C;
  --ink3: #6B675F;
  --ink-rgb: 18 18 18;
  --accent: #E5532D;
  --pass: #0A7A5C;
  --fail: #D64545;
  --r-tile: 16px;
  --r-card: 20px;
  --r-panel: 24px;
  --r-sheet: 28px;
  --hairline: inset 0 0 0 1px rgb(var(--ink-rgb) / 0.07);
  --ring-selected: inset 0 0 0 1.5px var(--accent);
  --lift: 0 24px 60px rgb(40 30 20 / 0.08);
  --ease-snap: cubic-bezier(0.2, 0.9, 0.3, 1);
  --hero: min(900px, 62vw);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--ground); }
body { color: var(--ink); font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.display { font-family: 'M PLUS Rounded 1c', 'Geist', system-ui, sans-serif; font-weight: 800; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.wrap { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand neko-mascot { width: 32px; height: 32px; }
.brand span { font-size: 22px; letter-spacing: -0.02em; }
.x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink2); transition: background 160ms var(--ease-snap), color 160ms var(--ease-snap); }
.x:hover { background: var(--surface); color: var(--ink); }
.x svg { width: 16px; height: 16px; fill: currentColor; }

/* hero: the app's Home screen, one question at a time */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 40px; padding-bottom: 120px; }
.hero > neko-mascot { display: block; width: 112px; height: 112px; margin-bottom: 18px; cursor: pointer; }
.hero h1 { margin: 0; text-wrap: balance; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.lede { margin: 18px 0 0; max-width: 540px; font-size: 18px; line-height: 1.55; color: var(--ink2); }

.composer { width: 100%; max-width: 680px; margin-top: 40px; padding: 18px 18px 14px 22px; border-radius: var(--r-sheet); background: var(--surface); box-shadow: var(--hairline), var(--lift); text-align: left; transition: box-shadow 220ms var(--ease-snap); }
.composer:focus-within { box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / 0.18), var(--lift); }
.composer textarea { display: block; width: 100%; min-height: 56px; max-height: 160px; padding: 2px 0 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; line-height: 1.5; resize: none; outline: none; }
.composer textarea::placeholder { color: var(--ink3); }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.hint { font-size: 13px; color: var(--ink3); }
.send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); transition: transform 160ms var(--ease-snap), background 160ms var(--ease-snap), color 160ms var(--ease-snap); }
.send:not([disabled]):hover { transform: scale(1.06); }
.send[disabled] { background: rgb(var(--ink-rgb) / 0.08); color: var(--ink3); cursor: default; }
.send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 680px; margin-top: 16px; }
.idea { height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / 0.1); color: var(--ink2); font-size: 13.5px; transition: background 160ms var(--ease-snap), color 160ms var(--ease-snap); }
.idea:hover { background: var(--surface); color: var(--ink); }
.skip { margin-top: 22px; padding: 6px 10px; border: 0; background: none; color: var(--ink3); font-size: 13.5px; text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / 0.2); text-underline-offset: 4px; }
.skip:hover { color: var(--ink2); }

/* the conversation, built like the app's chat column */
.thread { width: 100%; max-width: 680px; margin-top: 40px; display: grid; gap: 14px; text-align: left; }
.you { justify-self: end; max-width: 82%; padding: 12px 16px; border-radius: 22px 22px 6px 22px; background: var(--ink); color: var(--ground); font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.neko-says { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.neko-says neko-mascot { width: 30px; height: 30px; margin-top: 1px; }
.neko-says p { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.neko-says p strong { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.card { padding: 16px; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--hairline); }
.card form { display: flex; gap: 8px; }
.card input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--raised); box-shadow: var(--hairline); color: var(--ink); font: inherit; font-size: 15.5px; outline: none; }
.card input::placeholder { color: var(--ink3); }
.card input:focus { box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / 0.3); }
.card input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 100px var(--raised); -webkit-text-fill-color: var(--ink); }
.card input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--fail); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-snap); }
.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn.soft { background: var(--surface); box-shadow: var(--hairline); color: var(--ink); font-weight: 500; }
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.err { margin: 10px 4px 0; font-size: 13.5px; color: var(--fail); }
.err:empty { display: none; }
.fine { margin: 12px 4px 0; font-size: 12.5px; color: var(--ink3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* step card, like the app's: icon tile, title, meta */
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--hairline); }
.step .tile, .beta .done .tile { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--pass); color: #fff; }
.step .tile svg, .beta .done .tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.step b { display: block; font-size: 15px; font-weight: 600; }
.step span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink2); overflow-wrap: anywhere; }
.step .meta { margin-left: auto; flex: none; font-size: 12px; color: var(--pass); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 38px; padding: 0 15px; border: 0; border-radius: 999px; background: var(--raised); box-shadow: var(--hairline); color: var(--ink); font-size: 14px; font-weight: 500; transition: box-shadow 160ms var(--ease-snap); }
.chip.small { height: 34px; padding: 0 13px; font-size: 13px; }
.chip[aria-checked="true"] { box-shadow: var(--ring-selected); }
.chip:not([aria-checked="true"]):hover { background: var(--surface); }
.card .label { display: block; margin: 0 2px 10px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.card .chips + .label { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }

/* the proof: a working session in Maneki, with the game playing on the right */
.proof { padding-top: 24px; padding-bottom: 96px; }
.proof h2 { text-wrap: balance; margin: 0 auto 40px; max-width: 760px; text-align: center; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }

.app { display: grid; grid-template-columns: 200px minmax(0, 0.95fr) minmax(0, 1.35fr); gap: 12px; margin: 0; padding: 12px; border-radius: 32px; background: var(--app); box-shadow: var(--hairline), 0 40px 100px rgb(40 30 20 / 0.12); font-size: 13px; text-align: left; }
.app svg { width: 16px; height: 16px; flex: none; }

.side { display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; }
.proj { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; }
.proj neko-mascot { width: 30px; height: 30px; }
.proj b, .head > div b { display: block; font-size: 14px; font-weight: 600; }
.proj span, .head > div span { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink2); }
.nav { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 999px; color: var(--ink-soft); }
.nav.on { background: var(--raised); color: var(--ink); font-weight: 600; box-shadow: var(--hairline); }
.nav i { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink3); }
.side .sec { margin: 18px 10px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); }
.thr { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 14px; }
.thr.on { background: var(--raised); box-shadow: var(--hairline); }
.thr neko-mascot { width: 24px; height: 24px; }
.thr b { display: block; font-size: 12.5px; font-weight: 600; }
.thr span { display: block; font-size: 11px; color: var(--ink3); }

.chat { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 10px 6px 6px; }
.head { display: flex; align-items: center; gap: 10px; padding: 0 4px 6px; }
.head neko-mascot { flex: none; width: 34px; height: 34px; }
.head > div { min-width: 0; }
.head .pill-pass { margin-left: auto; }
.log { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.log-title { font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.log p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.log b { display: inline-block; min-width: 48px; font-weight: 600; color: var(--pass); }
.msg-you { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: var(--ground); font-size: 13.5px; line-height: 1.45; }
.msg-neko { margin: 2px 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.sc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--raised); box-shadow: var(--hairline); }
.sc .ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface); color: var(--ink); }
.sc .ic.hot { background: var(--accent); color: #fff; }
.sc div { min-width: 0; }
.sc b { display: block; font-size: 13px; font-weight: 600; }
.sc span { display: block; margin-top: 1px; overflow: hidden; font-size: 11.5px; color: var(--ink2); white-space: nowrap; text-overflow: ellipsis; }
.sc em { margin-left: auto; flex: none; font-style: normal; font-size: 11px; color: var(--ink3); }
.sc em.new { color: #B63C1B; }
.sc em.ok { color: var(--pass); }
.sc .go-pill { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 12px; font-weight: 600; }
.mini-composer { margin-top: auto; padding: 10px 10px 10px 14px; border-radius: 20px; background: var(--raised); box-shadow: var(--hairline); }
.mini-composer .tags { display: flex; gap: 6px; }
.mini-composer .tags span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface); font-size: 11.5px; }
.mini-composer .tags svg { width: 12px; height: 12px; }
.mini-composer .row2 { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: var(--ink3); }
.mini-composer .up { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: var(--ground); }
.mini-composer .up svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.play { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tabs { display: flex; align-items: center; gap: 4px; padding: 2px; }
.tab { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; color: var(--ink2); font-weight: 500; }
.tab.on { background: var(--raised); color: var(--ink); box-shadow: var(--hairline); }
.tab .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.tabs .why { margin-left: auto; font-size: 11.5px; color: var(--ink3); }
.panel { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-panel); background: var(--raised); box-shadow: var(--hairline); }
.panel .head { padding: 0; }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: #1b1530; }
.screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen .live { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.screen .live i { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.facts div { padding: 10px 12px; border-radius: 14px; background: var(--surface); }
.facts b { display: block; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 15px; font-weight: 500; }
.facts span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink2); }
.pill-pass { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: rgb(14 159 119 / 0.12); color: var(--pass); font-size: 11.5px; font-weight: 600; }
.pill-pass i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* footer */
.foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; padding-bottom: 28px; font-size: 13px; color: var(--ink3); }
.foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.foot a:hover { color: var(--ink2); }
.foot svg { width: 14px; height: 14px; fill: currentColor; }

/* motion: things arrive like the app's step cards */
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.rise { animation: rise 420ms var(--ease-snap) both; }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
.shake { animation: shake 420ms ease both; }

/* 404 */
.lost { flex: 1; display: grid; align-content: start; gap: 22px; padding-top: 24px; padding-bottom: 120px; }
.lost h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.lost .card { max-width: 480px; }
.lost p { margin: 8px 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.fallen-neko { position: fixed; z-index: 0; width: var(--hero); height: var(--hero); right: calc(var(--hero) * -0.2); bottom: calc(var(--hero) * -0.27); }
.fallen-neko neko-mascot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transform: rotate(-7deg); cursor: pointer; }
.page.oops .wrap { z-index: 1; }

/* game demo pages (/play/<slug>) */
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; }
.demo { padding-top: 8px; padding-bottom: 64px; }
.stage { position: relative; aspect-ratio: var(--aspect, 16 / 9); max-height: calc(100svh - 120px); margin: 0 auto; border-radius: var(--r-sheet); overflow: hidden; background: #0D0B14; box-shadow: var(--lift), var(--hairline); }
.stage .poster, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage .poster { object-fit: cover; }
.start { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 16px; padding: 32px; border: 0; background: linear-gradient(180deg, rgb(13 11 20 / 0) 45%, rgb(13 11 20 / 0.72)); color: #fff; text-align: left; }
.play-dot { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgb(0 0 0 / 0.3); transition: transform 200ms var(--ease-snap); }
.play-dot svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.start:hover .play-dot { transform: scale(1.06); }
.start-text b { display: block; font-family: 'M PLUS Rounded 1c', 'Geist', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.start-text span { display: block; margin-top: 4px; font-size: 14px; color: rgb(255 255 255 / 0.82); }
.start-text i { font-style: normal; }
.stage.loading .start { pointer-events: none; }
.stage.loading .start-text b::after { content: '…'; }
.full { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgb(13 11 20 / 0.55); color: #fff; backdrop-filter: blur(8px); opacity: 0.7; transition: opacity 160ms var(--ease-snap); }
.full:hover { opacity: 1; }
.full svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage:fullscreen { border-radius: 0; max-height: none; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; margin-top: 48px; }
.eyebrow { display: block; font-size: 12.5px; color: var(--ink3); }
.demo h1 { margin: 10px 0 0; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.demo-about .lede { max-width: 560px; }
.made { display: grid; gap: 14px; max-width: 560px; margin-top: 36px; }
.made .label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.made .you { justify-self: start; border-radius: 22px 22px 22px 6px; }
.made .steps { display: grid; gap: 8px; margin-left: 42px; }
.made .sc b { font-size: 14px; }
.made .sc span { font-size: 12.5px; }
.made .sc em { font-size: 12px; }
.state { display: inline-flex; align-items: center; gap: 6px; height: 22px; margin-right: 8px; padding: 0 9px; border-radius: 999px; vertical-align: 2px; font-size: 12px; font-weight: 600; }
.state::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.state.working { background: rgb(var(--ink-rgb) / 0.06); color: var(--ink2); }
.state.done { background: rgb(10 122 92 / 0.1); color: var(--pass); }
@media (max-width: 640px) { .made .steps { margin-left: 0; } }
.beta { position: sticky; top: 24px; padding: 28px; }
.beta neko-mascot { display: block; width: 76px; height: 76px; margin-bottom: 12px; }
.beta h2 { margin: 0; font-size: 30px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.beta > p { margin: 12px 0 20px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
.beta .done { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-card); background: var(--raised); box-shadow: var(--hairline); }
.beta .done b { display: block; font-size: 15px; }
.beta .done span { font-size: 13.5px; color: var(--ink2); overflow-wrap: anywhere; }
.nudge { position: fixed; right: 20px; bottom: 20px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 12px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px rgb(0 0 0 / 0.2); animation: rise 420ms var(--ease-snap) both; }
.nudge neko-mascot { width: 28px; height: 28px; }
.game-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.game-card { display: block; border-radius: var(--r-panel); overflow: hidden; background: var(--surface); box-shadow: var(--hairline); text-decoration: none; transition: transform 200ms var(--ease-snap); }
.game-card:hover { transform: translateY(-2px); }
.game-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game-card > span { display: block; padding: 14px 18px 18px; }
.game-card b { display: block; font-size: 17px; }
.game-card span span { font-size: 14px; color: var(--ink2); }
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .beta { position: static; }
}
@media (max-width: 640px) {
  .stage { aspect-ratio: 4 / 3; border-radius: var(--r-card); margin-left: -4px; margin-right: -4px; }
  .stage .poster { object-position: 40% 30%; }
  .start { background: linear-gradient(180deg, rgb(13 11 20 / 0) 55%, rgb(13 11 20 / 0.8)); }
  .start-text i { display: none; }
  .start { padding: 18px; gap: 12px; }
  .play-dot { width: 54px; height: 54px; }
  .play-dot svg { width: 22px; height: 22px; }
  .start-text b { font-size: 22px; }
  .start-text span { font-size: 12.5px; }
  .beta { padding: 22px; }
  .beta form { flex-direction: column; }
  .beta input { flex: none; width: 100%; }
  .beta .btn { width: 100%; }
  .nudge { left: 16px; right: 16px; justify-content: center; }
}

@media (max-width: 1100px) {
  .app { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); }
  .side { display: none; }
}

@media (max-width: 780px) {
  .app { grid-template-columns: minmax(0, 1fr); padding: 8px; border-radius: 26px; }
  .play { order: -1; }
  .tabs .why { display: none; }
  .tab { padding: 0 10px; font-size: 12.5px; }
  .facts span { font-size: 11px; }
  .sc.extra, .log { display: none; }
}

@media (max-width: 640px) {
  :root { --hero: 420px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .top { padding-top: 16px; padding-bottom: 16px; }
  .hero { padding-top: 24px; padding-bottom: 80px; }
  .hero > neko-mascot { width: 88px; height: 88px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 16px; }
  .composer { margin-top: 28px; padding: 16px 14px 12px 18px; }
  .composer textarea { font-size: 16px; }
  .ideas { justify-content: flex-start; }
  .card form { flex-direction: column; }
  .card input { flex: none; width: 100%; }
  .card .btn { width: 100%; }
  .proof { padding-bottom: 64px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fallen-neko { right: -90px; bottom: -170px; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .shake, .screen .live i { animation: none; }
  * { transition-duration: 1ms !important; }
}

/* ---------- Redesign (2026-11): full-bleed hero video, visual idea mosaic, closing call ---------- */
/* Header floats over the video's sky. */
.page.home > .top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; max-width: none; padding-left: max(24px, calc((100vw - 1200px) / 2 + 40px)); padding-right: max(24px, calc((100vw - 1200px) / 2 + 40px)); }
.page.home > .top .brand span { color: #fff; text-shadow: 0 1px 12px rgb(10 40 90 / 0.35); }
.top-links { display: flex; align-items: center; gap: 6px; }
.home .top-links > a:not(.x):not(.pill) { padding: 8px 12px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; text-shadow: 0 1px 10px rgb(10 40 90 / 0.4); }
.home .top-links > a:not(.x):not(.pill):hover { background: rgb(255 255 255 / 0.18); }
.page.home > .top .x { color: #fff; }
.page.home > .top .x:hover { background: rgb(255 255 255 / 0.18); color: #fff; }
.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-snap), background 160ms var(--ease-snap); }
.pill:hover { background: #2a2a2a; transform: translateY(-1px); }
.pill.big { height: 52px; padding: 0 26px; font-size: 16px; }

/* The hero is the video; the copy sits in the open sky, the composer on the meadow. */
.hero { position: relative; display: block; min-height: 100svh; padding: 0; overflow: hidden; background: #3f8fe8; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 46% 30% at 50% 24%, rgb(22 78 160 / 0.42), rgb(22 78 160 / 0.18) 55%, rgb(22 78 160 / 0) 100%), linear-gradient(180deg, rgb(16 60 130 / 0.28) 0%, rgb(16 60 130 / 0) 34%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / 0.9) 100%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 128px; padding-bottom: 96px; }
.hero-in > neko-mascot { width: 72px; height: 72px; margin-bottom: 14px; filter: drop-shadow(0 6px 18px rgb(10 40 90 / 0.25)); }
.hero h1 { color: #fff; text-shadow: 0 2px 0 rgb(14 50 110 / 0.35), 0 2px 12px rgb(14 50 110 / 0.45), 0 8px 40px rgb(14 50 110 / 0.5); }
.hero .lede { color: #fff; max-width: 560px; text-shadow: 0 1px 2px rgb(14 50 110 / 0.5), 0 1px 16px rgb(14 50 110 / 0.7); }
.hero .composer { background: rgb(255 255 255 / 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgb(14 50 110 / 0.25); }
.hero .idea { background: rgb(255 255 255 / 0.82); box-shadow: none; color: var(--ink-soft); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .idea:hover { background: #fff; color: var(--ink); }
.hero .skip { color: var(--ink-soft); background: rgb(255 255 255 / 0.7); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.hero .skip:hover { background: #fff; color: var(--ink); }
.platforms { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 14px; border-radius: 999px; background: rgb(18 18 18 / 0.72); color: #fff; font-size: 13px; font-weight: 500; }
.platforms svg { width: 15px; height: 15px; fill: currentColor; }
.platforms svg + svg { margin-left: -2px; }
.hero .thread { margin-left: auto; margin-right: auto; }

/* The app shot comes up over the end of the hero. */
.proof { padding-top: 72px; }

/* What will you make: pictures first, one line each. */
.make { padding-top: 40px; padding-bottom: 40px; }
.make h2 { margin: 0 0 28px; text-align: center; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r-card); background: var(--surface); text-align: left; box-shadow: var(--hairline); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-snap); }
.tile span { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.92); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px rgb(0 0 0 / 0.15); }
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline-offset: 3px; }
.make .fine { margin: 14px 0 0; text-align: center; color: var(--ink3); font-size: 13px; }

/* Closing call. */
.last { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 72px; padding-bottom: 96px; text-align: center; }
.last neko-mascot { width: 96px; height: 96px; }
.last h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .top-links > a:not(.x):not(.pill) { display: none; }
}
@media (max-width: 640px) {
  .hero-in { padding-top: 104px; padding-bottom: 64px; }
  .tile.big { grid-column: span 2; grid-row: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #3f8fe8 url("/assets/hero-poster.jpg") center / cover; }
  .tile img { transition: none; }
}

/* Logo: the Neko headshot tile (centered by its exact bounds). */
.brand .logo { display: block; width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgb(10 40 90 / 0.18); }

/* FAQ */
.faq { max-width: 760px; padding-top: 64px; padding-bottom: 8px; }
.faq h2 { margin: 0 0 22px; text-align: center; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; }
.faq details { border-top: 1px solid rgb(var(--ink-rgb) / 0.09); }
.faq details:last-of-type { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.09); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms var(--ease-snap); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { margin: -6px 4px 22px; max-width: 640px; color: var(--ink2); font-size: 16px; line-height: 1.6; }

/* ---------- Demos (/play and /play/<slug>) ---------- */
.dark-link { padding: 8px 12px; border-radius: 999px; color: #3a3a3a; font-size: 14px; font-weight: 500; text-decoration: none; }
.dark-link:hover { background: rgb(0 0 0 / 0.06); color: #121212; }
.demos { padding-top: 24px; padding-bottom: 32px; }
.demos-head { max-width: 720px; margin: 24px auto 40px; text-align: center; }
.demos-head h1 { margin: 0; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.demos-head .lede { margin: 16px auto 0; max-width: 520px; }
.demo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.demo-card { display: flex; flex-direction: column; border-radius: var(--r-sheet); overflow: hidden; background: var(--surface); box-shadow: var(--hairline), var(--lift); text-decoration: none; transition: transform 260ms var(--ease-snap), box-shadow 260ms var(--ease-snap); }
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--hairline), 0 34px 80px rgb(40 30 20 / 0.16); }
.demo-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0D0B14; }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-snap); }
.demo-card:hover .demo-shot img { transform: scale(1.04); }
.demo-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(13 11 20 / 0) 55%, rgb(13 11 20 / 0.45)); }
.demo-play { position: absolute; left: 20px; bottom: 20px; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgb(0 0 0 / 0.3); transition: transform 200ms var(--ease-snap); }
.demo-play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.demo-card:hover .demo-play { transform: scale(1.08); }
.demo-meta { display: grid; gap: 6px; padding: 22px 24px 26px; }
.demo-meta b { font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.demo-meta > span { color: var(--ink2); font-size: 15px; }
.demo-meta q { margin-top: 8px; padding: 12px 14px; border-radius: 16px 16px 16px 6px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.45; quotes: none; }
.demo-meta small { margin-top: 6px; color: var(--ink3); font-size: 13px; }
.demos-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 88px 0 48px; text-align: center; }
.demos-cta h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; }
.demos-cta .logo { border-radius: 16px; }
.more-demos { margin-top: 80px; }
.more-demos h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
.more-demos .demo-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
@media (prefers-reduced-motion: reduce) { .demo-card, .demo-shot img, .demo-play { transition: none; } }
