/* ==========================================================================
   Landing page styles. One accent (electric violet), warm cream, deep ink,
   plus each gadget's own colours where that gadget appears.
   ========================================================================== */

@property --g { syntax: "<color>"; inherits: true; initial-value: #FF8A3D; }
@property --sg { syntax: "<color>"; inherits: true; initial-value: #7C5CFF; }

:root {
  --cream: #FBF7F0;
  --paper: #FFFDF9;
  --sand: #F3ECE0;
  --ink: #16132B;
  --ink-2: #221E3D;
  --ink-3: #2E2950;
  --ink-soft: #46415F;
  --muted: #6E6886;
  --line: rgba(22, 19, 43, .10);
  --line-2: rgba(22, 19, 43, .18);
  --accent: #7C5CFF;
  --accent-btn: #6D4BFF;
  --accent-ink: #5B3DF5;
  --accent-soft: #EEE9FF;
  --accent-glow: rgba(124, 92, 255, .55);
  --sun: #FFC94D;
  --mint: #3FD3A4;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1280px;
  --r-lg: 32px;
  --r-md: 22px;
  --shadow-lg: 0 40px 80px -40px rgba(40, 25, 110, .38), 0 14px 32px -18px rgba(22, 19, 43, .28);
  --shadow-md: 0 18px 40px -22px rgba(40, 25, 110, .35), 0 4px 12px -6px rgba(22, 19, 43, .15);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* Sparkle canvas (cursor trail and bursts) */
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 80; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16.5px; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, box-shadow .3s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .6s var(--ease-back); }
.btn:hover svg { transform: rotate(90deg) scale(1.15); }
.btn-accent {
  background: var(--accent-btn); color: #fff;
  box-shadow: 0 14px 30px -12px var(--accent-glow), inset 0 -2px 0 rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-accent:hover { background: #5E39FF; box-shadow: 0 20px 40px -12px rgba(124, 92, 255, .75), inset 0 -2px 0 rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2A2550; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover svg { transform: translateY(3px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-xl { --h: 68px; padding: 0 38px; font-size: 19px; }
.btn-xl svg { width: 22px; height: 22px; }

/* ---------- header ---------- */
.top {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding: 0 var(--gutter); pointer-events: none;
}
.top-inner {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 24px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 9px 0 18px; border-radius: 999px;
  background: rgba(251, 247, 240, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background-color .3s;
}
.top.scrolled .top-inner { background: rgba(251, 247, 240, .86); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -18px rgba(22, 19, 43, .35); }
.top.dark .top-inner { background: rgba(22, 19, 43, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: var(--cream); }
.top.dark .nav a { color: rgba(251, 247, 240, .75); }
.top.dark .nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.top.dark .brand-mark { background: var(--accent-btn); color: #fff; }
.top.dark .btn-ink { background: var(--cream); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; flex: none;
  transition: transform .6s var(--ease-back);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { min-width: 4ch; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav a:hover { background: rgba(22, 19, 43, .06); color: var(--ink); }

/* ---------- shared section heads ---------- */
section { position: relative; }
main > section, .foot { overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.6vw, 84px);
  line-height: .98; letter-spacing: -.035em; margin-top: 16px; font-variation-settings: "opsz" 96;
}
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 640px; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lede { margin-top: 20px; }
.section-head.left { text-align: left; align-items: flex-start; margin-bottom: 0; }
.tag {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px; background: rgba(22, 19, 43, .72); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero { min-height: 100vh; min-height: 100svh; padding: 112px 0 48px; display: flex; align-items: center; overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 19, 43, .13) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob.b1 { width: 46vw; height: 46vw; right: -8vw; top: 4vh; background: radial-gradient(circle, var(--g) 0%, transparent 70%); transition: --g 1.2s; }
.blob.b2 { width: 30vw; height: 30vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(124, 92, 255, .5) 0%, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.kinetic {
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: clamp(54px, 8vw, 128px); line-height: .9; letter-spacing: -.045em;
  margin: 22px 0 22px;
}
.k-line { display: block; }
.k-line-2 { white-space: nowrap; }
.kinetic .w { display: inline-block; white-space: nowrap; }
.kinetic .ch { display: inline-block; transform-origin: 50% 100%; will-change: transform; }
.k-hl { position: relative; display: inline-block; color: var(--accent); }
.squiggle { position: absolute; left: -2%; right: -2%; width: 104%; bottom: -.16em; height: .2em; color: var(--sun); overflow: visible; z-index: -1; }
.squiggle path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero .lede { max-width: 560px; }

/* Wish box: a chat-composer style card that types wishes by itself */
.wishbox {
  position: relative; margin-top: 30px; max-width: 600px;
  background: #fff; border-radius: 26px; padding: 18px 12px 12px 18px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px var(--line), var(--shadow-lg);
  transition: box-shadow .35s;
}
.wishbox::after {
  content: ""; position: absolute; inset: -3px; border-radius: 29px; pointer-events: none;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 60%, var(--accent) 75%, var(--sun) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 3px; opacity: 0; transition: opacity .5s;
}
.wishbox.glow::after { opacity: 1; }
.wishbox:focus-within { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.wish-icon {
  width: 40px; height: 40px; border-radius: 13px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-top: 1px;
}
.wish-icon svg { width: 20px; height: 20px; }
.wishbox.glow .wish-icon svg { animation: spin-pop .9s var(--ease-back); }
@keyframes spin-pop { 0% { transform: scale(.6) rotate(-90deg); } 100% { transform: scale(1) rotate(0); } }
.wish-field { position: relative; min-width: 0; }
.wish-field textarea, .wish-typed {
  display: block; width: 100%; margin: 0; padding: 8px 4px 0 0;
  font-family: var(--sans); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em;
  min-height: calc(2 * 1.4em + 8px);
}
.wish-field textarea { border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); overflow: hidden; }
.wish-field textarea::placeholder { color: #9A94AE; }
.wishbox.auto textarea::placeholder { color: transparent; }
.wish-typed { position: absolute; inset: 0; pointer-events: none; color: var(--ink); opacity: 0; }
.wishbox.auto .wish-typed { opacity: 1; }
.wish-pre { color: #9A94AE; }
.caret { display: inline-block; width: 2.5px; height: 1.15em; margin-left: 2px; vertical-align: -.18em; background: var(--accent); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wish-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-left: 52px; }
.wish-hint { font-size: 13.5px; color: var(--muted); }
.wish-go { --h: 50px; }
.wish-toast { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 6px; }
.hero-hint { font-size: 14px; color: var(--muted); }

/* Hero 3D stage */
.hero-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: min(78vh, 720px); justify-self: center; max-width: min(100%, 78vh, 720px); }
.stage-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, var(--g) 0%, color-mix(in srgb, var(--g) 40%, transparent) 35%, transparent 68%);
  filter: blur(26px); opacity: .55; transition: --g 1s ease;
}
.stage-orbit { position: absolute; inset: 4%; pointer-events: none; }
.stage-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(22, 19, 43, .12); animation: orbit 60s linear infinite; }
.stage-orbit span:nth-child(2) { inset: 11%; border-style: solid; border-color: rgba(22, 19, 43, .06); animation-duration: 90s; animation-direction: reverse; }
.stage-orbit span:nth-child(3) { inset: -3%; border: 0; animation-duration: 24s; }
.stage-orbit span:nth-child(3)::before { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--g); box-shadow: 0 0 18px var(--g); transition: --g 1s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.stage-canvas { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.stage-canvas:active { cursor: grabbing; }
.stage-canvas canvas { width: 100% !important; height: 100% !important; }
.stage-fallback { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; border-radius: 30px; transition: opacity .6s; }
html.js .stage-fallback { display: none; }
html.js .hero-stage.fallback .stage-fallback { display: block; }
.stage-chip {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
  font-size: 15px; font-weight: 600;
}
.stage-chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g) 25%, transparent); transition: --g 1s; }
.chip-sep { color: var(--muted); }
.chip-aud { color: var(--ink-soft); font-weight: 500; }
.stage-note { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-size: 12.5px; color: var(--muted); }
.fine-only { display: none; }
html.fine .fine-only { display: inline; }

/* ==========================================================================
   2. Marquee of ideas
   ========================================================================== */
.marquee { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 110px); overflow: clip; }
.mq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.mq-title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; }
.mq-note { font-size: 14.5px; color: var(--muted); }
.mq-rows { display: grid; gap: 18px; transform: rotate(-2deg); margin: 0 -4vw; }
.mq-row { overflow: hidden; padding: 6px 0; }
.mq-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.mq-item {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 46px); letter-spacing: -.025em;
  padding: .32em .8em .36em .6em; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.mq-item svg { width: .7em; height: .7em; color: var(--accent); flex: none; }
.mq-item.alt { background: var(--ink); color: var(--cream); box-shadow: none; }
.mq-item.alt svg { color: var(--sun); }
.mq-row[data-dir="1"] .mq-item.alt { background: var(--accent-btn); }
.mq-row[data-dir="1"] .mq-item.alt svg { color: #fff; }

/* ==========================================================================
   3. How it works: pinned story (desktop) or stacked cards (phones, reduced motion)
   ========================================================================== */
.story { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 120px); border-radius: 48px 48px 0 0; }
.story .eyebrow { color: #B9A8FF; }
.story .lede { color: rgba(251, 247, 240, .72); margin-left: auto; margin-right: auto; }
.story-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.story-head .lede { margin-top: 20px; }
.story-pin { margin-top: clamp(40px, 6vw, 72px); }
.story-grid { position: relative; }

/* stacked default */
.story-steps { display: grid; gap: 18px; counter-reset: s; }
.story-step {
  display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px;
  background: var(--ink-2); border-radius: 26px; padding: 22px 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.story-step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 19px;
  background: var(--accent-btn); color: #fff;
}
.story-step h3 { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -.025em; line-height: 1.1; padding-top: 6px; }
.story-step .sub { font-size: 17px; font-weight: 600; color: #D6CCFF; margin-top: 4px; }
.story-step .more { font-size: 15.5px; color: rgba(251, 247, 240, .7); margin-top: 8px; }
.st-media { grid-column: 1 / -1; position: relative; margin-top: 14px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #0F0C22; }
.st-media img { width: 100%; height: 100%; object-fit: cover; }
.story-stage, .story-dots, .scroll-hint { display: none; }
@media (min-width: 900px) {
  html:not(.pin) .story-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  html:not(.pin) .story-step { align-content: start; }
}

/* pinned desktop mode */
html.pin .story-pin { height: 100vh; margin-top: 0; display: flex; align-items: center; }
html.pin .story-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; height: 100%; padding-top: 84px; padding-bottom: 28px; }
html.pin .story-steps { position: relative; gap: 2px; padding-left: 0; }
html.pin .story-steps::before, html.pin .story-steps::after {
  content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1);
}
html.pin .story-steps::after { background: linear-gradient(var(--accent), #B9A8FF); bottom: auto; height: calc((100% - 60px) * var(--p, 0)); box-shadow: 0 0 12px var(--accent); }
html.pin .story-step { background: none; box-shadow: none; padding: 12px 0; position: relative; z-index: 1; opacity: .38; transition: opacity .45s; }
html.pin .story-step .num { background: var(--ink); color: rgba(251, 247, 240, .8); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-back), color .4s; }
html.pin .story-step h3 { font-size: clamp(22px, 2vw, 30px); transition: transform .5s var(--ease-out); transform-origin: 0 50%; }
html.pin .story-step .sub { font-size: 15.5px; }
html.pin .story-step .more { max-height: 0; overflow: hidden; margin-top: 0; opacity: 0; transition: max-height .6s var(--ease-out), margin-top .5s var(--ease-out), opacity .4s; }
html.pin .story-step.on { opacity: 1; }
html.pin .story-step.done { opacity: .62; }
html.pin .story-step.on .num { background: var(--accent-btn); color: #fff; box-shadow: 0 0 0 6px rgba(124, 92, 255, .22), 0 0 24px var(--accent); transform: scale(1.08); }
html.pin .story-step.done .num { background: var(--ink-3); color: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
html.pin .story-step.on h3 { transform: scale(1.06); }
html.pin .story-step.on .more { opacity: 1; margin-top: 8px; max-height: 7em; }
html.pin .st-media { display: none; }

html.pin .story-stage {
  display: block; position: relative; height: min(76vh, 780px); min-height: 460px; border-radius: 38px; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 42%, #2C2556 0%, #1A1538 55%, #120F27 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 100px -40px rgba(0, 0, 0, .6);
  isolation: isolate;
}
.ss-glow {
  position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--sg) 0%, transparent 62%); opacity: .38; filter: blur(30px); transition: --sg 1s, opacity .6s;
}
.ss-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background-image: linear-gradient(rgba(185, 168, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 168, 255, .09) 1px, transparent 1px);
  background-size: 44px 44px; transform: perspective(500px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%);
  opacity: .8;
}
.ss-canvas { position: absolute; inset: 0; }
.ss-canvas canvas { width: 100% !important; height: 100% !important; }
.ss-labels { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ss-label {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 253, 249, .94); color: var(--ink); font-size: 12.5px; font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); will-change: transform, opacity;
}
.ss-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--accent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k, var(--accent)) 30%, transparent); }
.ss-label[data-kind="print"] { --k: #3FD3A4; }
.ss-label[data-kind="pcb"] { --k: #FFC94D; }
.ss-label[data-kind="purchase"] { --k: #9C84FF; }

.ov { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 4; }
.ov-wish { display: grid; place-items: center; }
.wish-bubble {
  position: relative; width: min(78%, 500px); background: #fff; color: var(--ink);
  border-radius: 30px 30px 30px 8px; padding: 22px 28px 26px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 6px rgba(124, 92, 255, .18);
}
.wb-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.wb-label svg { width: 14px; height: 14px; }
.wb-text { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.22; letter-spacing: -.02em; margin-top: 10px; min-height: 3.66em; }
.wb-sparks i { position: absolute; width: 14px; height: 14px; background: var(--sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 2.4s ease-in-out infinite; }
.wb-sparks i:nth-child(1) { left: 16%; top: 22%; }
.wb-sparks i:nth-child(2) { right: 14%; top: 18%; width: 20px; height: 20px; background: #B9A8FF; animation-delay: .5s; }
.wb-sparks i:nth-child(3) { left: 22%; bottom: 20%; width: 10px; height: 10px; animation-delay: 1s; }
.wb-sparks i:nth-child(4) { right: 20%; bottom: 24%; background: #fff; animation-delay: 1.4s; }
.wb-sparks i:nth-child(5) { left: 48%; top: 12%; width: 9px; height: 9px; background: #fff; animation-delay: .8s; }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

.hud {
  position: absolute; left: 22px; bottom: 22px; width: min(320px, 44%);
  padding: 14px 16px 16px; border-radius: 20px;
  background: rgba(22, 19, 43, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.print-meter { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14px; font-weight: 600; color: rgba(251, 247, 240, .85); }
.pm-val { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
.print-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-top: 10px; overflow: hidden; }
.print-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--pp, 0)); background: linear-gradient(90deg, var(--accent), #FFC94D); border-radius: 6px; }

.ov-chat { padding: 7% 6%; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ov-chat .bubble {
  max-width: 330px; font-size: 15.5px; line-height: 1.4; padding: 13px 17px; border-radius: 22px;
  opacity: 0; transform: translateY(16px) scale(.85); transform-origin: 100% 100%;
  transition: opacity .35s, transform .55s var(--ease-back);
}
.ov-chat .bubble.me { background: var(--accent-btn); color: #fff; border-bottom-right-radius: 6px; }
.ov-chat .bubble.bot { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-end; margin-right: 54px; transform-origin: 0 100%; }
.ov-chat .who { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 3px; }
.sent-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0F3D2E; background: #8EF0C8; padding: 6px 12px 6px 8px; border-radius: 999px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-back); }
.sent-chip svg { width: 15px; height: 15px; }
.ov-chat .in { opacity: 1; transform: none; }

.ring-box { position: absolute; left: 50%; top: 50%; width: min(60%, 62vh, 470px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; }
.ring-track { stroke: rgba(255, 255, 255, .1); stroke-width: 3; }
.ring-fill { stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--rf, 0) * 100); filter: drop-shadow(0 0 6px var(--accent)); }
.ring-check, .ring-rewind {
  position: absolute; left: 50%; top: 6%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; display: grid; place-items: center; background: #3FD3A4; color: #0B2E22;
  box-shadow: 0 0 0 7px rgba(63, 211, 164, .2), 0 14px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-70px) scale(.4); transition: opacity .3s, transform .7s var(--ease-back);
}
.ring-check svg { width: 30px; height: 30px; }
.ring-rewind { width: 42px; height: 42px; margin: -21px 0 0 16px; background: #fff; color: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.ring-rewind svg { width: 22px; height: 22px; }
.ov-ring.check .ring-check { opacity: 1; transform: none; }
.ov-ring.rewind .ring-check { transform: translateX(-30px); }
.ov-ring.rewind .ring-rewind { opacity: 1; transform: none; }
.ov-ring.rewind .ring-rewind svg { animation: rewind 1.4s var(--ease-out) infinite; }
@keyframes rewind { 0% { transform: rotate(0); } 60%, 100% { transform: rotate(-360deg); } }
.ring-label { position: relative; height: 1.5em; font-size: 15px; font-weight: 700; color: #fff; }
.ring-label span { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease-out); white-space: nowrap; }
.ov-ring[data-l="a"] .rl-a, .ov-ring[data-l="b"] .rl-b, .ov-ring[data-l="c"] .rl-c { opacity: 1; transform: none; }
.ring-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ring-chips li { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 5px 10px 5px 7px; border-radius: 999px; color: rgba(251, 247, 240, .5); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease-back); }
.ring-chips svg { width: 13px; height: 13px; opacity: .5; }
.ring-chips li.on { background: #fff; color: var(--ink); box-shadow: none; transform: translateY(-2px); }
.ring-chips li.on svg { opacity: 1; color: #23B07F; }
.ring-chips li:last-child.on svg { color: var(--accent-ink); }

.ss-photo { position: absolute; right: 22px; bottom: 22px; width: clamp(150px, 15vw, 210px); aspect-ratio: 3 / 2.45; z-index: 5; transform: rotate(4deg); transition: opacity .5s, transform .6s var(--ease-back); }
.ss-photo.up { top: 22px; bottom: auto; transform: rotate(-3deg); }
.story-stage.flat .ss-photo.up { top: 12%; bottom: 14%; transform: none; }
.ss-photo figure { position: absolute; inset: 0; background: #fff; padding: 7px 7px 26px; border-radius: 6px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .75); opacity: 0; transform: translateY(12px) rotate(-3deg); transition: opacity .45s, transform .6s var(--ease-back); }
.ss-photo figure.on { opacity: 1; transform: none; }
.ss-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; background: #eee; }
.ss-photo figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.ss-caption { position: absolute; left: 24px; top: 20px; z-index: 5; font-size: 13px; font-weight: 600; color: rgba(251, 247, 240, .7); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* Story stage without WebGL: the step pictures, large */
.story-stage.flat .ss-photo { left: 8%; right: 8%; top: 12%; bottom: 14%; width: auto; aspect-ratio: auto; transform: none; z-index: 2; }
.story-stage.flat .ss-floor, .story-stage.flat .ov-print, .story-stage.flat .ring-box { display: none; }

html.pin .story-dots { display: flex; position: absolute; right: calc(var(--gutter) - 26px); top: 50%; transform: translateY(-50%); flex-direction: column; gap: 10px; z-index: 6; }
.story-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .25); transition: height .45s var(--ease-back), background-color .3s; }
.story-dots button.on { height: 30px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.story-dots button:hover { background: rgba(255, 255, 255, .6); }
html.pin .scroll-hint { display: flex; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: rgba(251, 247, 240, .6); transition: opacity .4s; }
.mouse { width: 20px; height: 30px; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(251, 247, 240, .5); position: relative; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.6s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }

/* ==========================================================================
   4. Doodle to device gallery
   ========================================================================== */
.gallery { padding: clamp(90px, 11vw, 160px) 0 clamp(60px, 8vw, 120px); background: var(--cream); }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 44px; padding-bottom: 140px; }
.g-card:nth-child(even) { margin-top: 140px; margin-bottom: -140px; }
.g-card {
  --c1: #ddd; --c2: #999; --w: 0%;
  position: relative; background: var(--paper); border-radius: 34px; padding: 14px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  transform-style: preserve-3d; will-change: transform;
}
.g-media { position: relative; aspect-ratio: 6 / 5; border-radius: 24px; overflow: hidden; background: #F1ECE3; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.g-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.g-doodle { clip-path: inset(0 0 0 var(--w)); background: #F6F1E7; }
.g-media .g-tag { position: absolute; top: auto; bottom: 12px; z-index: 4; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; transition: opacity .3s; }
.g-tag-l { left: 12px; background: rgba(22, 19, 43, .72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-tag-r { right: 12px; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.g-polaroid {
  position: absolute; z-index: 7; top: -22px; right: -22px; width: 40%;
  background: #fff; padding: 8px 8px 0; border-radius: 6px; transform: rotate(5deg); transform-origin: 80% 20%;
  box-shadow: 0 24px 44px -20px rgba(22, 19, 43, .55), 0 0 0 1px rgba(22, 19, 43, .06);
  transition: transform .6s var(--ease-back), box-shadow .4s;
}
.g-polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: #eee; }
.g-polaroid figcaption { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -.01em; padding: 6px 2px 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.g-polaroid figcaption span { font-family: var(--sans); font-weight: 600; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
html.fine .g-polaroid:hover { transform: rotate(0deg) scale(1.55); box-shadow: 0 40px 70px -24px rgba(22, 19, 43, .6); }
.g-handle {
  position: absolute; top: 0; bottom: 0; left: var(--w); z-index: 5; width: 48px; margin-left: -24px;
  border: 0; padding: 0; background: none; cursor: ew-resize; display: grid; place-items: center;
}
.g-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 19, 43, .12), 0 0 18px rgba(255, 255, 255, .8); }
.g-knob {
  position: relative; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(22, 19, 43, .55), 0 0 0 4px color-mix(in srgb, var(--c2) 35%, transparent);
  transition: transform .4s var(--ease-back);
}
.g-knob svg { width: 22px; height: 22px; }
.g-handle:hover .g-knob, .g-card.dragging .g-knob { transform: scale(1.12); }
.g-handle:focus-visible { outline: none; }
.g-handle:focus-visible .g-knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.g-glare { position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 50%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.g-card:hover .g-glare { opacity: 1; }
.g-body { padding: 24px 12px 12px; }
.g-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  padding: 6px 13px 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c1) 30%, #fff); color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1) 60%, rgba(22, 19, 43, .1));
}
.g-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c2); }
.g-body h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.05; margin-top: 14px; }
.g-one { font-size: 16.5px; color: var(--ink-soft); margin-top: 10px; }
.g-type { margin-top: 18px; background: var(--sand); border-radius: 20px 20px 20px 6px; padding: 14px 18px 16px; }
.g-type span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.g-type p { font-size: 15px; line-height: 1.5; color: var(--ink); margin-top: 6px; }
.g-note { text-align: center; font-size: 14px; color: var(--muted); margin: 56px auto 0; max-width: 720px; }

/* ==========================================================================
   5. One sentence in
   ========================================================================== */
.example { padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(var(--cream), var(--sand) 30%, var(--sand) 70%, var(--cream)); }
.ex-ask { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 56px; max-width: 840px; }
.ex-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-bubble {
  background: var(--accent-btn); color: #fff; border-radius: 34px 34px 8px 34px; padding: 26px 34px;
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.02em;
  box-shadow: 0 30px 60px -28px var(--accent-glow); text-align: left; min-height: 2.5em;
}
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ex-card { background: var(--paper); border-radius: 28px; padding: 12px 12px 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.ex-shot { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #EEF0F3; }
.ex-shot .tag { top: auto; bottom: 10px; left: 10px; }
.ex-shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.ex-card:hover .ex-shot img { transform: scale(1.04); }
.ex-card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 18px 10px 0; }
.ex-card p { font-size: 15.5px; color: var(--ink-soft); margin: 6px 10px 0; }
.n { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 14px; }
.board-card {
  position: relative; margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px 48px;
  background: var(--paper); border-radius: 38px; padding: 14px clamp(20px, 3.5vw, 48px) 14px 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}
.bc-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, #3A2C7A 0%, #1E1840 55%, #16132B 100%);
}
.bc-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.bc-canvas { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; cursor: grab; }
.bc-canvas:active { cursor: grabbing; }
.bc-canvas canvas { width: 100% !important; height: 100% !important; }
.bc-stage .tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.bc-hint { position: absolute; right: 14px; bottom: 12px; z-index: 2; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: rgba(251, 247, 240, .6); }
html.fine .bc-hint { display: inline-flex; }
.bc-hint svg { width: 16px; height: 16px; }
.board-card.flat .bc-stage { display: none; }
.board-card.flat { grid-template-columns: 1fr; padding: 32px; }
.bc-text h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.bc-text > p { margin-top: 12px; color: var(--ink-soft); font-size: 17px; }
.bc-text .ex-also { justify-content: flex-start; margin-top: 22px; flex-direction: column; align-items: flex-start; gap: 10px; }
.ex-also { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px auto 0; }
.ex-also li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
.ex-also svg { width: 20px; height: 20px; color: #fff; background: #23B07F; border-radius: 50%; padding: 3px; }

.price-card {
  position: relative; overflow: hidden; margin-top: 44px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; align-items: center;
  background: var(--ink); color: var(--cream); border-radius: 38px; padding: clamp(32px, 4.5vw, 56px) clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
}
.price-card::before { content: ""; position: absolute; width: 520px; height: 520px; left: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .55), transparent 65%); filter: blur(10px); }
.pc-l, .pc-r { position: relative; z-index: 1; }
.pc-k { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: rgba(251, 247, 240, .85); }
.pc-k .n { background: var(--accent-btn); }
.price { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 10vw, 150px); line-height: .95; letter-spacing: -.045em; margin-top: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .rs { color: #B9A8FF; margin-right: .04em; }
.pc-r p { font-size: 18px; color: rgba(251, 247, 240, .82); }
.pc-r .est { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: #FFE3A3; padding: 9px 15px; border-radius: 14px; background: rgba(255, 201, 77, .12); box-shadow: inset 0 0 0 1px rgba(255, 201, 77, .35); }
.pc-sparks i { position: absolute; width: 18px; height: 18px; background: var(--sun); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0; }
.price-card.lit .pc-sparks i { animation: twinkle 2.6s ease-in-out infinite; }
.pc-sparks i:nth-child(1) { right: 8%; top: 14%; }
.pc-sparks i:nth-child(2) { right: 18%; bottom: 16%; width: 12px; height: 12px; background: #B9A8FF; animation-delay: .6s !important; }
.pc-sparks i:nth-child(3) { left: 46%; top: 12%; width: 10px; height: 10px; background: #fff; animation-delay: 1.2s !important; }
.pc-sparks i:nth-child(4) { left: 6%; bottom: 12%; width: 14px; height: 14px; animation-delay: 1.8s !important; }

/* ==========================================================================
   6. FAQ, final call to action, footer
   ========================================================================== */
.faq-sec { padding: clamp(60px, 8vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px 64px; align-items: start; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 2px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: transform .5s var(--ease-back), background-color .3s, color .3s; }
.faq .pm svg { width: 18px; height: 18px; }
.faq summary:hover .pm { background: var(--accent-btn); color: #fff; }
.faq details[open] .pm { transform: rotate(135deg); background: var(--ink); color: #fff; }
.faq details.closing .pm { transform: none; background: var(--accent-soft); color: var(--accent-ink); }
.faq .a { overflow: hidden; }
.faq .a-in { padding: 0 2px 24px; display: grid; gap: 10px; color: var(--ink-soft); max-width: 640px; }

.final { padding: 0 0 clamp(60px, 8vw, 100px); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 115%, rgba(124, 92, 255, .75), transparent 60%), var(--ink);
  color: var(--cream); border-radius: 44px; padding: clamp(72px, 10vw, 140px) 24px;
  display: flex; flex-direction: column; align-items: center;
}
.final-stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-stars i { position: absolute; width: var(--s, 10px); height: var(--s, 10px); background: var(--c, #fff); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle var(--d, 3s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
.final-title { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 10vw, 160px); line-height: .92; letter-spacing: -.05em; font-variation-settings: "opsz" 96; }
.final-title .w { display: inline-block; white-space: nowrap; }
.final-title .ch { display: inline-block; }
.final-card .lede { color: rgba(251, 247, 240, .75); margin: 22px auto 36px; }
.final-card { padding-bottom: clamp(36px, 5vw, 64px); }
.shelf { width: min(1080px, 100%); margin: clamp(48px, 6vw, 80px) auto 0; }
.shelf-frame {
  position: relative; aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; transform-origin: 50% 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(124, 92, 255, .75), 0 18px 40px -20px rgba(0, 0, 0, .6);
  background: #E9DCC8;
}
.shelf-in { position: absolute; left: 0; width: 100%; aspect-ratio: 16 / 9; top: 50%; transform: translateY(-58%); }
.shelf-zoom { position: absolute; inset: 0; transform-origin: 50% 58%; }
.shelf-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shelf-tag { position: absolute; left: 14px; bottom: 14px; z-index: 3; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(22, 19, 43, .72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spot { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); display: grid; justify-items: center; text-decoration: none; color: var(--ink); }
.spot i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(124, 92, 255, .55), 0 6px 16px rgba(22, 19, 43, .35); }
.spot i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); opacity: 0; }
.shelf.live .spot i::after { animation: ping 2.4s var(--ease-out) infinite; }
.spot:nth-of-type(2) i::after { animation-delay: .4s !important; } .spot:nth-of-type(3) i::after { animation-delay: .8s !important; }
.spot:nth-of-type(4) i::after { animation-delay: 1.2s !important; } .spot:nth-of-type(5) i::after { animation-delay: 1.6s !important; }
.spot:nth-of-type(6) i::after { animation-delay: 2s !important; }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.spot span {
  position: absolute; bottom: calc(100% + 10px); white-space: nowrap; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em;
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -10px rgba(22, 19, 43, .55);
  transition: transform .35s var(--ease-back), background-color .25s, color .25s;
}
.spot:hover span, .spot:focus-visible span { transform: translateY(-4px) scale(1.06); background: var(--accent-btn); color: #fff; }
.shelf figcaption { margin-top: 16px; font-size: 14px; color: rgba(251, 247, 240, .62); }

.foot { padding: 40px 0 56px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1.5px solid var(--line); }
.foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot .fine { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 860px; }
.foot .copy { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav a { padding: 8px 10px; }
}
@media (max-width: 1023px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-stage { max-width: min(560px, 100%); max-height: none; margin-top: 8px; }
  .g-grid { gap: 36px 24px; }
  .g-grid { padding-bottom: 80px; }
  .g-card:nth-child(even) { margin-top: 80px; margin-bottom: -80px; }
  .price-card { grid-template-columns: 1fr; }
  .board-card { grid-template-columns: 1fr; padding: 12px 12px 28px; }
  .bc-text { padding: 0 12px; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top-inner { justify-content: space-between; height: 56px; padding-left: 14px; }
  .brand { font-size: 18px; }
  .g-grid { grid-template-columns: 1fr; gap: 28px; }
  .g-grid { padding-bottom: 0; }
  .g-card:nth-child(n) { margin-top: 0; margin-bottom: 0; }
  .ex-grid { grid-template-columns: 1fr; gap: 18px; }
  .story { border-radius: 32px 32px 0 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nw { white-space: normal; }
  .h2 { font-size: clamp(34px, 10.4vw, 44px); }
  /* phones: the 3D stage sits right under the headline, before the wish box */
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .kicker { order: 1; align-self: flex-start; }
  .kinetic { order: 2; }
  .hero-stage { order: 3; aspect-ratio: 1 / .9; margin: -6px auto 26px; }
  .stage-chip { bottom: 2%; }
  .stage-note { bottom: -20px; }
  .hero .lede { order: 4; }
  .wishbox { order: 5; }
  .wish-toast { order: 6; }
  .hero-actions { order: 7; }
  .top { top: 8px; }
  .top-inner { padding: 0 6px 0 12px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .top .btn-sm { --h: 40px; padding: 0 14px; font-size: 14px; }
  .hero { padding-top: 92px; padding-bottom: 32px; }
  .kicker { font-size: 13px; }
  .kinetic { font-size: clamp(48px, 14.6vw, 64px); margin: 18px 0; }
  .k-line-2 { white-space: normal; }
  .wishbox { padding: 14px 10px 10px 14px; border-radius: 22px; column-gap: 10px; }
  .wish-icon { width: 34px; height: 34px; border-radius: 11px; }
  .wish-foot { padding-left: 0; }
  .wish-hint { display: none; }
  .wish-foot { justify-content: flex-end; }
  .wish-go { --h: 46px; padding: 0 20px; }
  .hero-hint { display: none; }
  .stage-chip { font-size: 13.5px; padding: 8px 13px 8px 10px; }
  .mq-rows { gap: 12px; }
  .story-step { padding: 18px 16px; grid-template-columns: 38px 1fr; gap: 4px 12px; }
  .story-step .num { width: 38px; height: 38px; font-size: 17px; }
  .story-step h3 { font-size: 24px; padding-top: 4px; }
  .g-card { padding: 10px; border-radius: 28px; }
  .g-polaroid { top: -26px; right: 4px; width: 36%; padding: 5px 5px 0; }
  .g-polaroid figcaption { font-size: 12.5px; padding: 4px 1px 6px; }
  .g-polaroid figcaption { flex-direction: column; align-items: flex-start; gap: 0; }
  .g-polaroid figcaption span { font-size: 9.5px; }
  .g-media { border-radius: 20px; }
  .g-body { padding: 18px 8px 8px; }
  .ex-bubble { padding: 20px 22px; border-radius: 26px 26px 8px 26px; }
  .price-card { border-radius: 30px; }
  .price { font-size: clamp(64px, 20vw, 88px); }
  .final-card { border-radius: 32px; }
  .shelf-frame { aspect-ratio: 16 / 9; border-radius: 20px; }
  .shelf-in { transform: translateY(-50%); }
  .spot span { display: none; }
  .spot i { width: 11px; height: 11px; box-shadow: 0 0 0 2.5px rgba(124, 92, 255, .7), 0 3px 8px rgba(22, 19, 43, .35); }
  .spot i::after { inset: -3px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
  .btn-xl { --h: 60px; padding: 0 30px; font-size: 18px; }
}

/* Reduced motion: no smooth scroll, no particles, no pinning, no looping animations */
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.rm .fx { display: none; }
html.rm .caret { display: none; }
html.rm .mq-rows { transform: none; margin: 0; }
html.rm .mq-row { overflow: visible; padding: 0 var(--gutter); }
html.rm .mq-track { flex-wrap: wrap; width: auto; justify-content: center; }
html.rm .mq-item { font-size: clamp(18px, 2.2vw, 26px); white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
