/* Stella Life, meet-stella.com. The rules are the prototype's own (JustMoveIn/stella-demo, visuals/stella-launch/build_story.py
 --variant sarthak, with build_launch, build_k and flow), kept where this site uses them and in the same order; what
 differs is at the end. Colours are the brand pack's (brand/tokens.css): paper #FFFCF8, ink #142B35, ink 2 #50616A,
 rule #DCE2DF, coral #FF665E, peach #FFE3CA. */
:root { --color-paper: oklch(99.2% 0.003 80); --color-paper-2: oklch(96.5% 0.008 60); --color-paper-3: oklch(93% 0.012 55); --color-text: oklch(24% 0.03 265); --color-text-2: oklch(44% 0.03 260); --color-text-3: oklch(56% 0.02 260); --color-rule: oklch(90% 0.01 250); --color-accent-text: oklch(50% 0.19 32); --color-accent: oklch(66% 0.21 32); --color-accent-soft: oklch(95% 0.04 35); --color-ok: oklch(68% 0.17 150); --color-error: oklch(52% 0.19 28); --sam: oklch(52% 0.16 250); --priya: oklch(52% 0.18 350); --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif; --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace; --text-xs: 12px; --text-sm: 14px; --text-base: 17px; --text-lg: 21px; --text-xl: 27px; --text-2xl: 36px; --text-3xl: 48px; --text-4xl: 64px; --text-display: clamp(40px, 5.6vw, 76px); --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 72px; --space-4xl: 112px; --ease-out: cubic-bezier(0.33, 1, 0.68, 1); --ease-in: cubic-bezier(0.32, 0, 0.67, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); --dur-fast: 150ms; --dur-med: 260ms; --dur-slow: 520ms; --radius-bubble: 18px; --radius-input: 14px; }
.avatar { width: 40px; height: 40px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
#join { scroll-margin-top: 84px; }
.card { background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: 24px; padding: var(--space-lg); box-shadow: 0 24px 60px oklch(24% 0.03 265 / .10); }
.card-head { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.01em; }
.card-sub { font-size: var(--text-sm); color: var(--color-text-2); }
.bubble.her { background: var(--color-paper-2); }
.foot-stella { position: relative; flex: none; line-height: 0; cursor: pointer; }
.foot-stella::after { content: ""; position: absolute; left: -200vw; right: -200vw; bottom: 0; height: 1px; background: var(--color-rule); pointer-events: none; }
.foot-fig { display: block; height: 220px; width: auto; transform-origin: 50% 100%; animation: foot-bob 4.6s ease-in-out infinite; filter: drop-shadow(0 10px 14px oklch(30% 0.03 60 / .18)); }
.foot-bub { position: absolute; left: calc(100% - 10px); top: -6px; width: max-content; max-width: 18em; background: oklch(95.5% 0.045 45); color: var(--color-text); border-radius: 14px; border-bottom-left-radius: 4px; padding: 8px 12px; font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); pointer-events: none; }
.foot-stella.hi .foot-bub { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .foot-fig, .foot-stella.hi .foot-fig { animation: none !important; }
  .foot-bub { transition: none; }
}
@media (max-width: 640px) {
  .foot-fig { height: 170px; }
  .foot-bub { max-width: calc(100vw - 170px); font-size: 12.5px; }
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.card { position: relative; min-width: 0; }
.convo { display: flex; flex-direction: column; gap: var(--space-sm); min-height: 160px; max-height: 420px; overflow-y: auto; padding: var(--space-xs) 0; scroll-behavior: smooth; }
.bubble { max-width: 88%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-bubble); font-size: var(--text-base); line-height: 1.45; animation: rise var(--dur-med) var(--ease-in) both; }
.bubble.her { align-self: flex-start; background: var(--color-paper-2); color: var(--color-text); border-bottom-left-radius: 6px; }
.who { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-2); margin: var(--space-xs) 0 -4px 4px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent); color: var(--color-paper); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); flex: none; position: relative; }
.avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-ok); border: 2px solid var(--color-paper); }
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
}
:root { --color-paper: #ffffff; --color-paper-2: #f1f4f2; --color-paper-3: #e9f2eb; --color-text: #142b35; --color-text-2: #50616a; --color-text-3: #7d8b92; --color-rule: #dce2df; --color-accent-text: #b8332c; --color-accent: #ff665e; --color-accent-soft: #ffe3ca; --color-ok: #2f8f5b; --color-error: #b8332c; --font-display: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace; --sam: #2b5fb8; --priya: #a2367d; --k-ink: #142b35; --k-coral: #ff665e; --k-mint: #e9f2eb; --k-line: #dce2df; --k-peach: #ffe3ca; --k-blue: #e9effb; }
body { background: #fff; color: var(--color-text); font-family: var(--font-body); }
.life-stella { container-type: inline-size; }
.life-stella h1, .life-stella h2, .life-stella h3 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.life-stella h2 { font-size: clamp(34px, 3.6vw, 52px); }
.life-stella h3 { font-size: 24px; letter-spacing: -0.02em; }
.k-join { padding: 64px 4% 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.k-join .k-copy h2 { margin-bottom: 16px; }
.k-join .k-copy p { font-size: 18px; line-height: 1.55; color: var(--color-text-2); max-width: 34em; }
.k-join .card { border-radius: 28px; }
.life-stella .k-footer { display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding: 40px 4% 64px; overflow: hidden; }
.life-stella .k-footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.life-stella .k-footer-brand { display: flex; align-items: flex-end; gap: 22px; }
.life-stella .k-footer-brand > div { padding-bottom: 26px; }
.life-stella .k-wordmark-sm { font-size: 28px; letter-spacing: -1.6px; }
.life-stella .foot-stella { position: relative; flex: none; line-height: 0; cursor: pointer; }
.life-stella .foot-stella::after { content: ""; position: absolute; left: -200vw; right: -200vw; bottom: 0; height: 1px; background: var(--color-rule); pointer-events: none; }
.life-stella .foot-fig { display: block; height: 220px; width: auto; transform-origin: 50% 100%; animation: foot-bob 4.6s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(20, 43, 53, .18)); }
.life-stella .foot-bub { position: absolute; left: calc(100% - 10px); top: -6px; width: max-content; max-width: 18em; background: var(--color-accent-soft); color: var(--color-text); border-radius: 14px; border-bottom-left-radius: 4px; padding: 8px 12px; font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .26s ease-out, transform .26s ease-out; pointer-events: none; }
.life-stella .foot-stella.hi .foot-bub { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .life-stella .foot-fig, .life-stella .foot-stella.hi .foot-fig { animation: none !important; }
  .life-stella .foot-bub { transition: none; }
}
@media (max-width: 640px) {
  .life-stella .foot-fig { height: 170px; }
  .life-stella .foot-bub { max-width: calc(100vw - 170px); font-size: 12.5px; }
}
.life-stella .k-footer p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-text-2); }
.life-stella .k-footer nav { margin-left: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 0 26px; }
.life-stella .k-footer nav a { color: var(--color-text); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--color-rule); padding-bottom: 2px; }
.life-stella .k-footer .k-footnote { font-size: 12.5px; line-height: 1.55; color: var(--color-text-3); max-width: 62em; }
@media (max-width: 900px) {
  .k-join { grid-template-columns: 1fr; }
}
.card.live .convo { max-height: none; overflow: visible; }
.card.live .card-head .card-sub { min-height: 1.4em; }
.phase { display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; }
input[type="date"], input[type="month"] { min-width: 0; }
:root { --st-paper: oklch(99.23% 0.0062 75.4); --st-print: oklch(100% 0 0); --st-ink: oklch(27.51% 0.0344 228.2); --st-ink-2: oklch(48.17% 0.0253 231.1); --st-rule: oklch(90.73% 0.0076 164.9); --st-coral: oklch(70.31% 0.1883 26.1); --st-coral-hi: oklch(73.33% 0.1635 24.9); --st-peach: oklch(93.23% 0.0453 64.0); --st-shadow: 27.51% 0.0344 228.2; --font-mono: var(--font-body); }
body { background: var(--st-paper); margin: 0; }
.life-stella.story { background: var(--st-paper); color: var(--st-ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.story main { display: block; }
.story .k-wordmark { display: inline-block; color: var(--st-coral); font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -2.2px; line-height: 1; text-decoration: none; }
.story .k-wordmark-sm { font-size: 28px; letter-spacing: -1.6px; }
.st-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 4px; }
.st-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: var(--st-paper); border-bottom: 1px solid var(--st-rule); transform: translateY(-110%); visibility: hidden; transition: transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med); }
.st-bar.on { transform: none; visibility: visible; transition: transform var(--dur-med) var(--ease-out), visibility 0s; }
.story .st-bar .k-wordmark { font-size: 26px; letter-spacing: -1.4px; }
.st-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--st-coral); color: var(--st-ink); font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.st-cta:hover { background: var(--st-coral-hi); }
.st-cta:active { transform: scale(.98); }
.st-cta:focus-visible, .story a:focus-visible, .story button:focus-visible { outline: 3px solid var(--st-ink); outline-offset: 3px; }
.st-bar .st-cta { min-height: 44px; padding: 0 16px; font-size: 14px; }
.st-eyebrow { margin: 0 0 14px; font-size: 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--st-ink); }
.life-stella.story h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 12vw, 104px); letter-spacing: -0.04em; line-height: .96; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.life-stella.story h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 60px); letter-spacing: -0.035em; line-height: 1; margin: 0; text-wrap: balance; }
.st-lede { margin: 20px 0 28px; max-width: 30em; font-size: 19px; line-height: 1.5; color: var(--st-ink-2); text-wrap: pretty; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.st-hero { display: grid; gap: 36px; padding: 24px 16px 40px; }
.st-print { position: relative; margin: 0; }
.st-sheet { background: var(--st-print); padding: 0 10px 10px; box-shadow: 0 1px 2px oklch(var(--st-shadow) / .10), 0 14px 34px oklch(var(--st-shadow) / .14); }
.st-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--st-rule); }
.st-photo img, .st-photo video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--st-rule); }
video.st-av { display: block; cursor: pointer; }
.st-border { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 11px 2px 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.25; text-transform: uppercase; color: var(--st-ink); }
.st-border .st-what { color: var(--st-ink-2); }
.st-card { position: relative; z-index: 3; width: min(268px, 76%); margin: -76px 10px 0 auto; background: var(--st-print); border-radius: 20px; padding: 12px 12px 13px; box-shadow: 0 2px 4px oklch(var(--st-shadow) / .10), 0 18px 40px oklch(var(--st-shadow) / .20); }
.st-card-head { display: flex; flex-direction: column; gap: 1px; padding: 0 2px 9px; margin-bottom: 10px; border-bottom: 1px solid var(--st-rule); }
.st-group { font-size: 14px; font-weight: 600; line-height: 1.25; }
.st-members { font-size: 12px; line-height: 1.3; color: var(--st-ink-2); }
.st-msgs { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.st-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--st-print); box-shadow: 0 0 0 1px var(--st-rule); }
.st-col .st-name { margin-top: 3px; }
.st-col { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.st-name { padding-left: 2px; font-size: 12px; font-weight: 600; color: var(--st-ink-2); }
.st-bub { margin: 0; width: fit-content; max-width: 100%; padding: 8px 12px; border-radius: 18px 18px 18px 0; background: var(--st-peach); color: var(--st-ink); font-size: 15px; line-height: 1.38; overflow-wrap: break-word; }
.st-typing { display: none; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: 999px 999px 999px 0; background: var(--st-peach); }
.st-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--st-ink-2); opacity: .35; animation: st-dot 1s var(--ease-in-out) infinite; }
.st-typing i:nth-child(2) { animation-delay: .15s; }
.st-typing i:nth-child(3) { animation-delay: .3s; }
.js .st-card { opacity: 0; transform: translateY(14px); }
.js .st-card.st-in { opacity: 1; transform: none; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .st-card.st-tp .st-typing { display: inline-flex; }
.js .st-card .st-bub { opacity: 0; transform: translateY(8px); }
.js .st-card .st-bub.st-in { opacity: 1; transform: none; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .st-card:not(.st-done) .st-bub:not(.st-in) { position: absolute; visibility: hidden; }
.st-intro { max-width: 760px; margin: 0 auto; padding: 56px 16px 8px; text-align: center; }
.st-faces { display: flex; justify-content: center; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.st-faces li { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.st-faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--st-print); box-shadow: 0 0 0 3px var(--st-print), 0 6px 16px oklch(var(--st-shadow) / .16); }
.st-intro-line { margin: 0; font-size: clamp(21px, 3.4vw, 30px); font-weight: 500; line-height: 1.34; letter-spacing: -0.01em; text-wrap: balance; }
.st-ch { display: grid; gap: 22px; padding: 56px 16px 8px; }
.st-ch-line { margin: 0; max-width: 15em; font-family: var(--font-display); font-size: clamp(28px, 7vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.st-close { padding: 72px 16px 40px; text-align: center; }
.st-close p { max-width: 22em; margin: 0 auto; font-size: clamp(22px, 4.2vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.story .k-join { max-width: 1320px; margin: 0 auto; padding: 56px 16px 32px; }
.story .k-join .k-copy .st-eyebrow { margin-bottom: 16px; }
.story .k-footer { max-width: 1320px; margin: 0 auto; }
.life-stella.story .k-footer .k-footnote { color: var(--st-ink-2); }
.life-stella.story .k-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--st-rule); text-underline-offset: 5px; }
.life-stella.story .k-footer nav a:hover { text-decoration-color: currentColor; }
@media (max-width: 360px) {
  .story .k-wordmark { font-size: 28px; letter-spacing: -1.6px; }
  .st-bar .st-cta { padding: 0 12px; font-size: 13px; }
}
@media (min-width: 960px) {
  .st-nav { padding: 18px 5% 4px; }
  .st-bar { padding-left: 5%; padding-right: 5%; }
  .st-hero { max-width: 1320px; margin: 0 auto; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 64px; padding: 40px 5% 72px; }
  .st-hero .st-print { max-width: 520px; justify-self: end; }
  .st-card { position: absolute; bottom: -36px; width: 300px; margin: 0; }
  .st-hero .st-card { left: -40px; right: auto; }
  .st-ch { max-width: 1320px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 96px; padding: 88px 5% 24px; }
  .st-ch .st-print { max-width: 520px; width: 100%; }
  .st-ch.st-left .st-print { justify-self: end; }
  .st-ch.st-left .st-card { right: -64px; }
  .st-ch.st-left .st-ch-copy { padding-left: 24px; }
  .st-ch.st-right .st-print { order: 2; justify-self: start; }
  .st-ch.st-right .st-card { left: -64px; }
  .st-ch.st-right .st-ch-copy { order: 1; padding-right: 24px; justify-self: end; }
  .story .k-join { padding: 96px 5% 40px; }
  .st-intro { padding-top: 40px; }
}
@media (min-width: 1280px) {
  .st-card { width: 320px; }
  .st-ch.st-right .st-card { left: -72px; }
  .st-ch.st-left .st-card { right: -72px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .st-card, .js .st-card .st-bub { opacity: 1; transform: none; transition: none; }
  .st-bar, .st-bar.on { transition: none; }
  .st-typing i { animation: none; }
}
:root { --st-tilt: 3deg; }
.st-hero .st-sheet, .st-ch.st-right .st-sheet { transform: rotate(calc(var(--st-tilt) * -1)); }
.st-ch.st-left .st-sheet { transform: rotate(var(--st-tilt)); }
.st-eyebrow.st-hi { display: flex; align-items: center; gap: 14px; }
.st-hi-av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; box-shadow: 0 6px 16px oklch(var(--st-shadow) / .14); cursor: pointer; }
.st-hi-av video { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-hi-av, .st-msgs, .st-photo { position: relative; }
.st-blocked::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: oklch(27.51% 0.0344 228.2 / .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5l4 2.5-4 2.5z' fill='white'/%3E%3C/svg%3E") center / 10px no-repeat; pointer-events: none; }
.st-hi-av.st-blocked::after { right: 2px; bottom: 2px; }
.st-msgs.st-blocked::after { left: 28px; top: 28px; }
.st-photo.st-blocked::after { right: 12px; bottom: 12px; width: 34px; height: 34px; background-size: 16px; }
.st-w { white-space: nowrap; }
.life-stella.story .st-hi ~ h1 { font-size: clamp(40px, 13vw, 80px); }
@media (min-width: 960px) {
  .life-stella.story .st-hi ~ h1 { font-size: clamp(56px, 6.4vw, 80px); }
}
.st-h1-bub { display: inline-block; padding: .12em .3em .16em; border-radius: .32em .32em .32em .06em; background: var(--st-peach); }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.js .st-tw .st-c { opacity: 0; }
.js .st-tw .st-c.st-on { opacity: 1; }
.st-c.st-cur { position: relative; }
.st-c.st-cur::after { content: ""; position: absolute; right: -.07em; top: .12em; bottom: .06em; width: .07em; min-width: 2px; background: currentColor; animation: st-caret .9s steps(1) infinite; }
.st-photo { position: relative; }
.st-flash { position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.st-flash.go { animation: st-flash 1100ms var(--ease-out) forwards; }
.st-dev .st-photo video { animation: st-dev 1800ms var(--ease-out); }
.st-doodle { display: block; width: 88px; height: 88px; margin: 0 0 12px -6px; color: var(--st-ink); }
.st-doodle svg { display: block; overflow: visible; }
.js .st-doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .st-doodle.st-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out); }
.js .st-doodle.st-drawn path:nth-child(2) { transition-delay: 160ms; }
.js .st-doodle.st-drawn path:nth-child(3) { transition-delay: 320ms; }
.js .st-doodle.st-drawn path:nth-child(4) { transition-delay: 480ms; }
.js .st-doodle.st-drawn path:nth-child(5) { transition-delay: 640ms; }
.st-join .k-copy .foot-stella { display: inline-block; margin: 0 0 22px; }
.life-stella.story .st-join .foot-stella::after { display: none; }
.life-stella.story .st-join .foot-fig { height: 210px; transition: opacity 220ms var(--ease-out); }
.life-stella.story .st-join .foot-stella.st-swap .foot-fig { opacity: 0; }
@media (max-width: 640px) {
  .life-stella.story .st-join .foot-fig { height: 170px; }
}
.msg.her { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; align-items: end; }
.msg.her > .n, .msg.her > .b { grid-column: 2; }
.msg .av { grid-column: 1; grid-row: 1 / span 3; align-self: end; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; background: var(--color-paper-3); }
.msg.her:not(.big) .b { background: oklch(95.5% 0.045 45); }
.msg { max-width: 78%; display: flex; flex-direction: column; gap: 4px; }
.msg.her { align-self: flex-start; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg .n { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-2); padding-left: 4px; }
.msg.her .n { color: var(--color-accent-text); }
.b { padding: 11px 15px; border-radius: 18px; font-size: var(--text-base); line-height: 1.45; background: var(--color-paper-2); color: var(--color-text); border-bottom-left-radius: 6px; }
.msg.me .b { background: var(--color-text); color: var(--color-paper); border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.tdots { display: inline-flex; gap: 4px; align-items: center; height: 20px; padding: 0 2px; }
.tdots span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-3); opacity: .35; animation: blink 1.2s infinite; }
.tdots span:nth-child(2) { animation-delay: .2s }
.tdots span:nth-child(3) { animation-delay: .4s }
.msg.her .txt { display: none; }
.msg.her.shown .txt { display: inline; }
.msg.her.shown .tdots { display: none; }
.msg.her:not([data-typing="1"]) .tdots { display: none; }
.msg.her:not([data-typing="1"]) .txt { display: inline; }
.ask { padding: var(--space-3xl) 0 var(--space-2xl); border-top: 1px solid var(--color-rule); }
.ask .sub { margin-bottom: var(--space-lg); }
.faqconvo { display: flex; flex-direction: column; gap: 8px; margin: var(--space-lg) 0 var(--space-md); }
.faqconvo:empty { margin: var(--space-md) 0 0; }
.faqconvo .msg { max-width: 78%; }
.faqconvo .msg.her.thinking .txt { display: none; }
.faqconvo .msg.her.thinking .tdots { display: inline-flex; }
.faqconvo .msg.her .tdots { display: none; }
.faqcomposer { margin-top: var(--space-sm); }
@media (max-width: 820px) {
  .faqconvo .msg { max-width: 92%; }
}
.bubble.me { background: var(--color-accent); color: var(--color-text); }
.send { background: var(--color-accent); color: var(--color-text); border-radius: 999px; }
.composer input { border-radius: 999px; }
@media (max-width: 820px) {
  .msg { max-width: 90%; }
}
.bubble.me { align-self: flex-end; background: var(--color-text); color: var(--color-paper); border-bottom-right-radius: 6px; }
.dots { display: inline-flex; gap: 4px; align-items: center; height: 20px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); opacity: .35; animation: blink 1.2s infinite; }
.dots span:nth-child(2) { animation-delay: .2s }
.dots span:nth-child(3) { animation-delay: .4s }
.composer { display: flex; gap: var(--space-sm); margin-top: var(--space-sm); align-items: center; }
.prefix { display: none; position: relative; flex: none; }
.pfx-t { display: flex; align-items: center; gap: 7px; height: 52px; padding: 0 10px 0 11px; cursor: pointer; background: transparent; border: 1px solid var(--color-rule); border-radius: var(--radius-input); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; }
.pfx-t:hover { border-color: var(--color-text-3); }
.pfx-t[aria-expanded="true"] { border-color: var(--color-text); color: var(--color-text); }
.pfx-c { color: var(--color-text-3); flex: none; transition: transform 160ms ease; }
.pfx-t[aria-expanded="true"] .pfx-c { transform: rotate(180deg); }
.flag { display: block; width: 21px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 0.5px #0000002e inset; }
.pfx-f { display: flex; flex: none; }
.pfx-p { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 40; width: 278px; max-width: 78vw; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: 14px; box-shadow: 0 18px 44px #25434a26; padding: 8px; }
.pfx-s { width: 100%; height: 40px; padding: 0 11px; margin-bottom: 6px; font: inherit; font-size: var(--text-sm); color: var(--color-text); background: var(--color-paper-2); border: 1px solid transparent; border-radius: 9px; }
.pfx-s:focus-visible { outline: none; border-color: var(--color-text-3); }
.pfx-l { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.pfx-l li { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; cursor: pointer; font-size: var(--text-sm); line-height: 1.2; }
.pfx-l li[hidden] { display: none; }
.pfx-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfx-l .pfx-d, .pfx-t .pfx-d { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-3); flex: none; }
.pfx-t .pfx-d { font-size: var(--text-sm); color: inherit; }
.pfx-l li:hover, .pfx-l li.is-on { background: var(--color-paper-2); }
.pfx-l li[aria-selected="true"] { font-weight: 600; }
.pfx-l li[aria-selected="true"] .pfx-n::after { content: " \2713"; color: var(--color-accent-ink, var(--color-text-3)); }
.pfx-none { margin: 10px 4px; font-size: var(--text-xs); color: var(--color-text-3); }
@media (prefers-reduced-motion: reduce) {
  .pfx-c { transition: none; }
}
.legal { display: none; font-size: var(--text-xs); color: var(--color-text-2); margin-top: var(--space-sm); line-height: 1.5; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.composer input { flex: 1 1 0; width: 0; height: 52px; border-radius: var(--radius-input); border: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-text); padding: 0 var(--space-md); font: inherit; font-size: var(--text-base); min-width: 0; }
.composer input::placeholder { color: var(--color-text-3); }
.composer input:focus { border-color: var(--color-accent); outline: none; }
.send { width: 52px; height: 52px; border-radius: var(--radius-input); border: 0; background: var(--color-text); color: var(--color-paper); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform var(--dur-fast) var(--ease-in-out); }
.send:active { transform: scale(.96); }
.err { font-size: var(--text-sm); color: var(--color-error); margin-top: var(--space-xs); display: none; }
.err.show { display: block; }
.done { display: none; font-size: var(--text-base); font-weight: 500; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-input); background: var(--color-accent-soft); color: var(--color-text); margin-top: var(--space-sm); }
.done.show { display: block; animation: rise var(--dur-med) var(--ease-in) both; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-text-2); gap: var(--space-sm); }
.link { background: none; border: 0; padding: 0; font-size: var(--text-xs); color: var(--color-text-2); text-decoration: underline; text-underline-offset: 3px; }
.card.busy .avatar::after { background: var(--color-accent); animation: blink 1s infinite; }
@media (prefers-reduced-motion: reduce) {
  .bubble, .done.show { animation: none; }
}
.stepno { display: none !important; }
.life-stella .k-join .send { background: var(--color-accent); color: var(--color-text); }
.life-stella .send.is-empty, .life-stella .k-join .send.is-empty { background: var(--color-paper-2); color: var(--color-text-3); }
.vbtn { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-text-2); display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.vbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vbtn:hover { border-color: var(--color-accent); color: var(--color-accent-text); }
.vbtn.on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text); }
.card.listening .vbtn.on { background: var(--color-ok); border-color: var(--color-ok); color: #fff; animation: blink 1.4s infinite; }
@media (prefers-reduced-motion: reduce) {
  .card.listening .vbtn.on { animation: none; }
}
.card.listening .send { background: var(--color-ok); color: #fff; animation: blink 1.2s infinite; }
.card.beat .avatar::after { background: var(--color-accent); animation: blink 1s infinite; }
.st-ask { padding: 8px 16px 72px; }
.st-ask .ask { width: min(640px, 100%); margin: 0 auto; padding: 0; border-top: 0; }
.st-ask .faqconvo:empty { margin: 0; }
.st-ask .faqcomposer { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .dots span, .tdots span, .card.busy .avatar::after { animation: none; }
}
.st-ask-top { padding: 0; margin-top: 22px; max-width: 480px; }
@media (prefers-reduced-motion: reduce) {
  .js .st-tw .st-c { opacity: 1; }
  .st-c.st-cur::after { display: none; }
  .js .st-doodle path { stroke-dashoffset: 0; }
  .st-flash.go, .st-dev .st-photo video { animation: none; }
}
.st-ask-top { max-width: 540px; }
.st-ask-top .ask { width: 100%; margin: 0; }
.st-ask-top .composer { gap: 8px; }
.st-ask-top .composer input { background: var(--st-print); box-shadow: 0 1px 2px oklch(var(--st-shadow) / .06); }
.st-talk { flex: none; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--st-rule); border-radius: 999px; background: var(--st-print); color: var(--st-ink); cursor: pointer; position: relative; transition: background var(--dur-fast) var(--ease-out); }
.st-talk[hidden] { display: none; }
.st-talk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st-talk:hover { background: var(--st-peach); }
.st-talk.saying { background: var(--st-peach); border-color: var(--st-peach); }
.st-talk.on { background: var(--st-coral); border-color: var(--st-coral); }
.st-talk.on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--st-coral); animation: pulse 1.6s var(--ease-out) infinite; }
.st-talk-note { margin: 8px 4px 0; font-size: 13px; color: var(--st-ink-2); }
.st-talk-note:empty { display: none; }
.st-ask-top .faqconvo { margin: 14px 0 0; max-height: 560px; overflow-y: auto; }
.st-ask-top .faqconvo:empty { margin: 0; }
.st-ask-top .faqconvo .msg { max-width: 92%; }
.st-attach { flex: none; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--st-rule); border-radius: 999px; background: var(--st-print); color: var(--st-ink); cursor: pointer; }
.st-attach:hover { background: var(--st-peach); }
.st-attach svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 420px) {
  .st-attach, .st-talk { width: 46px; height: 46px; }
}
@media (max-width: 520px) {
  .st-ask-top .composer { flex-wrap: wrap; row-gap: 8px; }
}
@media (max-width: 520px) {
  .st-ask-top .composer input[type="text"] { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 520px) {
  .st-ask-top .composer .send { margin-left: auto; }
}
.st-spotify { flex: none; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--st-rule); border-radius: 999px; background: var(--st-print); color: var(--st-ink); cursor: pointer; position: relative; }
.st-spotify:hover { background: var(--st-peach); }
.st-spotify svg { width: 22px; height: 22px; fill: currentColor; }
.st-spotify.on { background: var(--st-coral); border-color: var(--st-coral); }
.st-dance { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 18px; align-items: center; margin: 12px 0 0; padding: 14px 16px 12px 14px; background: var(--st-print); border: 1px solid var(--st-rule); border-radius: 22px; box-shadow: 0 1px 2px oklch(var(--st-shadow) / .06); }
.st-dance[hidden] { display: none; }
.st-deck { position: relative; width: 112px; height: 112px; }
.st-vinyl { display: block; width: 100%; height: 100%; animation: st-spin 1.8s linear infinite; animation-play-state: paused; }
.st-dance.playing .st-vinyl { animation-play-state: running; }
.v-disc { fill: var(--st-ink); }
.v-groove { fill: none; stroke: oklch(100% 0 0 / .09); stroke-width: 1.2; }
.v-label { fill: var(--st-coral); }
.v-hole { fill: var(--st-paper); }
.v-mark { font: 700 19px 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -1px; fill: var(--st-paper); }
.st-arm { position: absolute; right: -16px; top: -8px; width: 36px; height: 90px; overflow: visible; transform-origin: 73% 9%; transform: rotate(-32deg); transition: transform .7s var(--ease-out); }
.st-dance.playing .st-arm { transform: rotate(-2deg); }
.a-base { fill: var(--st-ink-2); }
.a-rod { fill: none; stroke: var(--st-ink-2); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.a-head { fill: var(--st-ink); }
.st-dance-line { margin: 0; justify-self: start; background: var(--st-peach); color: var(--st-ink); border-radius: 18px 18px 18px 5px; padding: 10px 14px; font-size: 16px; line-height: 1.4; }
.st-dance-player { grid-column: 1 / -1; min-height: 80px; }
.st-dance-player iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.st-dance-fine { grid-column: 1 / -1; margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--st-ink-2); }
@media (max-width: 420px) {
  .st-spotify { width: 46px; height: 46px; }
  .st-dance { grid-template-columns: 84px minmax(0, 1fr); gap: 10px 14px; }
  .st-deck { width: 84px; height: 84px; }
  .st-arm { width: 28px; height: 70px; right: -12px; }
  .st-dance-line { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-vinyl { animation: none; }
  .st-arm { transition: none; }
  .st-dance { animation: none; }
}
.st-dance.needs-tap .st-dance-player { border-radius: 14px; animation: st-nudge 1.6s var(--ease-out) infinite; }
@media (prefers-reduced-motion: reduce) {
  .st-dance.needs-tap .st-dance-player { animation: none; box-shadow: 0 0 0 3px var(--st-coral); }
}
@keyframes foot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes blink { 0%,80%,100% { opacity: .25; transform: translateY(0) } 40% { opacity: 1; transform: translateY(-2px) } }
@keyframes pulse { 0% { transform: scale(.85); opacity: .7 } 100% { transform: scale(1.35); opacity: 0 } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes st-dot { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@keyframes st-caret { 50% { opacity: 0; } }
@keyframes st-flash { 0% { opacity: 0; } 6% { opacity: 1; } 22% { opacity: .92; } 100% { opacity: 0; } }
@keyframes st-dev { 0% { filter: brightness(1.5) saturate(.35) contrast(.85); } 100% { filter: none; } }
@keyframes st-spin { to { transform: rotate(360deg); } }
@keyframes st-nudge { 0% { box-shadow: 0 0 0 0 oklch(70.31% 0.1883 26.1 / .55); } 100% { box-shadow: 0 0 0 11px oklch(70.31% 0.1883 26.1 / 0); } }

/* ---- meet-stella.com: what differs from the prototype ---- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The wordmark is the brand pack's file (brand/logo/stella-wordmark-coral.svg), never type: sized to the same ink box
   the prototype's 34px, 28px and 26px "stella" in Instrument Sans Bold drew (0.731em tall, 0.133em below the line top). */
.story .k-wordmark { line-height: 0; }
.story .k-wordmark img { display: block; height: .731em; width: auto; margin: .133em 0 .136em .016em; }

/* Spotify's player sets cookies, so its slot holds this until the visitor says yes. */
.st-consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; min-height: 80px; padding: 12px 12px 12px 16px; border: 1px solid var(--st-rule); border-radius: 12px; background: var(--st-paper); }
.st-consent p { margin: 0; flex: 1 1 13em; font-size: 14px; line-height: 1.4; color: var(--st-ink-2); }
.st-consent-go { min-height: 44px; padding: 0 18px; border: 1px solid var(--st-ink); border-radius: 999px; background: var(--st-print); color: var(--st-ink); font-size: 14px; font-weight: 600; }
.st-consent-go:hover { background: var(--st-peach); }

/* The join card asks for the number as the prototype's does (his flow shows the number row and the line under it on its
   first step), then hands over to the sign-up at app.meet-stella.com/start, where the code is sent. */
.st-join .prefix, .st-join .legal { display: block; }
.st-join .legal a { color: inherit; }
/* The picker's search box sits inside the composer, so the composer's own input rule squeezed it to a sliver on the
   prototype; here it keeps the picker's full width. */
.composer .pfx-s { flex: none; width: 100%; height: 40px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: var(--color-paper-2); font-size: var(--text-sm); }
.composer .pfx-s:focus { border-color: var(--color-text-3); }
/* Without JavaScript the number row can't do anything, so the card shows one button to the sign-up instead. */
.st-card-go { margin-top: var(--space-md); }
.st-card-go .st-cta { width: 100%; min-height: 56px; font-size: 17px; }
.js .st-card-go { display: none; }
html:not(.js) .card.live .convo { min-height: 0; }
html:not(.js) .st-join .composer, html:not(.js) .st-join .legal, html:not(.js) .st-join .vbtn { display: none; }

/* What isn't built yet (her About page) says so in a note rather than going nowhere. */
.st-soon { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; max-width: min(360px, calc(100vw - 32px)); transform: translate(-50%, 8px); padding: 10px 14px; border-radius: 18px 18px 18px 5px; background: var(--st-peach); color: var(--st-ink); font-size: 15px; line-height: 1.4; box-shadow: 0 10px 30px oklch(var(--st-shadow) / .18); opacity: 0; pointer-events: none; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.st-soon.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .st-soon { transition: none; } }

/* The legal pages: the same paper, ink and type, in a reading column. */
.legal-main { max-width: 680px; margin: 0 auto; padding: 32px 16px 24px; }
.life-stella.story .legal-main h1 { font-size: clamp(36px, 7vw, 56px); letter-spacing: -0.035em; line-height: 1.02; margin: 24px 0 24px; }
.legal-main p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: var(--st-ink-2); }
.legal-main strong { color: var(--st-ink); font-weight: 600; }
.life-stella.story .legal-main h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 32px 0 12px; color: var(--st-ink); scroll-margin-top: 16px; }
.legal-main .legal-meta { margin: 0 0 20px; font-size: 15px; }
.legal-toc ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 16px; line-height: 1.4; }
.legal-main a, .legal-foot a { color: var(--st-ink); text-decoration: underline; text-decoration-color: var(--st-ink-2); text-underline-offset: 4px; }
.legal-main a:hover, .legal-foot a:hover { text-decoration-color: currentColor; }
.legal-foot { max-width: 680px; margin: 24px auto 0; padding: 16px 16px 56px; border-top: 1px solid var(--st-rule); font-size: 14px; line-height: 2.2; color: var(--st-ink-2); }
.legal-foot a { display: inline-block; min-height: 24px; }
@media (min-width: 960px) { .legal-main { padding-top: 56px; } }
/* Without JavaScript her chat bar and record player can't do anything, so they don't show. */
html:not(.js) .st-ask { display: none; }

/* Kai, 6 October: the record player alone, its button beside the call to action. */
.st-dance-only { margin-top: 0; }
.st-dance-only .st-dance { margin-top: 16px; }
/* The waitlist (AUT-891): Stella is invite only, so anyone not let in yet joins the waitlist on her web app; a quiet line under the hero's
   button points down to it, and its own section follows the sign-up card, on her peach. */
.st-wait-hint { margin: 14px 0 0; font-size: 16px; }
.st-wait-hint a { color: var(--st-ink); text-decoration: underline; text-underline-offset: 3px; }
/* Google's homepage rules (OAuth verification): what she does and why she asks to connect Google, in plain HTML under the hero. */
.st-about { max-width: 760px; margin: 0 auto; padding: 8px 16px 24px; }
.life-stella.story .st-about h2 { font-size: clamp(26px, 4.4vw, 38px); line-height: 1.1; }
.life-stella.story .st-about h3 { margin: 28px 0 0; font-size: clamp(20px, 3.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.st-about p { margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--st-ink-2); text-wrap: pretty; }
.st-about a { color: var(--st-ink); text-decoration: underline; text-underline-offset: 3px; }
.st-wait { padding: 24px 16px 64px; }
.st-wait-card { max-width: 1320px; margin: 0 auto; background: var(--st-peach); border-radius: 28px; padding: 40px 24px; text-align: center; }
.st-wait-card .st-eyebrow { margin-bottom: 14px; }
.st-wait-lede { max-width: 32em; margin: 18px auto 26px; font-size: 19px; line-height: 1.5; color: var(--st-ink); text-wrap: pretty; }
.st-wait .st-actions { justify-content: center; }
@media (min-width: 900px) { .st-wait { padding: 32px 5% 96px; } .st-wait-card { padding: 64px 48px; } }
