/* Beside: marketing site. Brand: marigold #FF5A1F, ink #141418, cream #FBF6EE. */

:root {
  --ink: #141418;
  --ink-2: #2a2a30;
  --cream: #FBF6EE;
  --sand: #F3EBDF;
  --sand-2: #EADFCF;
  --orange: #FF5A1F;
  --orange-soft: #FFE3D6;
  --muted: #5E5A54;
  --line: rgba(20, 20, 24, .10);
  --white: #FFFDF9;

  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --deva: "Noto Sans Devanagari", "Outfit", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
[lang="hi"] { font-family: var(--deva); }
::selection { background: var(--orange); color: var(--cream); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 0;
  font: 500 17px/1 var(--sans); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -12px rgba(20,20,24,.5); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 16px 30px -14px rgba(20,20,24,.55); }
.btn-ink:active { transform: translateY(0) scale(.98); }
.btn-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); transition: transform .45s var(--spring); }
.btn:hover .btn-dot { transform: translateX(3px) scale(1.15); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 8px; }
.btn-ghost:hover { color: var(--orange); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; gap: 8px; }
.btn-sm .btn-dot { width: 9px; height: 9px; }
.btn-lg { --h: 62px; padding: 0 30px; font-size: 19px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(251, 246, 238, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.nav-pair { width: 34px; height: 34px; }
.nav-wm { width: 88px; height: 26px; margin-top: 3px; }
.nav-links { display: none; gap: 30px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Scroll rail (desktop) ---------- */
.rail { position: fixed; right: 22px; top: 50%; z-index: 40; width: 10px; height: 120px; margin-top: -60px; opacity: 0; transition: opacity .5s; pointer-events: none; display: none; }
.rail.is-on { opacity: 1; }
.rail-track { position: absolute; left: 4px; top: 0; width: 2px; height: 100%; border-radius: 2px; background: var(--ink); opacity: .16; }
.rail-orb { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); will-change: transform; }
@media (min-width: 1100px) and (hover: hover) { .rail { display: block; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 1320px; margin: 0 auto;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--muted);
  padding: 7px 14px 7px 12px; border-radius: 99px; background: var(--sand);
  margin-bottom: 22px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,90,31,.5); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } }

.hero-title { font-size: clamp(56px, 15.5vw, 132px); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--orange); font-size: 1.08em; letter-spacing: -.03em; padding-right: .04em; }
.hero-sub { max-width: 22em; margin-top: 22px; font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 30px; }

.hero-art { position: relative; order: -1; display: grid; justify-items: center; }
.hero-pair { position: relative; width: min(62vw, 300px); aspect-ratio: 1; margin-left: -12%; }
.hp-pill-wrap, .hp-orb-wrap { position: absolute; will-change: transform; }
.hp-pill-wrap { left: 18%; top: 10%; width: 19%; height: 80%; }
.hp-orb-wrap { left: 38.5%; top: 44%; width: 46%; height: 46%; }
.hp-pill { width: 100%; height: 100%; border-radius: 999px; background: var(--ink); transform-origin: 50% 100%; }
.hp-orb { width: 100%; height: 100%; border-radius: 50%; background: var(--orange); }
.hero-bubble {
  position: absolute; left: 66%; top: 4%;
  display: grid; gap: 2px;
  width: max-content; max-width: 230px;
  padding: 10px 14px 9px; border-radius: 18px 18px 18px 6px;
  background: var(--white); box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(20,20,24,.35);
  font-size: 15px; line-height: 1.35;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.hero-bubble.is-swap { opacity: 0; transform: translateY(6px); }
.hb-from { font-size: 12px; font-weight: 600; color: var(--orange); }
.hb-time { justify-self: end; font-size: 11px; color: var(--muted); }
.hero-legend { display: none; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.lg-pill { width: 6px; height: 16px; border-radius: 9px; background: var(--ink); }
.lg-orb { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); margin-left: 10px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; gap: 40px; padding-top: var(--nav-h); }
  .hero-art { order: 0; }
  .hero-pair { width: min(36vw, 460px); margin-left: 0; }
  .hero-bubble { left: 62%; top: 0; font-size: 16px; }
  .hero-legend { display: inline-flex; }
}
@media (max-width: 899px) {
  .hero { align-content: center; }
  .hero-bubble { left: 58%; top: 0; max-width: min(176px, 44vw); font-size: 14px; }
}

/* Hero entrance */
.js .hp-pill { animation: rise .9s var(--ease) .1s both; }
.js .hp-orb { animation: arrive 1.25s var(--ease) .55s both; }
.js .hero-title .line > span { animation: up .9s var(--ease) both; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .28s; }
.js .hero-sub, .js .hero-cta, .js .eyebrow, .js .hero-legend { animation: fade 1s var(--ease) both; }
.js .eyebrow { animation-delay: .05s; }
.js .hero-sub { animation-delay: .45s; }
.js .hero-cta { animation-delay: .6s; }
.js .hero-legend { animation-delay: 1.6s; }
.js .hero-bubble { animation: pop .6s var(--spring) 1.6s both; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes arrive {
  0% { transform: translateX(170%) scale(.9); opacity: 0; }
  20% { opacity: 1; }
  72% { transform: translateX(-2.5%) scaleX(.96) scaleY(1.03); }
  86% { transform: translateX(1%); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes up { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }

/* Idle lean: every few seconds the orb nudges towards the pill */
.js .hp-orb.is-arrived { animation: none; }
.js .hp-orb.is-arrived.is-lean { animation: lean 1.4s var(--ease); }
@keyframes lean { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(-3%) rotate(-2deg); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 18px 0 26px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; gap: 12px; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-row { animation-play-state: paused; }
.tk { flex: none; padding: 10px 16px; border-radius: 16px 16px 16px 5px; background: var(--white); box-shadow: 0 1px 0 var(--line); font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tk:nth-child(3n+2) { background: var(--ink); color: var(--cream); border-radius: 16px 16px 5px 16px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Story (pinned) ---------- */
.story { position: relative; height: 420vh; }
.story-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; align-content: center; justify-items: center;
  grid-template-rows: auto auto;
  gap: 24px;
  padding: calc(var(--nav-h) + 4px) var(--gutter) 20px;
  max-width: 1320px; margin: 0 auto;
}
.story-stage {
  --S: min(76vw, 40svh, 560px);
  position: relative; width: var(--S); height: var(--S);
}
.story-stage > * { position: absolute; }
.st-floor { left: -6%; right: -6%; top: 72%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.st-pill, .st-orb { left: 0; top: 0; will-change: transform; }
.st-pill { border-radius: 999px; background: var(--ink); }
.st-main { width: 11%; height: 44%; }
.st-a { width: 9%; height: 34%; opacity: 0; }
.st-b { width: 9%; height: 26%; opacity: 0; }
.st-orb { width: 26.6%; height: 26.6%; margin: -13.3% 0 0 -13.3%; border-radius: 50%; background: var(--orange); z-index: 3; }

.st-rain { inset: 0 0 28% 0; opacity: 0; transition: opacity .6s; overflow: hidden; }
.st-rain i { position: absolute; top: 0; left: calc(var(--x) * 1%); width: 1.3%; height: 7%; border-radius: 9px; background: var(--ink); opacity: .55; animation: rain 1.3s linear var(--d) infinite; animation-play-state: paused; }
.story-stage.is-rain .st-rain { opacity: 1; }
.story-stage.is-rain .st-rain i { animation-play-state: running; }
@keyframes rain { from { transform: translateY(-120%); } to { transform: translateY(1050%); } }

.st-threat {
  left: 0; top: 0; width: 25%;
  padding: 2.2% 2.6%; border-radius: 10px;
  background: var(--white); border: 1.5px dashed rgba(20,20,24,.35);
  font-size: clamp(10.5px, calc(var(--S) * .028), 14px); line-height: 1.3; color: var(--muted);
  opacity: 0; will-change: transform, opacity; z-index: 2;
}
.th-label { display: block; font-size: .8em; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: 2px; }

.st-bubbles { left: 50%; top: 77%; width: max-content; max-width: 108%; transform: translateX(-50%); }
.st-bubble {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, 8px) scale(.96);
  width: max-content; max-width: min(88vw, 380px);
  padding: 10px 15px; border-radius: 18px 18px 18px 6px;
  background: var(--white); box-shadow: 0 1px 0 var(--line), 0 18px 40px -20px rgba(20,20,24,.4);
  font-size: clamp(14px, 1.3vw, 16px); line-height: 1.38;
  opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.st-bubble b { display: block; font-size: 12px; color: var(--orange); font-weight: 600; margin-bottom: 1px; }
.st-bubble.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

.story-copy { position: relative; z-index: 4; width: 100%; max-width: 520px; }
.story-tabs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 6px; justify-content: center; }
.story-tabs button {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 14px/1 var(--sans); color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 12px; cursor: pointer; transition: color .3s, background-color .3s, border-color .3s;
}
.story-tabs button span { font-size: 11px; opacity: .6; font-variant-numeric: tabular-nums; }
.story-tabs button.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.scenes { position: relative; display: grid; }
.scene { grid-area: 1 / 1; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene h2 { font-size: clamp(30px, 7.6vw, 60px); }
.scene p { margin-top: 12px; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }
.scene em { color: var(--orange); }

@media (min-width: 900px) {
  .story-sticky { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; align-items: center; gap: 60px; padding-bottom: 0; }
  .story-stage { --S: min(42vw, 64vh, 560px); }
  .story-copy { justify-self: start; }
  .story-tabs { justify-content: flex-start; margin-bottom: 26px; }
  .story-tabs button { padding: 10px 16px; font-size: 15px; }
  .scene { text-align: left; }
  .scene p { margin-top: 20px; max-width: 30em; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .story-stage { --S: min(70vw, 36svh); }
  .scene h2 { font-size: clamp(26px, 7vw, 40px); }
  .scene p { font-size: 15px; }
}

/* Without JS: no pinning, show all three scenes as plain text */
html:not(.js) .story { height: auto; }
html:not(.js) .story-sticky { position: static; height: auto; }
html:not(.js) .story-stage, html:not(.js) .story-tabs { display: none; }
html:not(.js) .scene { grid-area: auto; opacity: 1; transform: none; margin-bottom: 40px; }

/* ---------- Generic sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.two-col { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 80px; }
  .two-col.rev > :first-child { order: 2; }
}
.kicker { display: block; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.copy h2 { font-size: clamp(36px, 6vw, 68px); }
.copy em, .faq em { color: var(--orange); }
.lede { margin-top: 20px; max-width: 26em; font-size: clamp(18px, 1.7vw, 22px); color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Phone (group chat) ---------- */
.phone {
  justify-self: center; width: 100%; max-width: 370px;
  border-radius: 38px; background: var(--ink); padding: 10px;
  box-shadow: 0 40px 80px -40px rgba(20,20,24,.55), 0 0 0 1px rgba(20,20,24,.06);
}
.ph-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; color: var(--cream); }
.ph-back { font-size: 26px; line-height: 1; opacity: .7; margin-top: -3px; }
.ph-av { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-2); font-size: 19px; }
.ph-title { display: grid; line-height: 1.2; }
.ph-title b { font-weight: 600; font-size: 16px; }
.ph-title small { font-size: 12px; opacity: .6; }
.ph-body {
  display: flex; flex-direction: column; gap: 6px;
  min-height: 430px; padding: 18px 12px 16px; border-radius: 28px;
  background: var(--sand) radial-gradient(circle at 20% 10%, rgba(255,255,255,.55), transparent 60%);
  justify-content: flex-end;
}
.msg {
  align-self: flex-start; max-width: 82%;
  padding: 7px 12px 8px; border-radius: 4px 16px 16px 16px;
  background: var(--white); font-size: 15px; line-height: 1.35;
  box-shadow: 0 1px 0 rgba(20,20,24,.06);
}
.msg b { display: block; font-size: 12px; font-weight: 600; margin-bottom: 1px; }
.msg[data-who="papa"] b { color: #2D6A4F; }
.msg[data-who="ma"] b { color: #9C3D8F; }
.msg[data-who="beside"] { background: var(--ink); color: var(--cream); }
.msg[data-who="beside"] b { color: var(--orange); }
.msg[data-cont] { border-radius: 16px; margin-top: -2px; }
.msg-you { align-self: flex-end; border-radius: 16px 4px 16px 16px; background: var(--orange-soft); }
.msg-typing { display: none; gap: 4px; padding: 12px 14px; background: var(--ink); }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); opacity: .5; animation: dot 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-3px); opacity: 1; } }
.js .phone .msg { opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .35s var(--ease), transform .45s var(--spring); }
.js .phone .msg.is-in { opacity: 1; transform: none; }
.js .phone .msg-typing.is-in { display: inline-flex; }
.js .phone .msg-typing.is-out { display: none; }
.msg-you { transform-origin: 100% 100%; }

/* ---------- Reminders: a day timeline ---------- */
.reminders { background: var(--sand); }
.quote { font-size: clamp(32px, 5.4vw, 64px); max-width: 15em; margin: 0 auto; letter-spacing: -.04em; }
.day { margin: 72px auto 0; max-width: 960px; }
.day-track { position: relative; height: 14px; border-radius: 99px; background: var(--sand-2); margin: 0 10px; }
.day-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: 99px; background: var(--ink); }
.day-orb { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--orange); box-shadow: 0 8px 20px -8px rgba(255,90,31,.7); }
.day-mark { position: absolute; top: 50%; left: calc(var(--at) * 100%); }
.day-mark i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--ink); transition: background-color .3s, transform .4s var(--spring); }
.day-mark small { position: absolute; top: 18px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.day-mark.is-hit i { background: var(--orange); transform: scale(1.3); }
.day-cards { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; min-height: 150px; }
.day-card {
  grid-area: 1 / 1; align-self: start;
  width: max-content; max-width: 100%;
  padding: 12px 18px; border-radius: 18px 18px 18px 6px; background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(20,20,24,.4);
  font-size: 17px; line-height: 1.35;
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.day-card b { display: block; font-size: 12px; font-weight: 600; color: var(--orange); margin-bottom: 2px; }
.day-card.is-on { opacity: 1; transform: none; }
.day-card-you { background: var(--ink); color: var(--cream); margin-top: 74px; border-radius: 18px 18px 6px 18px; }
html:not(.js) .day-card { opacity: 1; transform: none; grid-area: auto; }

/* ---------- Language ---------- */
.lang-demo { justify-self: center; width: 100%; max-width: 460px; display: grid; gap: 20px; justify-items: center; }
.lang-tabs { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 99px; background: var(--sand); }
.lang-tabs button {
  position: relative; z-index: 1;
  min-width: 96px; height: 44px; padding: 0 16px;
  border: 0; background: transparent; border-radius: 99px; cursor: pointer;
  font: 500 15px/1 var(--sans); color: var(--muted); transition: color .3s;
}
.lang-tabs button[lang="hi"] { font-family: var(--deva); font-size: 15.5px; }
.lang-tabs button[aria-selected="true"] { color: var(--cream); }
.lang-orb { position: absolute; z-index: 0; left: 5px; top: 5px; height: 44px; width: calc((100% - 10px) / 3); border-radius: 99px; background: var(--ink); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .55s var(--spring); }
.lang-orb::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--orange); }
.lang-bubbles { display: grid; width: 100%; min-height: 140px; align-items: start; }
.lang-bubble {
  grid-area: 1 / 1; justify-self: center;
  padding: 18px 22px; border-radius: 26px 26px 26px 8px; background: var(--ink); color: var(--cream);
  font-size: clamp(19px, 2vw, 23px); line-height: 1.35; letter-spacing: -.01em;
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease), transform .5s var(--spring);
}
.lang-bubble[lang="hi"] { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.55; }
.lang-bubble.is-on { opacity: 1; transform: none; }
.voice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 99px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.voice-play { width: 0; height: 0; border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.voice-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.voice-wave i { width: 3px; border-radius: 3px; background: var(--ink); height: 30%; opacity: .75; }
.voice-wave i:nth-child(3n) { height: 70%; } .voice-wave i:nth-child(4n+1) { height: 45%; } .voice-wave i:nth-child(5n+2) { height: 95%; } .voice-wave i:nth-child(7n) { height: 55%; }
.voice-wave i:nth-child(-n+8) { background: var(--orange); opacity: 1; }
.voice-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lang.is-in .voice-wave i { animation: wave 1.6s var(--ease) infinite; }
.voice-wave i:nth-child(2n) { animation-delay: .2s !important; } .voice-wave i:nth-child(3n) { animation-delay: .4s !important; }
@keyframes wave { 50% { transform: scaleY(.55); } }

/* ---------- Never (ink) ---------- */
.never { background: var(--ink); color: var(--cream); overflow: hidden; }
.never .wrap { position: relative; }
.never-title { font-size: clamp(40px, 8vw, 104px); letter-spacing: -.05em; line-height: .98; max-width: 11em; }
.never-title s { position: relative; text-decoration: none; white-space: nowrap; color: var(--cream); }
.never-title s::after { content: ""; position: absolute; left: -4%; right: -4%; top: 54%; height: .1em; border-radius: 99px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.never-title.is-in s::after { transform: scaleX(1); }
.never-title.is-in s:nth-of-type(1)::after { transition-delay: .5s; }
.never-title.is-in s:nth-of-type(2)::after { transition-delay: .8s; }
.never-title.is-in s:nth-of-type(3)::after { transition-delay: 1.1s; }
html:not(.js) .never-title s::after { transform: scaleX(1); }
.never-sub { margin-top: 30px; max-width: 30em; font-size: clamp(17px, 1.6vw, 21px); color: rgba(251,246,238,.7); }

/* ---------- Own (1:1) ---------- */
.family { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 56px; }
.fm { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 16px; border-radius: 99px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 14px 30px -20px rgba(20,20,24,.4); font-size: 17px; font-weight: 500; }
.fm i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .6s var(--spring); }
.family.is-in .fm i { transform: none; }
.family.is-in .fm:nth-child(2) i { transition-delay: .15s; }
.family.is-in .fm:nth-child(3) i { transition-delay: .3s; }
.family.is-in .fm:nth-child(4) i { transition-delay: .45s; }
html:not(.js) .fm i { transform: none; }

/* ---------- Setup ----------
   One orange fill slides between the number badges (transform only). Layers inside .steps:
   line (-1) < badge discs (auto) < fill (2) < numbers (3), so a number is never covered. */
.setup { padding-top: 0; }
.steps { position: relative; z-index: 0; max-width: 980px; margin: 64px auto 0; }
.steps-list { list-style: none; margin: 0; padding: 0 0 0 52px; display: grid; gap: 44px; }
.step { position: relative; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 17px; }
.step-n { position: absolute; left: -52px; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); font-size: 14px; font-weight: 600; }
.step-n > span { position: relative; z-index: 3; color: var(--ink); transition: color .15s; }
.step.is-on .step-n > span { color: var(--cream); transition: color .2s .28s; }
.steps-line { display: none; position: absolute; z-index: -1; left: 0; top: 0; width: 2px; height: 2px; border-radius: 2px; background: var(--sand-2); }
.steps-fill { display: none; position: absolute; z-index: 2; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); box-shadow: 0 8px 18px -8px rgba(255,90,31,.7); transition: transform .55s var(--ease); will-change: transform; }
.js .steps-line, .js .steps-fill { display: block; }
@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); padding: 60px 0 0; gap: 40px; }
  .step-n { left: 0; top: -60px; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }
.faq h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 36px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, var(--sand); transition: background-color .3s, transform .4s var(--spring); }
.qa summary::before { content: ""; position: absolute; right: 16px; top: 50%; width: 2px; height: 10px; margin-top: -5px; border-radius: 2px; background: var(--ink); z-index: 1; transition: transform .4s var(--spring), opacity .3s; }
.qa details[open] summary::after { background-color: var(--orange); transform: scale(1.1); }
.qa details[open] summary::before { transform: rotate(90deg); opacity: 0; }
.qa p { padding: 0 48px 24px 0; color: var(--muted); font-size: 17px; max-width: 40em; }

/* ---------- Finale ---------- */
.finale { position: relative; height: 260vh; }
.finale-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-content: center; justify-items: center; gap: 0; padding: var(--nav-h) var(--gutter) 24px; overflow: hidden; text-align: center; }
.finale-caption { position: relative; height: 1.4em; font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin-bottom: 28px; width: 100%; }
.finale-caption span { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.finale-caption span.is-on { opacity: 1; transform: none; }
.lockup { width: min(84vw, 760px); height: auto; overflow: visible; color: var(--ink); }
.lk-orb { transform-box: fill-box; transform-origin: center; will-change: transform; }
.lk-wm path { stroke-dasharray: 1 1; }
.lk-dot { transform-box: fill-box; transform-origin: center; }
.finale-end { display: grid; justify-items: center; gap: 22px; margin-top: clamp(36px, 6vh, 64px); opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); visibility: hidden; }
.finale-end.is-on { opacity: 1; transform: none; visibility: visible; }
.finale-end h2 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -.045em; }
.finale-note { font-size: 15px; color: var(--muted); max-width: 34em; }
html:not(.js) .finale { height: auto; }
html:not(.js) .finale-sticky { position: static; height: auto; padding: 120px var(--gutter); }
html:not(.js) .finale-end { opacity: 1; transform: none; visibility: visible; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 14px; justify-items: start; }
.foot p { color: var(--muted); font-size: 15px; }
.foot-top { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-small { font-size: 13px !important; opacity: .8; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .steps-fill { transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .scene, .day-card, .lang-bubble, .finale-end, .finale-caption span, .hero-bubble { transition-property: opacity !important; transform: none !important; }
  .st-bubble { transform: translate(-50%, 0) !important; transition-property: opacity !important; }
  .ticker-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); }
  .ticker-row .tk[aria-hidden] { display: none; }
  .ticker { mask-image: none; -webkit-mask-image: none; }
  .st-rain i { animation: none; transform: translateY(calc(var(--x) * 4% + 200%)); }
  .fm i, .lang-orb, .never-title s::after { transition: none !important; }
  .live-dot { animation: none; }
}
