/* Landing — shared between / (EN, BirthMinder) and /pl/ (PL, Urodzinnik).
 *
 * The page is one screen per idea, in this order: the early warning, the day
 * itself, four objections, and the close. Mobile is the primary case; the
 * tablet and desktop blocks near the bottom only stop things looking
 * undersized on a big screen.
 *
 * The opening is a TIME-based sequence that runs once on load, NOT a
 * scroll-driven one. The previous landing pinned the hero for an extra
 * viewport and crossfaded its copy as you scrolled, so a swipe produced no
 * movement and read as a broken page. Nothing here ever reads scroll
 * position: landing.js adds .seq-* classes on a clock, and the sections
 * below reveal on IntersectionObserver ("is it visible yet"), never on
 * offset. See landing.js for the exact beats.
 *
 * Fallbacks: html.no-seq (JS off, or prefers-reduced-motion) renders the
 * finished state with no motion at all. Hiding content behind an animation
 * is only safe if every path turns it back on. */

:root {
  color-scheme: dark;
  --bg: #241f3d;
  --fg: #f2f0f7;
  --muted: #a8a2b5;
  --accent: #8b5cf6;
  --stage-bg: linear-gradient(135deg, #241f3d 0%, #341f3a 45%, #16233c 100%);
  --stage-fg: #f2f0f7;
  --txt: #fff;
  --txt-body: rgba(255, 255, 255, 0.96);
  --txt-when: rgba(235, 235, 245, 0.66);

}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Fixed gradient backdrop ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--stage-bg);
}
.blob { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.blob.b1 { width: 58vmin; aspect-ratio: 1; left: -10vmin; top: 10%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }
.blob.b2 { width: 48vmin; aspect-ratio: 1; right: -12vmin; bottom: 12%; background: radial-gradient(circle at 40% 40%, rgba(236,72,153,.6), rgba(236,72,153,0) 70%); }
.blob.b3 { width: 36vmin; aspect-ratio: 1; right: 8%; top: -8vmin; background: radial-gradient(circle at 40% 40%, rgba(139,92,246,.75), rgba(139,92,246,0) 70%); }
.blob.b4 { width: 30vmin; aspect-ratio: 1; left: 12%; bottom: -8vmin; background: radial-gradient(circle at 40% 40%, rgba(56,189,248,.5), rgba(56,189,248,0) 70%); }

/* The backdrop itself settles in, so frame 0 is not a hard cut to a busy
 * gradient. Slow and low-contrast: this must not compete with the banner. */
.blob { opacity: 0; transition: opacity 1.6s ease; }
.seq-stage .blob { opacity: 1; }
.no-seq .blob { opacity: 1; transition: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* svh, not dvh: dvh grows and shrinks as the mobile browser bars slide away,
   * which resizes the section mid-scroll and makes the layout jump under the
   * thumb. svh is the smallest stable height, so the hero is laid out once for
   * the worst case and never reflows. 100vh is the fallback for browsers
   * without the newer units — it overshoots on mobile, which is why svh
   * follows it. Extra room below the fold is fine; a moving layout is not. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Bottom padding clears the scroll hint parked at the very bottom, so the
   * "free on iOS and Android" line never sits under it. */
  padding: 96px 22px 96px;
  padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 72px));
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* ---------- Header: fades in once the banner has cleared the top ---------- */
.brand {
  position: absolute;
  z-index: 3;
  top: max(22px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--stage-fg);
  white-space: nowrap;
  /* Arrives last and quietly: a slow pure fade, no movement at all, so it
   * settles into the page rather than announcing itself. */
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1.6s ease;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.seq-brand .brand { opacity: 1; }
.no-seq .brand { opacity: 1; transition: none; }
@media (min-width: 700px) {
  .brand { gap: 12px; }
  .brand img { width: 44px; height: 44px; border-radius: 10px; }
  .brand strong { font-size: 1.4rem; }
}

/* ---------- The notification -------------------------------------------
 * Arrives from off-screen top, as a banner lands on a lock screen, and then
 * holds its position for the rest of the sequence. It is the fixed point the
 * page is built around: the copy below it, then the slogan above it. */
.notif {
  position: relative;
  z-index: 2;
  width: min(400px, 100%);
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 14px 16px 15px;
  border-radius: 24px;
  isolation: isolate;
  text-align: left;
  background: rgba(22, 26, 38, 0.34);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    inset 1px 0 1px rgba(255, 255, 255, 0.14),
    inset -1px 0 1px rgba(255, 255, 255, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.22);
}
.notif::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    linear-gradient(115deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}
.notif .icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 9.5px;
  overflow: hidden;
}
.notif .icon img { width: 100%; height: 100%; object-fit: contain; padding: 4%; display: block; }
.notif .txt { flex: 1; min-width: 0; }
.notif .title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.3;
  color: var(--txt);
  padding-right: 44px;
}
.notif .body {
  font-size: 15.5px;
  line-height: 1.32;
  letter-spacing: -0.2px;
  color: var(--txt-body);
  margin-top: 1px;
}
.notif .when {
  position: absolute;
  top: 13px;
  right: 16px;
  font-size: 13px;
  color: var(--txt-when);
}

/* The banner drops in from off-screen top and then stays exactly where it
 * landed — no second move. Everything else is built around it. */
.notif {
  opacity: 0;
  transform: translateY(-150px) scale(0.94);
}
/* Spring-ish with a touch of overshoot, the way an iOS banner lands. */
.seq-notif .notif {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.42s ease,
    transform 0.72s cubic-bezier(0.2, 0.9, 0.24, 1.02);
}
.no-seq .notif { opacity: 1; transform: none; transition: none; }
/* Edge case: the Spanish banner title is the longest of the set and wrapped
 * at the shared width, unlike a real one-line lock-screen banner. */
html[lang="es"] .notif { width: min(460px, 100%); }

/* ---------- Staged reveals -------------------------------------------------
 * Each element starts hidden and lifts a little. The .seq-* class on <html>
 * is the only trigger, so the order lives in one place (landing.js). */
[data-step] { will-change: opacity, transform; }

.lead[data-step],
.badges[data-step],
.notify[data-step],
.free-note[data-step],
.checklist li[data-step] {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Each starts a touch low and lifts into place as it fades in. */
.lead[data-step],
.badges[data-step],
.notify[data-step],
.free-note[data-step] { transform: translateY(14px); }

/* The slogan is the closing beat and comes from ABOVE, into the space the
 * banner left at the top. Its layout box is reserved from the start (only
 * opacity and transform animate), so nothing below it shifts when it lands. */
h1[data-step] {
  opacity: 0;
  transform: translateY(-22px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.seq-title h1 { opacity: 1; transform: translateY(0); }
.seq-lead .lead { opacity: 1; transform: translateY(0); }
.seq-badges .badges { opacity: 1; transform: translateY(0); }
.seq-badges .notify { opacity: 1; transform: translateY(0); }
.seq-badges .free-note { opacity: 1; transform: translateY(0); }

.no-seq h1[data-step],
.no-seq .lead[data-step],
.no-seq .badges[data-step],
.no-seq .notify[data-step],
.no-seq .free-note[data-step],
.no-seq .checklist li[data-step] {
  opacity: 1;
  transform: none !important;
  transition: none;
}

/* ---------- Copy ---------- */
h1 {
  margin: 0;
  font-size: clamp(1.7rem, 6.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--stage-fg);
}
.lead {
  margin: 0;
  max-width: 32rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--stage-fg) 88%, transparent);
}
.lead strong { color: var(--stage-fg); font-weight: 600; }
@media (min-width: 700px) { .lead { font-size: 1.2rem; } }

/* ---------- Checklist: ticks arrive one at a time ---------- */
.checklist {
  list-style: none;
  width: fit-content;
  margin: -8px auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
  font-size: 1.05rem;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-weight: 700;
  /* The tick itself pops a beat after its line, so the eye catches it. */
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.2, 1.5, 0.4, 1) 0.1s, opacity 0.24s ease 0.1s;
}
.seq-check-1 li[data-step="check-1"],
.seq-check-2 li[data-step="check-2"],
.seq-check-3 li[data-step="check-3"] { opacity: 1; transform: translateX(0); }
.seq-check-1 li[data-step="check-1"]::before,
.seq-check-2 li[data-step="check-2"]::before,
.seq-check-3 li[data-step="check-3"]::before { opacity: 1; transform: scale(1); }
.no-seq .checklist li,
.no-seq .checklist li::before { opacity: 1; transform: none; transition: none; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 15px;
  border-radius: 16px;
  isolation: isolate;
  white-space: nowrap;
  text-decoration: none;
  background: rgba(10, 12, 18, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06),
    inset 1px 0 1px rgba(255, 255, 255, 0.1),
    inset -1px 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    linear-gradient(115deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}
.badge svg { display: block; }
.badge .btxt { text-align: left; }
.badge .apple-mark { height: 27px; width: 21px; fill: #fff; }
.badge .play-mark { height: 25px; width: 25px; }
.badge .bsmall {
  display: block;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}
.badge .bbig {
  display: block;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.15;
  color: #fff;
}
/* Only a live badge lifts: `is-soon` is not a link and must not invite a click. */
a.badge:hover { transform: translateY(-2px); }
a.badge:active { transform: translateY(0); }
.badge.is-soon { cursor: default; opacity: 0.55; filter: saturate(0.4); }
.badge-soon-tag {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Waitlist ---------- */
.notify { width: 100%; max-width: 26rem; }
.notify-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  isolation: isolate;
  /* The original landing's material, and it was right: a light glass pill,
   * not a heavy dark box. What made it read as disabled here was not the
   * colour but the layout — see the media query below. */
  background: rgba(10, 12, 18, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.2s ease;
}
.notify-shell:focus-within {
  box-shadow:
    inset 0 0 0 1px var(--accent),
    0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent),
    0 8px 24px rgba(0, 0, 0, 0.28);
}
.notify-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
}
.notify-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.58); }
.notify-form input[type="email"]:focus { outline: none; }
/* The one button on the page, so it gets the full liquid-glass treatment:
 * a lit violet body, a bright rim, and a highlight running across the top as
 * though light were catching a curved surface. */
.notify-form button {
  position: relative;
  flex: 0 0 auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--accent) 88%, #fff 12%) 0%,
      var(--accent) 52%,
      color-mix(in srgb, var(--accent) 82%, #000 18%) 100%);
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.22),
    0 6px 18px color-mix(in srgb, var(--accent) 45%, transparent),
    0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.16s ease, box-shadow 0.22s ease, filter 0.2s ease;
}
/* The glass sheen: brightest at the top-left, gone by the middle. */
.notify-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(130% 90% at 18% -20%, rgba(255,255,255,.42), rgba(255,255,255,0) 58%),
    linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 34%);
  mix-blend-mode: screen;
}
.notify-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(0, 0, 0, 0.22),
    0 10px 26px color-mix(in srgb, var(--accent) 58%, transparent),
    0 3px 8px rgba(0, 0, 0, 0.32);
}
.notify-form button:active { transform: translateY(0); filter: brightness(0.98); }
.notify-form button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.notify-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* The status line under the field. It reserves its own height from the start
 * so a message arriving never nudges the layout under the user's thumb. */
.notify-msg {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--stage-fg) 70%, transparent);
}
.notify-msg.is-error { color: #ff9d9d; }
/* Confirmation reads green, matching the checklist ticks. */
.notify-msg.is-ok { color: #4ade80; font-weight: 500; }
/* Stay a single pill for as long as it fits. Stacking the button under the
 * field turned the whole thing into a tall dark slab that read as one inert
 * block; side by side it stays light and obviously interactive. Only on the
 * narrowest phones does it fall back to two rows. */
@media (max-width: 359px) {
  .notify-shell { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; border-radius: 22px; }
  .notify-form input[type="email"] { padding: 11px 12px; text-align: center; }
  .notify-form button { width: 100%; }
}
/* Tighter padding on phones so the pill keeps both parts on one line. */
@media (max-width: 430px) {
  .notify-shell { padding-left: 15px; }
  .notify-form button { padding: 11px 17px; }
}

.free-note {
  margin: -10px 0 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--stage-fg) 65%, transparent);
}

/* ---------- Scroll hint: the last thing to appear ---------- */
.scroll-hint {
  position: absolute;
  /* Clear of the home indicator, and far enough down that it never overlaps
   * the "free on iOS and Android" line above it — the hero reserves matching
   * bottom padding for exactly this. */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--stage-fg) 30%, transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.scroll-hint-line {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--stage-fg) 60%, transparent);
}
.seq-hint .scroll-hint { opacity: 1; }
.seq-hint .scroll-hint-line { animation: hint 1.9s ease-in-out infinite; }
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
}
.no-seq .scroll-hint { opacity: 1; transition: none; }

/* Someone scrolled away mid-sequence: land the OPENING immediately rather
 * than leaving slow fades running behind them (landing.js). Scoped to the
 * hero on purpose — the sections below have not been seen yet, and their
 * entry reveals must still animate normally when they come into view. */
.seq-done .brand,
.seq-done .blob,
.seq-done .hero .notif,
.seq-done .hero .checklist li,
.seq-done .hero .checklist li::before,
.seq-done .hero [data-step] { transition-duration: 0.01s !important; }

/* ---------- Intro: the one paragraph that says what this is -----------------
 * Sits just under the fold, outside the choreographed hero, so it neither
 * joins the sequence nor shifts the banner. Quiet by design: it is there to
 * be read by search engines and by people who skipped the opening. */
.intro { padding: 2vh 0 0; text-align: center; }
.intro p {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--stage-fg) 72%, transparent);
}
@media (min-width: 700px) { .intro p { font-size: 1.08rem; } }

/* ---------- Viewport 2: act two --------------------------------------------
 * The payoff half of the timeline. Deliberately quiet compared to viewport 1:
 * the screenshot is the argument, so the copy around it stays out of its way.
 * Reveals are entry-triggered (landing.js), never scroll-linked — the page
 * must always move when the user swipes. */
.act-two {
  padding: 18vh 0 16vh;
  text-align: center;
}
.wrap { max-width: 34rem; margin: 0 auto; padding: 0 22px; }

.act-two .notif { margin: 0 auto; }

.act-two h2 {
  margin: 40px auto 0;
  max-width: 22ch;
  font-size: clamp(1.35rem, 5vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--stage-fg);
}

/* The proof, as real bubbles. No panel behind them: a light card would fight
 * the dark stage and re-introduce the "pasted screenshot" look. The bubbles
 * sit directly on the gradient, so they read as part of the page. */
.chat {
  margin: 34px auto 0;
  max-width: 23rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.bubble {
  margin: 0;
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.97rem;
  line-height: 1.5;
}
/* The app speaks: cool glass, same material family as the notification. */
.bubble.from-app {
  align-self: flex-start;
  border-bottom-left-radius: 7px;
  background: rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  color: color-mix(in srgb, var(--stage-fg) 92%, transparent);
}
/* The user speaks: the brand violet, so the two voices never blur together. */
.bubble.from-me {
  align-self: flex-end;
  border-bottom-right-radius: 7px;
  background: color-mix(in srgb, var(--accent) 82%, #fff 4%);
  color: #fff;
  font-weight: 500;
}
/* The wish itself carries the argument, so it gets the most presence. */
.bubble.wish {
  max-width: 100%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--stage-fg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.24);
}

/* The closing line of act two. It is the punchline, not a caption, so it
 * carries more weight than the copy it sits under. */
.proof-note {
  margin: 28px auto 0;
  max-width: 26ch;
  font-size: 1.15rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--stage-fg) 92%, transparent);
}

/* ---------- Viewports 3-6: one objection per screen ------------------------
 * The quote is the user's own voice, the visual carries the problem, and the
 * body under it answers. A full viewport each means the rebuttal can be a
 * complete thought rather than a clipped fragment. */
.objection-act {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 12vh 0;
  text-align: center;
}
.objection-act .wrap { max-width: 34rem; width: 100%; }

/* The way in to the whole objections run, so it carries real weight rather
 * than reading as a caption above the first quote. */
.obj-kicker {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 4.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--stage-fg) 72%, transparent);
}
.objection-act h2 {
  margin: 0 0 28px;
  font-size: clamp(1.4rem, 5.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--stage-fg);
}
/* Problem and answer, told apart at a glance. Previously both halves sat in
 * one grey paragraph, so "here is what is wrong" and "here is what we do"
 * read as the same sentence. The problem stays muted; the answer gets our
 * colour, a rule down its edge and the brand mark. */
.verdict {
  margin: 26px auto 0;
  max-width: 34ch;
  text-align: left;
}
.v-problem {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--stage-fg) 62%, transparent);
}
.v-answer {
  margin: 14px 0 0;
  padding: 13px 16px;
  border-radius: 13px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--stage-fg);
}
/* Emphasised fragments read as the words the app itself says, so they get
 * full white and weight against the softer sentence around them. */
.v-answer strong {
  font-weight: 600;
  color: #fff;
}
/* Plain inline text, so the name sits on the same baseline as the sentence it
 * starts. An inline-flex box here centred the name against the icon instead,
 * lifting it off the line. The icon is nudged into place on its own. */
.v-brand {
  font-weight: 600;
  color: #c4b5fd;
  white-space: nowrap;
}
/* On a white tile, like the icon on a home screen. The mark itself has a
 * transparent background, so without this it dissolves into the violet card. */
.v-brand img {
  width: 20px;
  height: 20px;
  padding: 2px;
  border-radius: 6px;
  background: #fff;
  margin-right: 6px;
  /* Optical centring against the cap height of the text beside it. */
  vertical-align: -5px;
}

/* A work calendar, drawn to be UNAPPEALING: glaring light mode, five columns
 * crammed into a phone width, blocks stacked wall to wall. It is not our
 * design language and must not be — it is the thing being argued against, and
 * the jarring white against the calm dark page does that work by itself.
 * The birthday block is identical to every meeting: same colour family, same
 * type, no highlight. That is the point being made. */
.cal {
  margin: 0 auto;
  max-width: 26rem;
  padding: 8px 7px 9px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  font-family: Roboto, Arial, -apple-system, sans-serif;
  user-select: none;
}
.cal-head,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

/* All-day events, drawn the way a calendar draws them: a narrow column down
 * the whole day. They eat into the space the day has left, and their labels,
 * rotated into a narrow channel, get clipped after a few letters. That is the
 * whole point — the dates that matter are present and unreadable. */
.ev.span,
.ev.span2 {
  top: 0;
  bottom: 0;
  left: 1px;
  right: auto;
  width: 15px;
  height: auto;
  padding: 3px 2px;
  /* Horizontal text in a 15px column: it simply does not fit, so all you get
   * is "Uro…". Rotating it would make it readable, which is the opposite of
   * the point being made. */
  line-height: 11px;
}
.ev.span2 { left: 17px; }
/* Timed events start after whatever spanning columns the day has, so the two
 * never overlap. */
.cal-day:has(.ev.span) .ev:not(.span):not(.span2) { left: 17px; }
.cal-day:has(.ev.span2) .ev:not(.span):not(.span2) { left: 33px; }

.cal-head {
  margin-bottom: 4px;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: #70757a;
}
.cal-grid { height: 208px; }
.cal-day {
  position: relative;
  border-left: 1px solid #e8eaed;
  /* Faint hour lines, like the real thing. */
  background-image: repeating-linear-gradient(
    to bottom, #f1f3f4 0 1px, transparent 1px 25%);
}
.cal-day:last-child { border-right: 1px solid #e8eaed; }

/* Event blocks. Positioned by inline --top/--h so the week looks packed and
 * irregular rather than tidy. */
.ev {
  position: absolute;
  top: var(--top);
  height: var(--h);
  left: 1px;
  right: 1px;
  padding: 2px 3px;
  border-radius: 3px;
  overflow: hidden;
  font-size: 0.5rem;
  line-height: 1.15;
  color: #fff;
  /* Cramped on purpose: the text clips, exactly as it does on a real phone. */
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ev.work { background: #4285f4; }
.ev.pers { background: #33b679; }
.ev.red { background: #d50000; }
/* Not singled out in any way — it is just another block in the pile. */
.ev.bday { background: #7986cb; }

/* ---------- Objection 2: forty dates, by hand ---------------------------
 * A number and a caption, nothing else. The phone reminder is not the flaw;
 * having to create every one of them is, and a count says that faster than
 * a mock-up of a reminders list would. */
.count { display: grid; justify-items: center; gap: 2px; margin: 0 auto; }
.count-num {
  font-size: clamp(4.6rem, 24vw, 6.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.count-cap {
  font-size: 0.98rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--stage-fg) 72%, transparent);
}

/* ---------- Objection 3: Facebook is drying up ----------------------------
 * The mark itself, struck through. No caption needed. */
.struck {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.struck-mark {
  width: 100%;
  height: 100%;
  fill: color-mix(in srgb, var(--stage-fg) 30%, transparent);
}
/* Two elements on purpose. The outer one only rotates, about the centre of
 * the logo, so the strike stays centred on the mark; the inner one only
 * scales, so it can draw itself left to right. Doing both on one element
 * meant rotating about the left end, which swung the far end up and off the
 * logo (measured: 26px high, 5px left of centre). */
.struck-line {
  position: absolute;
  left: -18%;
  right: -18%;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  transform: rotate(-24deg);
  transform-origin: center center;
}
.struck-line i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #f87171;
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
}
/* The strike draws itself once the mark is in place. */
.struck.in .struck-line i {
  transform: scaleX(1);
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.2, 1) 0.35s;
}
.no-seq .struck-line i { transform: scaleX(1); transition: none; }

/* The date types Facebook never knew about. Chips rather than a sentence: the
 * breadth is the point, and a row of names carries it in one glance. */
.kinds {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 22px auto 0;
  max-width: 34rem;
  padding: 0;
  font-size: 0.82rem;
}
.kinds li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--stage-fg) 26%, transparent);
  background: color-mix(in srgb, var(--stage-fg) 9%, transparent);
  color: color-mix(in srgb, var(--stage-fg) 90%, transparent);
  white-space: nowrap;
}
/* The trailing item is plain text: it names the rest without pretending to be
 * another selectable option. */
.kinds .more {
  padding: 5px 2px;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--stage-fg) 58%, transparent);
}

/* ---------- The closer: everyone speaks too late --------------------------
 * One time axis. The prep window on the left carries what the lead buys (the
 * hero checklist again), the day on the right what it costs. Our mark sits on
 * the slots you can pick, ghosted because they are optional; the chosen one is
 * lit. Their icons sit on the day. The two washes run behind lists and axis
 * alike, so the sides read as spans of time rather than two boxes. Same
 * design as MARKETING/creatives/timeline/timeline-card.html. */
.closer h2 { margin-bottom: 26px; }
/* The one word the whole section is about, in the same red as the day. */
.closer h2 em {
  font-style: normal;
  color: #f87171;
}
/* The split, shared by the zones, the axis and the labels under it, so the
 * "today" mark (left: 84% in the markup) always sits mid-way across the red
 * side. */
.closer { --day: 32%; }
.tl-stage {
  position: relative;
  margin: 0 auto;
  max-width: 30rem;
  isolation: isolate;
}
.timeline { position: relative; }
/* The washes belong to the stage, not the axis: they run under the labels and
 * icons too, so the competitor marks sit inside the red rather than beside
 * it. Gradients fade towards the bottom, the way the social card does. */
.tl-stage::before,
.tl-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.tl-stage::before {
  left: 0;
  right: var(--day);
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg,
    color-mix(in srgb, #4ade80 26%, transparent) 0%,
    color-mix(in srgb, #4ade80 12%, transparent) 55%,
    color-mix(in srgb, #4ade80 4%, transparent) 100%);
}
.tl-stage::after {
  left: calc(100% - var(--day));
  right: 0;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, #f87171 30%, transparent) 0%,
    color-mix(in srgb, #f87171 14%, transparent) 55%,
    color-mix(in srgb, #f87171 5%, transparent) 100%);
}
.tl-zones {
  display: grid;
  grid-template-columns: calc(100% - var(--day)) var(--day);
}
.tl-checks,
.tl-cons {
  list-style: none;
  margin: 0;
  padding: 16px 10px 6px 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
}
.tl-checks li,
.tl-cons li { position: relative; line-height: 1.35; }
.tl-checks li {
  padding-left: 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
}
.tl-cons { padding: 16px 6px 6px 10px; }
.tl-cons li {
  padding-left: 16px;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--stage-fg) 92%, transparent);
}
.tl-checks li::before,
.tl-cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.tl-checks li::before { content: "\2713"; color: #4ade80; }
.tl-cons li::before { content: "\2717"; color: #f87171; }

/* The axis: a line with an arrowhead, day marks, our pins above the marks
 * you can choose, captions below. Everything is positioned in percent of the
 * axis width from the markup, so it tracks the zones at any width. */
.tl-axis { position: relative; height: 106px; }
.tl-line {
  position: absolute;
  left: 10px;
  right: 22px;
  top: 54px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
}
.tl-line::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -6px;
  border-left: 15px solid rgba(255, 255, 255, 0.5);
  border-top: 7.5px solid transparent;
  border-bottom: 7.5px solid transparent;
}
.tl-tick {
  position: absolute;
  top: 48px;
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(-50%);
}
/* Where every other app speaks up. */
.tl-tick.today {
  top: 44px;
  width: 4px;
  height: 23px;
  background: #f87171;
}
.tl-pin {
  position: absolute;
  top: 6px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  /* Ghosted on purpose: the marks are slots you choose, not fixed alarms,
   * and the translucency says so before the caption does. */
  opacity: 0.55;
}
/* The chosen slot, the one the hero banner came from. */
.tl-pin.on { opacity: 1; }
.tl-pin img { width: 100%; height: 100%; display: block; }
.tl-when {
  position: absolute;
  top: 72px;
  transform: translateX(-50%);
  font-size: 0.7rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}
.tl-when.today { top: 74px; color: #f87171; font-weight: 700; }
/* The caption under the chosen pin carries the pin's weight, nothing else:
 * no colour and no size, so it reads as a sample setting, not a promise. */
.tl-when.on { font-weight: 600; }

/* Under the axis: our promise on the green side, their icons and the verdict
 * on the red one. Same split as above, so each sits under its own zone. */
.tl-marks {
  display: grid;
  grid-template-columns: calc(100% - var(--day)) var(--day);
  padding: 4px 0 16px;
}
.tl-side { display: grid; gap: 8px; align-content: start; }
.tl-side.ours { justify-items: start; text-align: left; padding: 0 10px 0 14px; }
.tl-side.theirs { justify-items: center; text-align: center; padding: 0 2px; }
.tl-label { margin: 0; }
.tl-side.ours .tl-label {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #4ade80;
}
/* The one word the promise hangs on. */
.tl-side.ours .tl-label strong { color: #fff; }
.tl-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--stage-fg) 72%, transparent);
}
.tl-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 92px;
}
/* Sunk into the red: dimmed and drained, so the wash reads as the thing
 * happening to them rather than a backdrop they sit on. */
.tl-logos svg {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
  opacity: 0.6;
  filter: saturate(0.45);
}
/* The verdict on the red side: the line the whole section builds to. */
.tl-side.theirs .tl-label {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f87171;
}

/* ---------- The price ------------------------------------------------------
 * Not a full stage like the objections above: one box, answered right before
 * the ask so the visitor arrives at the badges with the money question
 * already closed. */
.objection-act.price { min-height: 0; padding: 4vh 0 0; }
.price h2 { margin-bottom: 0; }
.price .verdict { margin-top: 18px; }

/* ---------- The close ------------------------------------------------------
 * Answers the hero: the page opened on "be the one who always remembers" and
 * ends on having remembered. Same store badges and waitlist as the top, so
 * the ask is identical wherever the visitor makes up their mind. */
/* Not a full-height stage like the sections above it: the close is followed
 * by the footer, and stretching it to 100vh left a screenful of dead space
 * between the last line and the footer rule. Padding only. */
.final {
  padding: 14vh 0 9vh;
  text-align: center;
}
.final .wrap { max-width: 34rem; width: 100%; }
/* Full brightness and near-headline size, as on the original landing: this is
 * the line that turns the pitch into someone the reader actually knows. */
.final .kicker {
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--stage-fg);
}
.final h2 {
  margin: 0 0 38px;
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--stage-fg);
}
.final .notify { margin: 26px auto 0; }
/* A touch slower than the rest of the page: nothing here is being skimmed. */
.final .reveal { transition-duration: 0.7s; }
.final .free-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--stage-fg) 65%, transparent);
}
/* The kicker drifts in the way the objections one does: a thought forming
 * rather than a label switching on. */
.final .kicker.reveal {
  transform: translateY(14px);
  letter-spacing: 0.1em;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.final .kicker.reveal.in { letter-spacing: -0.01em; }

/* ---------- Entry reveals -------------------------------------------------
 * One class, added once per element when it first enters the viewport. The
 * notification arrives from above (echoing viewport 1); everything else just
 * lifts a little. Nothing here reads scroll position. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* The banner drops in from above, exactly like its twin in viewport 1, with
 * the same spring so the two acts read as one gesture repeated. */
.act-two .notif.reveal {
  transform: translateY(-120px) scale(0.94);
  transition: opacity 0.42s ease, transform 0.72s cubic-bezier(0.2, 0.9, 0.24, 1.02);
}
/* The kicker gets its own entrance: it drifts up while the letter-spacing
 * settles, so the line reads as a thought forming rather than a label being
 * switched on. Slower than the reveals around it, on purpose. */
.obj-kicker.reveal {
  transform: translateY(14px);
  letter-spacing: 0.14em;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.obj-kicker.reveal.in { letter-spacing: -0.01em; }

/* Bubbles arrive from the side they speak from, so the exchange plays out
 * like a conversation rather than a list fading in. */
.bubble.from-app.reveal { transform: translateY(10px) translateX(-14px); }
.bubble.from-me.reveal { transform: translateY(10px) translateX(14px); }

/* Both selectors below must out-rank `.act-two .notif.reveal` (0,2,1), hence
 * the doubled class — otherwise the banner never travels back to zero. */
.reveal.in.in { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
.no-seq .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Reduced motion: show the finished state, move nothing --------
 * landing.js also adds .no-seq here, but the media query stands alone so the
 * page is still correct if the script fails to run. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .notif,
  .brand,
  .blob,
  .scroll-hint,
  .checklist li,
  .checklist li::before,
  [data-step] {
    opacity: 1 !important;
    transform: none !important;
  }
  .brand { transform: translateX(-50%) !important; }
  .hero-inner > :not(.notif),
  .checklist { transform: none !important; }
}

/* ---------- Tablet and up --------------------------------------------------
 * Mobile is the primary case and the layout is built for it; from here the job
 * is only to stop everything looking undersized on a big screen. The story,
 * the order and the one-screen-per-idea rule stay exactly as they are. */
@media (min-width: 700px) {
  /* Type scales up a step: the phone sizes read as small print at this width. */
  .lead { font-size: 1.25rem; }
  .checklist { font-size: 1.15rem; gap: 12px; }
  .proof-note { font-size: 1.3rem; max-width: 30ch; }

  /* The conversation and the calendar carry the argument, so they get room. */
  .chat { max-width: 30rem; }
  .bubble { font-size: 1.05rem; padding: 14px 18px; }
  .cal { max-width: 34rem; }
  .cal-grid { height: 250px; }
  .ev { font-size: 0.6rem; }
  .ev.span, .ev.span2 { width: 18px; }
  .ev.span2 { left: 20px; }
  .cal-day:has(.ev.span) .ev:not(.span):not(.span2) { left: 20px; }
  .cal-day:has(.ev.span2) .ev:not(.span):not(.span2) { left: 39px; }
  .cal-head { font-size: 0.62rem; }

  .v-problem, .v-answer { font-size: 1.12rem; }
  .verdict { max-width: 40ch; }
  .kinds { font-size: 0.95rem; max-width: 40rem; }
  .kinds li { padding: 6px 15px; }

  .count-cap { font-size: 1.12rem; }

  .tl-stage { max-width: 34rem; }
  .tl-checks li { font-size: 1.1rem; }
  .tl-cons li { font-size: 0.92rem; }
  .tl-when { font-size: 0.82rem; }
  .tl-pin { width: 44px; height: 44px; top: 2px; }
  .tl-logos { max-width: 120px; gap: 8px; }
  .tl-logos svg { width: 30px; height: 30px; }
  .tl-side.ours .tl-label { font-size: 1.25rem; }
  .tl-note { font-size: 1rem; }
  .tl-side.theirs .tl-label { font-size: 0.88rem; }

  .struck { width: 118px; height: 118px; }
}

/* ---------- Desktop --------------------------------------------------------
 * Wider measure and a touch more air; still one idea per screen. */
@media (min-width: 1024px) {
  .act-two .wrap,
  .objection-act .wrap,
  .final .wrap { max-width: 40rem; }
  .objection-act h2 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
  .final h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
  .chat { max-width: 32rem; }
  .cal { max-width: 36rem; }
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--muted);
  border-radius: 12px;
}
.social a:hover { color: var(--fg); }
.social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social svg { width: 21px; height: 21px; fill: currentColor; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }

/* Language picker: the language code sits in the icons' row as one more
 * glyph, same 44px box and colour, and opens a small glass menu upwards
 * since the footer sits at the very bottom of the page. */
.lang-picker { position: relative; }
.lang-picker summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  padding: 1px 10px 0;
  line-height: 1;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.lang-picker summary::-webkit-details-marker { display: none; }
.lang-picker summary svg { width: 11px; height: 11px; transition: transform 0.2s ease; }
.lang-picker summary:hover,
.lang-picker[open] summary { color: var(--fg); }
.lang-picker summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-picker[open] summary svg { transform: rotate(180deg); }
.lang-picker ul {
  position: absolute;
  z-index: 5;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(22, 26, 38, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 10px 30px rgba(0, 0, 0, 0.3);
}
.lang-picker li a,
.lang-picker li span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}
.lang-picker li a:hover,
.lang-picker li a:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.lang-picker li span { color: var(--muted); }
.lang-picker li span svg { width: 12px; height: 12px; color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 0; list-style: none; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.copyright { margin-top: 22px; text-align: center; }

/* Short phones (SE-sized, and anything in landscape): the hero carries a lot
 * — slogan, banner, a line of copy, three checks, two badges, the waitlist —
 * and at 667px tall it overflowed the screen. Tighten the gaps rather than
 * dropping anything: every one of those elements is part of the pitch. */
@media (max-height: 740px) {
  .hero {
    padding-top: 68px;
    padding-bottom: max(76px, calc(env(safe-area-inset-bottom) + 58px));
  }
  .hero-inner { gap: 14px; }
  .hero h1 { font-size: clamp(1.45rem, 5.6vw, 2rem); }
  .lead { font-size: 0.98rem; line-height: 1.45; }
  .checklist { gap: 6px; font-size: 0.95rem; }
  .checklist li { padding-left: 27px; }
  .notif { padding: 11px 14px 12px; }
  .notif .title, .notif .body { font-size: 14.5px; }
  .notif .icon { width: 34px; height: 34px; }
  .free-note { font-size: 0.8rem; }
  .scroll-hint { height: 32px; }
}

/* Narrow AND short (SE and friends): the two store badges wrap onto separate
 * rows, which alone costs ~70px. Shrinking them keeps both on one line. */
@media (max-height: 740px) and (max-width: 400px) {
  .badges { gap: 8px; }
  .badge { padding: 7px 12px 7px 10px; gap: 7px; }
  .badge .bbig { font-size: 15px; }
  .badge .bsmall { font-size: 8.5px; }
  .badge .badge-soon-tag { font-size: 8px; }
  .badge .apple-mark { height: 22px; width: 17px; }
  .badge .play-mark { height: 20px; width: 20px; }
}
