/* Stop Motion Movie Maker — stopmotionmoviemaker.com
   Brand (from the app's Theme.swift; hex is the source of truth): Cream #FFF8E7 canvas, Ink #2B2350 text,
   Night #1B1A3A and Stage #14132B behind the camera, and the seven candy colors, one job each:
   Grass #3BCEAC Snap, Tomato #FF5A5F Oops, Sky #3A86FF Play, Grape #8338EC Ghost, Sunny #FFD23F Done,
   Bubblegum #FF70A6 Edit, Tangerine #FF9F1C. Grape (5.3:1 on cream) is the only candy color used for text.
   Candy buttons sit on a lip that is the app's `shaded(-0.3)` of their color. Light only, like the app's
   kid screens. Type: the system's rounded face (SF Pro Rounded) where there is one, else Nunito
   (self-hosted Latin subset, weights 500–900, SIL OFL). The site makes no third-party requests. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fff8e7;
  --raised: #fff1d0;
  --surface: #ffffff;
  --ink: #2b2350;
  --ink-soft: #3e3566;
  --muted: #6b6394;
  --night: #1b1a3a;
  --stage: #14132b;
  --line: #f0e3c4;
  --line-soft: rgba(43, 35, 80, 0.1);

  --tomato: #ff5a5f;    --tomato-lip: #b23538;
  --tangerine: #ff9f1c; --tangerine-lip: #b26905;
  --sunny: #ffd23f;     --sunny-lip: #b29020;
  --grass: #3bceac;     --grass-lip: #209076;
  --sky: #3a86ff;       --sky-lip: #1c56b2;
  --grape: #8338ec;     --grape-lip: #551ca5;
  --bubblegum: #ff70a6; --bubblegum-lip: #b2456f;
  --grape-soft: rgba(131, 56, 236, 0.1);

  /* The badge's rainbow lip, left to right, and its letters (sky and grape lightened to pop on navy) */
  --rainbow: linear-gradient(90deg, #ff5a5f 0 14.3%, #ff9f1c 14.3% 28.6%, #ffd23f 28.6% 42.9%, #3bceac 42.9% 57.1%, #3a86ff 57.1% 71.4%, #8338ec 71.4% 85.7%, #ff70a6 85.7%);
  --badge-face: linear-gradient(180deg, #433a8c, #2b2350);

  --round: ui-rounded, "Nunito", "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  /* The app's playfulCard: a hard, blur-free shadow straight down, like a sticker */
  --sticker: 0 5px 0 rgba(27, 26, 58, 0.12);
  --lift: 0 24px 50px rgba(27, 26, 58, 0.18), 0 6px 14px rgba(27, 26, 58, 0.1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--round);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
.steps-grid, .shots, .hero-meta, .nav-links, .footer-links, .doc-toc, .chips, .pills, .pillars, .station-points, .stats, .button-list, .keys, .plan-list, .promises, .credits-list, .song-rows, .looks { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sunny); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--grape); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A strip of film between bands: Night with cream sprocket holes, like the one on the app icon */
.filmstrip {
  height: 30px; background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30'%3E%3Crect x='7' y='5' width='12' height='7' rx='2' fill='%23fff8e7'/%3E%3Crect x='7' y='18' width='12' height='7' rx='2' fill='%23fff8e7'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}

/* ---------- Logo: the app icon and the name ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; border-radius: 23%; flex: none; box-shadow: 0 2px 0 rgba(27, 26, 58, 0.15); }
.logo-name { font-weight: 900; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 231, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav-brand { padding: 6px 0; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 800; font-size: 1rem; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--grape); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 0.2s ease, top 0.2s ease; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Candy buttons: a face on a darker lip that squishes when pressed ---------- */
.btn {
  --face: var(--sunny); --lip: var(--sunny-lip); --label: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--face), #fff 18%), var(--face));
  color: var(--label); box-shadow: 0 6px 0 var(--lip);
  font-weight: 900; font-size: 1.05rem; line-height: 1.2; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
  margin-bottom: 6px;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--lip); }
.btn-white { --face: #fff; --lip: #e2d6b8; --label: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 0.95rem; border-radius: 14px; box-shadow: 0 4px 0 var(--lip); margin-bottom: 4px; }
.btn-sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lip); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:active { transition: none; transform: none; } }

/* App Store. Until the listing is live the badge is a "coming soon" label: Apple's official badge may only
   link to the app itself. It is drawn like the movie badge: a navy face on a rainbow lip. See the README. */
.store-soon { display: inline-block; padding-bottom: 6px; border-radius: 16px; background: var(--rainbow); line-height: 1.1; }
.store-soon > span { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 16px; background: var(--badge-face); color: #fff; }
.store-soon svg { width: 22px; height: 22px; color: var(--sunny); flex: none; }
.store-soon small { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 248, 231, 0.75); }
.store-soon strong { display: block; font-weight: 900; font-size: 1.14rem; }
.badge-link { display: inline-block; line-height: 0; border-radius: 8px; transition: transform 0.15s ease, opacity 0.15s ease; }
.badge-link img { height: 54px; width: auto; }
.badge-link:hover { transform: translateY(-1px); opacity: 0.94; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--raised); }
.section--night { background: var(--night); color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-weight: 900; color: var(--grape); font-size: 1.1rem; line-height: 1.3; margin-bottom: 12px; }
.section--night .eyebrow { color: var(--sunny); }
h2.title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: 16px; }
.lede strong { color: var(--ink); }
.section--night .lede { color: rgba(255, 248, 231, 0.82); }
.section--night .lede strong { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); isolation: isolate; }
/* The icon's sunburst, whispered in cream */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 72%; top: 52%; width: 240vmax; height: 240vmax; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, #fff1d0 0 7.5deg, var(--cream) 7.5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 62%); mask: radial-gradient(closest-side, #000 18%, transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy .eyebrow { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.hero-sub { margin-top: 26px; font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--muted); font-size: 0.98rem; font-weight: 700; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--grass-lip); }

/* "come alive!" as the movie badge: rainbow letters on a tilted navy candy over a rainbow lip */
.sticker-word {
  display: inline-block; margin-top: 0.3em; margin-bottom: 0.16em; padding-bottom: 0.11em; border-radius: 0.3em;
  background: var(--rainbow); transform: rotate(-3deg); transform-origin: center;
  box-shadow: 0 0 0 0.06em #fff, 0 0.16em 0 0.06em rgba(18, 14, 38, 0.35);
}
.sticker-word > span { display: inline-block; padding: 0.06em 0.28em 0.1em; border-radius: 0.3em; background: var(--badge-face); }
.sticker-word i { font-style: normal; }
.sticker-word i:nth-child(7n+1) { color: #ff5a5f; }
.sticker-word i:nth-child(7n+2) { color: #ff9f1c; }
.sticker-word i:nth-child(7n+3) { color: #ffd23f; }
.sticker-word i:nth-child(7n+4) { color: #3bceac; }
.sticker-word i:nth-child(7n+5) { color: #5fa8ff; }
.sticker-word i:nth-child(7n+6) { color: #b98cff; }
.sticker-word i:nth-child(7n+7) { color: #ff70a6; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 520px; margin-inline: auto; width: 100%; }
.phone {
  position: absolute; width: 50%; border-radius: 36px; overflow: hidden; background: var(--stage);
  border: 7px solid #15142a; box-shadow: var(--lift);
}
.phone img { width: 100%; height: auto; }
.phone--a { left: 3%; top: 3%; transform: rotate(-6deg); z-index: 1; }
.phone--b { right: 3%; top: 12%; transform: rotate(5deg); z-index: 2; }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 8px; border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 0.95rem; font-weight: 800; white-space: nowrap; box-shadow: var(--sticker), 0 14px 30px rgba(27, 26, 58, 0.14);
}
.chip .dot { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-size: 1.05rem; line-height: 1; }
.chip--tl { left: -5%; top: 60%; }
.chip--tl .dot { background: var(--grape); }
.chip--br { right: -3%; bottom: 0; }
.chip--br .dot { background: var(--sky); }

/* ---------- How it works (Night band, like the capture screen) ---------- */
.steps { overflow: hidden; }
.steps .title { color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.step-num { font-weight: 900; font-size: 3.4rem; line-height: 0.85; color: var(--sunny); }
.step-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; font-size: 1.8rem; line-height: 1; box-shadow: 0 5px 0 var(--lip); background: var(--face); }
.step:nth-child(1) .step-icon { --face: var(--sky); --lip: var(--sky-lip); }
.step:nth-child(2) .step-icon { --face: var(--grass); --lip: var(--grass-lip); }
.step:nth-child(3) .step-icon { --face: var(--bubblegum); --lip: var(--bubblegum-lip); }
.step:nth-child(4) .step-icon { --face: var(--sunny); --lip: var(--sunny-lip); }
.step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.step p { margin: 0; color: rgba(255, 248, 231, 0.85); font-size: 1rem; line-height: 1.5; }

/* The five big buttons, drawn the way the app draws them */
.buttons-demo {
  margin-top: clamp(36px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--cream); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
}
.pad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 10px; padding: 16px 16px 10px; border-radius: 22px; background: var(--stage); }
.candy {
  --face: var(--grass); --lip: var(--grass-lip); --label: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 74px; padding: 8px 4px; border-radius: 18px; margin-bottom: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--face), #fff 18%), var(--face));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), 0 6px 0 var(--lip);
  color: var(--label); font-weight: 900; font-size: 0.92rem; line-height: 1;
}
.candy svg { width: 26px; height: 26px; }
.candy--snap { grid-column: 1 / -1; flex-direction: row; gap: 14px; min-height: 104px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; border-radius: 24px; }
.candy--snap svg { width: clamp(38px, 4vw, 50px); height: auto; }
.candy--oops { --face: var(--tomato); --lip: var(--tomato-lip); }
.candy--play { --face: var(--sky); --lip: var(--sky-lip); --label: #fff; }
.candy--ghost { --face: var(--grape); --lip: var(--grape-lip); --label: #fff; }
.candy--done { --face: var(--sunny); --lip: var(--sunny-lip); }
.buttons-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin-bottom: 14px; }
.button-list { display: grid; gap: 10px; }
.button-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--muted); line-height: 1.4; }
.button-list b { color: var(--ink); }
.key-dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--ink); box-shadow: 0 3px 0 var(--lip); background: var(--face); }
.key-dot svg { width: 18px; height: 18px; }
.key-dot--snap { --face: var(--grass); --lip: var(--grass-lip); }
.key-dot--oops { --face: var(--tomato); --lip: var(--tomato-lip); }
.key-dot--play { --face: var(--sky); --lip: var(--sky-lip); color: #fff; }
.key-dot--ghost { --face: var(--grape); --lip: var(--grape-lip); color: #fff; }
.key-dot--done { --face: var(--sunny); --lip: var(--sunny-lip); }
.buttons-note { margin: 18px 0 0; padding-top: 16px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 0.98rem; }
.buttons-note strong { color: var(--ink); }

/* ---------- Bento cards ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--sticker);
  padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.card h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.card p + p { margin-top: 0.7em; }
.card p strong { color: var(--ink); }
.card .card-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.card-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; font-size: 0.85rem; font-weight: 900; background: var(--grape-soft); color: var(--grape); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.card--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.card--split-rev .card-body { order: 2; }
.demo { margin-top: auto; padding-top: 22px; }

.shot-frame { border-radius: 22px; overflow: hidden; background: var(--tomato); box-shadow: 0 0 0 5px var(--stage), var(--lift); }
.shot-frame img { width: 100%; height: auto; }

/* The ghost: a mini stage where the ball hops in steps, with last picture's ball faint behind it */
.flipbook { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 4px solid var(--tomato); background: linear-gradient(180deg, #8ec5ff 0%, #d9ecff 64%, #c98b52 64%, #c98b52 100%); }
.flipbook::after { content: ""; position: absolute; left: 0; right: 0; top: 64%; bottom: 0; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.12) 34px 35px); }
.flipbook .sun { position: absolute; right: 9%; top: 10%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--sunny); }
.flipbook .ball { --x: 0%; position: absolute; z-index: 1; bottom: 36%; left: 6%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--grape); transform: translateX(var(--x)); }
.flipbook .ball::before, .flipbook .ball::after { content: ""; position: absolute; top: 26%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 58% 55%, var(--ink) 0 40%, #fff 42%); }
.flipbook .ball::before { left: 24%; }
.flipbook .ball::after { right: 22%; }
.flipbook .ball--ghost { opacity: 0.35; }
.flipbook .ball--now { animation: hop 3.6s steps(1, end) infinite; }
.flipbook .ball--ghost { animation: hop-ghost 3.6s steps(1, end) infinite; }
@keyframes hop {
  0% { transform: translateX(0%); } 16.6% { transform: translateX(65%); } 33.3% { transform: translateX(130%); }
  50% { transform: translateX(195%); } 66.6% { transform: translateX(260%); } 83.3% { transform: translateX(325%); } 100% { transform: translateX(0%); }
}
@keyframes hop-ghost {
  0% { transform: translateX(-65%); opacity: 0; } 16.6% { transform: translateX(0%); opacity: 0.35; } 33.3% { transform: translateX(65%); }
  50% { transform: translateX(130%); } 66.6% { transform: translateX(195%); } 83.3% { transform: translateX(260%); } 100% { transform: translateX(-65%); opacity: 0; }
}
.flipbook-label { position: absolute; z-index: 2; left: 8px; top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--grape); color: #fff; font-size: 0.78rem; font-weight: 900; }

/* Words and speech bubbles */
.bubbles { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; }
.bubble { position: relative; padding: 9px 16px; border-radius: 18px; background: #fff; border: 3px solid var(--ink); font-weight: 900; font-size: 1.15rem; color: var(--ink); transform: rotate(-3deg); }
.bubble::after { content: ""; position: absolute; left: 18px; bottom: -11px; width: 14px; height: 14px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: skewX(30deg) rotate(45deg); }
.bubble--2 { transform: rotate(4deg); background: var(--sunny); }
.bubble--2::after { background: var(--sunny); left: auto; right: 20px; }
.word-pop { display: inline-block; padding: 4px 12px; border-radius: 12px; background: var(--bubblegum); color: var(--ink); font-weight: 900; font-size: 1.35rem; letter-spacing: 0.02em; transform: rotate(2deg); box-shadow: 0 4px 0 var(--bubblegum-lip); }
.sticker-emoji { font-size: 2rem; line-height: 1; transform: rotate(-8deg); }

/* Rolling credits on a starry night */
.credits-roll {
  position: relative; height: 196px; overflow: hidden; border-radius: 16px; text-align: center; color: #fff;
  background: radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 75%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 10% 85%, #fff 50%, transparent 51%), linear-gradient(180deg, #1b1a3a, #4a2a8c);
  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.credits-roll ul { list-style: none; margin: 0; padding: 0; animation: roll 11s linear -4s infinite; }
.credits-roll li { padding: 4px 0; }
.credits-roll small { display: block; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.16em; color: var(--sunny); margin-top: 10px; }
.credits-roll span { display: block; font-weight: 800; font-size: 1.05rem; }
@keyframes roll { from { transform: translateY(196px); } to { transform: translateY(-100%); } }

/* Color looks */
.looks { display: flex; flex-wrap: wrap; gap: 7px; }
.looks li { padding: 5px 11px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); font-size: 0.9rem; font-weight: 800; color: var(--ink-soft); }

/* Music sheet, as in the editor */
.song-sheet { background: var(--cream); border-radius: 20px; padding: 14px; box-shadow: var(--sticker); }
.song-sheet h4 { font-size: 0.86rem; font-weight: 900; color: var(--muted); margin: 4px 6px 8px; }
.song-sheet h4 + .song-rows { margin-bottom: 12px; }
.song-rows { background: #fff; border-radius: 14px; overflow: hidden; }
.song-rows li { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; }
.song-rows li + li { border-top: 1px solid var(--line-soft); }
.song-play { width: 26px; height: 26px; border-radius: 50%; background: var(--grape); color: #fff; display: grid; place-items: center; }
.song-play svg { width: 11px; height: 11px; margin-left: 2px; }
.song-emoji { font-size: 1.2rem; line-height: 1; text-align: center; }
.song-name { font-weight: 900; font-size: 0.98rem; line-height: 1.2; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-name span { display: block; font-weight: 600; font-size: 0.76rem; color: var(--muted); }
.song-use { padding: 4px 12px; border-radius: 999px; background: var(--grass); color: #fff; font-weight: 900; font-size: 0.85rem; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); font-size: 0.92rem; font-weight: 800; color: var(--ink-soft); }
.pill em { font-style: normal; font-size: 0.72rem; font-weight: 900; padding: 1px 6px; border-radius: 999px; background: var(--grape); color: #fff; }

/* ---------- Studio mode: stats and tool chips ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: clamp(32px, 5vw, 48px); }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--sticker); padding: 22px 22px 20px; }
.stat b { display: block; font-weight: 900; font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--grape); }
.stat:nth-child(2) b { color: var(--tomato-lip); }
.stat:nth-child(3) b { color: var(--sky-lip); }
.stat:nth-child(4) b { color: var(--grass-lip); }
.stat span { display: block; margin-top: 8px; font-weight: 900; font-size: 1.1rem; }
.stat small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.93rem; line-height: 1.45; font-weight: 600; }
.chip-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chip-group { background: #fff; border-radius: var(--radius); box-shadow: var(--sticker); padding: 24px; }
.chip-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chip-head span { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; background: var(--face); box-shadow: 0 4px 0 var(--lip); flex: none; }
.chip-head h3 { font-size: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); font-weight: 800; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Big screen / station ---------- */
.station-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.station-points { display: grid; gap: 20px; }
.station-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.pt-icon { width: 48px; height: 48px; border-radius: 15px; background: #fff; box-shadow: var(--sticker); display: grid; place-items: center; font-size: 1.45rem; line-height: 1; }
.station-points h3 { font-size: 1.2rem; margin-bottom: 4px; }
.station-points p { margin: 0; color: var(--muted); }

.station-art { position: relative; max-width: 520px; width: 100%; margin-inline: auto; padding-bottom: 26%; }
.tv { position: relative; }
.tv-screen { position: relative; border-radius: 18px; overflow: hidden; border: 12px solid #15142a; background: var(--stage); box-shadow: var(--lift); }
.tv-screen img { width: 100%; height: auto; }
.tv-live { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--tomato); color: #fff; font-size: 0.75rem; font-weight: 900; }
.tv-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.tv-stand { width: 26%; height: 18px; margin: 0 auto; background: #15142a; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.button-box {
  position: absolute; left: 4%; bottom: 0; width: 62%; padding: 16px 16px 12px; border-radius: 22px;
  background: linear-gradient(180deg, #4a3f86, #2b2350); box-shadow: 0 8px 0 #1c1638, var(--lift);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; transform: rotate(-3deg);
}
.arcade { display: grid; justify-items: center; gap: 6px; color: rgba(255, 248, 231, 0.9); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.02em; }
.arcade i { width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--face), #fff 35%), var(--face) 60%); box-shadow: 0 5px 0 var(--lip), 0 0 0 4px rgba(0, 0, 0, 0.25); display: grid; place-items: center; font-style: normal; color: var(--ink); }
.arcade svg { width: 46%; height: auto; }
.arcade--snap { --face: var(--grass); --lip: var(--grass-lip); }
.arcade--oops { --face: var(--tomato); --lip: var(--tomato-lip); }
.arcade--play { --face: var(--sky); --lip: var(--sky-lip); }
.arcade--play i, .arcade--ghost i { color: #fff; }
.arcade--ghost { --face: var(--grape); --lip: var(--grape-lip); }
.arcade--done { --face: var(--sunny); --lip: var(--sunny-lip); }

.keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 5vw, 48px); }
.keys li { --face: var(--grass); background: #fff; border-radius: 16px; box-shadow: inset 0 6px 0 var(--face), var(--sticker); padding: 16px 14px 12px; display: grid; gap: 2px; }
.keys .key--oops { --face: var(--tomato); }
.keys .key--play { --face: var(--sky); }
.keys .key--ghost { --face: var(--grape); }
.keys .key--done { --face: var(--sunny); }
.keys kbd { font-family: var(--round); font-weight: 900; font-size: 1.25rem; color: var(--ink); }
.keys span { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.keys-note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Screenshot strip ---------- */
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px;
  margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: rgba(255, 210, 63, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255, 210, 63, 0.45); border-radius: 999px; }
.shot { flex: 0 0 auto; width: min(64vw, 240px); scroll-snap-align: start; margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 26px; border: 5px solid #2e2c56; background: var(--stage); }
.shot figcaption { margin-top: 12px; text-align: center; font-weight: 800; font-size: 0.95rem; line-height: 1.3; color: rgba(255, 248, 231, 0.88); }
@media (min-width: 1200px) {
  .shots { justify-content: center; padding-inline: 0; margin-inline: 0; }
  .shot { width: calc((var(--container) - 6 * 18px) / 7); }
}
.credits { margin-top: 8px; color: rgba(255, 248, 231, 0.7); font-size: 0.9rem; }
.credits summary { cursor: pointer; display: inline-block; font-weight: 800; color: rgba(255, 248, 231, 0.85); }
.credits summary:hover { color: var(--sunny); }
.credits-list { margin-top: 10px; display: grid; gap: 4px; max-width: 60rem; }
.credits a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.credits a:hover { color: var(--sunny); }

/* ---------- Pro ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--sticker); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; min-width: 0; }
.plan--pro { box-shadow: 0 0 0 3px var(--sunny), 0 8px 0 3px var(--sunny-lip); }
.plan-thumb { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.plan-thumb img { width: 100%; height: auto; }
.plan-res { position: absolute; left: 10px; top: 10px; padding: 3px 11px; border-radius: 999px; background: rgba(20, 19, 43, 0.82); color: #fff; font-size: 0.82rem; font-weight: 900; }
.plan h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.plan-price { margin: 4px 0 18px; color: var(--muted); font-weight: 700; }
.plan-list { display: grid; gap: 10px; }
.plan-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--muted); line-height: 1.4; }
.plan-list li b { display: block; color: var(--ink); }
.plan-list .em { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); font-size: 1.05rem; }
.plan-foot { margin: 18px 0 0; padding-top: 14px; border-top: 2px dashed var(--line); color: var(--muted); font-size: 0.95rem; }

/* The badge free movies carry: "Made with Stop Motion Movie Maker" on a tilted navy candy */
.movie-badge {
  position: absolute; right: 3%; bottom: 5%; display: inline-block; padding-bottom: 3px; border-radius: 9px;
  background: var(--rainbow); transform: rotate(-3deg); box-shadow: 0 0 0 2px #fff, 0 3px 0 2px rgba(18, 14, 38, 0.5);
  font-size: clamp(0.5rem, 1.15vw, 0.66rem); line-height: 1; white-space: nowrap;
}
.movie-badge > span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 9px; background: var(--badge-face); color: rgba(255, 248, 231, 0.9); font-weight: 800; }
.movie-badge b { font-weight: 900; }
.movie-badge i { font-style: normal; }

.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.promises li { padding: 9px 16px; border-radius: 999px; font-weight: 900; font-size: 0.98rem; color: var(--ink); background: var(--face); box-shadow: 0 4px 0 var(--lip); }
.promises li:nth-child(1) { --face: #ffd9da; --lip: #f2aeb0; }
.promises li:nth-child(2) { --face: #c9f2e7; --lip: #93dcc8; }
.promises li:nth-child(3) { --face: #d5e5ff; --lip: #a7c6fb; }
.grownup-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px 24px; border-radius: var(--radius); background: var(--cream); border: 2px dashed var(--line); }
.grownup-note .lock { font-size: 1.6rem; line-height: 1; }
.grownup-note h3 { font-size: 1.15rem; margin-bottom: 4px; }
.grownup-note p { margin: 0; color: var(--muted); }

/* ---------- Privacy pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { background: #fff; border-radius: var(--radius); box-shadow: var(--sticker); padding: 28px 26px; min-width: 0; }
.pillar .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--grape-soft); color: var(--grape); display: grid; place-items: center; margin-bottom: 18px; }
.pillar .icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.28rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--grape); font-weight: 900; margin-top: 24px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- CTA: the icon's pink and purple sunburst ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--grape); }
.cta::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 260vmax; height: 260vmax; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, var(--bubblegum) 0 11.25deg, var(--grape) 11.25deg 22.5deg);
}
.cta-card { max-width: 40rem; margin-inline: auto; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 44px); background: var(--cream); border-radius: 32px; box-shadow: 0 10px 0 rgba(27, 26, 58, 0.28); }
.cta-icon { width: clamp(84px, 11vw, 112px); height: auto; margin: 0 auto 20px; border-radius: 23%; box-shadow: 0 6px 0 rgba(27, 26, 58, 0.18); }
.cta .title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta .lede { max-width: 32rem; margin-inline: auto; }
.cta .lede a { color: var(--grape); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 40px; color: var(--muted); font-size: 0.95rem; background: var(--cream); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand p { margin: 12px 0 0; max-width: 28rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 800; }
.footer-links a:hover { color: var(--grape); }
.footer-meta { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 0.86rem; font-weight: 600; }

/* ---------- Document pages (privacy, support) ---------- */
.doc-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(16px, 3vw, 28px); }
.doc-hero h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
.doc-meta { margin-top: 16px; color: var(--muted); display: grid; gap: 4px; font-size: 1rem; }
.doc-meta strong { color: var(--ink); }
.doc { max-width: 46rem; padding-bottom: var(--section); }
.doc h2 { font-size: 1.55rem; margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.5em; }
.doc li::marker { color: var(--grape); }
.doc a { color: var(--grape); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(131, 56, 236, 0.35); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--grape); }
.doc strong { color: var(--ink); }
.doc .summary { background: #fff; border-radius: 20px; box-shadow: var(--sticker); border-left: 6px solid var(--grape); padding: 20px 24px; margin: 28px 0 8px; }
.doc .summary p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 0.98rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.doc th { color: var(--muted); font-weight: 900; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.doc td { color: var(--ink-soft); }
.doc .table-wrap { overflow-x: auto; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.doc-toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 2px 0 rgba(27, 26, 58, 0.08); color: var(--muted); font-size: 0.9rem; font-weight: 800; }
.doc-toc a:hover { color: var(--grape); }

/* Support */
.support-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: var(--section); }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: 92px; box-shadow: 0 0 0 3px var(--sunny), 0 8px 0 3px var(--sunny-lip); }
.contact-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); }
.contact-card .email { font-size: 1.1rem; font-weight: 900; color: var(--grape); word-break: break-all; }
.contact-card ul { color: var(--muted); font-size: 0.95rem; padding-left: 1.2em; margin-top: 8px; }
.contact-card li { margin-bottom: 4px; }
.contact-card li::marker { color: var(--grape); }
.contact-card .btn { margin-top: 22px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--sticker); overflow: hidden; }
.faq details[open] { box-shadow: 0 0 0 2px var(--grape), var(--sticker); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 900; font-size: 1.08rem; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--grape); border-bottom: 3px solid var(--grape); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p { margin: 0 0 0.8em; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ol, .faq .answer ul { padding-left: 1.3em; margin: 0.4em 0 0.8em; }
.faq .answer li { margin-bottom: 0.35em; }
.faq .answer li::marker { color: var(--grape); font-weight: 900; }
.faq .answer a { color: var(--grape); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq .answer strong { color: var(--ink); }
.faq .answer table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 0.95rem; }
.faq .answer th, .faq .answer td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.faq .answer th { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.faq-group + .faq-group h2 { margin-top: 36px; }
.faq-group h2 { font-size: 1.45rem; margin-bottom: 14px; }

/* Embedded in an iframe: hide the chrome, keep the document */
.embedded .site-header, .embedded .site-footer, .embedded .filmstrip { display: none; }
.embedded .doc-hero { padding-top: 8px; }

/* 404 */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound .big { font-weight: 900; font-size: clamp(6rem, 20vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--grape); }
.notfound .big span { display: inline-block; opacity: 0.3; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flipbook .ball--now { animation: none; transform: translateX(195%); }
  .flipbook .ball--ghost { animation: none; transform: translateX(130%); }
  .credits-roll ul { animation: none; transform: translateY(8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-top: 8px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buttons-demo { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 3; }
  .card--split { grid-template-columns: 1fr; }
  .card--split-rev .card-body { order: 0; }
  .bento > .span-4 { grid-column: span 6; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip-groups { grid-template-columns: 1fr; }
  .station-grid { grid-template-columns: 1fr; }
  .keys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 248, 231, 0.98); border-bottom: 1px solid var(--line-soft); padding: 8px 0 12px;
  }
  .nav-links li a { display: block; padding: 12px var(--gutter); font-size: 1.08rem; }
  .nav-open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 6; }
  .bento { gap: 14px; }
  .nav-cta .btn { display: none; }
  .logo-icon { width: 36px; height: 36px; }
  .logo-name { font-size: 1.02rem; }
  .hero-cta { gap: 14px; }
  .chip { font-size: 0.84rem; padding: 6px 12px 6px 6px; }
  .chip .dot { width: 28px; height: 28px; font-size: 0.95rem; }
  .chip--tl { left: 0; top: 62%; }
  .chip--br { right: 0; bottom: -2%; }
  .pad { padding: 12px 12px 6px; gap: 8px; }
  .candy:not(.candy--snap) { min-height: 64px; font-size: 0.8rem; border-radius: 15px; }
  .candy:not(.candy--snap) svg { width: 22px; height: 22px; }
  .stats { gap: 12px; }
  .stat { padding: 18px 16px; }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { gap: 18px; }
  .grownup-note { padding: 18px; }
  .button-box { width: 80%; padding: 12px 12px 10px; gap: 6px; }
  .arcade { font-size: 0.58rem; letter-spacing: 0; }
}
@media (max-width: 380px) {
  .logo-name { font-size: 0.92rem; }
  .logo-icon { width: 32px; height: 32px; }
  .stats { grid-template-columns: 1fr; }
  .store-soon strong { font-size: 1rem; }
  .arcade { font-size: 0.52rem; }
}
