/* Meet Lottie — meetlottie.com. The film, told by scrolling.
   Worlds, Lottie and the purple companion come from the film's v2 art (assets/film). Widget / Live Activity /
   Dynamic Island mockup colors come from the app's tokens (LAColors, DynamicIslandTokens, DesignTokens). */

@font-face { font-family: "Titan One"; src: url("assets/fonts/TitanOne-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --cream: #fbf6ee;
  --cream-2: #fffaf2;
  --line: #eadfce;
  --plum: #4a2340;
  --plum-2: #7a5470;
  --coral: #d94a5c;
  --coral-soft: #f7c9c2;
  --shadow: 0 30px 70px rgba(74, 35, 64, .16), 0 10px 22px rgba(74, 35, 64, .1);
  /* app tokens (mockups) */
  --focus: #8c5cf6; --focus-2: #7048e8; --focus-halo: #a58cfa;
  --gold: #ffb347; --gold-2: #ffa726;
  --progress: #7dd3c0; --progress-2: #4ecdc4;

  --display: "Titan One", "Nunito", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;
  --ios: ui-rounded, -apple-system, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bar: 2.206s;               /* one bar of the film's music: Lottie breathes on it */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--plum); font: 600 clamp(17px, .5vw + 14px, 20px)/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul { padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: var(--cream); padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

/* ── type ── */
.wordmark { font: 400 clamp(64px, 8.4vw, 132px)/.95 var(--display); letter-spacing: -.01em; color: var(--plum); }
.wordmark em { font-style: normal; color: var(--coral); }
.hero .wordmark em { display: block; } /* always two lines, so the display-font swap never reflows the hero */
.lede { font: 700 clamp(21px, 1.4vw + 12px, 30px)/1.3 var(--body); color: var(--plum); text-wrap: balance; }
.line { font: 800 clamp(30px, 2.6vw + 12px, 54px)/1.08 var(--body); letter-spacing: -.012em; color: var(--plum); text-wrap: balance; }
.line em { font-style: normal; color: var(--coral); }
.sub { margin-top: 18px; font: 700 clamp(18px, .6vw + 14px, 22px)/1.45 var(--body); color: var(--plum-2); max-width: 32ch; text-wrap: pretty; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }

/* ── App Store badge ── */
.badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .25s var(--ease); }
.badge img { height: 56px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.badge--sm img { height: 38px; }

/* ── nav: floating pill ── */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 980px);
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(255, 250, 242, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 8px 30px rgba(74, 35, 64, .12), inset 0 0 0 1px rgba(255, 255, 255, .7); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); color: var(--plum); margin-right: auto; }
.nav__brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { text-decoration: none; font: 800 15px/1 var(--body); padding: 11px 14px; border-radius: 999px; color: var(--plum-2); transition: background .2s, color .2s; }
.nav__links a:hover { background: rgba(74, 35, 64, .07); color: var(--plum); }
@media (max-width: 760px) { .nav__links { display: none; } .nav__brand { font-size: 19px; } }

/* ── a world window: rounded illustrated stage holding a plate, a phone and characters ── */
.window { position: relative; overflow: hidden; border-radius: clamp(26px, 3vw, 44px); container-type: size; background: #cfe6e3;
  box-shadow: var(--shadow); isolation: isolate; }
.window > *, picture > img { position: absolute; }
.window > picture, .finale__stage > picture { inset: 0; }
.world { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); z-index: 0; }
.world--soft { filter: blur(3px) saturate(1.05); transform: scale(1.06); }
.world[data-hidden] { opacity: 0; }
.el { left: var(--x); top: var(--y); }
@container (aspect-ratio < 1) {
  .el { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .world { object-position: var(--mop, var(--op, 50% 50%)); }
}

/* phone: CSS iPhone 17 Pro frame (same geometry as the film); --ph = screen height */
.phone { --ph: var(--pd, 84cqh); z-index: 3; width: calc(var(--ph) * .5044); height: calc(var(--ph) * 1.044); transform: translate(-50%, -50%); }
@container (aspect-ratio < 1) { .phone { --ph: var(--mph, var(--pd, 70cqh)); } }
.phone__body { position: absolute; inset: 0; box-sizing: border-box; padding: calc(var(--ph) * .022); border-radius: calc(var(--ph) * .078);
  background: linear-gradient(135deg, #8d8a86 0%, #5b5956 18%, #3a3937 50%, #5b5956 82%, #8d8a86 100%);
  box-shadow: 0 30px 60px rgba(40, 20, 40, .32), 0 8px 18px rgba(40, 20, 40, .22), inset 0 0 0 2px rgba(255, 255, 255, .25);
  rotate: var(--tilt, 0deg); }
.phone__glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--ph) * .0635); background: #000; box-shadow: 0 0 0 5px #0b0b0c; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
.scr.is-on { opacity: 1; }

/* character: pop (moves/squash) > flip (mirror) > breath (bar-synced) > body + head (masked duplicate that sways) */
.char { z-index: 4; height: var(--h); aspect-ratio: var(--ar); transform: translate(-50%, -100%); pointer-events: none; }
@container (aspect-ratio < 1) { .char { height: var(--mh, var(--h)); } }
.char--behind { z-index: 2; }
.char__shadow { position: absolute; left: 14%; width: 72%; bottom: -2.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 45, 70, .3), rgba(30, 45, 70, 0)); }
.char--float .char__shadow { display: none; }
.char__pop, .char__flip, .char__breath, .char__head { position: absolute; inset: 0; transform-origin: 50% 100%; }
.char--flip .char__flip { transform: scaleX(-1); }
.char__breath { animation: breath var(--bar) ease-in-out infinite alternate; }
.char img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 10px 12px rgba(40, 20, 40, .16)); }
.char__body { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 48%, #000 54%); mask-image: linear-gradient(to bottom, transparent 0, transparent 48%, #000 54%); }
.char__head { transform-origin: 50% 54%; animation: sway var(--bar) ease-in-out .35s infinite alternate; rotate: var(--tilt, 0deg); }
.char__head img { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 54%, transparent 60%); mask-image: linear-gradient(to bottom, #000 0, #000 54%, transparent 60%); }
.char--nosway .char__head { animation: none; }
.lid { position: absolute; box-sizing: border-box; border-radius: 50% 50% 46% 46%; border-bottom: 2px solid #7a2e28; transform-origin: 50% 0; transform: scaleY(0); transition: transform 70ms ease-in; }
.char.is-blink .lid { transform: scaleY(1); }
.char[data-off] { opacity: 0; }
@keyframes breath { from { transform: scale(1, 1); } to { transform: scale(.993, 1.022); } }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }

/* props, occluders, foreground, fireflies, bubbles */
.prop { z-index: 5; height: var(--h); aspect-ratio: var(--ar); transform: translate(-50%, -100%); }
@container (aspect-ratio < 1) { .prop { height: var(--mh, var(--h)); } }
.prop img { width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(40, 20, 40, .18)); }
.occ { z-index: 3; left: -4%; width: 108%; max-width: none; height: auto; bottom: var(--b, -8%); pointer-events: none; }
@container (aspect-ratio < 1) { .occ { bottom: var(--mb, var(--b, -8%)); } }
.fg { z-index: 6; height: var(--h); width: auto; filter: blur(5px); pointer-events: none; }
.ff { position: absolute; z-index: 5; translate: -50% -50%; width: var(--s, 22px); height: var(--s, 22px); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fffbe6 0%, #ffe9a8 22%, rgba(255, 214, 120, .6) 42%, rgba(255, 200, 120, 0) 72%);
  box-shadow: 0 0 18px 6px rgba(255, 220, 140, .35); }
.ff--palm { left: 76.3%; top: 47%; --s: 26px; }
[data-fireflies] { inset: 0; z-index: 5; pointer-events: none; }
.bub { z-index: 5; width: var(--s, 18px); height: var(--s, 18px); border-radius: 50%; opacity: 0; border: 2px solid rgba(255, 255, 255, .75);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .85) 0 14%, rgba(255, 255, 255, .08) 16% 100%); }
.glow { inset: 0; z-index: 7; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 38%, rgba(255, 253, 246, .95), rgba(255, 244, 230, .75) 55%, rgba(255, 231, 212, .6)); }

/* ── sections: shared rhythm ── */
.section { position: relative; padding: clamp(80px, 12vh, 150px) var(--gutter); }
.split { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--flip .split__copy { order: 2; }
.split .window { height: min(76vh, 720px); min-height: 460px; }
.split .hero__window { height: min(78vh, 740px); }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__copy { order: 0; }
  .split .window { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .split .hero__window { aspect-ratio: 10 / 11; }
}

/* ── hero ── */
.hero { padding-top: clamp(110px, 16vh, 170px); padding-bottom: clamp(60px, 9vh, 110px); }
.hero .split__copy { display: grid; gap: 22px; justify-items: start; }
.hero .lede { max-width: 17ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 800 14px/1 var(--body); color: var(--plum-2); padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) {
  .hero { padding-top: 90px; }
  .hero .split__copy { gap: 14px; }
  .hero .lede { max-width: 24ch; }
}
.task { z-index: 5; width: 46cqw; transform: translate(-50%, -50%); }
.task__inner { transform-origin: 50% 50%; }
.task__due { display: inline-flex; align-items: center; gap: .45em; position: relative; margin-left: 4%; padding: .5em .9em .55em; border-radius: .7em .7em 0 0;
  background: var(--plum); color: #fff; font: 800 clamp(12px, 2.3cqw, 20px)/1 var(--body); }
.task__due .strike { position: absolute; left: 12%; right: 12%; top: 52%; height: 2px; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.task__card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 3%; padding: 5.5% 6%; border-radius: 1.1em;
  background: var(--cream-2); border: 2px solid #f0a557; box-shadow: 0 18px 40px rgba(74, 35, 64, .18); font-size: clamp(12px, 2.6cqw, 22px); }
.task__check { width: 1.35em; height: 1.35em; border-radius: 50%; border: 2px solid #c9bfd0; }
.task__emoji { font-size: 1.4em; line-height: 1; }
.task__card b { display: block; font: 800 1.2em/1.15 var(--body); color: #2a1628; white-space: nowrap; }
.task__card small { display: block; margin-top: .25em; font: 800 .85em/1 var(--body); color: #98500c; }
@container (aspect-ratio < 1) {
  .task { width: 66cqw; }
  .task__due { font-size: 3.2cqw; }
  .task__card { font-size: 3.1cqw; }
}
.task.is-overdue .task__due { background: #c8324a; }
.task.is-overdue small { color: #c8324a; }
.task.is-today .task__due { background: #2e9d6a; }
.cap { z-index: 8; left: 50%; top: 5.5%; transform: translateX(-50%); width: max-content; max-width: 88%; text-align: center; padding: .7em 1.2em; border-radius: 999px;
  background: rgba(255, 250, 242, .92); box-shadow: 0 8px 24px rgba(74, 35, 64, .14); font: 800 clamp(13px, 2.1cqw, 19px)/1.25 var(--body); color: var(--plum); opacity: 0; }

/* ── your day: pinned chapters ── */
.day { padding: 0 var(--gutter); }
.day__pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.day .split { width: 100%; }
.day .window { height: min(80vh, 760px); }
.chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.chapters button { appearance: none; border: 0; cursor: pointer; font: 800 14px/1 var(--body); padding: 11px 14px; border-radius: 999px; color: var(--plum-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.chapters button[aria-current="step"] { background: var(--plum); color: #fff; box-shadow: none; }
.chapter-copy { position: relative; min-height: 15em; }
.chapter { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.chapter.is-on { opacity: 1; transform: none; pointer-events: auto; }
.surfaces { margin-top: 22px; display: grid; gap: 6px; max-width: 30ch; }
.surfaces button { appearance: none; border: 0; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--plum-2); padding: 10px 14px; border-radius: 16px; transition: background .3s, color .3s; }
.surfaces button strong { display: block; font: 800 18px/1.2 var(--body); color: inherit; }
.surfaces button span { display: block; font: 600 15px/1.35 var(--body); }
.surfaces button[aria-current="true"] { background: #fff; color: var(--plum); box-shadow: 0 8px 22px rgba(74, 35, 64, .08); }
@media (max-width: 860px) {
  .day__pin { align-items: flex-start; padding-top: 84px; }
  .day .split { gap: 16px; }
  .day .window { height: auto; aspect-ratio: 4 / 5; max-height: 58svh; width: 100%; }
  .chapters { margin-bottom: 14px; }
  .chapter-copy { min-height: 7.2em; }
  .day .line { font-size: clamp(24px, 6.4vw, 32px); }
  .day .sub { margin-top: 8px; font-size: 16px; }
  .surfaces { display: none; }
  .chapters { gap: 5px; }
  .chapters button { font-size: 13px; padding: 10px 11px; }
}

/* ── dynamic island / lock screen / home screen mockups (from the app's widget code), drawn at 390x844 and scaled ── */
.mock { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--ms, 1)); transform-origin: 0 0; font-family: var(--ios); color: #fff; background: #0c1116; opacity: 0; transition: opacity .35s var(--ease); }
.mock.is-on { opacity: 1; }
.mock__wall { position: absolute; inset: 0; transition: opacity .6s var(--ease); background:
  radial-gradient(ellipse 120% 70% at 20% 10%, #3fb3a7 0%, rgba(63, 179, 167, 0) 60%),
  radial-gradient(ellipse 110% 80% at 90% 90%, #ff9f8f 0%, rgba(255, 159, 143, 0) 55%),
  linear-gradient(170deg, #1d6e70 0%, #0f4a55 45%, #3a3f6b 100%); }
.mock .scene { position: absolute; inset: 0; }
.mock .scene[hidden] { display: none; }
.mock .scene:not([hidden]) { animation: scene-in .45s var(--ease) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(10px); } }
.sbar { position: absolute; top: 16px; left: 34px; right: 30px; display: flex; justify-content: space-between; font: 700 17px/1 var(--ios); z-index: 3; }
.sbar__icons { display: flex; gap: 6px; align-items: center; }
.sbar__icons i { width: 17px; height: 11px; border-radius: 2px; background: currentColor; opacity: .9; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sbar__icons b { width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; }
.sbar__icons b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 2px; }
.di { position: absolute; top: 11px; left: 50%; z-index: 5; width: 126px; height: 37px; margin-left: -63px; border-radius: 19px; background: #000; overflow: hidden; transition: width .55s var(--ease), height .55s var(--ease), margin-left .55s var(--ease), border-radius .55s var(--ease), opacity .3s; }
.di__compact, .di__expanded { position: absolute; inset: 0; transition: opacity .3s; }
.di__compact { display: flex; align-items: center; justify-content: space-between; padding: 0 5px; }
.di__expanded { opacity: 0; padding: 12px 18px 16px; }
.di.is-open { width: 364px; height: 186px; margin-left: -182px; border-radius: 44px; }
.di.is-open .di__compact { opacity: 0; }
.di.is-open .di__expanded { opacity: 1; transition-delay: .2s; }
.mock:not([data-scene="island"]) .di { opacity: 0; }
.di__row { display: flex; justify-content: space-between; align-items: center; }
.di__task { text-align: center; font: 700 16px/1.2 var(--ios); margin-top: 2px; }
.di__context { text-align: center; font: 600 12.5px/1.2 var(--ios); color: var(--focus-halo); margin-top: 4px; }
.di__ctas { display: flex; gap: 8px; margin-top: 12px; }
.di__ctas .pill { flex: 1; }
.halo { --c1: var(--focus-halo); --c2: var(--focus); position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(165, 140, 250, .35) 0%, rgba(140, 92, 246, 0) 70%); }
.halo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(var(--c1), var(--c2), var(--c1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.halo img { width: 70%; height: auto; image-rendering: pixelated; position: relative; }
.halo--lg { width: 44px; height: 44px; }
.halo--la { width: 56px; height: 56px; }
.ring { --p: .5; --c: var(--focus); --track: rgba(255, 255, 255, .18); position: relative; display: grid; place-items: center; border-radius: 50%; }
.ring > * { position: absolute; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1turn), var(--track) 0); -webkit-mask: radial-gradient(circle, transparent calc(50% - var(--w, 3px)), #000 calc(50% - var(--w, 3px) + .5px)); mask: radial-gradient(circle, transparent calc(50% - var(--w, 3px)), #000 calc(50% - var(--w, 3px) + .5px)); }
.ring--sm { width: 26px; height: 26px; --w: 2.5px; }
.ring--sm b { font: 700 7.5px/1 var(--ios); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ring--lg { width: 44px; height: 44px; }
.ring--lg b { font: 700 11px/1 var(--ios); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 12px; font: 700 13.5px/1 var(--ios); white-space: nowrap; }
.pill--ghost { background: rgba(140, 92, 246, .15); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.pill--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3b2300; }
.pill--purple { background: linear-gradient(135deg, var(--focus), var(--focus-2)); color: #fff; }
.pill--glass { background: rgba(255, 255, 255, .55); color: #3b2f63; border: 1px solid rgba(255, 255, 255, .7); }
.pill--xs { height: 26px; padding: 0 10px; font-size: 11.5px; border-radius: 9px; }
.lock { position: absolute; inset: 0; padding: 72px 18px 0; text-align: center; }
.lock__inline { font: 600 15px/1 var(--ios); opacity: .85; }
.lock__date { font: 600 20px/1 var(--ios); margin-top: 8px; opacity: .92; }
.lock__time { font: 700 104px/1 var(--ios); letter-spacing: -.02em; margin-top: 2px; }
.lock__widgets { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.lw-circ { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.ring--lock { width: 52px; height: 52px; --c: #fff; --track: rgba(255, 255, 255, .25); --w: 4px; }
.ring--lock img, .ring--energy img { width: 60%; image-rendering: pixelated; }
.lw-rect { height: 64px; width: 158px; border-radius: 18px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; gap: 8px; padding: 0 10px; text-align: left; }
.lw-rect img { width: 26px; image-rendering: pixelated; }
.lw-rect > span { display: grid; font: 600 12px/1.25 var(--ios); }
.lw-rect b { font-weight: 700; font-size: 12.5px; }
.lw-rect em { font-style: normal; opacity: .8; }
.la { position: absolute; left: 12px; right: 12px; bottom: 34px; padding: 16px; border-radius: 24px; background: linear-gradient(160deg, rgba(38, 42, 64, .95), rgba(16, 18, 30, .95)); border: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.la__hero { display: flex; align-items: center; gap: 12px; }
.la__text { flex: 1; display: grid; gap: 3px; }
.la__text b { font: 700 15px/1.2 var(--ios); color: rgba(255, 255, 255, .95); }
.la__text span { font: 500 12.5px/1.2 var(--ios); color: rgba(255, 255, 255, .7); }
.la__timer { text-align: right; }
.la__timer b { display: block; font: 700 26px/1 var(--ios); font-variant-numeric: tabular-nums; }
.la__timer small { font: 600 10.5px/1 var(--ios); color: rgba(255, 255, 255, .5); text-transform: lowercase; }
.la__ctas { display: flex; gap: 8px; margin-top: 14px; }
.la__ctas .pill { flex: 1; height: 38px; }
.home { position: absolute; inset: 0; padding: 66px 22px 0; display: grid; gap: 18px; align-content: start; }
.home--icons { padding-top: 72px; gap: 30px; }
.w-med, .w-small { border-radius: 24px; background: linear-gradient(145deg, rgba(248, 245, 255, .97), rgba(236, 232, 252, .95)); color: #22203a; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.w-med { height: 170px; padding: 12px; display: grid; gap: 8px; }
.w-med__head { display: flex; align-items: center; gap: 10px; }
.w-med__head img { width: 40px; image-rendering: pixelated; }
.w-med__head > span:nth-child(2) { flex: 1; display: grid; gap: 1px; }
.w-med__head b { font: 700 15px/1.2 var(--ios); }
.w-med__head small { font: 500 11.5px/1.2 var(--ios); color: #6a6680; }
.ring--count { width: 32px; height: 32px; --w: 3px; --track: rgba(140, 92, 246, .15); }
.ring--count b { font: 700 9.5px/1 var(--ios); color: #4b3d8a; }
.w-task { position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 14px; border-radius: 12px; background: rgba(255, 255, 255, .8); }
.w-task i { position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: #c9a2f5; }
.w-task__check { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #b9b3cf; flex: none; }
.w-task > span:nth-of-type(2) { flex: 1; display: grid; }
.w-task b { font: 600 13.5px/1.2 var(--ios); }
.w-task small { font: 500 10.5px/1.2 var(--ios); color: #7a7690; }
.w-task em { font: 800 9px/1 var(--ios); font-style: normal; letter-spacing: .06em; color: var(--focus-2); background: rgba(140, 92, 246, .12); padding: 4px 7px; border-radius: 99px; }
.w-ctas { display: flex; gap: 8px; }
.w-ctas .pill { flex: 1; height: 30px; font-size: 12.5px; border-radius: 10px; }
.home__row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.w-small { height: 170px; display: grid; justify-items: center; align-content: center; gap: 7px; padding: 12px; }
.ring--energy { width: 70px; height: 70px; --w: 5px; --c: var(--progress-2); --track: rgba(80, 70, 120, .12); }
.w-small b { font: 700 12.5px/1 var(--ios); }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 0; justify-items: center; align-content: space-between; }
.apps i, .dock i { width: 62px; height: 62px; border-radius: 15px; background: rgba(255, 255, 255, .22); }
.apps--row { grid-template-columns: repeat(4, 1fr); }
.dock { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 92px; border-radius: 34px; background: rgba(255, 255, 255, .18); display: flex; justify-content: space-around; align-items: center; }

/* ── promises ── */
.promises { max-width: 1180px; margin: 0 auto; text-align: center; }
.promises .kicker { margin-bottom: 30px; }
.promises ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.promises li { display: grid; justify-items: center; gap: 16px; padding: 30px 22px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.promises li img { width: 56px; height: 56px; image-rendering: pixelated; }
.promises li b { display: block; font: 800 clamp(20px, 1vw + 14px, 25px)/1.2 var(--body); color: var(--plum); text-wrap: balance; }
.promises li span { font: 600 16px/1.45 var(--body); color: var(--plum-2); text-wrap: pretty; }
@media (max-width: 860px) {
  .promises ul { grid-template-columns: 1fr; }
  .promises li { grid-template-columns: 48px 1fr; justify-items: start; text-align: left; gap: 4px 16px; padding: 20px; }
  .promises li img { grid-row: span 2; width: 48px; height: 48px; }
}

/* ── finale: full-bleed end shot ── */
.finale { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; container-type: size; }
.finale__stage { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh); transform: translate(-50%, -50%); }
.finale__stage > * { position: absolute; }
.finale__plate { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale .char { height: var(--h); }
.finale__copy { position: absolute; z-index: 9; left: 50%; top: clamp(90px, 13vh, 150px); transform: translateX(-50%); width: min(92vw, 900px); display: grid; justify-items: center; text-align: center; gap: 16px; }
.finale .wordmark { -webkit-text-stroke: clamp(8px, 1vw, 16px) #fffaf2; paint-order: stroke fill; }
.finale .lede { -webkit-text-stroke: 9px #fffaf2; paint-order: stroke fill; max-width: none; }
.finale__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.finale__mfi { font: 800 15px/1 var(--body); letter-spacing: .02em; color: var(--plum); -webkit-text-stroke: 6px #fffaf2; paint-order: stroke fill; }
.film-btn { display: none; }
.film-ready .film-btn { display: inline-flex; }
@container (aspect-ratio < 1) { .finale__copy { top: 96px; } }

/* ── footer ── */
.foot { padding: 50px var(--gutter) 40px; background: var(--cream); border-top: 1px solid var(--line); }
.foot__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot__brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot__brand b { display: block; font: 400 20px/1 var(--display); }
.foot__brand small { display: block; margin-top: 4px; font: 700 14px/1 var(--body); color: var(--plum-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 800 15px/1 var(--body); }
.foot__nav a { text-decoration: none; color: var(--plum-2); }
.foot__nav a:hover { color: var(--plum); }
.foot__fine { max-width: 1180px; margin: 26px auto 0; font: 600 13px/1.5 var(--body); color: var(--plum-2); }

/* ── legal / contact pages ── */
.page { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter) 90px; }
.page__eyebrow { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.page h1 { font: 400 clamp(40px, 5vw, 64px)/1.05 var(--display); margin-bottom: 12px; }
.page__meta { font: 700 15px/1.5 var(--body); color: var(--plum-2); }
.page h2 { font: 800 24px/1.25 var(--body); margin: 40px 0 10px; }
.page h3 { font: 800 19px/1.3 var(--body); margin: 26px 0 6px; }
.page p, .page li { font: 600 17px/1.65 var(--body); color: #4e3448; margin-top: 12px; }
.page ul { list-style: disc; padding-left: 1.2em; }
.page a { color: var(--coral); text-underline-offset: 3px; }
.page section { scroll-margin-top: 100px; }
.callout { margin: 28px 0 8px; padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 700 17px/1.6 var(--body); color: var(--plum); }
.page .page__toc { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.page .page__toc li { margin: 0; }
.page__toc a { display: inline-block; text-decoration: none; font: 800 14px/1 var(--body); color: var(--plum-2); padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.page__toc a:hover { color: var(--plum); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; margin-top: 30px; align-items: start; }
.contact__form { display: grid; gap: 16px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; }
.field label { font: 800 15px/1 var(--body); }
.field input, .field textarea { width: 100%; font: 600 17px/1.4 var(--body); color: var(--plum); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream-2); }
.field textarea { resize: vertical; }
.contact__form .form__note, .contact__form .form__alt { margin: 0; font: 700 15px/1.45 var(--body); color: var(--plum-2); }
.form__note.is-ok { color: #2e7d57; }
.form__note.is-err { color: #b3263e; }
.contact__side { text-align: center; }
.contact__side img { width: min(240px, 70%); height: auto; margin: 0 auto 10px; }
.contact__side h2 { margin-top: 0; }
.contact__side p { margin-top: 8px; }
@media (max-width: 760px) { .contact__grid { grid-template-columns: 1fr; } .contact__side img { width: 150px; } }
.btn { appearance: none; border: 0; cursor: pointer; justify-self: start; font: 800 16px/1 var(--body); color: #fff; background: var(--plum); padding: 16px 22px; border-radius: 999px; text-decoration: none; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

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

/* ── no JS: show every scene's end state ── */
.no-js .char[data-off], .no-js .scr[data-end] { opacity: 1; }
.no-js .chapter, .static .chapter { position: static; opacity: 1; transform: none; margin-bottom: 24px; }
.no-js .task, .no-js .cap, .static .task, .static .cap { display: none; }
/* reduced motion: the hero story lines sit above "Meet Lottie." instead of playing in the window */
.hero__story { display: grid; gap: 4px; max-width: 36ch; font: 800 16px/1.4 var(--body); color: var(--plum-2); }
.hero__story[hidden] { display: none; }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .char__breath, .char__head { animation: none !important; }
  .reveal, .chapter, .scr, .mock { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
