/* MyLife's website. The colors are the app icon's: midnight blue and the coral of its moments; headings use
   Avenir Next like the app, text the system font. Dark sections (the opening, privacy, the end) stay dark,
   the light ones follow the system's appearance. `build.py` copies this file to assets/ under a name with its hash. */

:root {
  --midnight-950: #05081a;
  --midnight-900: #070a1a;
  --midnight-800: #0a0f24;
  --midnight-700: #101630;
  --midnight-600: #1a2247;
  --midnight-500: #263366;
  --coral: #ff7361;
  --coral-light: #ff9c8a;
  --pearl: #ffc7a8;
  --on-dark: #ffffff;
  --on-dark-2: rgba(232, 236, 255, 0.74);
  --on-dark-3: rgba(232, 236, 255, 0.56);

  --section: #ffffff;
  --section-alt: #f5f6fa;
  --panel: #f3f4f8;
  --surface: #ffffff;
  --ink: #0b1026;
  --ink-2: #4b5168;
  --ink-3: #646a82;
  /* The statement's words before they light up – at least 3:1, enough for type this large. */
  --statement-dim: #8b90a5;
  --line: rgba(11, 16, 38, 0.1);
  --coral-ink: #c93e28;
  --shadow: rgba(10, 15, 36, 0.24);
  --tone-strength: 0.32;

  --display: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --gutter: clamp(20px, 5vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --section: #0a0f24;
    --section-alt: #070a1a;
    --panel: #111836;
    --surface: #11183a;
    --ink: #f2f4fa;
    --ink-2: #aab0c5;
    --ink-3: #7f86a0;
    --statement-dim: #5d6584;
    --line: rgba(255, 255, 255, 0.1);
    --coral-ink: #ff8a75;
    --shadow: rgba(0, 0, 0, 0.5);
    --tone-strength: 0.42;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--section);
  color: var(--ink);
  font: 1.0625rem/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--coral-ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--coral); color: var(--midnight-800); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 10px; }

/* The bar on top: dark glass on every page. */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 13, 32, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}
.home .nav { margin-bottom: -53px; background: rgba(8, 11, 28, 0.74); }
.nav-inner {
  display: flex; align-items: center; gap: 28px; height: 52px;
  max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: inherit; text-decoration: none; font: 600 1.125rem/1 var(--display); letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; display: block; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a, .lang {
  color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"], .lang:hover { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 16px; }
.lang { font-weight: 600; padding: 4px 9px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; }
.nav-cta {
  font: 600 0.75rem/1 var(--text); padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: var(--coral); color: var(--midnight-800); text-decoration: none;
}
.nav-cta.soon { padding-inline: 0; background: none; color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.menu { display: none; }
.menu summary {
  list-style: none; width: 40px; height: 40px; margin-right: -10px;
  display: grid; place-items: center; cursor: pointer; border-radius: 10px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before {
  display: block; width: 18px; height: 1.6px; border-radius: 1px; background: #fff;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu summary span { position: relative; top: -3px; }
.menu summary span::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu[open] summary span { top: 0; transform: rotate(45deg); }
.menu[open] summary span::before { top: 0; transform: rotate(-90deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 52px;
  display: grid; padding: 8px var(--gutter) 28px;
  background: rgba(8, 11, 28, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-panel a {
  color: #fff; text-decoration: none; font: 600 1.5rem/1.2 var(--display); letter-spacing: -0.015em;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-panel a:last-child { border-bottom: 0; color: rgba(255, 255, 255, 0.7); font-size: 1.0625rem; }
@media (max-width: 800px) {
  .nav-links, .nav-end .lang { display: none; }
  .nav-end { margin-left: auto; gap: 6px; }
  .menu { display: block; }
}
@media (max-width: 560px) {
  .nav-cta.soon { display: none; }
}

/* Buttons */
.store {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font: 600 1.0625rem/1 var(--text); letter-spacing: -0.01em;
  background: #fff; color: var(--midnight-800); text-decoration: none;
  box-shadow: 0 12px 34px rgba(255, 107, 92, 0.28);
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store:hover { translate: 0 -2px; box-shadow: 0 18px 44px rgba(255, 107, 92, 0.38); }
.store.soon {
  padding: 8px 4px; background: none; color: var(--on-dark-2); box-shadow: none; cursor: default;
  font-size: 1.0625rem; font-weight: 600;
}
.store.soon:hover { translate: none; box-shadow: none; }
.store .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: var(--section); font-weight: 600; text-decoration: none;
  transition: translate 0.25s var(--ease);
}
.button:hover { translate: 0 -1px; }

/* The opening: midnight, the coral light of today, the phones rising out of it. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-dark); text-align: center;
  background:
    radial-gradient(120% 75% at 50% 0%, #1d2652 0%, #0d1330 46%, var(--midnight-900) 100%);
  padding-top: clamp(44px, 6.5vw, 84px);
}
.home .hero { padding-top: calc(53px + clamp(40px, 6vw, 80px)); }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 58%;
  width: min(1100px, 150vw); aspect-ratio: 1.4; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 107, 92, 0.34), rgba(255, 107, 92, 0.1) 55%, transparent);
}
.hero-bands {
  position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 900px;
  opacity: 0.7; pointer-events: none;
}
.hero-icon { display: block; width: clamp(64px, 6.6vw, 84px); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(255, 107, 92, 0.36)); }
.hero-name {
  margin: 14px 0 0; font: 600 clamp(1rem, 1.4vw, 1.1875rem)/1 var(--display);
  letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.84);
}
.hero h1 {
  margin: 12px auto 0; font: 700 clamp(2.75rem, 6.8vw, 5.5rem)/0.98 var(--display); letter-spacing: -0.038em;
}
.hero h1 span { display: block; }
.accent {
  background: linear-gradient(92deg, #ff9a7f 0%, #ff6b5c 48%, #ff4f73 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.hero-text {
  max-width: 600px; margin: 22px auto 0; color: var(--on-dark-2);
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); line-height: 1.45;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; margin-top: 30px; }
.for { font-size: 0.875rem; color: var(--on-dark-3); }
.stage {
  position: relative; height: clamp(430px, 60vw, 700px); margin-top: clamp(40px, 5vw, 64px);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 97%);
}
.stage .phone { position: absolute; left: 50%; top: 0; width: clamp(246px, 27vw, 372px); margin: 0; translate: -50% 0; }
.stage .p-center { z-index: 2; }
.stage .p-left, .stage .p-right { width: clamp(196px, 21.6vw, 298px); top: clamp(56px, 7vw, 100px); }
.stage .p-left { translate: -150% 0; }
.stage .p-right { translate: 50% 0; }
.phone picture { display: block; }
.phone img { display: block; width: 100%; height: auto; }
.stage img { filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55)); }
@media (max-width: 734px) {
  .stage .p-left { translate: -136% 0; }
  .stage .p-right { translate: 36% 0; }
}

/* A few words, lit as they scroll by. */
.statement { background: var(--section); padding-block: clamp(96px, 14vw, 200px); }
.statement p {
  max-width: 1000px; margin: 0 auto;
  font: 600 clamp(1.75rem, 4.4vw, 3.5rem)/1.16 var(--display); letter-spacing: -0.024em; color: var(--ink);
}

/* What MyLife can do – told along a life line, like the timeline in the app. */
.story { background: var(--section); padding-bottom: clamp(40px, 6vw, 96px); }
.story .wrap { max-width: 1200px; }
.story-inner { position: relative; --rail: clamp(36px, 6vw, 88px); padding-left: var(--rail); }
.story-line {
  position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; border-radius: 1px;
  background: linear-gradient(to bottom, rgba(255, 115, 97, 0), rgba(255, 115, 97, 0.55) 6%, rgba(255, 115, 97, 0.55) 94%, rgba(255, 115, 97, 0));
  transform-origin: top;
}
.chapter {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5.5vw, 72px);
}
.chapter-text { max-width: 500px; }
.eyebrow {
  margin: 0; font: 600 clamp(1.0625rem, 1.5vw, 1.1875rem)/1.5rem var(--display); letter-spacing: 0.005em; color: var(--coral-ink);
}
.moment {
  position: absolute; left: calc(-1 * var(--rail)); width: 14px; height: 14px; margin-top: 5px;
  border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 18%, transparent);
}
.chapter h3 {
  margin: 14px 0 0; font: 700 clamp(2.125rem, 4.1vw, 3.375rem)/1.05 var(--display); letter-spacing: -0.03em;
}
.chapter-text p:last-child {
  margin: 22px 0 0; color: var(--ink-2); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5;
}
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 40px);
  border-radius: clamp(26px, 3vw, 38px); background: var(--panel);
}
.panel::before {
  content: ""; position: absolute; z-index: -1; inset: -20%;
  background: radial-gradient(42% 40% at 50% 56%, var(--tone, var(--coral)), transparent 75%);
  opacity: var(--tone-strength);
}
.panel .phone { width: min(76%, 330px); margin: 0; }
.panel img { filter: drop-shadow(0 30px 48px var(--shadow)); }
.panel.duo .phone { width: min(54%, 280px); }
.panel.duo .phone + .phone { margin-left: -8%; margin-top: 16%; }
.tone-coral { --tone: #ff7361; }
.tone-teal { --tone: #2fb4cf; }
.tone-pink { --tone: #ff4f86; }
.tone-blue { --tone: #3d7bff; }
.tone-violet { --tone: #9a6cf2; }
.tone-rose { --tone: #ff6f8f; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .chapter-text { max-width: 600px; }
}

/* Everything else, in tiles. */
.more { background: var(--section-alt); padding-block: clamp(88px, 12vw, 160px); }
.section-title {
  margin: 0 auto clamp(36px, 5vw, 60px); max-width: 820px; text-align: center;
  font: 700 clamp(2.125rem, 5vw, 3.625rem)/1.05 var(--display); letter-spacing: -0.03em;
}
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.card {
  display: grid; align-content: start; gap: 10px; padding: clamp(26px, 3vw, 36px);
  border-radius: 28px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(10, 15, 36, 0.04), 0 10px 30px rgba(10, 15, 36, 0.04);
  transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { translate: 0 -3px; box-shadow: 0 2px 4px rgba(10, 15, 36, 0.05), 0 20px 40px rgba(10, 15, 36, 0.08); }
.glyph {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: var(--coral-ink); background: color-mix(in srgb, var(--coral) 13%, transparent);
}
.glyph svg { width: 24px; height: 24px; }
.card h3 { margin: 10px 0 0; font: 600 1.3125rem/1.25 var(--display); letter-spacing: -0.012em; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* Privacy: dark, quiet, with today's light behind the phone. */
.privacy {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background: radial-gradient(70% 80% at 80% 40%, rgba(38, 51, 102, 0.85), transparent 70%), var(--midnight-900);
  padding-block: clamp(96px, 13vw, 176px);
}
.privacy-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.privacy .eyebrow { color: var(--coral-light); }
.privacy h2 { margin: 14px 0 22px; font: 700 clamp(2.5rem, 6vw, 4.5rem)/1.02 var(--display); letter-spacing: -0.034em; }
.privacy-text > p { margin: 0; max-width: 34em; color: var(--on-dark-2); font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.5; }
.points { list-style: none; margin: 34px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.points li { display: flex; align-items: center; gap: 12px; font: 600 1.125rem/1.3 var(--display); }
.points svg { flex: none; width: 26px; height: 26px; color: var(--coral); }
.privacy a { color: var(--coral-light); font-weight: 600; }
.privacy .site { margin-top: 18px; font-size: 0.9375rem; color: var(--on-dark-3); }
.privacy-media { position: relative; display: flex; justify-content: center; }
.privacy-media::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 107, 92, 0.26), transparent);
}
.privacy-media .phone { width: min(100%, 320px); margin: 0; }
.privacy-media img { filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55)); }
@media (max-width: 860px) {
  .privacy-inner { grid-template-columns: minmax(0, 1fr); }
  .privacy-media .phone { width: min(72%, 300px); }
}
@media (max-width: 480px) { .points { grid-template-columns: minmax(0, 1fr); } }

/* MyLife Pro */
.pro { background: var(--section); padding-block: clamp(96px, 13vw, 176px); }
.pro-head { max-width: 720px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-block; margin: 0; padding: 7px 12px 6px; border-radius: 999px;
  font: 700 0.75rem/1 var(--display); letter-spacing: 0.14em; color: #fff;
  background: linear-gradient(92deg, #ff8c75, #ff5470);
}
.pro h2 { margin: 18px 0 16px; font: 700 clamp(2.75rem, 7vw, 5.25rem)/1 var(--display); letter-spacing: -0.038em; }
.pro-head p:last-child { margin: 0; color: var(--ink-2); font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.5; }
.icons {
  display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 1.8vw, 22px);
  margin: clamp(40px, 6vw, 64px) auto; padding: 0; list-style: none;
}
.icons img { display: block; width: clamp(54px, 6.4vw, 80px); height: auto; filter: drop-shadow(0 12px 22px rgba(10, 15, 36, 0.2)); }
.pro-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pro-list { list-style: none; margin: 0; padding: 0; }
.pro-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.pro-list li:last-child { border-bottom: 1px solid var(--line); }
.pro-list h3 { margin: 2px 0 4px; font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.01em; }
.pro-list p { margin: 0; color: var(--ink-2); }
.pro-free { margin: clamp(40px, 5vw, 56px) auto 0; max-width: 640px; text-align: center; color: var(--ink-2); }
@media (max-width: 860px) { .pro-body { grid-template-columns: minmax(0, 1fr); } }

/* The end: the logo, glowing. */
.finale {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--on-dark);
  background: radial-gradient(60% 55% at 50% 22%, rgba(255, 107, 92, 0.24), transparent 70%), linear-gradient(#0d1330, var(--midnight-900));
  padding-block: clamp(100px, 14vw, 180px);
}
.finale .hero-bands { opacity: 0.4; }
.finale-icon { display: block; margin: 0 auto; width: clamp(88px, 10vw, 124px); height: auto; filter: drop-shadow(0 24px 50px rgba(255, 107, 92, 0.42)); }
.finale h2 { margin: 30px auto 34px; max-width: 14em; font: 700 clamp(2.5rem, 6.4vw, 5rem)/1.02 var(--display); letter-spacing: -0.036em; }
.finale .help { margin: 30px 0 0; }
.finale .help a { color: var(--on-dark-2); }

/* The pages with text: support, contact, the privacy policy and the imprint. */
.page-main { background: var(--section); padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.page-main h1 { margin: 0 0 18px; font: 700 clamp(2rem, 8vw, 4rem)/1.04 var(--display); letter-spacing: -0.034em; hyphens: auto; }
.lead { margin: 0; color: var(--ink-2); font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.5; }
.meta { margin: 0 0 18px; color: var(--ink-3); font-size: 0.9375rem; }
.prose { margin-top: clamp(32px, 4vw, 48px); }
.prose section { padding-block: 24px; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 8px; font: 600 1.3125rem/1.3 var(--display); letter-spacing: -0.01em; }
.prose p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.faq { margin-top: clamp(40px, 5vw, 56px); }
.faq h2 { margin: 0 0 12px; font: 700 clamp(1.625rem, 3vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 22px 0; font: 600 1.1875rem/1.35 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: 6px 4px 0 0;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq details p { margin: -6px 0 24px; max-width: 62ch; color: var(--ink-2); line-height: 1.6; }
.contact-card { margin: 36px 0; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: var(--section-alt); }
.contact-card .meta { margin: 0 0 6px; }
.address { margin: 0 0 22px; font: 700 clamp(1.375rem, 4vw, 2rem)/1.2 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.address a { color: var(--ink); text-decoration: none; }
.page-main .row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.missing section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }

/* The footer */
.footer { background: var(--section-alt); color: var(--ink-2); font-size: 0.8125rem; padding-block: 36px 52px; border-top: 1px solid var(--line); }
.footer .brand { color: var(--ink); font-size: 1rem; }
.footer .brand img { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 18px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.fine { margin: 6px 0 0; max-width: 90ch; color: var(--ink-3); line-height: 1.5; }

/* Motion: the opening arrives once; the rest moves with the scrolling where the browser can do that. */
@media (prefers-reduced-motion: no-preference) {
  .hero-icon, .hero-name, .hero h1 span, .hero-text, .actions { animation: rise 1s var(--ease) both; }
  .hero-name { animation-delay: 0.06s; }
  .hero h1 span:first-child { animation-delay: 0.12s; }
  .hero h1 span + span { animation-delay: 0.2s; }
  .hero-text { animation-delay: 0.3s; }
  .actions { animation-delay: 0.38s; }
  .stage .phone { animation: phone-in 1.4s var(--ease) both 0.3s; }
  .stage .p-left, .stage .p-right { animation-delay: 0.48s; }
  .hero::before { animation: breathe 7s ease-in-out infinite alternate; }
  .hero-bands .band { transform-box: fill-box; transform-origin: center; animation: grow 1.8s var(--ease) both; }
  .hero-bands .band:nth-child(3n) { animation-delay: 0.2s; }
  .hero-bands .band:nth-child(3n + 1) { animation-delay: 0.35s; }
  .hero-bands .band:nth-child(3n + 2) { animation-delay: 0.5s; }
  .finale-icon { animation: float 6s ease-in-out infinite alternate; }

  @supports (animation-timeline: view()) {
    .statement .w { color: var(--statement-dim); animation: lit linear both; animation-timeline: view(); animation-range: cover 10% cover 32%; }
    .story-line { animation: draw linear both; animation-timeline: view(); animation-range: entry 50% exit 50%; }
    .chapter { view-timeline-name: --chapter; }
    .moment { animation: moment linear both; animation-timeline: --chapter; animation-range: cover 10% cover 90%; }
    .chapter-text, .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .panel .phone { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .panel.duo .phone + .phone { animation-name: drift-more; }
    .card { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .icons li { animation: pop linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(110px); } }
@keyframes breathe { from { opacity: 0.75; scale: 0.94; } to { opacity: 1; scale: 1.04; } }
@keyframes grow { from { opacity: 0; transform: scaleY(0.2); } }
@keyframes float { from { transform: translateY(-5px); } to { transform: translateY(7px); } }
@keyframes lit { to { color: var(--ink); } }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes reveal { from { opacity: 0; transform: translateY(56px); } }
@keyframes drift { from { transform: translateY(7%); } to { transform: translateY(-7%); } }
@keyframes drift-more { from { transform: translateY(14%); } to { transform: translateY(-10%); } }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(0.9); } }
/* A moment on the line: still to come (a ring), today (glowing), gone by (a dot) – like the logo. */
@keyframes moment {
  0%, 22% { background: var(--section); box-shadow: inset 0 0 0 2.5px var(--coral), 0 0 0 0 transparent; scale: 0.9; }
  36%, 64% { background: var(--coral); box-shadow: inset 0 0 0 0 var(--coral), 0 0 0 7px color-mix(in srgb, var(--coral) 22%, transparent), 0 0 26px 6px color-mix(in srgb, var(--coral) 55%, transparent); scale: 1.25; }
  78%, 100% { background: var(--coral); box-shadow: inset 0 0 0 0 var(--coral), 0 0 0 0 transparent; scale: 0.72; }
}
/* The PRO tag of the app once the Pro icon ships (PRO_BRAND): ink on gold, with the jewel of Pro. */
.badge.gold {
  display: inline-flex; align-items: center; gap: 6px; color: #3b2600;
  background: linear-gradient(135deg, #ffe08a, #f6b93b 55%, #d9821a);
}
.badge.gold svg { width: 1.15em; height: 1.15em; margin-block: -2px; }
