/*
 * activitysage.com. The Sage family's own colours: the icons' midnight teal and luminous aqua for
 * the dark bands, Swim Sage's aqua (#0a84a8, #4fc3e0 in the dark) for links and buttons on the
 * light ones. System fonts only, so nothing is fetched from anyone else. Follows the system's dark
 * mode. Motion is in site.js; every page reads the same without it.
 */
:root {
  --midnight: #092a32;
  --midnight-deep: #061d23;
  --midnight-lift: #0e3943;
  --glow: #33bfc2;
  --aqua: #87e8df;
  --accent: #0a84a8;
  --accent-ink: #ffffff;
  --bg: #f3f7f8;
  --surface: #ffffff;
  --surface-2: #e9f1f3;
  --ink: #0b1d22;
  --muted: #4c6369;
  --line: rgba(9, 42, 50, 0.11);
  --shadow: 0 30px 60px -30px rgba(6, 29, 35, 0.35), 0 12px 24px -16px rgba(6, 29, 35, 0.2);
  --radius: 26px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4fc3e0;
    --accent-ink: #042228;
    --bg: #041418;
    --surface: #0a2229;
    --surface-2: #0e2b33;
    --ink: #e6f2f4;
    --muted: #9ab4ba;
    --line: rgba(135, 232, 223, 0.12);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 12px 24px -16px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 750; letter-spacing: -0.028em; }
h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 720; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font: 600 0.8rem/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.lede { font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.dark .lede, .dark p { color: rgba(225, 242, 244, 0.78); }
.dark .eyebrow { color: var(--aqua); }

/* ---- Buttons ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--font); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 24px -12px rgba(10, 132, 168, 0.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(10, 132, 168, 0.8); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.light { background: #ffffff; color: var(--midnight); box-shadow: 0 14px 30px -14px rgba(135, 232, 223, 0.6); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.dark .btn.ghost { color: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 0.95rem; color: var(--muted); margin-top: 16px; }

/* ---- The site bar ----------------------------------------------------------------------- */
.site-bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: #ffffff;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.site-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.site-bar.is-solid, .site-bar.on-light {
  background: color-mix(in srgb, var(--midnight-deep) 90%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 rgba(135, 232, 223, 0.1);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 650 1.06rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(135, 232, 223, 0.25); }
.site-bar nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.site-bar nav a:not(.btn) { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.site-bar nav a:not(.btn):hover, .site-bar nav a[aria-current] { color: #ffffff; }
.site-bar nav a[aria-current] { box-shadow: 0 2px 0 var(--aqua); }
.site-bar .btn.small { background: #ffffff; color: var(--midnight); box-shadow: none; }
@media (max-width: 640px) { .hide-small { display: none; } }
/* On the narrowest phones (375 pt) the brand, the link and the button overflow the bar; the button and the
   page's own cards lead to Swim Sage. */
@media (max-width: 399px) { .site-bar nav a.hide-tiny { display: none; } }

/* ---- Dark bands: the hero, Vision Pro, privacy, the footer ------------------------------- */
.dark {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, var(--midnight-lift) 0%, var(--midnight) 48%, var(--midnight-deep) 100%);
  color: #ffffff;
  isolation: isolate;
}
.dark a:not(.btn) { color: var(--aqua); }

/* ---- The home hero ---------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(96px + env(safe-area-inset-top)) 0 96px;
  overflow: clip;
  text-align: center;
}
/* max-width: none, or the global img/svg rule caps the 140% and the ribbons stop short of the right edge. */
.hero .ribbons { position: absolute; inset: -10% -20%; width: 140%; max-width: none; height: 120%; z-index: -1; opacity: 0.5; pointer-events: none; }
.hero .ribbons path { fill: none; stroke-linecap: round; }
/* A tall, narrow hero crops the ribbons to one blob; wider, they still cross the screen as curves. */
@media (max-width: 700px) { .hero .ribbons { inset: -10% -100%; width: 300%; } .app-hero .ribbons { inset: auto -100% -20%; width: 300%; } }
.hero-mark {
  position: relative;
  width: clamp(150px, 30vw, 236px); aspect-ratio: 1;
  margin: 0 auto 36px;
}
.hero-mark img {
  width: 100%; height: 100%;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(135, 232, 223, 0.22), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero-mark::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(51, 191, 194, 0.42), rgba(51, 191, 194, 0) 70%);
}
.hero h1 { margin-inline: auto; max-width: 12em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--aqua), var(--glow) 60%, #9ff1ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* SplitText wraps each word in its own box, which the em's clipped gradient does not reach: each word takes it. */
.hero h1 em div { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 0 auto 34px; }
.hero .buttons { justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--aqua); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* ---- Sections --------------------------------------------------------------------------- */
.section { padding: clamp(84px, 12vw, 168px) 0; }
.section.tight { padding-top: clamp(40px, 6vw, 72px); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* The family */
.family { display: grid; gap: 22px; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }
.app-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit; text-decoration: none;
  overflow: hidden;
  transform-style: preserve-3d;
}
.app-card.live { background: linear-gradient(160deg, var(--midnight-lift), var(--midnight) 55%, var(--midnight-deep)); color: #ffffff; }
.app-card.live p { color: rgba(225, 242, 244, 0.8); }
.app-card.live::after {
  content: ""; position: absolute; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(51, 191, 194, 0.32), transparent 70%);
  pointer-events: none;
}
.app-card > * { position: relative; z-index: 1; }
.app-card .icon { width: 92px; height: 92px; border-radius: 22.5%; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(135, 232, 223, 0.2); }
.app-card h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.app-card p { margin: 0; color: var(--muted); }
.app-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aqua); }
.app-card .more svg { width: 18px; transition: transform 0.2s ease; }
.app-card:hover .more svg { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { font-size: 0.82rem; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: rgba(135, 232, 223, 0.12); color: var(--aqua); }
.app-card:not(.live) .chips li { background: var(--surface-2); color: var(--muted); }
.app-card.soon .icon { filter: saturate(0.85); }
.price { font: 650 1.05rem/1 var(--font-round); color: #ffffff; }

/* No subscription: the price, '/month' struck through, and 'once.' */
.hero-price { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 30px; padding: 9px 18px 9px 12px; border-radius: 999px; background: rgba(135, 232, 223, 0.12); box-shadow: inset 0 0 0 1px rgba(135, 232, 223, 0.22); font-weight: 650; font-size: 1rem; color: var(--aqua) !important; white-space: nowrap; }
.hero-price svg { flex: none; }
.once { overflow: clip; }
.once::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(51, 191, 194, 0.22), transparent 70%);
}
.once-price {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.18em;
  margin: 0 0 0.25em; font: 800 clamp(3.6rem, 13vw, 10.5rem)/0.95 var(--font-round); letter-spacing: -0.04em;
  color: #ffffff !important; font-variant-numeric: tabular-nums;
}
.once-price .per { position: relative; font-size: 0.42em; font-weight: 600; color: rgba(225, 242, 244, 0.45); letter-spacing: -0.02em; }
.once-price .strike {
  position: absolute; left: -4%; right: -4%; top: 52%; height: 0.11em; border-radius: 1em;
  background: linear-gradient(90deg, var(--aqua), var(--glow)); transform: rotate(-7deg); transform-origin: left center;
}
.once-price .once-word { background: linear-gradient(100deg, var(--aqua), var(--glow) 60%, #9ff1ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.once h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 48px 0 40px; max-width: 900px; }
.ledger > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 20px; background: rgba(135, 232, 223, 0.07); box-shadow: inset 0 0 0 1px rgba(135, 232, 223, 0.15); }
.ledger span { color: rgba(225, 242, 244, 0.7); font-size: 0.95rem; }
.ledger strong { font: 750 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-round); letter-spacing: -0.02em; color: #ffffff; }
@media (max-width: 640px) { .ledger { grid-template-columns: 1fr; } .ledger > div { flex-direction: row; justify-content: space-between; align-items: baseline; } }
.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; padding: 0; margin: 0; list-style: none; max-width: 900px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.08rem; }
.ticks svg { flex: none; padding: 5px; width: 32px; height: 32px; border-radius: 50%; background: rgba(135, 232, 223, 0.14); color: var(--aqua); }
.once .fine-print { margin-top: 36px; font-size: 0.85rem; color: rgba(225, 242, 244, 0.55) !important; }

/* The promises */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 28px); counter-reset: promise; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }
.promise {
  position: relative; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(6, 29, 35, 0.4);
}
.promise .glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(150deg, var(--midnight-lift), var(--midnight)); color: var(--aqua); }
.promise .glyph svg { width: 28px; height: 28px; }
.promise h3 { font-size: 1.45rem; }
.promise p { color: var(--muted); margin: 0; }
.promise::after { counter-increment: promise; content: "0" counter(promise); position: absolute; top: 26px; right: 30px; font: 700 0.9rem/1 var(--font-round); color: var(--muted); opacity: 0.5; }

/* The screen rail (home) */
.rail-wrap { overflow: hidden; padding: 8px 0 40px; }
.rail { display: flex; gap: clamp(18px, 3vw, 34px); padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); width: max-content; }
.rail figure { margin: 0; width: clamp(210px, min(19vw, 30vh), 270px); flex: none; }
.rail figcaption { margin-top: 18px; font-weight: 600; font-size: 1rem; }
.rail figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail-wrap::-webkit-scrollbar { display: none; }
  .rail figure { scroll-snap-align: center; }
}

/* A phone, drawn round a screenshot */
.phone {
  position: relative; aspect-ratio: 1320 / 2868;
  border-radius: 15% / 7%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2a3438, #0b1012 60%, #1d2629);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 50px 80px -40px rgba(6, 29, 35, 0.6), 0 20px 30px -20px rgba(6, 29, 35, 0.35);
}
.phone img, .phone .screens { width: 100%; height: 100%; border-radius: 12.4% / 5.8%; object-fit: cover; background: #f2f5f8; }

/* ---- Vision Pro -------------------------------------------------------------------------- */
.vision { overflow: clip; }
.vision-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .vision-grid { grid-template-columns: 1fr; } }
.vision-shot { border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px rgba(135, 232, 223, 0.18), 0 50px 100px -40px rgba(0, 0, 0, 0.8); }
.vision-shot img { width: 100%; }
.pool-view { margin-top: 28px; border-radius: 24px; padding: 18px; background: rgba(135, 232, 223, 0.07); box-shadow: inset 0 0 0 1px rgba(135, 232, 223, 0.15); }
.pool-view a[rel="ar"] { display: block; }
.pool-view img { width: 100%; }
.pool-view model { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; }
.pool-view p { font-size: 0.95rem; margin: 12px 4px 0; }
.only-vision { display: none; }
.is-vision .only-vision { display: block; }
.is-vision .not-vision { display: none; }
.only-model { display: none; }
.has-model .only-model { display: block; }
.has-model .no-model { display: none; }
.vision-hello {
  align-items: center; gap: 14px; margin-bottom: 26px;
  padding: 12px 18px 12px 12px; border-radius: 999px; width: fit-content;
  background: rgba(135, 232, 223, 0.12); color: var(--aqua); font-weight: 600;
}
.vision-hello svg { width: 30px; height: 30px; }
.is-vision .vision-hello { display: flex; }
a.vision-hello { text-decoration: none; }
.hero .vision-hello { margin-inline: auto; }
@media (max-width: 860px) { .app-hero .vision-hello { margin-inline: auto; } }

/* ---- The FAQ ----------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative;
  font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 26px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---- The Swim Sage page ------------------------------------------------------------------ */
.app-hero { padding: calc(120px + env(safe-area-inset-top)) 0 clamp(60px, 9vw, 120px); overflow: clip; }
.app-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .app-hero-grid { grid-template-columns: 1fr; text-align: center; } .app-hero-grid .buttons { justify-content: center; } .app-hero-grid .lede { margin-inline: auto; } }
.app-hero .app-icon { width: clamp(84px, 11vw, 120px); border-radius: 22.5%; margin-bottom: 28px; box-shadow: 0 0 0 1px rgba(135, 232, 223, 0.22), 0 30px 60px -24px rgba(0, 0, 0, 0.8); }
@media (max-width: 860px) { .app-hero .app-icon { margin-inline: auto; } }
.app-hero h1 { margin-bottom: 0.2em; }
.tagline, .dark .tagline { font: 650 clamp(1.4rem, 3vw, 2rem)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--aqua); margin-bottom: 22px; }
.hero-phone { width: min(330px, 74vw); margin-inline: auto; position: relative; }
.hero-phone::before { content: ""; position: absolute; inset: -30% -40%; z-index: -1; background: radial-gradient(closest-side, rgba(51, 191, 194, 0.36), transparent 72%); }
.app-hero .ribbons { position: absolute; inset: auto -10% -20% -10%; width: 120%; max-width: none; height: 70%; z-index: -1; opacity: 0.4; pointer-events: none; }
.app-hero .ribbons path { fill: none; stroke-linecap: round; }

/* The story: each step its own screen. With script on a wide screen, the phone stays and its screen changes. */
.story { position: relative; }
.story .step { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
.story .step .phone { width: min(300px, 72vw); margin: 8px auto 0; }
.story .step h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.025em; }
.story .step p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.story .step .eyebrow { margin-bottom: 12px; }
.story-phone { display: none; }
@media (min-width: 900px) {
  .story.is-pinned { display: grid; grid-template-columns: 1fr 380px; gap: 80px; }
  .story.is-pinned .step { min-height: 88vh; align-content: center; padding: 0; }
  .story.is-pinned .step .phone { display: none; }
  .story.is-pinned .story-phone { display: block; position: sticky; top: calc(50vh - 340px); height: 690px; grid-column: 2; grid-row: 1 / span 20; }
  .story.is-pinned .story-phone .phone { width: 318px; margin-inline: auto; }
  .story.is-pinned .steps { grid-column: 1; }
  .story-phone .screens { position: relative; overflow: hidden; }
  .story-phone .screens img { position: absolute; inset: 0; opacity: 0; border-radius: 0; }
  .story-phone .screens img.on { opacity: 1; }
  .story-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
  .story-dots span { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width 0.3s ease, background 0.3s ease; }
  .story-dots span.on { width: 22px; background: var(--accent); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .story.is-pinned .story-phone { top: 90px; height: auto; }
  .story.is-pinned .story-phone .phone { width: 250px; }
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(6, 29, 35, 0.4); }
.feature .glyph { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.feature .glyph svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }

.ipad { margin-top: clamp(40px, 6vw, 72px); }
.ipad-frame { border-radius: 4.2% / 3.2%; padding: 2.2%; background: linear-gradient(145deg, #2a3438, #0b1012 60%, #1d2629); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), var(--shadow); max-width: 760px; margin-inline: auto; }
.ipad-frame img { border-radius: 2.4% / 1.8%; }

.privacy-band .big { font: 700 clamp(1.8rem, 4.4vw, 3.3rem)/1.12 var(--font-display); letter-spacing: -0.03em; max-width: 20em; color: #ffffff; }
.privacy-band .big span { color: var(--aqua); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; margin-top: 56px; padding: 0; list-style: none; }
.facts li { border-top: 1px solid rgba(135, 232, 223, 0.2); padding-top: 18px; color: rgba(225, 242, 244, 0.78); }
.facts strong { display: block; font: 700 1.3rem/1.2 var(--font-display); color: #ffffff; margin-bottom: 6px; }

.cta { text-align: center; }
.cta .app-icon { width: 104px; border-radius: 22.5%; margin: 0 auto 28px; box-shadow: var(--shadow); }
.cta .buttons { justify-content: center; }

/* ---- Text pages: privacy, support, 404 ---------------------------------------------------- */
.page-hero { padding: calc(130px + env(safe-area-inset-top)) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.prose { max-width: 760px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.7em; }
.prose .faq { margin: 20px 0 0; }
.answer { padding: 22px 26px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 0 var(--line); margin-bottom: 28px; }
.answer p:last-child { margin: 0; }

/* ---- The footer -------------------------------------------------------------------------- */
.site-foot { padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; align-items: flex-start; }
.site-foot .brand { font-size: 1.2rem; margin-bottom: 14px; }
.site-foot .brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-foot p { margin: 0; max-width: 26em; }
.site-foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.site-foot nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-foot nav a:hover { color: #ffffff; text-decoration: underline; }
.site-foot .fine { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(135, 232, 223, 0.12); font-size: 0.82rem; color: rgba(225, 242, 244, 0.55); max-width: none; }

/* Script hides only what it is about to bring in, and only when motion is welcome (see site.js). */
@media (prefers-reduced-motion: no-preference) {
  .js-intro [data-intro] { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
