:root {
  --bg: #ffffff;
  --tint: #f5f5f8;
  --card: #ffffff;
  --chip: #f3f3f6;
  --line: #e6e6ec;
  --ink: #14151c;
  --sub: #454857;
  --mute: #5f6270;
  --line-strong: #d3d4dc;
  --accent: #ff0055;
  --accent-deep: #d4004b;
  --accent-subtle: #fff0f5;
  --heat-hot: #ff3b30;
  --anno: #5b3fd6;
  --r-sm: 4px;
  --r-ctl: 8px;
  --r-surface: 12px;
  --display: Geist, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
.dark {
  --bg: #0b0c12;
  --card: #15161f;
  --chip: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --ink: #f5f5f8;
  --sub: #c6c8d3;
  --mute: #a4a6b4;
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ff4d85;
  --accent-deep: #ff6b98;
  --accent-subtle: rgba(255, 0, 85, 0.14);
  background: var(--bg);
  color: var(--ink);
}
.tint { background: var(--tint); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: var(--r-sm); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.inv { filter: invert(1); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
em { font-style: normal; color: var(--accent); }
.fine { font-size: 14px; color: var(--mute); }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--sub); max-width: 46ch; }
.section-title { font-family: var(--display); font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 17ch; text-wrap: balance; }

/* Buttons (Arc's: solid, hairline or quiet, a small press) and the App Store badge (Shopify's own artwork, unmodified) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--r-ctl); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform 0.16s var(--ease), background-color 0.16s, border-color 0.16s, color 0.16s; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-quiet { background: var(--chip); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #2c2e3a; }
  .btn-secondary:hover { background: var(--tint); border-color: #b9bac6; }
  .btn-quiet:hover { background: #e9e9ee; }
  .dark .btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.32); }
}
.appstore { display: inline-flex; border-radius: var(--r-ctl); transition: transform 0.16s var(--ease), opacity 0.16s; }
.appstore:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .appstore:hover { opacity: 0.86; } }
.appstore img { height: 100%; width: auto; }
.appstore-nav { height: 40px; }
.appstore-lg { height: 50px; }
.appstore-xl { height: 64px; }
.link { font-weight: 500; text-underline-offset: 4px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-row { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--sub); }
.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* Hero with the gradient */
.hero { position: relative; padding: 128px 0 110px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0 0 18%; z-index: -1; overflow: hidden; }
.aurora::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 62vw; height: 62vw; left: -12vw; top: -30vw; background: #ffd3e1; }
.aurora i:nth-child(2) { width: 52vw; height: 52vw; right: -14vw; top: -22vw; background: #e4dcff; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 44vw; height: 44vw; left: 30vw; top: 4vw; background: #ffe9cc; opacity: 0.45; animation-duration: 26s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 36vw; height: 36vw; right: 6vw; top: 14vw; background: #d6f0ff; opacity: 0.4; animation-duration: 20s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 3vw) scale(1.08); } 100% { transform: translate(-3vw, 5vw) scale(0.95); } }
/* Black Friday strip, mirroring GhostClick's home banner; links to its readiness page. */
.bf-wrap { position: relative; margin-bottom: 40px; }
.bf-banner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px); color: var(--ink); text-decoration: none; transition: border-color 0.16s, transform 0.16s; }
.bf-tag { flex: none; padding: 3px 8px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }
.bf-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--sub); }
.bf-text b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.bf-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.bf-cta svg { width: 16px; height: 16px; transition: transform 0.16s; }
@media (hover: hover) and (pointer: fine) { .bf-banner:hover { border-color: var(--ink); } .bf-banner:hover .bf-cta svg { transform: translateX(3px); } }
.bf-banner:active { transform: scale(0.99); }
@media (max-width: 640px) { .bf-banner { flex-wrap: wrap; gap: 8px 10px; } .bf-text { flex-basis: 100%; order: 3; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.pill img { width: 16px; height: 16px; }
.hero-title { font-family: var(--display); font-size: clamp(46px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes lineUp { to { transform: none; } }
.hero .lede { color: var(--sub); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.35s; }
.hero .cta-row.reveal { transition-delay: 0.5s; }
.hero .fine.reveal { transition-delay: 0.6s; }

/* Live demo */
.live { position: relative; margin: 0; border-radius: var(--r-surface); background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 21, 28, 0.04), 0 30px 60px -20px rgba(20, 21, 28, 0.16); overflow: hidden; opacity: 0; transform: translateY(40px) scale(0.98); animation: liveIn 1.2s 0.6s var(--ease) forwards; backdrop-filter: blur(10px); }
@keyframes liveIn { to { opacity: 1; transform: none; } }
.live-top { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.live.is-paused .rec i { animation: none; }
.live-url { flex: 1; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-body { display: grid; grid-template-columns: 330px minmax(0, 1fr); }
.phone { padding: 30px 15px 0; display: flex; justify-content: center; background: var(--tint); }
.phone-screen { position: relative; width: 300px; height: 560px; border-radius: 30px 30px 0 0; background: #fff; color: #14151c; overflow: hidden; box-shadow: 0 0 0 10px #1c1d26, 0 0 0 11px #3a3c48; }
.phone-page { position: absolute; inset: 0 0 auto; transition: transform 1s var(--ease); }
.phone-heat { position: absolute; left: 0; top: 0; width: 300px; height: 760px; pointer-events: none; z-index: 2; }
.sf-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 13px; letter-spacing: 0.14em; border-bottom: 1px solid #ececf1; }
.sf-photo { width: 300px; height: 300px; object-fit: cover; }
.sf-info { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.sf-kicker { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6e7b; }
.sf-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sf-price { font-size: 15px; color: #4f525e; }
.sf-sizes { display: flex; gap: 8px; margin: 8px 0 4px; }
.sf-sizes span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cfd0d8; display: grid; place-items: center; font-size: 13px; transition: background 0.2s, color 0.2s; }
.sf-sizes span.on { background: #14151c; color: #fff; border-color: #14151c; }
.sf-guide { align-self: flex-start; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.sf-cart { margin-top: 6px; height: 48px; border-radius: 8px; background: #14151c; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.sf-desc { font-size: 14px; color: #4f525e; margin-top: 10px; }
.sf-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sf-more span { aspect-ratio: 1; border-radius: 8px; background: #f0f0f3; }
.finger { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(20, 21, 28, 0.18); border: 2px solid rgba(20, 21, 28, 0.55); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.3s; z-index: 3; }
.finger.tap::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--accent); animation: ripple 0.5s ease-out; }
@keyframes ripple { from { transform: scale(0.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.stream { height: 590px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-left: 1px solid var(--line); }
.stream-head { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.stream-head .mono { color: var(--mute); font-weight: 400; }
.events { flex: 1 1 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.events li { flex: none; display: grid; grid-template-columns: 46px 1fr; gap: 2px 10px; align-items: center; padding: 9px 12px; border-radius: 6px; background: var(--chip); font-size: 14px; line-height: 1.35; animation: rowIn 0.5s var(--ease) both; }
.events li time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--mute); }
.events li small { grid-column: 2; font-size: 12px; color: var(--mute); }
.events li.bad { background: var(--accent-subtle); box-shadow: inset 0 0 0 1px rgba(255, 0, 85, 0.35); }
.events li.bad small { color: var(--accent-deep); font-weight: 500; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.trigger { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r-ctl); background: #14151c; color: #fff; font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.trigger.show { opacity: 1; transform: none; }
.trigger b { color: #ff7aa6; }
.stream-foot { flex: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stream-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); }
.stream-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1a9c5a; }
.stream-foot { gap: 6px 16px; }
.caption { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* Story */
.story { position: relative; height: 560vh; background: linear-gradient(180deg, #fff, var(--tint) 30%, var(--tint) 70%, #fff); }
.story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story .wrap { width: min(1400px, 100% - 96px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 56px; align-items: center; }
.story-text { position: relative; }
.story-steps { position: relative; min-height: 440px; }
.story-steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.story-steps li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-steps li.is-past { transform: translateY(-30px); }
.story-steps h2 { font-family: var(--display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.story-steps p { margin-top: 18px; font-size: 17px; color: var(--sub); max-width: 40ch; }
/* Step tabs, after Arc's scroll story: each label has a track that fills as you read that step */
.story-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 28px; max-width: 460px; }
.story-tabs button { display: grid; gap: 8px; padding: 6px 6px 4px; border: 0; border-radius: 6px; background: transparent; color: var(--mute); font-size: 13px; font-weight: 500; text-align: left; transition: color 0.2s, background-color 0.2s; }
.story-tabs button[aria-current="step"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .story-tabs button:hover { background: rgba(20, 21, 28, 0.05); } }
.story-tabs i { position: relative; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(20, 21, 28, 0.12); }
.story-tabs b { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.story-stage-wrap { position: relative; width: min(100%, calc((100vh - 150px) * 1.6)); justify-self: end; aspect-ratio: 960 / 600; }
.stage { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform: scale(var(--s, 1)); transform-origin: 0 0; border-radius: var(--r-surface); overflow: hidden; background: #fff; color: #14151c; box-shadow: 0 30px 60px -20px rgba(20, 21, 28, 0.18), 0 0 0 1px rgba(20, 21, 28, 0.08); }
.br-bar { height: 40px; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: #eceef2; font-size: 12px; color: #5d606c; }
.br-bar .dots { display: flex; gap: 6px; }
.br-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd1d8; }
.br-url { flex: 1; background: #fff; border-radius: var(--r-sm); padding: 4px 12px; }
.pg { position: absolute; inset: 40px 0 0; }
.pg-nav { height: 58px; display: flex; align-items: center; gap: 22px; padding: 0 36px; border-bottom: 1px solid #ececf1; font-size: 13px; }
.pg-nav b { letter-spacing: 0.14em; margin-right: auto; font-size: 15px; }
.pg-main { display: grid; grid-template-columns: 430px 1fr; gap: 40px; padding: 28px 36px; }
.pg-photo { width: 430px; height: 430px; border-radius: 10px; overflow: hidden; }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pg-info { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.pg-kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6e7b; }
.pg-title { font-size: 32px; letter-spacing: -0.02em; align-self: flex-start; }
.pg-price { font-size: 17px; color: #4f525e; align-self: flex-start; }
.pg-desc { font-size: 14px; color: #4f525e; margin: 6px 0 4px; max-width: 34ch; }
.pg-sizes { display: flex; gap: 10px; margin: 8px 0 2px; }
.pg-sizes span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfd0d8; display: grid; place-items: center; font-size: 13px; }
.pg-sizes span.on { background: #14151c; color: #fff; }
.pg-guide { align-self: flex-start; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.pg-cart-btn { height: 50px; border-radius: 8px; background: #14151c; color: #fff; display: grid; place-items: center; font-weight: 700; margin-top: 8px; }
.pg-ship { font-size: 13px; color: #6b6e7b; align-self: flex-start; }
.stage-canvas { position: absolute; left: 0; top: 40px; width: 960px; height: 560px; pointer-events: none; transition: opacity 0.5s; }
.stage-label { position: absolute; right: 14px; bottom: 12px; font-size: 12px; color: #5d606c; background: rgba(255, 255, 255, 0.92); padding: 3px 10px; border-radius: var(--r-sm); z-index: 9; }
/* Annotated mode, drawn the way the product draws it */
.anno { position: absolute; z-index: 4; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.anno .box { position: absolute; inset: 0; border: 2px solid var(--anno); border-radius: 3px; background: rgba(91, 63, 214, 0.1); }
.anno .chip { position: absolute; left: 0; bottom: 100%; height: 18px; padding: 0 5px; border-radius: 3px; background: var(--anno); color: #fff; font: 600 11px/18px system-ui, -apple-system, sans-serif; white-space: nowrap; }
.stage[data-step="1"] .anno, .stage[data-step="2"] .anno { opacity: 1; transform: none; }
.stage[data-step="2"] .anno:not(.hot) { opacity: 0.2; }
.anno.hot .box { animation: annoPulse 1.4s infinite; }
@keyframes annoPulse { 50% { box-shadow: 0 0 0 6px rgba(91, 63, 214, 0.18); } }
.finding { position: absolute; right: 26px; top: 90px; width: 380px; padding: 24px; border-radius: 10px; background: #14151c; color: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); opacity: 0; transform: translateY(30px) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); z-index: 6; }
.stage[data-step="2"] .finding { opacity: 1; transform: none; }
.f-kind { font-size: 13px; font-weight: 500; color: #ff7aa6; }
.f-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; margin-top: 8px; }
.f-bar { margin-top: 18px; font-size: 12px; color: #a4a6b4; display: flex; flex-direction: column; gap: 8px; }
.f-bar .track { position: relative; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.f-bar .fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: #ff0055; transition: width 1.2s 0.3s var(--ease); }
.stage[data-step="2"] .f-bar .fill { width: 72%; }
.f-bar .bar-line { position: absolute; left: 48%; top: -5px; bottom: -5px; width: 2px; background: #fff; }
.f-note { color: #fff; font-weight: 500; }
.f-foot { margin-top: 14px; font-size: 12px; color: #a4a6b4; }
.replay { position: absolute; inset: 40px 0 0; background: rgba(10, 11, 16, 0.5); opacity: 0; transition: opacity 0.5s; z-index: 5; }
.stage[data-step="3"] .replay { opacity: 1; }
.rp-screen { position: absolute; inset: 0; }
.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 2px #ff0055; transform: translate(var(--gx0, 700px), var(--gy0, 500px)); }
.ghost-tap { position: absolute; width: 40px; height: 40px; margin: -8px 0 0 -8px; border-radius: 50%; border: 3px solid #ff0055; opacity: 0; transform: translate(var(--gx, 0), var(--gy, 0)); }
.stage[data-step="3"] .ghost { animation: ghostMove 3.2s var(--ease) infinite; }
.stage[data-step="3"] .ghost-tap { animation: ghostTap 3.2s ease-out infinite; }
@keyframes ghostMove { 0% { transform: translate(var(--gx0), var(--gy0)); } 35%, 100% { transform: translate(var(--gx), var(--gy)); } }
@keyframes ghostTap { 0%, 38% { opacity: 0; scale: 0.4; } 42% { opacity: 1; scale: 0.6; } 50% { opacity: 0; scale: 1.6; } 54% { opacity: 1; scale: 0.6; } 62% { opacity: 0; scale: 1.6; } 66% { opacity: 1; scale: 0.6; } 74%, 100% { opacity: 0; scale: 1.6; } }
.rp-bar { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: var(--r-ctl); background: #14151c; color: #fff; font-size: 13px; }
.rp-play { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-deep); display: grid; place-items: center; font-size: 12px; }
.rp-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); }
.rp-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: #fff; transition: width 1s var(--ease); }
.stage[data-step="3"] .rp-track i { width: 34%; }
.rp-track b { position: absolute; top: -5px; width: 4px; height: 16px; border-radius: 2px; background: #ff0055; }
.rp-beats { position: absolute; right: 24px; top: 24px; width: 290px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.rp-beats li { padding: 10px 12px; border-radius: 6px; background: rgba(20, 21, 28, 0.92); color: #c6c8d3; }
.rp-beats li.hot { background: var(--accent-deep); color: #fff; font-weight: 500; }
.chat { position: absolute; right: 26px; top: 70px; width: 470px; padding: 26px; border-radius: 10px; background: #14151c; color: #fff; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(30px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); z-index: 7; }
.stage[data-step="4"] .chat { opacity: 1; transform: none; }
.stage[data-step="4"] .stage-canvas { opacity: 0.4; }
.chat .q, .convo .q { align-self: flex-end; max-width: 88%; padding: 12px 16px; border-radius: 10px 10px 2px 10px; background: #2b2d39; color: #fff; font-size: 16px; }
.tools { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #a4a6b4; }
.tools li::before { content: "✓ "; color: #6fd99c; }
.chat .a { min-height: 120px; font-size: 17px; line-height: 1.55; }
.chat .a::after { content: ""; display: inline-block; width: 8px; height: 18px; margin-left: 2px; vertical-align: -3px; background: #ff0055; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Numbers */
.numbers { padding: 140px 0 120px; }
.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 64px 0 28px; }
.num-grid b { display: block; font-family: var(--display); font-size: clamp(52px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; font-variant-numeric: tabular-nums; }
.num-grid b.accent { color: var(--accent-deep); }
.num-grid span { display: block; margin-top: 14px; font-size: 17px; color: var(--sub); max-width: 26ch; }

/* Ask (dark) */
.ask { padding: 150px 0; position: relative; overflow: hidden; }
.ask-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.ask-copy { display: flex; flex-direction: column; gap: 26px; }
.asks { display: flex; flex-direction: column; border-top: 1px solid var(--line); font-size: 17px; }
.asks li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.convo { padding: 32px; border-radius: var(--r-surface); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.convo .tools li { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.4s; }
.convo .a { display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.convo.play .tools li { opacity: 1; transform: none; }
.convo.play .tools li:nth-child(2) { transition-delay: 0.5s; }
.convo.play .tools li:nth-child(3) { transition-delay: 1s; }
.convo.play .a { opacity: 1; transform: none; transition-delay: 1.5s; }
.convo .a p { font-size: 17px; line-height: 1.55; }
.exit-bars { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.exit-bars > div { display: grid; grid-template-columns: 96px 1fr 44px; gap: 12px; align-items: center; color: var(--mute); }
.exit-bars b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.eb { height: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.eb i { display: block; height: 100%; width: 0; border-radius: 3px; background: #8a8ea0; transition: width 1.2s 1.9s var(--ease); }
.eb.hot i { background: var(--accent); }
.convo.play .eb i { width: var(--w); }
.money { padding: 22px 24px; border-radius: var(--r-ctl); background: var(--chip); }
.money b { display: block; font-family: var(--display); font-size: clamp(52px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.money span { display: block; margin-top: 10px; color: var(--sub); }

/* Different */
.different { padding: 140px 0; }
.vs { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r-surface); overflow: hidden; background: #fff; }
.vs-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); font-size: clamp(15px, 1.3vw, 18px); }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row span { padding: 22px 28px; }
.vs-row span:first-child { color: var(--mute); position: relative; }
.vs-row span:last-child { background: var(--accent-subtle); font-weight: 500; }
.vs-row:not(.vs-head) span:first-child::after { content: ""; position: absolute; left: 28px; top: 50%; height: 1.5px; width: 0; background: rgba(20, 21, 28, 0.35); transition: width 0.8s var(--ease); }
.vs-row.in span:first-child::after { width: calc(100% - 56px); }
.vs-row:not(.vs-head) span:last-child { opacity: 0.25; transition: opacity 0.6s 0.4s; }
.vs-row.in span:last-child { opacity: 1; }
.vs-head span { font-size: 13px; font-weight: 500; padding-block: 16px; }
.vs-head span:last-child { color: var(--accent-deep); }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.trust div { display: flex; flex-direction: column; gap: 6px; }
.trust span { color: var(--sub); }

/* Setup */
.setup { padding: 140px 0; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.setup-steps { margin-top: 48px; display: flex; flex-direction: column; gap: 26px; counter-reset: s; }
.setup-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; counter-increment: s; }
.setup-steps li::before { content: "0" counter(s); grid-row: span 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; color: var(--accent-deep); padding-top: 2px; }
.setup-steps b { font-size: 18px; }
.setup-steps span { color: var(--sub); }
.embed { padding: 24px; border-radius: var(--r-surface); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.embed-title { font-size: 13px; font-weight: 500; color: var(--mute); }
.embed-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.embed-row img { border-radius: 6px; }
.embed-row div { flex: 1; display: flex; flex-direction: column; }
.embed-row span { font-size: 14px; color: var(--mute); }
.switch { width: 52px; height: 30px; border-radius: 999px; background: #d6d7de; position: relative; transition: background 0.3s; flex: none; }
.switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease); }
.embed.on .switch { background: #1a9c5a; }
.embed.on .switch i { transform: translateX(22px); }
.embed-status { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.embed-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #b9bbc5; }
.embed.on .embed-status .dot { background: #ff3b30; animation: pulse 1.6s infinite; }
.embed .on-text, .embed.on .off-text { display: none; }
.embed.on .on-text { display: inline; }

/* Pricing */
.pricing { padding: 140px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.table-box { margin: 48px 0 28px; overflow-x: auto; border-radius: var(--r-surface); background: #fff; border: 1px solid var(--line); }
table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; font-size: 16px; }
th, td { padding: 18px 28px; }
thead th { font-size: 13px; font-weight: 500; color: var(--mute); border-bottom: 1px solid var(--line); }
tbody tr + tr { border-top: 1px solid #ececf1; }
tbody th { font-weight: 500; }
.price { font-weight: 500; font-variant-numeric: tabular-nums; }
td { font-variant-numeric: tabular-nums; }
tr.pick { background: var(--accent-subtle); }
tr.pick .price { color: var(--accent-deep); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 18px; color: var(--sub); }

/* FAQ */
.faq { padding: 0 0 140px; }
.faq .split { align-items: start; }
details { border-bottom: 1px solid #dcdce4; padding: 22px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--sub); max-width: 60ch; }

/* Your visit (dark) */
.mine { padding: 150px 0; }
.mine-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.mine-grid > div:first-child { display: flex; flex-direction: column; gap: 26px; }
.mine-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mine-stats div { padding: 18px 20px; border-radius: var(--r-ctl); background: var(--chip); border: 1px solid var(--line); }
.mine-stats dt { font-size: 13px; color: var(--mute); }
.mine-stats dd { font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mm-stage { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; max-width: 520px; }
.mm-nav { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); cursor: ns-resize; touch-action: none; }
.mm-nav canvas { display: block; width: 100%; height: 100%; }
.mm-lens { position: absolute; left: 0; right: 0; top: 0; border: 2px solid #fff; border-radius: 3px; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 9999px rgba(11, 12, 18, 0.25); pointer-events: none; }
.minimap { position: relative; height: 600px; border-radius: var(--r-surface); background: #0b0c12; border: 1px solid var(--line); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.minimap::-webkit-scrollbar { display: none; }
.mm-page { position: relative; }
.mm-page img, .mm-page canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.mm-page img { object-fit: cover; object-position: top; }
.mm-bands span { position: absolute; right: 8px; z-index: 2; padding: 2px 6px; border-radius: var(--r-sm); background: rgba(20, 21, 28, 0.82); color: #fff; font-size: 11px; line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mm-line { position: absolute; left: 0; right: 0; z-index: 3; border-top: 2px dashed #fff; }
.mm-line span { position: absolute; left: 8px; top: 4px; padding: 2px 6px; border-radius: var(--r-sm); background: #fff; color: #14151c; font-size: 11px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.mm-depth { border-top-color: #ff0055; }
.mm-depth span { background: #ff0055; color: #fff; }
.mm-dim { position: absolute; inset: 0; background: rgba(11, 12, 18, 0.62); }
.mm-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Segmented control, after Arc's */
.mm-modes { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-ctl); background: var(--chip); border: 1px solid var(--line); }
.mm-modes button { height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--mute); font-size: 13px; font-weight: 500; transition: background-color 0.16s, color 0.16s; }
.mm-modes button[aria-checked="true"] { background: rgba(255, 255, 255, 0.12); color: var(--ink); }
.mm-note { max-width: 520px; text-align: center; }
.mm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.mm-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--mute); font-size: 13px; }
.mm-hint i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff0055; }
.mm-hint i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff0055; animation: mmPing 1.6s ease-out infinite; }
.mm-ping { position: absolute; z-index: 4; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid #fff; pointer-events: none; animation: mmPing 0.9s ease-out forwards; }
@keyframes mmPing { from { transform: scale(0.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mm-hint i::after { animation: none; } .mm-ping { animation-duration: 0.01s; } }
.mm-bands span { position: absolute; right: 8px; z-index: 2; padding: 2px 6px; border-radius: var(--r-sm); background: rgba(20, 21, 28, 0.82); color: #fff; font-size: 11px; line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Close */
.close { padding: 170px 0 48px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.close .aurora-low { position: absolute; inset: 30% -10% -30%; z-index: -1; background: radial-gradient(40% 50% at 30% 60%, rgba(255, 150, 185, 0.22), transparent 70%), radial-gradient(40% 50% at 70% 55%, rgba(190, 170, 255, 0.2), transparent 70%), radial-gradient(30% 40% at 50% 80%, rgba(255, 210, 150, 0.2), transparent 70%); filter: blur(30px); }
.close-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.close-title { font-family: var(--display); font-size: clamp(44px, 7vw, 100px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; max-width: 13ch; text-wrap: balance; }
.foot { position: relative; margin-top: 140px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--mute); }
.foot span { display: flex; align-items: center; gap: 24px; }
.foot img { height: 22px; width: auto; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .live-body { grid-template-columns: 1fr; }
  .stream { border-left: 0; border-top: 1px solid var(--line); }
  .story { height: 520vh; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-stage-wrap { order: -1; justify-self: stretch; width: min(100%, calc((100vh - 330px) * 1.6)); margin-inline: auto; }
  .story-steps { min-height: 230px; }
  .story-steps p { font-size: 16px; margin-top: 12px; }
  .ask-grid, .setup-grid, .split, .mine-grid { grid-template-columns: 1fr; gap: 48px; }
  .num-grid, .trust { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap, .story .wrap { width: calc(100% - 32px); }
  .hero { padding: 112px 0 80px; }
  .aurora i { filter: blur(50px); }
  .live { border-radius: 10px; }
  .live-url { display: none; }
  .stream { height: 500px; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row span { padding: 14px 18px; }
  .vs-head span:first-child { display: none; }
  .story-steps h2 { font-size: 30px; }
  .story-steps { min-height: 210px; }
  .stage { border-radius: 10px; }
  .story-tabs button { font-size: 12px; padding-inline: 2px; }
  .convo { padding: 22px; }
  .numbers, .ask, .different, .setup, .mine, .pricing { padding: 96px 0; }
  table { min-width: 0; font-size: 15px; }
  th, td { padding: 14px 12px; }
  thead th { font-size: 12px; }
}
@media (max-width: 420px) {
  .brand img { height: 26px; }
  .appstore-nav { height: 36px; }
}

/* Reduced motion: final states, no movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Enterprise: a bar that opens into a form. Ink spreads from the button, then the fields arrive. */
.talk { position: relative; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--tint); overflow: hidden; isolation: isolate; transition: border-color 0.4s; }
.talk-ink { position: absolute; z-index: -1; left: var(--cx, 90%); top: var(--cy, 50%); width: 0; height: 0; border-radius: 50%; background: #0b0c12; transform: translate(-50%, -50%); transition: width 0.75s cubic-bezier(0.7, 0, 0.2, 1), height 0.75s cubic-bezier(0.7, 0, 0.2, 1); }
.talk-ink::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 0, 85, 0.22), rgba(255, 0, 85, 0) 70%); opacity: 0; transition: opacity 1.2s 0.3s; }
.talk.open { border-color: #0b0c12; }
.talk.open .talk-ink { width: calc(var(--r, 1600px) * 2); height: calc(var(--r, 1600px) * 2); }
.talk.open .talk-ink::after { opacity: 1; }
.talk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; transition: opacity 0.25s, transform 0.25s; }
.talk-bar > div { display: flex; flex-direction: column; gap: 4px; }
.talk-bar b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.talk-bar span { color: var(--sub); max-width: 52ch; }
.talk.open .talk-bar { opacity: 0; transform: translateY(-8px); pointer-events: none; position: absolute; inset: 0 0 auto; }
.talk-form, .talk-done { --ink: #f5f5f8; --sub: #c6c8d3; --mute: #a4a6b4; --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.2); color: var(--ink); padding: 36px 32px 32px; }
.talk-title { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.talk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--sub); }
.field i { font-style: normal; font-weight: 400; color: var(--mute); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.04); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; transition: border-color 0.16s, background-color 0.16s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a4a6b4' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field select option { color: #14151c; }
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder { color: #7d808e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #ff4d85; background: rgba(255, 255, 255, 0.07); }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.talk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.btn-accent { background: #ff0055; color: #fff; min-width: 120px; }
.btn-ghost-dark { background: transparent; color: var(--sub); }
@media (hover: hover) and (pointer: fine) { .btn-accent:hover { background: #e6004c; } .btn-ghost-dark:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); } }
.talk-error { font-size: 14px; color: #ff8a8a; }
.talk-error:empty { display: none; }
/* Fields arrive one after another once the ink has spread */
.talk.open .talk-form > *, .talk.open .talk-grid > .field { animation: fieldIn 0.6s var(--ease) both; }
.talk.open .talk-title { animation-delay: 0.32s; }
.talk.open .talk-grid > .field:nth-child(1) { animation-delay: 0.4s; }
.talk.open .talk-grid > .field:nth-child(2) { animation-delay: 0.46s; }
.talk.open .talk-grid > .field:nth-child(3) { animation-delay: 0.52s; }
.talk.open .talk-grid > .field:nth-child(4) { animation-delay: 0.58s; }
.talk.open .talk-grid > .field:nth-child(5) { animation-delay: 0.64s; }
.talk.open .talk-actions { animation-delay: 0.72s; }
.talk.open .talk-grid { animation: none; }
@keyframes fieldIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
/* Button labels share one cell so the width holds while they swap (Arc's pattern) */
.layers { display: inline-grid; }
.layer { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateY(4px); transition: opacity 0.16s, transform 0.16s; }
.layer[data-on] { opacity: 1; transform: none; }
.spinner { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.talk-done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; outline: none; }
.talk-done[hidden] { display: none; }
.talk-done p { color: var(--sub); max-width: 52ch; }
.talk-done svg { width: 52px; height: 52px; fill: none; stroke: #ff0055; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.talk-done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.7s var(--ease) forwards; }
.talk-done path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.4s 0.55s var(--ease) forwards; }
.talk-done .talk-title, .talk-done p { animation: fieldIn 0.6s 0.5s var(--ease) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 600px) {
  .talk-bar, .talk-form, .talk-done { padding: 22px 18px; }
  .talk-grid { grid-template-columns: 1fr; }
  .talk-bar .btn { width: 100%; }
}
