:root {
  --paper: #fbf6ee; --paper-2: #f5ecdf; --card: #fffdf9; --line: #e7dccb;
  --ink: #1f2433; --ink-2: #4b5165; --ink-3: #6a7084;
  --ember: #eba55c; --ember-2: #f3bd7f; --ember-deep: #96500f; --on-ember: #2a1a08;
  --rose: #c94f76; --rose-soft: #fde6ea; --moon: #5a63a8;
  /* the game's own colours: scenes stay dark so they read as "the game" */
  --night: #0d1119; --night-2: #141a26; --night-3: #1c2433;
  --display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --story: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.12; margin-bottom: 12px; font-variation-settings: "opsz" 96; }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0 0 14px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.kicker { font: 600 12px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 14px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section.tight { padding: clamp(36px, 5vw, 56px) 0; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
:focus-visible { outline: 3px solid var(--moon); outline-offset: 3px; border-radius: 6px; }

/* ---- Navigation ---- */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: #fbf6eee6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font: 600 21px/1 var(--display); text-decoration: none; color: var(--ink); margin-right: auto; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1.1 var(--ui); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: var(--on-ember); box-shadow: 0 6px 18px #eba55c55; }
.btn-primary:hover { background: var(--ember-2); }
.btn-ghost { border-color: #1f243340; color: var(--ink); background: #ffffff80; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 9px 16px; font-size: 13px; background: var(--ember); color: var(--on-ember); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 88px); overflow: hidden;
  background: radial-gradient(90% 80% at 85% 10%, #fde3e6 0%, transparent 60%), radial-gradient(70% 70% at 0% 100%, #fbe8cf 0%, transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.lede { font: 400 18px/1.65 var(--story); color: var(--ink-2); max-width: 48ch; margin-top: 18px; }
.price-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 20px 0 0; color: var(--ink-2); font-size: 15px; }
.price-line strong { font: 600 24px/1 var(--display); color: var(--ink); }
.price-line > span::before { content: "·"; margin-right: 10px; color: var(--ink-3); }
.price-note { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.trust { font-size: 14px; color: var(--ink-2); max-width: 48ch; padding-left: 14px; border-left: 3px solid var(--ember); margin: 4px 0 0; }
.trust a { font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.scene-note { color: var(--ink-2); font-size: 14px; margin: 14px 2px 0; }

/* ---- A visual-novel scene, made of the game's own art ---- */
.scene { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; overflow: clip; container-type: inline-size;
  background: var(--bg) center / cover no-repeat, var(--night-3); box-shadow: 0 24px 60px #3a2a1a33, 0 0 0 1px #1f24331f; transition: background-image .3s; }
.spr { position: absolute; bottom: -20%; height: 114%; width: auto; max-width: none; filter: drop-shadow(0 6px 14px #0006); transition: filter .2s, left .35s ease; --x: -50%; transform: translateX(var(--x)); }
.spr-c { left: 50%; }
.spr-l { left: 27%; }
.spr-r { left: 73%; }
.spr.quiet { filter: drop-shadow(0 6px 14px #0006) brightness(.82) saturate(.9); }
.scene .box { position: absolute; left: 3%; right: 3%; bottom: 4%; min-height: 16.5cqw; padding: 3cqw 3.6cqw 2.6cqw; border-radius: 1.6cqw;
  background: linear-gradient(180deg, #121828ec, #0d1220f4); border: 1px solid #ffffff24; backdrop-filter: blur(3px); z-index: 2; text-align: left; }
.scene .name { position: absolute; top: 0; left: 3.2cqw; transform: translateY(-55%); padding: .7cqw 2cqw; border-radius: .9cqw;
  background: var(--night-3); border: 1px solid #ffffff2e; font: 600 max(12px, 2.3cqw)/1.1 var(--display); color: var(--c, #fff); letter-spacing: .02em; }
.scene .name:empty { display: none; }
.scene .line { display: block; font: 400 max(13px, 2.55cqw)/1.45 var(--story); color: #f6f1e6; }
.scene .line.narr { color: #cfd6e6; font-style: italic; }
.scene .line em { font-style: italic; }
.scene .line.narr em { font-style: normal; }
.scene.veiled .box, .scene.veiled .scene-dots { visibility: hidden; }
/* playable parts, added by site.js */
.scene.live { cursor: pointer; }
.scene-next { position: absolute; inset: 0; z-index: 3; border: 0; background: none; cursor: pointer; padding: 0; border-radius: var(--radius); }
.scene-hint { position: absolute; right: 5.5%; bottom: 6.5%; z-index: 2; font: 600 max(10px, 1.7cqw)/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-2); pointer-events: none; }
.scene-hint.pulse { animation: pulse 1.6s ease-in-out infinite; }
.scene-dots { position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: .9cqw; pointer-events: none; }
.scene-dots i { width: max(5px, 1.1cqw); height: max(5px, 1.1cqw); border-radius: 50%; background: #ffffff66; box-shadow: 0 0 0 1px #0003; }
.scene-dots i.on { background: var(--ember-2); }
.scene-choices { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.8cqw; padding: 4cqw 6cqw; background: #0d1119a6; }
.scene-choices p { margin: 0 0 .6cqw; font: 600 max(11px, 1.9cqw)/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); }
.scene-choices button { width: min(100%, 84cqw); padding: 2cqw 3cqw; border-radius: 1.4cqw; border: 1px solid #ffffff3d; background: #141a26f2; color: #f6f1e6; cursor: pointer;
  font: 400 max(13px, 2.5cqw)/1.35 var(--story); text-align: left; transition: border-color .15s, background .15s, transform .15s; }
.scene-choices button:hover, .scene-choices button:focus-visible { border-color: var(--ember-2); background: #1c2433; transform: translateX(3px); }
.scene-end { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.4cqw; padding: 4cqw 8cqw; background: #0d1119d9; text-align: center; }
.scene-end p { margin: 0; font: 400 max(15px, 3.1cqw)/1.35 var(--display); color: #fff; max-width: 28em; }
.scene-end .row { display: flex; flex-wrap: wrap; gap: 1.6cqw; justify-content: center; }
.scene-end .btn { padding: max(9px, 1.6cqw) max(14px, 2.6cqw); font-size: max(13px, 2cqw); }
.scene-end .btn-ghost { color: #fff; border-color: #ffffff59; background: #ffffff14; }
.scene-end .btn-ghost:hover { border-color: #fff; }
.fx-hop { animation: hop .42s cubic-bezier(.3,1.6,.5,1); }
.fx-shake { animation: shake .4s linear; }
.fx-in { animation: slidein .4s ease-out; }
.fx-line { animation: linein .22s ease-out; }
@keyframes hop { 0% { transform: translateX(var(--x)) translateY(0); } 40% { transform: translateX(var(--x)) translateY(-3.5%); } 100% { transform: translateX(var(--x)) translateY(0); } }
@keyframes shake { 0%, 100% { transform: translateX(var(--x)); } 20% { transform: translateX(calc(var(--x) - 1.6%)); } 40% { transform: translateX(calc(var(--x) + 1.6%)); } 60% { transform: translateX(calc(var(--x) - 1%)); } 80% { transform: translateX(calc(var(--x) + 1%)); } }
@keyframes slidein { from { opacity: 0; transform: translateX(calc(var(--x) + 5%)); } to { opacity: 1; transform: translateX(var(--x)); } }
@keyframes linein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---- Made for ---- */
.h2-small { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 20px; }
.for { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.for li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; border-top: 3px solid var(--rose); }
.for li:nth-child(2) { border-top-color: var(--ember); }
.for li:nth-child(3) { border-top-color: var(--moon); }
.for li:nth-child(4) { border-top-color: #4f9a7c; }
.for h3 { font-size: 18px; margin-bottom: 6px; }
.for p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---- Samples ---- */
.sample { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 4.5vw, 60px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.sample.flip .sample-media { order: 2; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px #1f243326; transition: box-shadow .15s, transform .15s; }
.gallery button:hover, .gallery button:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--ember); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-note { font-size: 13px; color: var(--ink-2); margin: 8px 2px 0; }
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); overflow: visible; }
dialog.zoom::backdrop { background: #0d1119e0; }
dialog.zoom img { display: block; margin: 0 auto; max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px #000a; }
dialog.zoom p { margin: 12px 0 0; text-align: center; color: #fff; font: 400 16px/1.4 var(--story); }
.zoom-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #0d1119cc; color: #fff; font: 400 26px/1 var(--ui); cursor: pointer; }
.zoom-close:hover { background: #000; }
.genre { color: #a12d57; font: 600 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.sample-copy h3 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.sample-copy > p:not(.genre):not(.size-note) { color: var(--ink-2); font: 400 17px/1.65 var(--story); }
.stats { list-style: none; padding: 0; margin: 18px 0 8px; display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.stats strong { font: 600 24px/1 var(--display); color: var(--ink); margin-right: 4px; }
.size-note { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.size-note::before { content: "↳ "; color: var(--ember-deep); }
.cast { display: flex; gap: 8px; margin-bottom: 22px; }
/* Head and shoulders from each full-body sprite. */
.face { display: block; width: 25%; max-width: 84px; aspect-ratio: 1; border-radius: 50%; background: #fff 50% 3% / 260% no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line), 0 6px 16px #3a2a1a22; }

/* ---- How it works ---- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eba55c38; color: var(--ember-deep); font: 600 17px/1 var(--display); margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 34px; margin-top: 56px; }
.features h3 { font-size: 19px; margin-bottom: 6px; }
.features h3::before { content: "✦"; color: var(--ember-deep); margin-right: 10px; font-size: 14px; vertical-align: 2px; }
.features p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--ember); box-shadow: 0 18px 50px #eba55c33; }
.badge { position: absolute; top: -12px; right: 22px; background: var(--ink); color: #fff; font: 600 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.price { font: 600 52px/1 var(--display); color: var(--ink); margin: 14px 0 6px; }
.price.price-text { font-size: 30px; line-height: 52px; }
.was { font-size: .46em; font-weight: 400; color: var(--ink-3); text-decoration-thickness: 2px; margin-right: 2px; vertical-align: .35em; }
.price-line .was { font: 400 17px/1 var(--ui); vertical-align: baseline; margin: 0 2px 0 -2px; }
.offer { margin: 0 0 8px; }
.offer span, .price-line [data-offer-label] { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--rose-soft); color: #a12d57; font: 600 12px/1.2 var(--ui); letter-spacing: .04em; }
.price-line > span[data-offer-label]::before { content: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-sub { color: var(--ember-deep); font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ember-deep); font-weight: 700; }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 24px 30px; background: var(--card); border: 1px dashed #c9bda8; border-radius: 18px; }
.addon-tag { font: 600 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 10px; }
.addon h3 { margin-bottom: 8px; }
.addon p { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }
.addon .addon-note { font-size: 13px; margin-bottom: 0; }
.addon .price { flex: none; margin: 0; font-size: 44px; color: var(--ink); }
.fine { color: var(--ink-2); font-size: 13px; margin-top: 18px; }
/* the free offer: a card above the plans, and a line in the hero */
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--rose-soft); color: #a12d57; font: 600 12px/1.2 var(--ui); letter-spacing: .04em; white-space: nowrap; }
.free { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 250px); gap: 6px 44px; align-items: center; margin-top: 36px; padding: 28px 30px 22px; background: var(--card); border: 1.5px solid var(--rose); border-radius: 18px; box-shadow: 0 18px 50px #c94f761a; }
.free + .plans { margin-top: 22px; }
.free-tag { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 12px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.free h3 { margin-bottom: 8px; }
.free p { color: var(--ink-2); font-size: 15px; }
.free-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 0; margin: 2px 0 0; font-size: 15px; }
.free-list li { position: relative; padding-left: 22px; }
.free-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ember-deep); font-weight: 700; }
.free-side { text-align: center; }
.free-side .price { margin: 0 0 14px; color: var(--ink); font-size: 44px; }
.free-side .free-how { font-size: 13px; margin: 12px 0 0; }
.free .fine { grid-column: 1 / -1; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.free-line { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.free-line .pill { margin-right: 6px; }
.free-line a { font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

/* ---- Made with AI ---- */
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.ai-grid.three { grid-template-columns: repeat(3, 1fr); }
.section.why { padding-bottom: 0; }
.ai-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 12px; }
.ai-grid h3 { font-size: 20px; margin-bottom: 8px; }
.ai-grid p { color: var(--ink-2); }
.made-h { margin: 40px 0 14px; }
.made { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.made th, .made td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); }
.made thead th { border-top: 0; background: var(--paper-2); font: 600 12px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ember-deep); }
.made tbody th { width: 28%; font: 600 17px/1.3 var(--display); color: var(--ink); }
.made tbody th small { display: block; margin-top: 4px; font: 400 13px/1.4 var(--ui); color: var(--ink-2); }
.made td { color: var(--ink-2); }
.made td:nth-child(2) { width: 32%; }
.tag { display: inline-block; margin: 0 6px 4px 0; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.2 var(--ui); white-space: nowrap; }
.tag-ai { background: #e4e6f6; color: #353c7d; }
.tag-hand { background: #dff0e6; color: #24573f; }
.tag-none { background: #ece6da; color: #4b5165; }
.tag-online { background: #fde3d2; color: #8a3c0c; }
.plain-facts { list-style: none; margin: 22px 0 0; padding: 18px 22px; border-left: 3px solid var(--ember); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); font-size: 14px; }
.plain-facts li + li { margin-top: 8px; }

/* ---- Story ideas and rules ---- */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.ideas { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ideas li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 400 15px/1.35 var(--story); color: var(--ink); }
.rules-h { margin-bottom: 6px; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.rules strong { color: var(--ink); font-weight: 600; }
.rules li::before { content: "•"; position: absolute; left: 8px; top: 13px; color: var(--ink-3); font-weight: 700; }
.rules .yes::before { content: "✓"; left: 4px; color: #3d8a68; }

/* ---- FAQ ---- */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 17px/1.4 var(--ui); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--ui); color: var(--ember-deep); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: -4px 0 20px; max-width: 64ch; }

/* ---- Idea form ---- */
.idea { background: radial-gradient(80% 90% at 10% 0%, #fde3e6 0%, transparent 60%), var(--paper-2); border-top: 1px solid var(--line); }
.idea-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.pay { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.pay-label { font-weight: 600; margin: 0; }
.pay .cta-row { margin-top: 12px; }
.idea-form, .idea-done { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 18px 50px #3a2a1a14; }
.idea-done { grid-column: 2; }
.idea-done h3 { margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1.5px solid #cfc4b2; border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px/1.45 var(--ui); }
.field textarea { resize: vertical; font-family: var(--story); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moon); box-shadow: 0 0 0 3px #5a63a833; }
.field .bad, .check .bad + span { border-color: #b3261e; }
.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.chips legend small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #cfc4b2; background: #fff; font-size: 14px; font-weight: 500; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--moon); outline-offset: 2px; }
.starters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -6px 0 18px; font-size: 13px; color: var(--ink-2); }
.starters button { border: 1px dashed #b9ad98; background: none; border-radius: 999px; padding: 6px 12px; font: 500 13px/1 var(--ui); color: var(--ink-2); cursor: pointer; }
.starters button:hover { border-style: solid; border-color: var(--ink); color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.check small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.form-msg { margin: 12px 0; font-size: 14px; font-weight: 500; color: #b3261e; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #2f6f52; }
.idea-form .btn { width: 100%; }
.idea-form .fine { text-align: center; margin: 12px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--ink-2); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { margin-left: 10px; }
.sticky-cta { display: none; }

/* ---- Small screens ---- */
@media (max-width: 960px) {
  .hero-grid, .sample, .two-col, .idea-grid { grid-template-columns: 1fr; }
  .hero-scene { order: -1; }
  .sample.flip .sample-media { order: 0; }
  .idea-done { grid-column: 1; }
  .steps, .for { grid-template-columns: repeat(2, 1fr); }
  .plan { padding: 24px 20px 22px; }
  .price.price-text { font-size: 24px; }
  .ai-grid.three { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 16px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .steps, .features, .plans, .for, .ai-grid, .row { grid-template-columns: 1fr; }
  .addon { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
  .free { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .free-side { text-align: left; }
  .free-side .btn { width: 100%; }
  .free .fine { margin-top: 0; }
  /* the table becomes one card per part of the game */
  .made, .made tbody, .made tr, .made th, .made td { display: block; width: auto; }
  .made thead { display: none; }
  .made tbody th { width: auto; padding-bottom: 4px; }
  .made tbody tr + tr th { border-top: 1px solid var(--line); }
  .made tbody tr:first-child th { border-top: 0; }
  .made td, .made td:nth-child(2) { width: auto; border-top: 0; padding-top: 6px; padding-bottom: 6px; }
  .made td:last-child { padding-bottom: 18px; }
  .made td::before { content: attr(data-label); display: block; font: 600 11px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 4px; }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .nav .btn-small { display: none; }
  body { padding-bottom: 64px; }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; box-shadow: 0 -8px 24px #0003; }
  .sticky-cta.away { display: none; }
  .sticky-cta strong { background: var(--ember); color: var(--on-ember); padding: 10px 16px; border-radius: 999px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .scene, .spr, .gallery button, .scene-choices button { transition: none; }
  .fx-hop, .fx-shake, .fx-in, .fx-line, .scene-hint.pulse { animation: none; }
}
