/* ---------- Tokens ---------- */
:root {
  --night: #0b0b10;
  --night-2: #14141b;
  --night-3: #1c1c25;
  --line-dark: rgba(255, 255, 255, 0.09);
  --on-night: #f3eee6;
  --on-night-2: #a29ea8;
  --cream: #f5efe6;
  --cream-2: #ece3d5;
  --dusk: #e9e1f0;
  --ink: #1b1a1f;
  --ink-2: #625d66;
  --ember: #ef9a5c;
  --ember-deep: #b45a22;
  --berry: #d9a5f2;
  --radius-panel: 44px;
  --wrap: 1160px;
  --gutter: 24px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
h1, h2, h3, p { margin: 0; }
strong, b { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--on-night); color: var(--ink); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* Every icon drawn from the sprite is a line drawing in the current colour. */
svg:not(.sprite) { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px; border: 0;
  background: var(--on-night); color: var(--ink);
  font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(239, 154, 92, 0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(239, 154, 92, 0.75); }
.btn--small { min-height: 32px; padding: 0 16px; font-size: 14px; box-shadow: none; position: relative; }
/* The small Get button in the bar is easier to tap than it looks. */
.btn--small::after { content: ""; position: absolute; inset: -8px -6px; }
.btn--ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); min-height: 44px; padding: 0 22px; font-size: 15px; margin-top: 28px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }

.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.cta-note { color: var(--on-night-2); font-size: 14px; line-height: 1.4; max-width: 230px; }
.cta--center { justify-content: center; flex-direction: column; gap: 14px; }
.cta--center .cta-note { max-width: none; }

/* ---------- Navigation: a floating glass bar ---------- */
.bar { position: fixed; top: 12px; left: 0; right: 0; z-index: 40; padding: 0 16px; pointer-events: none; }
.bar-in {
  pointer-events: auto;
  max-width: 900px; margin: 0 auto; height: 52px; padding: 0 10px 0 14px;
  display: flex; align-items: center; gap: 4px;
  border-radius: 18px;
  background: rgba(20, 20, 27, 0.84);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px -12px rgba(0,0,0,.5);
}
.bar-home { display: flex; align-items: center; gap: 9px; margin-right: auto; color: var(--on-night); text-decoration: none; font-weight: 600; font-size: 16px; }
.bar-home img { border-radius: 7px; }
.bar-link { color: var(--on-night-2); text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 10px; transition: color .2s; }
.bar-link:hover { color: var(--on-night); }
.bar .btn--small { margin-left: 8px; }

/* ---------- Sky: stars for the night sections ---------- */
.sky { position: relative; isolation: isolate; }
.sky::before, .sky::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 27% 62%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 41% 9%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 58% 33%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 71% 14%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 86% 48%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 93% 8%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 6% 78%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 49% 84%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.1px 1.1px at 79% 74%, rgba(255,255,255,.6), transparent 60%);
  background-size: 640px 520px;
}
.sky::after { background-size: 380px 300px; background-position: 120px 60px; opacity: .55; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .7; } }

/* ---------- Hero ---------- */
.hero {
  padding: 132px 0 96px;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(84, 190, 160, 0.16), transparent 70%),
    radial-gradient(50% 60% at 15% 0%, rgba(239, 154, 92, 0.16), transparent 70%),
    linear-gradient(180deg, #0e0f18 0%, var(--night) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.app-mark { display: flex; align-items: center; gap: 14px; font: 600 22px/1 var(--display); letter-spacing: -0.01em; }
.app-mark img { border-radius: 12px; box-shadow: 0 10px 34px rgba(239,154,92,.35); }

.live { margin-top: 40px; }
.live-label { font-size: 15px; color: var(--ember); font-weight: 600; letter-spacing: .01em; }
.live-days { display: flex; align-items: baseline; gap: 14px; margin-top: 2px; }
.live-days .num { font: 200 clamp(110px, 15vw, 200px)/.88 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.live-days .unit { font: 300 clamp(26px, 3vw, 36px)/1 var(--display); color: var(--on-night-2); }
.live-clock { font: 300 26px/1 var(--display); letter-spacing: .04em; color: var(--on-night-2); font-variant-numeric: tabular-nums; margin-top: 14px; }
.live-units { font-size: 15px; color: var(--on-night-2); margin-top: 12px; }

.hero h1 { font: 700 clamp(40px, 5.2vw, 64px)/1.02 var(--display); letter-spacing: -0.035em; margin-top: 46px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--on-night-2); margin-top: 16px; max-width: 520px; }

.hero-phone { position: relative; justify-self: center; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(36, 36, 48, 0.72); color: var(--on-night);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 14px 30px -12px rgba(0,0,0,.6);
  font-size: 15px; font-weight: 500;
  animation: bob 6s ease-in-out infinite;
}
.chip svg { width: 18px; height: 18px; color: var(--ember); }
.chip--a { top: 22%; left: -24%; }
.chip--b { top: 46%; right: -30%; animation-delay: -2s; }
.chip--c { bottom: -4%; left: -20%; animation-delay: -4s; background: rgba(239,154,92,.92); color: #2a1406; font-weight: 600; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Phones: a frame round the real screenshots ---------- */
.phone {
  position: relative; margin: 0;
  width: 320px; aspect-ratio: 1206 / 2622;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2c2c35, #121217 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.7), 0 50px 90px -30px rgba(0,0,0,.75);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #000; }
.screen img, .screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The Dynamic Island, drawn the same on every screenshot. */
.phone .screen::after { content: ""; position: absolute; top: 1.6%; left: 34.4%; width: 31.2%; height: 4.2%; border-radius: 999px; background: #000; }
.phone--gallery, .phone--together, .phone--panel, .phone--day { width: 300px; }
.phone--widget { width: 270px; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
.sec--panel { padding: 24px 16px; }
.panel { max-width: 1260px; margin: 0 auto; border-radius: var(--radius-panel); padding: 96px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); color: var(--ink); }
.panel--cream { background: var(--cream); }
.panel--dusk { background: linear-gradient(180deg, #efe6f4 0%, #f6efe7 100%); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--ember); margin-bottom: 14px; }
.eyebrow--deep { color: var(--ember-deep); }
.new { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--ember); color: #2a1406; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.new--ink { background: var(--ember-deep); color: #fff; font-size: 10.5px; padding: 2px 7px; }

.giant { font: 700 clamp(56px, 8.6vw, 116px)/.95 var(--display); letter-spacing: -0.045em; }
.giant--ink { color: var(--ink); }
.giant-soft { color: var(--ink-2); font-weight: 300; }
.giant--glow { background: linear-gradient(100deg, #f6c4ff 0%, var(--berry) 45%, #f3a8c8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 300; letter-spacing: -0.04em; padding-bottom: .08em; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.sec-copy { font-size: 20px; line-height: 1.5; color: var(--on-night-2); max-width: 520px; }
.sec-copy strong { color: var(--on-night); }
.sec-copy--ink { color: var(--ink-2); margin-top: 26px; }
.sec-copy--ink strong { color: var(--ink); }

/* ---------- Journeys: the gallery ---------- */
.gallery { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery-stage { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; }
.gallery-stage .screen img { transition: opacity .35s ease; }
.gallery-stage .screen img.is-fading { opacity: 0; }
.gallery-caption { margin-top: 26px; text-align: center; min-height: 150px; }
.gallery-name { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; }
.gallery-desc { font-size: 15px; line-height: 1.5; color: var(--on-night-2); margin-top: 8px; max-width: 340px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; padding: 0; border: 0; cursor: pointer; text-align: left;
  border-radius: 18px; overflow: hidden; background: var(--night-2); color: var(--on-night);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .25s ease, box-shadow .25s ease;
  font: inherit;
}
.tile img { width: 100%; aspect-ratio: 560 / 536; object-fit: cover; transition: transform .6s ease, filter .3s ease; filter: saturate(.92); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(8,8,12,.85)); }
.tile[data-new]::before { content: "New"; position: absolute; z-index: 1; top: 8px; right: 8px; padding: 2px 7px; border-radius: 999px; background: var(--ember); color: #2a1406; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tile:hover img { transform: scale(1.06); filter: saturate(1.05); }
.tile.is-on { box-shadow: 0 0 0 2px var(--ember), 0 16px 40px -18px rgba(239,154,92,.7); transform: translateY(-2px); }

/* ---------- Units ---------- */
.units-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
#units-big { font-variant-numeric: tabular-nums; }
.try-note { margin-top: 22px; font-size: 15px; color: var(--ember-deep); font-weight: 600; }
.units-card {
  background: #fff; border-radius: 30px; padding: 28px;
  box-shadow: 0 30px 70px -40px rgba(60, 40, 20, .45), inset 0 0 0 1px rgba(0,0,0,.04);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  font: 500 17px/1.2 var(--sans); color: var(--ink);
  background: var(--cream); border: 0; border-radius: 14px; padding: 13px 14px;
  width: 100%; min-height: 48px; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus { outline: 2px solid var(--ember); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.readout { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.07); }
.readout-head { font-size: 15px; color: var(--ink-2); }
.readout-head span:first-child { color: var(--ink); font-weight: 600; }
.readings { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.readings li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--cream); font-size: 14px; color: var(--ink-2); min-width: 0; }
.readings li svg { color: var(--ember-deep); width: 20px; height: 20px; }
.readings b { color: var(--ink); font: 600 17px/1 var(--sans); font-variant-numeric: tabular-nums; }
.readings li.is-new { animation: pop .45s ease; }
@keyframes pop { from { transform: scale(.96); background: #fbe2cd; } to { transform: none; } }

/* ---------- Together ---------- */
.together-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.step-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 17px/1 var(--display); color: var(--ember); box-shadow: inset 0 0 0 1px rgba(239,154,92,.5); }
.step h3 { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; padding-top: 6px; }
.step p { color: var(--on-night-2); margin-top: 6px; max-width: 440px; }
.together-phone { position: relative; justify-self: center; }
.bubble {
  position: absolute; padding: 11px 16px; border-radius: 20px; font-size: 15px; white-space: nowrap;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.6);
  animation: bob 7s ease-in-out infinite;
}
.bubble--in { top: 8%; left: -42%; background: #2b2b33; color: var(--on-night); border-bottom-left-radius: 6px; }
.bubble--out { top: 19%; right: -22%; background: #3a8cff; color: #fff; border-bottom-right-radius: 6px; animation-delay: -3s; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 96px; }
.mini { background: var(--night-2); border-radius: 28px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.mini-icon { width: 30px; height: 30px; color: var(--ember); }
.mini h3 { font: 600 21px/1.25 var(--display); letter-spacing: -0.015em; margin-top: 18px; }
.mini p { color: var(--on-night-2); margin-top: 8px; font-size: 16px; }
.mini--ten {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; position: relative; min-height: 250px;
  background: radial-gradient(80% 70% at 50% 100%, rgba(217,165,242,.25), transparent 70%), var(--night-3);
}
.mini--ten .ten-label { margin: 0; font-size: 14px; color: var(--on-night-2); font-weight: 600; }
.mini--ten .ten-num { color: var(--on-night); font: 200 120px/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin-top: 6px; transition: transform .25s ease, opacity .25s ease; }
.mini--ten .ten-num.is-tick { transform: scale(.9); opacity: .55; }
.mini--ten .ten-num.is-here { font-size: 64px; font-weight: 300; padding: 24px 0; background: linear-gradient(100deg, #f6c4ff, var(--berry), #f3a8c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini--ten .ten-cheers { margin: 0; position: absolute; inset: 0; pointer-events: none; }
.ten-cheers span { position: absolute; bottom: -30px; font-size: 26px; animation: rise 2.6s ease-out forwards; }
@keyframes rise { to { transform: translateY(-300px) rotate(var(--r, 10deg)); opacity: 0; } }

/* ---------- Panels split: words beside a phone ---------- */
.panel--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.split-phone { justify-self: center; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; max-width: 520px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.ticks li svg { color: var(--ember-deep); margin-top: 1px; }
.ticks b { color: var(--ink); }
.ticks--dark li { color: var(--on-night-2); }
.ticks--dark li svg { color: var(--berry); }
.ticks--dark b { color: var(--on-night); }

/* ---------- The day itself ---------- */
.sec--day { overflow: hidden; background: radial-gradient(70% 60% at 30% 60%, rgba(140, 90, 200, .22), transparent 70%), var(--night); }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.day-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.day-phone { justify-self: center; }
.day-words .sec-copy { margin-top: 26px; }

/* ---------- Widgets ---------- */
.widgets-head { text-align: center; margin-bottom: 64px; }
.widgets-head .eyebrow { justify-content: center; }
.widgets-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 48px; align-items: center; justify-items: center; }
.widget-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 360px; }
.widget-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.widget-list li svg { color: var(--ember-deep); margin-top: 2px; }
.widget-list b { color: var(--ink); font-size: 17px; }
.phone--widget { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.7), 0 40px 70px -30px rgba(60,30,80,.55); }

/* ---------- iPhone Duo, open ---------- */
.duo {
  margin: 0 auto; max-width: 1000px; aspect-ratio: 2853 / 2007; padding: 1.3%;
  border-radius: 46px; background: linear-gradient(145deg, #2c2c35, #121217 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.7), 0 60px 120px -40px rgba(0,0,0,.8);
}
.duo .screen { border-radius: 34px; }
/* The day, played out: it dips out briefly before it plays again. */
.duo-day { transition: opacity .45s ease; }
.duo-day.is-fading { opacity: 0; }

/* ---------- Memories ---------- */
.memory-cards { position: relative; height: 340px; justify-self: stretch; }
.memory { position: absolute; width: min(100%, 440px); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(40, 20, 10, .55); }
.memory--back { top: 0; left: 0; transform: rotate(-4deg); opacity: .9; }
.memory--front { bottom: 0; right: 0; transform: rotate(2.5deg); }

/* ---------- Privacy ---------- */
.trio--privacy { margin-top: 64px; }
.trio--privacy a { white-space: nowrap; }

/* ---------- The last call: lanterns rising ---------- */
.sec--last { text-align: center; overflow: hidden; padding: 160px 0 150px; background: radial-gradient(60% 60% at 50% 100%, rgba(239,154,92,.22), transparent 70%), var(--night); }
.last-in { display: flex; flex-direction: column; align-items: center; }
.last-icon { border-radius: 24px; box-shadow: 0 20px 60px rgba(239,154,92,.4); margin-bottom: 34px; }
.sec--last .sec-copy { margin-top: 18px; }
.lanterns { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lanterns i {
  position: absolute; bottom: -40px; width: 9px; height: 12px; border-radius: 3px 3px 4px 4px;
  background: radial-gradient(circle at 50% 70%, #ffd9a0, #ef9a5c 60%, #b8582a);
  box-shadow: 0 0 14px 4px rgba(255, 170, 90, .45);
  animation: float-up 18s linear infinite;
  opacity: 0;
}
.lanterns i:nth-child(1) { left: 8%; animation-delay: 0s; }
.lanterns i:nth-child(2) { left: 18%; animation-delay: -6s; transform: scale(.7); animation-duration: 22s; }
.lanterns i:nth-child(3) { left: 27%; animation-delay: -12s; }
.lanterns i:nth-child(4) { left: 36%; animation-delay: -3s; animation-duration: 24s; }
.lanterns i:nth-child(5) { left: 47%; animation-delay: -9s; }
.lanterns i:nth-child(6) { left: 55%; animation-delay: -15s; animation-duration: 21s; }
.lanterns i:nth-child(7) { left: 63%; animation-delay: -1s; }
.lanterns i:nth-child(8) { left: 72%; animation-delay: -8s; animation-duration: 25s; }
.lanterns i:nth-child(9) { left: 81%; animation-delay: -13s; }
.lanterns i:nth-child(10) { left: 90%; animation-delay: -4s; animation-duration: 20s; }
.lanterns i:nth-child(11) { left: 14%; animation-delay: -16s; animation-duration: 26s; }
.lanterns i:nth-child(12) { left: 68%; animation-delay: -10s; animation-duration: 23s; }
@keyframes float-up {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .95; }
  50% { transform: translate(18px, -45vh); }
  85% { opacity: .7; }
  100% { transform: translate(-6px, -90vh); opacity: 0; }
}

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line-dark); padding: 30px 0 40px; color: var(--on-night-2); font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-mark { display: flex; align-items: center; gap: 8px; color: var(--on-night); font-weight: 600; margin-right: auto; }
.foot-mark img { border-radius: 6px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--on-night-2); text-decoration: none; }
.foot-links a:hover { color: var(--on-night); }

/* ---------- Things that appear as you reach them ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .chip--a { left: -14%; }
  .chip--b { right: -16%; }
  .chip--c { left: -10%; }
  .bubble--in { left: -26%; }
  .bubble--out { right: -12%; }
}

@media (max-width: 899px) {
  :root { --gutter: 20px; --radius-panel: 32px; }
  .bar-link { display: none; }
  .hero { padding: 110px 0 72px; }
  .hero-grid, .sec-head, .units-grid, .together-grid, .panel--split, .day-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 64px; }
  .live { margin-top: 30px; }
  .hero h1 { margin-top: 34px; }
  .phone { width: min(64vw, 300px); border-radius: 42px; padding: 9px; }
  .screen { border-radius: 34px; }
  .chip { font-size: 14px; padding: 8px 13px; }
  .chip--a { left: -18%; top: 16%; }
  .chip--b { right: -20%; top: 50%; }
  .chip--c { left: -12%; bottom: -4%; }
  .sec { padding: 88px 0; }
  .sec--panel { padding: 12px; }
  .panel { padding: 64px var(--gutter); }
  .sec-head { gap: 22px; margin-bottom: 48px; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery-stage { position: static; }
  .gallery-caption { min-height: 0; }
  /* The tiles become a strip to swipe through. */
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 132px; scroll-snap-align: start; border-radius: 16px; }
  .together-grid { gap: 56px; }
  .together-phone { order: -1; }
  .bubble { font-size: 14px; }
  .bubble--in { left: -24%; top: 6%; }
  .bubble--out { right: -16%; top: 17%; }
  .trio { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .day-phone { order: 1; }
  .widgets-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .widget-list { grid-column: 1 / -1; grid-row: 2; max-width: 520px; }
  .phone--widget { width: min(42vw, 260px); border-radius: 32px; padding: 7px; }
  .phone--widget .screen { border-radius: 26px; }
  .duo { border-radius: 26px; }
  .duo .screen { border-radius: 19px; }
  .memory-cards { height: 270px; }
  .memory { width: 84%; border-radius: 20px; }
  .sec--last { padding: 120px 0 110px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .lede, .sec-copy { font-size: 18px; }
  .cta { gap: 12px; }
  .cta .btn { width: 100%; }
  .cta-note { max-width: none; }
  .field-row { grid-template-columns: 1fr; }
  .units-card { padding: 20px; border-radius: 24px; }
  .readings li { padding: 10px; font-size: 13px; gap: 8px; }
  .readings b { font-size: 16px; }
  .chip--c { display: none; }
  .step h3 { font-size: 21px; }
  .mini { padding: 24px; }
  .foot-links { width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lanterns i { opacity: .8; bottom: auto; }
  .lanterns i:nth-child(odd) { top: 20%; }
  .lanterns i:nth-child(even) { top: 45%; }
}
