/* ═══════════════════════════════════════════════════════════
   Scout, live (#planner). 2026-10-28, v3.
   Mark on v2: "i dont like the scroll ... it should literally animate
   instead of one big blob", "u need big animating text or headlines",
   "people shouldn't have to read a bunch of gray text".
   One screen that plays by itself: a giant sentence per scene with
   something live inside it, colour that floods out of the phone, the
   phone answering in the app's look, and the answer popping out of the
   phone as a card and stickers. Story bars jump between scenes.
   The phone's insides (.st-*) copy the app: chat = PCGPTLook.swift,
   Explore = the art Explore page and the Best Of card.
   Without JS: scene one, still. Reduced motion: tabs, nothing moves.
   ═══════════════════════════════════════════════════════════ */

.sx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sx-anchor { position: absolute; margin-top: -90px; }

/* v4: on laptops the stage holds still while you scroll past it, and each
   scroll step plays the next scene (scout-story.js adds .sx-scrolly). Phones
   and short windows keep the stage in the flow and play by themselves. */
.sx { --stage-h: clamp(600px, calc(100vh - 96px), 920px); --per: 55vh; }
.sx-hold { position: relative; }
.sx-hold.sx-scrolly { height: calc(var(--stage-h) + var(--per) * (var(--n, 4) - 1) + 20vh); }
.sx-hold.sx-scrolly .sx-stage { position: sticky; top: max(76px, calc(50vh - var(--stage-h) / 2 + 30px)); }

/* ── The stage ───────────────────────────────────────────────── */
.sx-stage {
  --c: #b8a2ff; --s: .9;
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1800px, calc(100% - 32px)); height: var(--stage-h);
  margin: 0 auto; border-radius: 44px;
  background: var(--c); color: #111214;
}
.sx-flood { position: absolute; inset: 0; z-index: 0; visibility: hidden; }
/* A giant faint word behind each scene, like the app's ghost word behind
   "Where to tonight?". */
.sx-ghosts { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sx-ghost { position: absolute; left: -.03em; bottom: -.19em; color: rgba(255, 255, 255, .26); font: 800 clamp(170px, 19vw, 380px)/1 'Inter', sans-serif; letter-spacing: -.065em; white-space: nowrap; visibility: hidden; }
.sx-stage:not(.js) .sx-ghost:first-child, .sx-stage.js.still .sx-ghost.on { visibility: visible; }
.sx-grid {
  position: relative; z-index: 1; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) calc(560px * var(--s)); column-gap: calc(290px * var(--s));
  padding: 0 clamp(32px, 5vw, 88px);
}
.sx-left { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.sx-right { position: relative; display: flex; align-items: center; }

/* Scout / Explore tag, top left */
.sx-tag { position: absolute; top: clamp(28px, 5vh, 48px); left: 0; display: grid; height: 40px; overflow: hidden; border-radius: 14px; background: #111214; color: #fff; font: 800 17px/40px 'Inter', sans-serif; letter-spacing: -.01em; }
.sx-tag::before { content: ""; position: absolute; z-index: 1; left: 14px; top: 13px; width: 14px; height: 14px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sx-tag-t { grid-area: 1 / 1; padding: 0 16px 0 38px; transform: translateY(110%); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.sx-tag-t.on { transform: none; }

/* The giant sentences */
.sx-lines { position: relative; }
.sx-line {
  margin: 0; max-width: 11.5em;
  font: 800 clamp(44px, 4.7vw, 88px)/1.02 'Inter', -apple-system, sans-serif; letter-spacing: -.055em;
  text-wrap: balance;
}
.sx-stage:not(.js) .sx-line:not(:first-child) { display: none; }
.sx-stage.js .sx-line { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); visibility: hidden; }
.sx-stage.js.still .sx-line.on { visibility: visible; }
.sx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .16em; margin: 0 -.03em -.16em; }
.sx-i, .sx-c { display: inline-block; }
.sx-key { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.sx-scr { position: absolute; z-index: -1; left: -3%; width: 106%; bottom: -.12em; height: .3em; overflow: visible; pointer-events: none; }
.sx-scr path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Things that live inside the sentences */
.sx-obj { position: relative; display: inline-flex; align-items: center; justify-content: center; height: .84em; margin: 0 .04em; vertical-align: -.1em; border-radius: .42em; font-variant-numeric: tabular-nums; }
.sx-obj i { font-style: normal; font-size: .5em; }
.sx-bubble { padding: 0 .3em .04em; border-radius: .36em .36em .36em .08em; background: #1d7bff; color: #fff; }
.sx-bubble b { font-size: .72em; font-weight: 800; letter-spacing: -.04em; }
.sx-photo { width: 1.45em; overflow: hidden; box-shadow: inset 0 0 0 .05em #fff; }
.sx-photo img { width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(58deg) saturate(1.3) brightness(1.04); }
.sx-vs { gap: .06em; padding: 0 .12em; background: #111214; color: #fff; }
.sx-vs img { width: .62em; height: .62em; border-radius: 50%; object-fit: cover; }
.sx-vs i { padding: 0 .1em; font-size: .32em; font-weight: 800; letter-spacing: 0; }
.sx-time { gap: .14em; padding: 0 .3em; background: #111214; color: #ff8fb4; letter-spacing: -.03em; }

/* Count-up numbers under each sentence */
.sx-stats { position: relative; height: clamp(84px, 11vh, 104px); margin-top: clamp(26px, 4vh, 44px); }
.sx-set { position: absolute; left: 0; top: 0; display: flex; gap: clamp(26px, 3.2vw, 56px); visibility: hidden; }
.sx-stage:not(.js) .sx-set:first-child, .sx-stage.js.still .sx-set.on { visibility: visible; }
.sx-stat { margin: 0; }
.sx-stat b { display: block; font: 800 clamp(34px, 3.3vw, 58px)/1 'Inter', sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-stat i { font-style: normal; }
.sx-stat span { display: block; max-width: 14ch; margin-top: 8px; color: rgba(17, 18, 20, .74); font: 700 15px/1.25 'Inter', sans-serif; }

/* Story bars */
.sx-prog { position: absolute; left: 0; right: 0; bottom: clamp(26px, 4.5vh, 44px); display: none; gap: 8px; }
.sx-stage.js .sx-prog { display: flex; }
.sx-prog button { flex: 1; min-width: 0; padding: 10px 0 0; border: 0; background: none; color: #111214; text-align: left; cursor: pointer; }
.sx-prog [data-go] > i { display: block; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(17, 18, 20, .16); }
.sx-prog [data-go] b { display: block; height: 100%; background: #111214; transform: scaleX(0); transform-origin: 0 50%; }
.sx-prog [data-go] span { display: block; margin-top: 9px; overflow: visible; font: 700 12.5px/1.2 'Inter', sans-serif; letter-spacing: -.01em; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.sx-prog button[aria-selected="true"] span, .sx-prog button:hover span { opacity: 1; }
.sx-prog button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 6px; }
.sx-prog .sx-next { flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -8px; padding: 0; border-radius: 50%; background: #111214; color: #fff; font: 800 20px/1 'Inter', sans-serif; text-align: center; animation: sxNudge 1.6s ease-in-out infinite; }
.sx-hold.sx-scrolly .sx-next.end { visibility: hidden; }
/* The last scene ends on a way in: the arrow gives way to "Get early access". */
.sx-cta {
  flex: none; display: flex; align-items: center; gap: 10px;
  max-width: 0; height: 48px; margin-top: -9px; padding: 0; overflow: hidden;
  border-radius: 24px; background: #111214; color: #fff; text-decoration: none; white-space: nowrap;
  font: 800 16px/1 'Inter', sans-serif; letter-spacing: -.01em; opacity: 0;
  transition: max-width .7s cubic-bezier(.22, 1, .36, 1), padding .7s cubic-bezier(.22, 1, .36, 1), opacity .3s, transform .2s;
}
.sx-cta i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111214; font-style: normal; }
.sx-stage.at-end .sx-cta { max-width: 260px; padding: 0 8px 0 20px; opacity: 1; transition-delay: 1.6s, 1.6s, 1.6s, 0s; }
.sx-stage.at-end .sx-cta:hover { transform: translateY(-2px); }
.sx-stage.at-end .sx-next { display: none; }
.sx-stage.at-end .sx-prog span { opacity: 0; }
.sx-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* Pause, only where it plays by itself (phones, tablets, short windows). */
.sx-prog .sx-pause { display: none; flex: none; place-items: center; width: 40px; height: 40px; margin-top: -6px; padding: 0; border-radius: 50%; background: rgba(17, 18, 20, .14); }
.sx-hold:not(.sx-scrolly) .sx-stage.gs .sx-pause { display: grid; }
.sx-pause i { position: relative; width: 12px; height: 13px; border: solid #111214; border-width: 0 4px; }
.sx-pause.held i { width: 0; height: 0; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #111214; margin-left: 3px; }
@keyframes sxNudge { 50% { transform: translateY(4px); } }

/* ── The phone and what pops out of it ───────────────────────── */
.sx-box { position: relative; width: calc(360px * var(--s)); height: calc(740px * var(--s)); }
.sx-device { position: absolute; left: 0; top: 0; width: 360px; height: 740px; transform: scale(var(--s)); transform-origin: 0 0; }
.sx-tilt { position: absolute; inset: 0; }
.sx-stage:not(.gs) .sx-tilt { transform: perspective(1400px) rotateY(-14deg) rotateX(4deg) rotate(-2deg); }
.sx-pops { position: absolute; inset: 0; pointer-events: none; }
.sx-pop { position: absolute; inset: 0; }
.sx-stage:not(.js) .sx-pop:not(:first-child) { display: none; }
.sx-stage.js .sx-pop { visibility: hidden; }
.sx-stage.js.still .sx-pop.on { visibility: visible; }

.sx-stk { position: absolute; z-index: 2; rotate: var(--r, 0deg); animation: sxFloat 3.4s ease-in-out var(--d, 0s) infinite alternate; }
.sx-stk > span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px 13px 15px; border-radius: 22px;
  background: #fff; color: #111214; white-space: nowrap;
  font: 800 20px/1.1 'Inter', sans-serif; letter-spacing: -.02em;
  box-shadow: 0 22px 40px -22px rgba(17, 18, 20, .55);
}
.sx-stk i { display: inline-block; font-style: normal; font-size: 24px; line-height: 1; }
.sx-stk.a { top: 6px; right: -200px; --r: 5deg; }
.sx-stk.b { top: 506px; right: -214px; --r: -4deg; --d: -1.3s; }
.sx-stk.c { bottom: -34px; left: -126px; --r: -5deg; --d: -.7s; }
.sx-stk.pro { top: -30px; left: -40px; --r: -10deg; --d: -2s; }
.sx-stk.pro > span { padding: 10px 18px; background: #111214; color: #fff; }

.sx-card { position: absolute; z-index: 3; top: 150px; left: -268px; width: 262px; rotate: var(--r, -6deg); animation: sxFloat 3.8s ease-in-out -1s infinite alternate; }
.sx-cin { position: relative; overflow: hidden; border-radius: 26px; background: #fff; color: #111214; box-shadow: 0 36px 70px -32px rgba(17, 18, 20, .6); font-family: 'Inter', sans-serif; }
.sx-cbody { position: relative; padding: 14px 16px 16px; }
.sx-cbody b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sx-cbody span { display: block; margin-top: 4px; color: #5c5f66; font-size: 14.5px; font-weight: 600; }
.sx-cbody i { font-style: normal; color: #e29a00; }
.sx-stamp {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 7px 13px; border: 2.5px solid #88bd91; border-radius: 12px;
  background: #17471c; color: #b9e2bf; font: 800 16px/1 'Inter', sans-serif; font-style: normal; rotate: 8deg;
}
.sx-place img { display: block; width: 100%; height: 178px; object-fit: cover; }
.sx-start { position: absolute; right: 14px; bottom: 16px; padding: 8px 15px; border-radius: 14px; background: #ff6a2b; color: #fff; font: 800 14px/1 'Inter', sans-serif; font-style: normal; }
.sx-start { background: #0a84ff; }
.sx-route .sx-cbody { padding-right: 90px; }
.sx-map { position: relative; height: 150px; background: #e9edf3; }
.sx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-streets { fill: none; stroke: #fff; stroke-width: 11; }
.sx-path { fill: none; stroke: #0a84ff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sx-pin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #111214; color: #fff; font: 800 13px/1 'Inter', sans-serif; box-shadow: 0 0 0 3px #fff; }
.sx-pin.end { background: #ff6a2b; }
.sx-vscard { width: 286px; left: -296px; }
.sx-vsrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 12px; }
.sx-va, .sx-vb { text-align: center; }
.sx-va img, .sx-vb img { display: block; width: 100%; height: 108px; border-radius: 16px; object-fit: cover; }
.sx-va b, .sx-vb b { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.sx-va span, .sx-vb span { font-size: 14px; font-weight: 700; }
.sx-va i, .sx-vb i { font-style: normal; color: #e29a00; }
.sx-vmid { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #111214; color: #fff; font: 800 12px/1 'Inter', sans-serif; font-style: normal; }
.sx-vscard .sx-stamp { top: 22px; right: auto; left: 18px; rotate: -9deg; }
.sx-neon .sx-cin { background: #17111f; color: #fff; text-align: center; }
.sx-neon-t { padding: 26px 0 4px; color: #ff8fb4; font: 700 76px/1 'Caveat', cursive; text-shadow: 0 0 10px rgba(255, 143, 180, .55); }
.sx-neon .sx-cbody { padding-top: 6px; }
.sx-neon .sx-cbody span { color: rgba(255, 255, 255, .7); }

.sx-note { width: min(1560px, calc(100% - 32px)); margin: 16px auto 0; color: var(--w-ink-2, #5c5f66); font: 500 14px/1.5 'Inter', sans-serif; text-align: center; }

.sx-burst { position: absolute; z-index: 4; right: 30px; top: 22px; width: 0; height: 0; }
.sx-vscard .sx-burst { right: auto; left: 56px; top: 30px; }
.sx-route .sx-burst { right: 34px; top: 30px; }
.sx-neon .sx-burst { right: 50%; top: 52px; }
.sx-burst em { position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border: 3px solid #fff; border-radius: 50%; opacity: 0; }
.sx-burst b { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #111214; opacity: 0; }
.sx-burst b:nth-child(3n) { background: #fff; }
.sx-burst b:nth-child(3n+1) { border-radius: 2px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); width: 16px; height: 16px; left: -8px; top: -8px; }

@keyframes sxFloat { from { translate: 0 -5px; } to { translate: 0 6px; } }

/* ── The phone's insides: the app's own look ─────────────────── */
.st-phone {
  width: 360px; height: 740px; padding: 11px;
  border-radius: 58px; background: #0b0b0c;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -40px rgba(17, 18, 20, .6);
}
.st-screen { position: relative; height: 100%; overflow: hidden; border-radius: 47px; background: #000; isolation: isolate; }
.st-screen::before { content: ""; position: absolute; z-index: 20; top: 11px; left: 50%; width: 104px; height: 31px; margin-left: -52px; border-radius: 16px; background: #000; }
.st-app { position: absolute; inset: 0; transition: transform .75s cubic-bezier(.22, 1, .36, 1), opacity .5s; }

.st-status { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 4px 30px 0 38px; color: #fff; font: 600 15.5px/1 -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.st-status.ink { color: #111; }
.st-sb { display: flex; align-items: flex-end; gap: 2px; }
.st-sb i { width: 3px; border-radius: 1px; background: currentColor; }
.st-sb i:nth-child(1) { height: 4px; } .st-sb i:nth-child(2) { height: 6px; } .st-sb i:nth-child(3) { height: 8px; } .st-sb i:nth-child(4) { height: 10px; }
.st-sb em { width: 22px; height: 11px; margin-left: 6px; border-radius: 3px; background: currentColor; }

/* Chat */
.st-chat { background: #000; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.st-bar { display: flex; justify-content: space-between; margin: 4px 16px 0; }
.st-round { display: grid; place-items: center; align-content: center; gap: 3px; width: 40px; height: 40px; border-radius: 50%; background: #1c1c1e; }
.st-round i { display: block; width: 15px; height: 1.7px; border-radius: 1px; background: #fff; }
.st-pill { display: flex; gap: 15px; align-items: center; height: 40px; padding: 0 15px; border-radius: 20px; background: #1c1c1e; }
.st-pill b { width: 14px; height: 14px; border: 1.6px solid #fff; border-radius: 3px; }
.st-pill b + b { width: 16px; height: 4px; border: 0; background: radial-gradient(circle, #fff 1.6px, transparent 2px) 0 0 / 6px 4px repeat-x; }
.st-convos { position: absolute; top: 104px; left: 18px; right: 18px; bottom: 78px; overflow: hidden; }
/* The app's empty chat: "Where to tonight?" over a faint "Tonight" (PlanningChatView greeting). */
.st-empty { position: absolute; left: 0; right: 0; top: 34%; text-align: center; opacity: 0; transform: scale(.96); transition: opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.st-convos:has(.st-convo.on.play:not(.q)) .st-empty { opacity: 1; transform: none; }
.st-ghost { display: block; color: rgba(255, 255, 255, .08); font-size: 74px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.st-empty p { margin-top: -30px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.st-convo { display: none; }
.st-convo.on { display: block; }
.st-me { width: fit-content; max-width: 84%; margin-left: auto; padding: 11px 16px; border-radius: 21px; background: #050d66; font-size: 15.5px; line-height: 1.35; }
.st-work { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #b0b0b0; font-size: 14px; }
.st-work-d em { font-style: normal; margin-left: 2px; }
.st-work-t, .st-orb { display: none; }
.st-orb { width: 14px; height: 14px; border-radius: 50%; background: #7b5cff; }
.st-say { margin-top: 10px; font-size: 15.5px; line-height: 1.42; }
.st-say b { font-weight: 700; }
.st-title { margin-top: 16px; font-size: 18px; font-weight: 600; }
.st-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.st-row img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; }
.st-row b { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.st-row u { text-decoration: underline dashed rgba(255, 255, 255, .6); text-underline-offset: 3px; }
.st-pick { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #17471c; color: #88bd91; font-size: 11.5px; font-weight: 600; }
.st-kind { display: block; margin-top: 2px; color: #b0b0b0; font-size: 12.5px; }
.st-meta { display: block; color: #949499; font-size: 12.5px; }
.st-meta i { font-style: normal; color: #ffc74d; font-weight: 600; }
.st-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; }
.st-usedchip { display: inline-flex; gap: 6px; margin-top: 14px; padding: 7px 11px; border-radius: 14px; background: #1c1c1e; color: #b0b0b0; font-size: 12px; }
.st-usedchip em { font-style: normal; }
.st-plan { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 16px; background: #1c1c1e; }
.st-route { position: relative; height: 40px; border-radius: 11px; background: #2c2c2e; }
.st-route i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #0a84ff; box-shadow: 0 0 0 2px #2c2c2e; }
.st-route i:nth-child(1) { left: 7px; top: 26px; } .st-route i:nth-child(2) { left: 17px; top: 13px; } .st-route i:nth-child(3) { left: 28px; top: 22px; background: #ff7a3d; }
.st-route::before { content: ""; position: absolute; left: 10px; top: 16px; width: 20px; height: 11px; border: 1.5px dashed rgba(255, 255, 255, .5); border-width: 1.5px 0 0 1.5px; border-radius: 6px 0 0 0; }
.st-plan b { display: block; font-size: 14px; font-weight: 600; }
.st-plan div span { display: block; color: #949499; font-size: 12px; }
.st-start { padding: 7px 12px; border-radius: 14px; background: #0a84ff; font-size: 13px; font-weight: 600; }
.st-start em { font-style: normal; }
.st-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.st-vs > div { position: relative; padding: 8px 8px 11px; border-radius: 16px; background: #1c1c1e; }
.st-vs-a { box-shadow: inset 0 0 0 1.5px #88bd91; }
.st-vs img { width: 100%; height: 88px; border-radius: 10px; object-fit: cover; }
.st-vs .st-pick { position: absolute; top: 14px; left: 14px; }
.st-vs b { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.st-vs .st-meta { margin-top: 2px; }
.st-why { display: grid; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.st-why li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.st-why li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: #17471c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2388bd91' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.st-why-b { margin-top: 10px; color: #949499; font-size: 13px; }
.st-composer { position: absolute; left: 14px; right: 14px; bottom: 20px; display: flex; align-items: center; gap: 8px; }
.st-plus { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #1c1c1e; }
.st-plus::before, .st-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.8px; margin: -1px 0 0 -8px; background: #fff; border-radius: 1px; }
.st-plus::after { transform: rotate(90deg); }
.st-field { display: flex; align-items: center; flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 23px; background: #1c1c1e; font-size: 15px; white-space: nowrap; overflow: hidden; }
.st-ph { color: #8e8e93; }
.st-typed:not(:empty) + .st-ph { display: none; }
.st-typed:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: #0a84ff; animation: stBlink 1s steps(2) infinite; }
.st-send { position: relative; width: 36px; height: 36px; flex: none; margin-left: -48px; border-radius: 50%; background: #3a3a3c; transition: background-color .2s, transform .2s; }
.st-send::before { content: ""; position: absolute; left: 50%; top: 11px; width: 8px; height: 8px; margin-left: -4px; border: solid #000; border-width: 2px 0 0 2px; transform: rotate(45deg); }
.st-send::after { content: ""; position: absolute; left: 50%; top: 12px; width: 2px; height: 13px; margin-left: -1px; background: #000; }
.st-chat.typing .st-send { background: #fff; }
.st-chat.sent .st-send { transform: scale(.86); }

/* The steps of an answer (scout-story.js adds and removes these) */
.st-convo > *, .st-row, .st-why li { transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1); }
.st-convo.play > * { opacity: 0; transform: translateY(12px); }
.st-convo.play.q > .st-me, .st-convo.play.w > .st-work, .st-convo.play.a > .st-say, .st-convo.play.a > .st-title,
.st-convo.play.r > .st-row, .st-convo.play.r > .st-plan, .st-convo.play.r > .st-vs, .st-convo.play.r > .st-why, .st-convo.play.r > .st-why-b,
.st-convo.play.u > .st-usedchip { opacity: 1; transform: none; }
.st-convo.play > .st-row, .st-convo.play .st-why li { transition-delay: calc(var(--i, 0) * 170ms); }
.st-convo.play > .st-why-b { transition-delay: 600ms; }
.st-convo.play > .st-me { opacity: 0; transform: translateY(520px) scale(.55); transform-origin: 100% 100%; }
.st-convo.play.q > .st-me { transition: transform .6s cubic-bezier(.3, 1.3, .5, 1), opacity .15s; }
.st-convo.play > .st-row, .st-convo.play > .st-plan, .st-convo.play > .st-vs { transform: translateY(18px) scale(.9); }
.st-convo.play.r > .st-row, .st-convo.play.r > .st-plan, .st-convo.play.r > .st-vs { transform: none; transition: opacity .3s, transform .65s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i, 0) * 150ms); }
.st-steps { display: none; margin: 10px 0 0; padding: 0; list-style: none; }
.st-skel { display: none; }
.st-convo.play.w:not(.a) > .st-steps { display: grid; gap: 10px; opacity: 1; transform: none; }
.st-convo.play.w:not(.a) > .st-skel { display: grid; gap: 10px; margin-top: 18px; opacity: 1; transform: none; }
.st-steps li { display: flex; align-items: center; gap: 10px; color: #a1a1a6; font-size: 14.5px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s cubic-bezier(.22, 1, .36, 1), color .3s; }
.st-steps li.on { opacity: 1; transform: none; }
.st-steps li.done { color: #fff; }
.st-steps li::before { content: ""; width: 17px; height: 17px; flex: none; box-sizing: border-box; border: 2.2px solid #3a3a3c; border-top-color: #9d86ff; border-radius: 50%; animation: stSpin .7s linear infinite; }
.st-steps li.done::before { border: 0; background: #17471c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2388bd91' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 17px no-repeat; animation: none; }
.st-skel i { display: block; height: 66px; border-radius: 13px; background: #1c1c1e; animation: stSkel .9s ease-in-out infinite alternate; }
.st-skel i + i { width: 82%; animation-delay: .3s; }
@keyframes stSpin { to { transform: rotate(360deg); } }
@keyframes stSkel { from { opacity: .35; } to { opacity: 1; } }
.st-convo.play.w:not(.a) .st-work-t, .st-convo.play.w:not(.a) .st-orb { display: inline-block; }
.st-convo.play.w:not(.a) .st-work-d { display: none; }
.st-convo.play .st-orb { animation: stPulse .9s ease-in-out infinite alternate; }
.st-convo.play:not(.r) .st-why li { opacity: 0; transform: translateX(-8px); }
.st-convo .st-pick { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1) .5s, opacity .3s .5s; }
.st-convo.play:not(.r) .st-pick { opacity: 0; transform: scale(.4); }


@keyframes stBlink { 50% { opacity: 0; } }
@keyframes stPulse { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.1); opacity: 1; } }
@keyframes stDrift { to { transform: translateX(18px); } }
@keyframes stBob { to { transform: translateY(3px) rotate(2deg); } }
@keyframes stPop { 50% { transform: scale(1.12); } }
@keyframes stWall { to { transform: translateY(-60px); } }

/* ── Narrower screens: the sentence on top, the phone under it ── */
@media (max-width: 1099px) {
  .sx-stage { width: calc(100% - 16px); height: auto; padding: 30px 0 26px; border-radius: 32px; }
  .sx-stats { height: 74px; margin-top: 20px; }
  .sx-set { gap: clamp(18px, 5vw, 40px); }
  .sx-stat b { font-size: clamp(28px, 7vw, 44px); }
  .sx-stat span { max-width: 12ch; margin-top: 5px; font-size: 12.5px; }
  .sx-ghost { font-size: clamp(110px, 30vw, 220px); bottom: auto; top: 46%; }
  .sx-prog .sx-next { width: 40px; height: 40px; margin-top: -6px; font-size: 17px; }
  .sx-cta { height: 42px; margin-top: -6px; font-size: 15px; }
  .sx-stage.at-end .sx-cta { max-width: 230px; padding: 0 6px 0 16px; }
  .sx-cta i { width: 30px; height: 30px; }
  .sx-grid { display: block; height: auto; padding: 0 22px; }
  .sx-left { display: block; }
  .sx-tag { position: relative; top: 0; width: fit-content; }
  .sx-lines { margin-top: 22px; }
  .sx-line { max-width: none; font-size: clamp(40px, 8.4vw, 76px); }
  .sx-prog { position: relative; bottom: 0; margin-top: 20px; }
  .sx-right { justify-content: center; margin-top: 30px; }
  .sx-stk.a { top: 30px; right: -52px; }
  .sx-stk.b { top: 330px; right: auto; left: -58px; }
  .sx-stk.c { top: auto; bottom: 150px; left: auto; right: -56px; }
  .sx-stk.pro { top: -12px; left: -8px; }
  .sx-card { top: auto; bottom: 26px; left: -50px; width: 240px; }
  .sx-vscard { left: -50px; }
  .sx-vscard { width: 270px; }
}
@media (max-width: 899px) {
  /* Phones and small tablets: nothing sits over the phone, so the chat is
     always readable; the numbers under the sentence carry what the
     stickers said. */
  .sx-pops, .sx-ghosts { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  /* Big tablets have room beside the phone: everything sits outside it. */
  .sx-stk.a { top: 20px; right: -230px; }
  .sx-stk.b { top: 380px; left: -250px; right: auto; }
  .sx-stk.c { top: auto; bottom: 90px; right: -240px; left: auto; }
  .sx-card, .sx-vscard { top: 120px; bottom: auto; left: auto; right: -300px; }
}
@media (max-width: 600px) {
  .sx-grid { padding: 0 18px; }
  .sx-line { font-size: clamp(36px, 10.4vw, 48px); }
  /* The end button gets its own line under the bars and fades up into it,
     instead of growing beside the pause button and then jumping down. */
  .sx-prog { flex-wrap: wrap; }
  .sx-cta, .sx-stage.at-end .sx-cta { flex: 1 0 100%; max-width: none; justify-content: space-between; padding: 0 6px 0 18px; }
  .sx-cta { height: 0; margin-top: 0; transform: translateY(10px); transition: height .5s cubic-bezier(.22, 1, .36, 1), margin .5s cubic-bezier(.22, 1, .36, 1), opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1); }
  .sx-stage.at-end .sx-cta { height: 46px; margin-top: 14px; transform: none; transition-delay: 1.6s; }
  .sx-prog { gap: 6px; }
  .sx-prog [data-go] span { display: none; }
  .sx-prog [data-go] > i { height: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-stage *, .sx-stage { transition: none !important; animation: none !important; }
}

/* ── Phones: full screen, held, and driven by swipes (2026-10-29) ──
   Mark, on his iPhone: "you can't see the whole thing in view", then "we
   still need those cool effects for mobile" and "make it more full screen
   immersive and scroll controlled". Under 900px the stage is held like on
   laptops (scout-story.js turns on .sx-scrolly): one full screen under the nav
   (svh, so Safari's toolbars never push it off), edge to edge. The story
   bars on top, the sentence and its numbers, then the phone in the room left
   (scout-story.js sizes it), with the stickers, the card and the ghost word
   around it. stage-steps.js turns one swipe into one scene. */
@media (max-width: 899px) {
  /* Tall enough to reach the bottom when Safari's toolbars tuck away (lvh);
     the content inside is sized to the screen with them showing (svh). */
  .sx { --stage-h: calc(100lvh - 64px + 80px); }   /* + the strip under Safari's floating bar */
  .sx-hold.sx-scrolly .sx-stage { top: 64px; }
  .sx-stage { display: flex; flex-direction: column; width: 100%; height: var(--stage-h); padding: 14px 0 0; border-radius: 0; }
  .sx-grid { display: flex; flex-direction: column; flex: none; height: calc(100svh - 64px - 14px); min-height: 0; padding: 0 18px; }
  .sx-left { display: flex; flex-direction: column; flex: none; }
  .sx-tag { display: none; }
  .sx-prog { order: -1; margin: 0 0 12px; }
  .sx-lines { margin-top: 0; }
  .sx-line { font-size: clamp(30px, 8.4vw, 44px); }
  .sx-stats { height: 54px; margin-top: 10px; }
  .sx-set { gap: 22px; }
  .sx-stat b { font-size: clamp(24px, 7vw, 32px); }
  .sx-stat span { max-width: 13ch; margin-top: 3px; font-size: 11.5px; }
  .sx-right { flex: 1 1 0; min-height: 0; margin-top: 12px; align-items: flex-start; justify-content: center; }
  .sx-pops, .sx-ghosts { display: block; }
  .sx-ghost { top: auto; bottom: -.12em; font-size: clamp(120px, 34vw, 230px); }
  /* The pops scale with the phone (about half size here), so they grow back
     to a readable size and stand off its edges into the margins. */
  .sx-stk > span { scale: 1.45; }
  .sx-stk.a { top: 4%; right: -150px; }
  .sx-stk.b { top: 40%; left: -150px; right: auto; }
  .sx-stk.c { top: auto; bottom: 24%; right: -150px; left: auto; }
  .sx-stk.pro { top: 9%; left: -150px; }
  .sx-card, .sx-vscard { top: auto; bottom: 5%; left: -78px; width: 270px; scale: 1.18; transform-origin: 0 100%; }
}
