/* The setup pages, /start and /start/asks (src/render/start.ts), on the
   feature pages' ground (about.css, features.css). Every class is st-, so
   nothing here meets the home page's own. The film's stage is its own
   world, like a slide: white windows on the brand gradient. Each element's
   resting style is its last frame; .st-play runs the film. */

.st-page{
  --st-ink:var(--deck-inverse-text); --st-muted:var(--deck-inverse-muted); --st-faint:var(--deck-inverse-faint);
  --st-line:rgba(255,255,255,.1); --st-sunken:rgba(255,255,255,.05); --st-card:#151933; --st-ok:#5fd39a;
  --st-grad:linear-gradient(100deg, var(--deck-primary), var(--deck-secondary) 55%, var(--deck-tertiary));
  --st-ground:linear-gradient(125deg, var(--deck-primary), var(--deck-secondary) 55%, var(--deck-tertiary));
  --st-pick:#6d4fd8;
  /* the stage's world */
  --w-ink:#0a0c1f; --w-muted:#5b6473; --w-faint:#a0a8b8; --w-line:#e6e8ee; --w-well:#f4f5f8; --w-ok:#1f9d5a;
  max-width:1180px; margin:0 auto; padding:0 clamp(16px, 4vw, 40px) 40px; color:var(--st-ink);
}
.st-sprite{position:absolute; width:0; height:0; overflow:hidden}
/* The site has no reset for [hidden]; these pages toggle it (the sign-in line, the @ mention). */
.st-page [hidden]{display:none !important}
.st-g{background:var(--st-grad); -webkit-background-clip:text; background-clip:text; color:transparent}
.st-label{margin:0; font-family:var(--deck-font-mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:#b9a6ff}
.st-page h1,.st-page h2,.st-page h3{margin:0; font-family:var(--deck-font-display); font-weight:800; letter-spacing:-0.03em}
.st-page a{color:#c7b8ff; text-underline-offset:3px}
.st-page a:hover{color:#fff}
.st-page strong{font-weight:700; color:#fff}
.st-small{font-size:15px; color:var(--st-muted)}

/* ── controls, as mathieu-ds draws them on dark: icon first, translucent white ── */
.st-btn{display:inline-flex; align-items:center; justify-content:center; gap:7px; flex:none; height:32px; padding:0 12px; border:0; border-radius:8px; cursor:pointer;
  font:600 13px/1 var(--deck-font-sans); white-space:nowrap; text-decoration:none; color:#fff; background:rgba(255,255,255,.08); box-shadow:0 0 0 1px rgba(255,255,255,.12);
  transition:background-color .12s, transform 80ms}
.st-btn:hover{background:rgba(255,255,255,.14); color:#fff}
.st-btn:active{transform:translateY(1px) scale(.97)}
.st-btn svg{width:16px; height:16px; fill:currentColor; flex:none; transition:transform .2s}
.st-btn-sm{height:26px; padding:0 10px; font-size:12px}
.st-btn-sm svg{width:14px; height:14px}
.st-btn-lg{height:44px; padding:0 18px; font-size:15px; border-radius:10px}
.st-btn-lg svg{width:18px; height:18px}
.st-btn-primary{background:#fff; color:var(--w-ink) !important; box-shadow:0 10px 24px -10px rgba(0,0,0,.6)}
.st-btn-primary:hover{background:var(--deck-inverse-muted)}
.st-btn.done svg{color:var(--st-ok)}
.st-btn:focus-visible,.st-seg button:focus-visible,.st-chip:focus-visible,.st-better:focus-within{outline:none; box-shadow:0 0 0 2px var(--deck-inverse-sheet), 0 0 0 4px var(--deck-primary)}
.st-seg{display:inline-flex; gap:3px; padding:3px; border-radius:9px; background:rgba(255,255,255,.06)}
.st-seg button{display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 14px; border:0; border-radius:6px; background:transparent; cursor:pointer;
  font:600 13px var(--deck-font-sans); color:var(--st-muted)}
.st-seg button:hover{color:#fff}
.st-seg button[aria-pressed="true"]{background:var(--st-pick); color:#fff}
.st-seg svg{width:15px; height:15px; fill:currentColor; flex:none}

/* ── hero ── */
.st-hero{padding:64px 0 40px; display:grid; gap:18px}
.st-hero h1{font-size:clamp(56px, 9vw, 104px); line-height:.98}
.st-lead{margin:0; max-width:30em; font-size:clamp(18px, 1.5vw, 20px); line-height:1.5; color:var(--st-muted)}
.st-hero-row{display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-top:6px}
.st-signin{margin:0; font-size:15px; color:var(--st-muted)}

/* ── the film: words left, the stage pinned right ── */
.st-film{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.12fr); gap:56px; border-top:1px solid var(--st-line)}
.st-stops{grid-column:1; grid-row:1; min-width:0}
.st-stage-col{grid-column:2; grid-row:1; position:sticky; top:calc(72px + 4vh); align-self:start; padding-top:40px; min-width:0}
.st-stop{min-height:72vh; display:flex; flex-direction:column; justify-content:center; gap:16px; padding-block:40px}
.st-stop p{margin:0; max-width:32em}
.st-stop h2{font-size:clamp(26px, 3.2vw, 34px); line-height:1.15; text-wrap:balance}
.st-stop-h{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.st-num{font:800 18px/1 var(--deck-font-display); width:40px; height:40px; flex:none; border-radius:50%; display:grid; place-items:center;
  color:var(--st-muted); background:rgba(255,255,255,.08); transition:color .3s, background-color .3s, transform .4s cubic-bezier(.34,1.56,.64,1)}
.st-stop.active .st-num,.st-text .st-num{color:#fff; background:var(--st-grad)}
.st-stop.active .st-num{transform:scale(1.08)}
.st-text .st-stop.active .st-num{transform:none}
.st-eyebrow{margin:0; display:flex; gap:10px; align-items:center; font-family:var(--deck-font-mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--st-muted)}
.st-done{display:none; gap:4px; align-items:center; font:600 12px var(--deck-font-sans); letter-spacing:0; text-transform:none; color:var(--st-ok)}
.st-done svg{width:12px; height:12px; fill:currentColor}
.st-stop.is-done .st-done{display:inline-flex}
/* the stepper on every step: four segments, this one in the gradient, finished ones green */
.st-stepper{display:flex; gap:4px; margin-left:auto}
.st-stepper i{width:22px; height:6px; border-radius:3px; background:rgba(255,255,255,.12); transition:background-color .35s, transform .35s cubic-bezier(.34,1.56,.64,1)}
.st-stepper i.here{background:var(--st-grad)}
.st-stepper i.done{background:var(--st-ok)}
.st-stepper i.pulse{transform:scaleY(1.6)}

/* step 2: the picker, and one app's steps at a time once script runs */
.st-pick{display:flex; gap:12px; align-items:center; flex-wrap:wrap; font-family:var(--deck-font-mono); font-size:13px; color:var(--st-muted)}
.st-apps{display:grid; gap:28px}
.st-app{display:grid; gap:14px}
.st-app-h{display:flex; gap:10px; align-items:center; font-size:20px}
.st-app-h svg{width:20px; height:20px; fill:#fff}
.st-js .st-app-h{display:none}
.st-js .st-app:not(.on){display:none}
.st-plan{font-size:15px; background:var(--st-sunken); border-radius:10px; padding:12px 14px}
.st-path{display:inline-flex; flex-wrap:wrap; gap:4px; align-items:center; font:13px/1.3 var(--deck-font-mono); color:var(--st-faint)}
.st-path span{color:var(--st-ink); background:var(--st-sunken); border:1px solid var(--st-line); border-radius:6px; padding:3px 7px}
.st-form{border:1px solid var(--st-line); border-radius:10px; padding:12px 14px; display:grid; grid-template-columns:max-content minmax(0, max-content) auto; gap:8px 18px;
  align-items:center; width:fit-content; max-width:100%}
.st-form > div{display:contents}
.st-k{color:var(--st-faint); font:12px var(--deck-font-mono); white-space:nowrap}
.st-v{font:13px var(--deck-font-mono); white-space:nowrap; overflow-x:auto; scrollbar-width:none; min-width:0}
.st-v::-webkit-scrollbar{display:none}
.st-form > div > .st-v:last-child{grid-column:2 / span 2}

/* step 4's ask, and the template on /start/asks: slots to fill in, tinted, never underlined */
.st-ask{display:flex; gap:12px; align-items:flex-start; justify-content:space-between; max-width:34em; border:1px solid var(--st-line); border-radius:14px; padding:14px 12px 14px 16px}
.st-ask p{margin:0; min-width:0; line-height:1.6}
.st-ask em{font-style:normal; color:#fff; background:color-mix(in srgb, var(--deck-primary) 26%, transparent); border-radius:5px; padding:1px 5px; box-decoration-break:clone; -webkit-box-decoration-break:clone}
.st-ask em.st-notes{display:inline-block; margin-top:8px; background:transparent; border:1.5px dashed color-mix(in srgb, var(--deck-primary) 60%, transparent); padding:6px 10px; color:var(--st-muted)}

/* ── the stage ── */
.st-stage{position:relative; aspect-ratio:4 / 3; border-radius:22px; overflow:hidden; background:var(--st-ground); box-shadow:0 40px 80px -40px color-mix(in srgb, var(--deck-secondary) 70%, transparent)}
.st-stage::before{content:""; position:absolute; inset:0; background:radial-gradient(60% 50% at 20% 10%, rgba(255,255,255,.28), transparent 70%); pointer-events:none}
.st-canvas{position:absolute; left:0; top:0; width:640px; height:480px; transform-origin:0 0; transform:scale(var(--k, .86)); font-family:var(--deck-font-sans); color:var(--w-ink); font-size:13px; line-height:1.4}
.st-canvas p{margin:0}
.st-under{display:flex; align-items:center; justify-content:center; gap:18px; padding-top:16px}
.st-dots{display:flex; gap:8px; justify-content:center}
.st-dots i{width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.18); transition:all .3s}
.st-dots i.on{width:26px; border-radius:4px; background:var(--st-grad)}
.st-scene{position:absolute; inset:0; display:grid; place-items:center; opacity:0; transform:scale(.97); transition:opacity .45s, transform .6s cubic-bezier(.16,1,.3,1); pointer-events:none}
.st-scene.show{opacity:1; transform:none}
.st-win{background:#fff; border-radius:16px; box-shadow:0 30px 60px -20px rgba(10,12,31,.45); overflow:hidden; position:relative}
.st-wbar{display:flex; gap:6px; align-items:center; height:36px; padding:0 14px; border-bottom:1px solid var(--w-line); font:12px var(--deck-font-mono); color:var(--w-muted)}
.st-wbar i{width:9px; height:9px; border-radius:50%; background:var(--w-line)}
.st-wbar span{margin-left:8px}
.st-wbar svg{width:13px; height:13px; margin-left:8px; fill:var(--w-ink)}
.st-wbar svg + span{margin-left:6px}
.st-ph{display:block; height:8px; border-radius:4px; background:var(--w-line)}
.st-ph + .st-ph{margin-top:6px}
.st-okline{display:inline-flex; gap:8px; align-items:center; font-weight:700; font-size:14px; color:var(--w-ok)}
.st-okline svg{width:16px; height:16px; fill:currentColor}

/* scene 1: the inbox, then the code */
.st-s1{width:470px; height:330px}
.st-inbox{position:absolute; inset:36px 0 0; padding:10px; display:grid; gap:4px; align-content:start; visibility:hidden; opacity:0}
.st-mrow{display:grid; grid-template-columns:34px minmax(0, 1fr) auto; gap:12px; align-items:center; padding:12px; border-radius:10px}
.st-av{width:34px; height:34px; border-radius:50%; background:var(--w-well); display:grid; place-items:center; font-weight:700; color:var(--w-faint)}
.st-new{background:#f3effe}
.st-new .st-av{background:var(--st-ground); color:#fff}
.st-mrow b{display:block; font-size:14px}
.st-mrow p{margin:2px 0 0; color:var(--w-muted)}
.st-mrow time{font:11px var(--deck-font-mono); color:var(--w-faint)}
.st-code{position:absolute; inset:36px 0 0; display:grid; place-content:center; justify-items:center; gap:14px; text-align:center}
.st-ck{font:800 20px var(--deck-font-display)}
.st-ct{font-size:14px; color:var(--w-muted)}
.st-boxes{display:flex; gap:8px}
.st-boxes span{width:42px; height:52px; border-radius:10px; border:1.5px solid var(--w-line); display:grid; place-items:center; font:700 24px var(--deck-font-mono)}

/* scene 2: the chosen app's own screens, a grey skeleton in its colours, with its mark (start.js draws it) */
[data-ai="claude"]{--a-bg:#faf9f5; --a-side:#f3f1ea; --a-hl:#e9e5d8; --a-hl-fg:#3d3929; --a-btn:#c96442; --a-btn-fg:#fff; --a-accent:#d97757; --a-bubble:#efece3; --a-r:8px}
[data-ai="chatgpt"]{--a-bg:#fff; --a-side:#f9f9f9; --a-hl:#ececec; --a-hl-fg:#0d0d0d; --a-btn:#0d0d0d; --a-btn-fg:#fff; --a-accent:#0d0d0d; --a-bubble:#f2f2f2; --a-r:999px}
[data-ai="gemini"]{--a-bg:#fff; --a-side:#f0f4f9; --a-hl:#d3e3fd; --a-hl-fg:#041e49; --a-btn:#0b57d0; --a-btn-fg:#fff; --a-accent:#4285f4; --a-bubble:#e9eef6; --a-r:999px}
.st-app-f{position:absolute; left:30px; top:40px; width:580px; height:400px; background:var(--a-bg, #fff); border-radius:16px; overflow:hidden; box-shadow:0 30px 60px -20px rgba(10,12,31,.45); font-size:12px}
.st-ab{position:absolute; box-sizing:border-box}
.st-tbar{display:flex; gap:6px; align-items:center; padding:0 14px; border-bottom:1px solid var(--w-line)}
.st-tbar i{width:9px; height:9px; border-radius:50%; background:var(--w-line)}
.st-tbar span{margin-left:auto; font:11px var(--deck-font-mono); color:var(--w-faint)}
.st-side{background:var(--a-side, #f7f7f9); border-right:1px solid var(--w-line)}
.st-lab{font-weight:700; font-size:13px; white-space:nowrap; display:flex; align-items:center; gap:7px}
.st-lab svg{width:15px; height:15px; flex:none; fill:var(--w-ink)}
.st-item{border-radius:8px; display:flex; align-items:center; padding:0 10px; color:var(--w-muted); font-weight:600; white-space:nowrap}
.st-item.st-pillitem{border:1px solid var(--w-line); background:#fff; color:var(--w-ink)}
.st-hl{background:var(--a-hl, #ebe6fd); color:var(--a-hl-fg, #3b1fa6)}
.st-composer{border:1px solid var(--w-line); border-radius:14px; box-shadow:0 6px 16px -10px rgba(10,12,31,.3)}
.st-pane{background:var(--a-bg, #fff)}
.st-h{font:800 15px var(--deck-font-display); white-space:nowrap}
.st-tab{border-radius:6px; display:grid; place-items:center; font-weight:600; color:var(--w-muted)}
.st-row{border:1px solid var(--w-line); border-radius:8px; display:flex; align-items:center; gap:8px; padding:0 10px; background:#fff}
.st-row .st-ph{display:inline-block; margin:0}
.st-gq{width:16px; height:16px; border-radius:5px; background:var(--st-ground); flex:none}
.st-card{border:1px solid var(--w-line); border-radius:10px; background:#fff}
.st-dzr{border-color:#c9b8ff; background:#f6f2ff}
.st-pop{background:#fff; border:1px solid var(--w-line); border-radius:10px; box-shadow:0 14px 30px -12px rgba(10,12,31,.35); padding:6px; z-index:3}
.st-pi{height:24px; border-radius:6px; display:flex; align-items:center; padding:0 8px; font-weight:600; white-space:nowrap}
.st-scrim{background:rgba(10,12,31,.28); z-index:3}
.st-modal{background:#fff; border-radius:14px; box-shadow:0 30px 60px -20px rgba(10,12,31,.55); z-index:3}
.st-flab{font-size:11px; color:var(--w-muted); white-space:nowrap}
.st-inp{border:1.5px solid var(--w-line); border-radius:8px; display:flex; align-items:center; padding:0 9px; font:12px var(--deck-font-mono); overflow:hidden; white-space:nowrap}
.st-bt{border-radius:var(--a-r, 8px); background:var(--a-btn, var(--w-ink)); color:var(--a-btn-fg, #fff); font-weight:600; font-size:12px; display:grid; place-items:center; white-space:nowrap}
.st-bt.soft{background:var(--w-well); color:var(--w-ink)}
.st-cb{border-radius:4px; background:var(--a-btn, var(--w-ink)); display:grid; place-items:center}
.st-cb svg{width:11px; height:11px; fill:#fff}
.st-tog{width:26px; height:14px; border-radius:7px; background:var(--w-line); margin-left:auto; flex:none}
.st-cur{left:0; top:0; width:22px; height:24px; z-index:6; filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.st-cur path{fill:#fff; stroke:#0a0c1f; stroke-width:1.5; stroke-linejoin:round}
.st-rip{border-radius:50%; border:2px solid var(--a-accent, #8b5cf6); opacity:0; z-index:5}
.st-type{display:inline-block; overflow:hidden; white-space:nowrap; width:calc(var(--n) * 1ch); vertical-align:bottom}
.st-fx.out{opacity:0; visibility:hidden}

/* scene 3: Dossier's own sign-in */
.st-s3{width:400px; padding:22px 26px 22px; display:grid; gap:16px; justify-items:center; text-align:center}
.st-urlb{font:11px var(--deck-font-mono); color:var(--w-muted); background:var(--w-well); border-radius:6px; padding:4px 10px}
.st-pair{display:flex; align-items:flex-start; gap:10px}
.st-appw{display:grid; gap:6px; justify-items:center}
.st-appw small{font-weight:600; font-size:11px; color:var(--w-muted)}
.st-appb{width:52px; height:52px; border-radius:14px; display:grid; place-items:center}
.st-appb.st-aitile{background:#fff; box-shadow:inset 0 0 0 1px var(--w-line)}
.st-appb.st-aitile svg{width:28px; height:28px; fill:var(--w-ink)}
.st-appb.st-dz{background:none}
.st-dicon{width:52px; height:52px; display:block}
.st-link3{display:flex; gap:5px; margin-top:23px}
.st-link3 i{width:6px; height:6px; border-radius:50%; background:var(--w-faint)}
.st-q{font:800 17px/1.3 var(--deck-font-display)}
.st-scopes{list-style:none; margin:0; padding:0; display:grid; gap:8px; width:100%; text-align:left; font-size:14px}
.st-scopes li{display:flex; gap:10px; align-items:center; padding:8px 12px; border-radius:8px; background:var(--w-well)}
.st-scopes svg{width:14px; height:14px; fill:var(--w-ok); flex:none}
.st-acts{display:flex; gap:10px; width:100%}
.st-acts span{flex:1; height:38px; border-radius:8px; display:grid; place-items:center; font-weight:600; font-size:14px; background:var(--w-well)}
.st-acts .st-pri{background:var(--w-ink); color:#fff}
.st-seal{position:absolute; inset:0; display:grid; place-items:center; background:rgba(255,255,255,.92); border-radius:16px}
.st-seal div{width:84px; height:84px; border-radius:50%; background:var(--w-ok); display:grid; place-items:center; box-shadow:0 0 0 12px rgba(31,157,90,.15)}
.st-seal svg{width:40px; height:40px; fill:#fff}

/* scene 4: the ask, and the deck building */
.st-s4{display:grid; grid-template-columns:290px 270px; gap:16px; align-items:center}
.st-chat{width:290px; height:380px; display:flex; flex-direction:column; background:var(--a-bg, #fff)}
.st-body{flex:1; padding:14px; display:flex; flex-direction:column; gap:10px; justify-content:flex-end}
.st-bub{border-radius:14px; padding:10px 12px; line-height:1.45}
.st-me{background:var(--a-bubble, #f1edff); align-self:flex-end; border-bottom-right-radius:4px; max-width:250px}
.st-ai{background:var(--w-well); border-bottom-left-radius:4px; display:grid; gap:6px}
.st-ai p{display:flex; gap:8px; align-items:center; font-size:12.5px}
.st-ai svg{width:13px; height:13px; fill:var(--w-ok); flex:none}
.st-atchip{display:inline-block; background:#e7defd; color:#4b2bb8; font-weight:600; font-size:12px; border-radius:6px; padding:1px 6px}
.st-wd{display:inline}
.st-deck{display:grid; grid-template-columns:repeat(2, 130px); gap:10px}
.st-ms{width:130px; height:73px; border-radius:8px; background:#fff; box-shadow:0 10px 24px -12px rgba(10,12,31,.5); padding:9px 10px; display:grid; align-content:start; gap:5px}
.st-ms b{font:800 8.5px/1.2 var(--deck-font-display)}
.st-ms i{display:block; height:4px; border-radius:2px; background:var(--w-line)}
.st-ms i.s{width:60%}
.st-ms .st-bar{height:4px; width:34px; border-radius:2px; background:var(--st-ground)}
.st-ms.st-dk{background:var(--w-ink); color:#fff}
.st-ms.st-dk i{background:rgba(255,255,255,.2)}
.st-saved{grid-column:1 / -1; justify-self:center; margin-top:4px; display:inline-flex; gap:8px; align-items:center; background:#fff; border-radius:999px; padding:7px 14px;
  font:12px var(--deck-font-mono); box-shadow:0 10px 24px -12px rgba(10,12,31,.5)}
.st-saved svg{width:13px; height:13px; fill:var(--w-ok)}

/* the film's timings */
@keyframes st-rise{from{opacity:0; transform:translateY(14px)}}
@keyframes st-pop{from{opacity:0; transform:scale(.6)}}
@keyframes st-slidein{from{opacity:0; transform:translateY(-40px)}}
@keyframes st-type{from{width:0}}
@keyframes st-press{50%{transform:scale(.92); filter:brightness(1.3)}}
@keyframes st-inbox{0%, 82%{opacity:1; visibility:visible} 100%{opacity:0; visibility:hidden}}
@keyframes st-pulse{0%, 100%{opacity:.3} 50%{opacity:1}}
@keyframes st-fin{from{opacity:0; transform:translateY(6px)} to{opacity:1; visibility:visible; transform:none}}
@keyframes st-fout{to{opacity:0; visibility:hidden}}
@keyframes st-hlin{from{background:transparent; color:inherit}}
@keyframes st-ripple{0%{opacity:.9; transform:scale(.3)} 100%{opacity:0; transform:scale(1.5)}}
@keyframes st-cbin{from{background:#fff; box-shadow:inset 0 0 0 1.5px var(--w-line)}}
.st-play .st-inbox{animation:st-inbox 2.3s both}
.st-play .st-new{animation:st-slidein .5s .35s cubic-bezier(.16,1,.3,1) both}
.st-play .st-code{animation:st-rise .45s 2.1s both}
.st-play .st-boxes b{display:inline-block; animation:st-pop .22s calc(2.6s + var(--i) * .17s) both}
.st-play .st-s1 .st-okline{animation:st-pop .35s 3.8s cubic-bezier(.34,1.56,.64,1) both}
.st-play .st-type{animation:st-type calc(var(--n) * .045s) steps(var(--n)) var(--d) both}
.st-play .st-fx{animation:st-fin .3s var(--in) both}
.st-play .st-fx.out{animation:st-fin .3s var(--in) both, st-fout .25s var(--out) forwards}
.st-play .st-hl{animation:st-hlin .25s var(--hl) both}
.st-play .st-rip{animation:st-ripple .55s var(--at) both}
.st-play .st-bt.pr{animation:st-press .35s var(--at) both}
.st-play .st-cb{animation:st-cbin .2s var(--at) both}
.st-play .st-cur{animation:var(--cur) both}
.st-play .st-s3{animation:st-rise .45s .1s both}
.st-play .st-link3 i{animation:st-pulse 1s calc(var(--i) * .2s) 2}
.st-play .st-scopes li{animation:st-rise .35s calc(.5s + var(--i) * .2s) both}
.st-play .st-acts .st-pri{animation:st-press .35s 1.7s both}
.st-play .st-seal{animation:st-pop .4s 2.1s cubic-bezier(.34,1.56,.64,1) both}
.st-play .st-atchip{animation:st-pop .3s .1s both}
.st-play .st-wd{animation:st-rise .25s calc(.2s + var(--i) * .045s) both; display:inline-block}
.st-play .st-ai{animation:st-rise .35s 1.9s both}
.st-play .st-ai p{animation:st-rise .3s calc(2.2s + var(--i) * .5s) both}
.st-play .st-ms{animation:st-pop .35s calc(2.5s + var(--i) * .22s) cubic-bezier(.34,1.56,.64,1) both}
.st-play .st-saved{animation:st-rise .4s 4.1s both}

/* ── the way to /start/asks: a solid panel with a thin gradient edge, the slide flipping from vague to sharp ── */
.st-better-sec{margin:24px 0 56px}
.st-better{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr); gap:clamp(24px, 4vw, 52px); align-items:center; padding:clamp(24px, 4vw, 44px);
  border-radius:24px; border:1.5px solid transparent; background:linear-gradient(var(--st-card), var(--st-card)) padding-box, var(--st-grad) border-box;
  box-shadow:0 30px 60px -36px color-mix(in srgb, var(--deck-secondary) 60%, transparent); cursor:pointer; transition:transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s}
.st-better:hover{transform:translateY(-3px)}
.st-better:hover .st-btn-lg svg{transform:translateX(3px)}
.st-b-text{display:grid; gap:14px; justify-items:start}
.st-b-text h2{font-size:clamp(30px, 4vw, 48px); line-height:1.02; text-wrap:balance}
.st-b-sub{margin:0; font-size:18px; line-height:1.5; color:var(--st-muted); max-width:26em}
.st-b-go{margin:4px 0 0}
.st-flip{position:relative; aspect-ratio:16 / 9; min-width:0; display:block}
.st-flip .st-slide{position:absolute; inset:0}
.st-flip .st-b{animation:st-flipb 6.5s cubic-bezier(.16,1,.3,1) infinite}
@keyframes st-flipb{0%, 40%{opacity:0; transform:scale(.97) rotate(-1deg)} 48%, 90%{opacity:1; transform:none} 98%, 100%{opacity:0; transform:scale(.97) rotate(-1deg)}}

/* a slide, drawn in HTML: the flip here and the toy on /start/asks */
@keyframes st-bump{40%{transform:scale(1.015) rotate(-.3deg)}}
.st-slide{aspect-ratio:16 / 9; border-radius:12px; background:#fff; color:var(--w-ink); position:relative; overflow:hidden; padding:6% 7%; display:grid; align-content:start; gap:4%;
  container-type:inline-size; box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.st-slide > span{display:block}
.st-slide.bump{animation:st-bump .45s cubic-bezier(.16,1,.3,1)}
.st-sk{font:2.1cqw var(--deck-font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--w-muted)}
.st-st{font:800 5.6cqw/1.05 var(--deck-font-display); letter-spacing:-.02em}
.st-stg{font-size:2.6cqw; color:var(--w-muted)}
.st-generic{display:grid !important; grid-template-columns:1fr 1fr; gap:2cqw; margin-top:2cqw}
.st-generic span{border-radius:1.4cqw; background:var(--w-well); padding:2.2cqw; font-size:2.4cqw; color:var(--w-faint)}
.st-kp{display:grid !important; grid-template-columns:1.2fr 1fr 1fr; gap:2cqw; margin-top:2cqw}
.st-kp > span{display:block; border-radius:1.4cqw; border:1px solid var(--w-line); padding:2cqw}
.st-kp b{display:block; font:800 5cqw/1 var(--deck-font-display)}
.st-kp small{font-size:1.9cqw; color:var(--w-muted)}
.st-pg{position:absolute !important; right:4%; bottom:5%; font:1.8cqw var(--deck-font-mono); color:var(--w-faint)}
.st-ftag{position:absolute !important; right:4%; top:6%; font:600 1.9cqw var(--deck-font-sans); border-radius:999px; padding:.6cqw 1.6cqw; background:var(--w-well); color:var(--w-muted)}
.st-ftag.st-good{background:var(--w-ink); color:#fff}

/* ── answers ── */
.st-faq{border-top:1px solid var(--st-line); padding-top:40px; max-width:760px}
.st-faq h2,.st-tpl h2,.st-habits h2{font-size:clamp(26px, 3vw, 34px); margin-bottom:14px}
.st-faq details{border-bottom:1px solid var(--st-line); padding-block:14px}
.st-faq summary{cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; gap:12px}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary::after{content:"+"; color:var(--st-faint); font:20px/1 var(--deck-font-mono)}
.st-faq details[open] summary::after{content:"−"}
.st-faq details p{margin:10px 0 0; color:var(--st-muted); max-width:36em}
.st-foot{margin:32px 0 0; font-size:15px; color:var(--st-muted)}

/* ── "Just text": the same words, no film ── */
.st-text .st-film{display:block}
.st-text .st-stage-col{display:none}
.st-text .st-stop{min-height:0; padding-block:34px; border-bottom:1px solid var(--st-line)}

/* ── /start/asks ── */
.st-back{margin:28px 0 0; font-weight:600}
.st-back a{text-decoration:none}
.st-back a::before{content:"← "}
.st-toy{position:relative; overflow:hidden; display:grid; gap:30px; margin:20px 0 56px; padding:clamp(24px, 5vw, 56px); border-radius:28px;
  background:var(--st-card); border:1px solid rgba(255,255,255,.08)}
.st-toy::before{content:""; position:absolute; width:560px; height:560px; right:-160px; top:-240px; background:radial-gradient(circle, color-mix(in srgb, var(--deck-secondary) 35%, transparent), transparent 65%); pointer-events:none}
.st-toy h1{font-size:clamp(38px, 7vw, 72px); line-height:1; margin:12px 0 14px; text-wrap:balance}
.st-toy-intro p:last-child{margin:0; max-width:34em; font-size:19px; color:var(--st-muted)}
.st-toy-grid{display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); gap:32px; align-items:start; position:relative}
.st-chips{display:flex; flex-wrap:wrap; gap:8px}
.st-chip{display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; border:0; border-radius:999px; cursor:pointer;
  font:600 13px var(--deck-font-sans); color:var(--st-muted); background:rgba(255,255,255,.08); box-shadow:0 0 0 1px rgba(255,255,255,.12); transition:background-color .15s, color .15s}
.st-chip:hover{background:rgba(255,255,255,.14); color:#fff}
.st-chip svg{width:14px; height:14px; fill:currentColor}
.st-chip[aria-pressed="true"]{background:var(--st-pick); color:#fff; box-shadow:none}
.st-prompt{margin-top:18px; border-radius:16px; padding:16px 18px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); font-size:17px; line-height:1.55; min-height:150px}
.st-prompt small{display:block; font:11px var(--deck-font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--st-faint); margin-bottom:8px}
.st-prompt mark{color:#fff; background:color-mix(in srgb, var(--deck-primary) 26%, transparent); border-radius:5px; padding:1px 4px; box-decoration-break:clone; -webkit-box-decoration-break:clone; animation:st-rise .35s both}
.st-guess{list-style:none; margin:18px 0 0; padding:0; display:grid; gap:6px}
.st-guess li{display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:14px; color:var(--st-muted); padding:8px 0; border-bottom:1px solid rgba(255,255,255,.1)}
.st-pill{font:600 11px var(--deck-font-sans); border-radius:999px; padding:3px 9px; white-space:nowrap}
.st-pill.gs{background:rgba(245,179,1,.14); color:#f3d98c}
.st-pill.yr{background:rgba(45,191,106,.16); color:#7fe0a8}
.st-slidewrap{display:grid; gap:12px; min-width:0}
.st-strip{display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); gap:6px}
.st-strip i{aspect-ratio:16 / 9; border-radius:4px; background:rgba(255,255,255,.12); animation:st-pop .3s calc(var(--i) * .03s) both}
.st-strip i.first{background:#fff}
.st-strip i.end{background:var(--st-grad)}
.st-strip-cap{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font:12px var(--deck-font-mono); color:var(--st-faint)}
.st-strip-cap b{color:#fff; font-weight:400}
.st-tpl{display:grid; gap:16px; margin-bottom:56px; max-width:820px}
.st-tpl > p{margin:0; color:var(--st-muted)}
.st-ways{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin:0; padding:0; list-style:none}
.st-ways li{border:1px solid var(--st-line); border-radius:12px; padding:14px; font-size:15px; color:var(--st-muted)}
.st-ways b{display:block; color:#fff}
.st-habits ul{margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:26px 40px}
.st-habits li{font-size:16px; color:var(--st-muted); padding-left:24px; position:relative}
.st-habits li::before{content:""; position:absolute; left:0; top:9px; width:10px; height:10px; border-radius:50%; background:var(--st-grad)}
.st-habits b{display:block; color:#fff; font-size:17px}

@media (max-width: 860px){
  .st-film{grid-template-columns:minmax(0, 1fr); gap:0}
  .st-stage-col{grid-column:1; grid-row:1; top:72px; z-index:5; background:var(--deck-inverse-sheet); padding-block:10px 8px}
  /* On a phone the pinned stage keeps under a third of the screen, so the words get the rest. */
  .st-stage{width:min(100%, 40vh); margin-inline:auto; border-radius:16px}
  .st-stops{grid-row:2}
  .st-stop{min-height:72vh}
  .st-under{padding-top:8px}
  .st-better,.st-toy-grid{grid-template-columns:minmax(0, 1fr)}
  .st-habits ul,.st-ways{grid-template-columns:minmax(0, 1fr)}
  .st-stepper{margin-left:0}
}
@media (max-width: 520px){
  .st-ask{flex-direction:column}
  .st-form{gap:8px 10px; padding:10px 12px}
}
@media (prefers-reduced-motion: reduce){
  .st-play *,.st-play,.st-strip i,.st-prompt mark,.st-slide.bump{animation:none !important}
  .st-flip .st-b{animation:none; opacity:1}
  .st-scene,.st-num,.st-stepper i,.st-better{transition:none !important}
  .st-better:hover{transform:none}
}
