/* Landing page. The legal pages keep using style.css. */
:root {
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --ink: #1A1714;
  --muted: #6B635A;
  --line: #E9E2D7;
  --accent: #FF4D2E;
  --accent-soft: #FFE3DC;
  --mustard: #FFC53D;
  --green: #1FAA6B;
  --radius: 22px;
  --wrap: 1120px;
  --heading: #2B2622;
  --body-soft: #3A332D;
  --faint: #A39A91;
  --icon: #9A9088;
  --hairline: rgba(26, 23, 20, .06);
  --field: #FBF8F3;
  --on-ink: #fff;
  --hero-glow: #FFF4EC;
  --foot-warm: #FFF1CC;
  --pro-a: #FFF1E8;
  --pro-b: #FFE7DC;
  --glass: rgba(255, 255, 255, .6);
  --shadow: rgba(26, 23, 20, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Nav ------------------------------------------------------------------ */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}

/* Reading progress, driven by motion.js. */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #FF4D2E, #FF9466);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }

.nav-links { display: flex; gap: 28px; margin-left: auto; color: var(--muted); font-size: 16px; font-weight: 600; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-toggle { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--card); cursor: pointer; box-shadow: 0 4px 14px var(--shadow); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 23px; }
nav.open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
nav.open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0) scale(.98); }
.pill.dark { background: var(--ink); color: var(--on-ink); height: 42px; padding: 0 18px; font-size: 15px; }
.pill.accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 77, 46, .28); }
.pill.soft { background: var(--accent-soft); color: var(--accent); }

/* Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 20px 0;
  background:
    radial-gradient(90% 60% at 50% 0%, var(--hero-glow) 0%, transparent 70%),
    var(--bg);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 17px;
}
.eyebrow img { border-radius: 8px; }

h1 {
  margin: 20px auto 0;
  max-width: 14ch;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 500;
  color: var(--heading);
}

h1, h2, h3 { text-wrap: balance; }
.lede, .copy p, .section-head p { text-wrap: pretty; }

/* Aave-style gradient on the key word or number in a headline. */
.grad {
  background: linear-gradient(90deg, #FF4D2E 0%, #FF6A3D 35%, #FF9466 75%, #FFB38A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lede {
  margin: 20px auto 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
}

.cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.fineprint { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Phone trio ----------------------------------------------------------- */

.phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(-40px, -3vw, 0px);
  margin: clamp(32px, 6vw, 72px) auto 0;
  padding-bottom: clamp(56px, 8vw, 96px); /* room for the whole phone and its shadow */
  max-width: 980px;
  perspective: 1400px;
}

.phone { margin: 0; will-change: transform; }
.phone.front { width: min(46%, 300px); z-index: 2; }
.phone.side { width: min(40%, 262px); z-index: 1; }
.phone.side.left { transform: translate(14%, 6%) rotate(-4deg); transform-origin: bottom right; }
.phone.side.right { transform: translate(-14%, 6%) rotate(4deg); transform-origin: bottom left; }
.phone.side .device { filter: saturate(.92) brightness(.98); }

/* iPhone frame: brushed titanium rail, black bezel, Dynamic Island, side buttons.
   Every measurement is a fraction of the device width, so one frame works at any size. */
.device {
  --w: 100%;
  position: relative;
  width: var(--w);
  aspect-ratio: 460 / 1000;
  border-radius: 18.5%/8.5%;
  padding: 1.6%;
  background:
    linear-gradient(145deg, #F3F1EE 0%, #C9C4BD 14%, #8F8981 30%, #E8E4DE 50%, #9A948C 72%, #CFCAC3 88%, #F1EFEC 100%);
  box-shadow:
    0 2px 2px rgba(255, 255, 255, .6) inset,
    0 -2px 3px rgba(0, 0, 0, .25) inset,
    0 34px 70px rgba(26, 23, 20, .28),
    0 6px 18px rgba(26, 23, 20, .14);
  isolation: isolate;
}

/* The thin black gap between the rail and the glass. */
.device::after {
  content: "";
  position: absolute;
  inset: 1.4%;
  border-radius: 17%/8%;
  background: #080706;
  z-index: 0;
}

.screen {
  position: relative;
  z-index: 1;
  border-radius: 16.5%/7.6%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .8);
}
.screen img { display: block; width: 100%; }

.island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  aspect-ratio: 5 / 1.45;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

/* Side buttons. Left rail: action button, then the two volume keys. Right rail: power. */
.device::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -1.1%;
  top: 17%;
  width: 1.4%;
  height: 27%;
  border-radius: 2px 0 0 2px;
  /* One element, two keys: the gap in the middle is the split between volume up and down. */
  background:
    linear-gradient(90deg, #6E6860 0%, #BFB9B1 60%, #8B857D 100%) 0 0 / 100% 45% no-repeat,
    linear-gradient(90deg, #6E6860 0%, #BFB9B1 60%, #8B857D 100%) 0 100% / 100% 45% no-repeat;
}

/* The action button sits above them; power is on the opposite rail. */
.device .rail-left,
.device .rail-right { position: absolute; z-index: 2; pointer-events: none; }

.device .rail-right {
  right: -1.1%;
  top: 22%;
  width: 1.4%;
  height: 16%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(270deg, #6E6860 0%, #BFB9B1 60%, #8B857D 100%);
}

.device .rail-left {
  left: -1.1%;
  top: 11%;
  width: 1.4%;
  height: 5%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #6E6860 0%, #BFB9B1 60%, #8B857D 100%);
}

/* Stat strip ----------------------------------------------------------- */

.strip { padding: 0 clamp(16px, 4vw, 40px); }
.strip-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.strip-inner div { display: flex; flex-direction: column; gap: 2px; }
.strip strong { font-size: 24px; font-weight: 600; letter-spacing: -.025em; color: var(--heading); }
.strip span { color: var(--muted); font-size: 15px; }

/* Features ------------------------------------------------------------- */

main { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 104px) clamp(16px, 4vw, 40px); }

.feature {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 300px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0;
}
.feature.flip { grid-template-columns: minmax(200px, 300px) 1fr; }
.feature.flip .copy { order: 2; }

.kicker { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.kicker.light { color: var(--mustard); }

h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 500; color: var(--heading); }
.copy p { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 46ch; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* Section phones never grow taller than the window (a phone is ~2.17x its width). */
.shot { margin: 0; width: min(100%, 36vh); justify-self: center; }
.shot .device { --w: 100%; }

/* Section heads (Why, Inside, FAQ) --------------------------------------- */

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

/* Why choose ------------------------------------------------------------ */

.why { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 8vw, 112px); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.why-card { padding: 0; }
.why-art {
  display: grid;
  place-items: center;
  justify-items: start;
  height: 200px;
}
.why-art img { width: 100%; max-width: 330px; height: auto; filter: drop-shadow(0 10px 18px rgba(26, 23, 20, .10)); }
.why-art img.why-mascot { width: auto; max-width: none; height: 150px; filter: none; }
.why-card h3 { margin: 22px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--heading); line-height: 1.25; }
.why-card p { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }

/* What's inside ---------------------------------------------------------- */

.inside { padding: clamp(40px, 6vw, 72px) 0; }
.inside-grid { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.inside-phone { margin: 0; width: min(100%, 30vh); justify-self: center; }
.inside-phone img { transition: opacity .25s ease; }
.inside-phone img.swapping { opacity: 0; }
.inside-cards { display: grid; gap: 14px; }
.inside-card {
  all: unset;
  box-sizing: border-box;
  display: block;
  cursor: pointer;
  padding: 22px 26px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--card) 55%, transparent);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.inside-card:hover { background: var(--card); }
.inside-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.inside-card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--heading); }
.inside-card p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: var(--muted); font-size: 16px; transition: max-height .35s ease, opacity .25s ease, margin .35s ease; }
.inside-card.active { background: var(--card); box-shadow: 0 18px 48px var(--shadow); }
.inside-card.active::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), #FF9466); }
.inside-card.active p { max-height: 160px; opacity: 1; margin-top: 8px; }

/* Privacy ----------------------------------------------------------------- */

.privacy { padding: clamp(32px, 5vw, 64px) 0; }
.privacy-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.privacy-copy p:last-child { color: var(--muted); font-size: 18px; margin: 0; max-width: 32ch; }
.privacy-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.privacy-list li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.privacy-list strong { display: block; margin-bottom: 4px; color: var(--heading); font-weight: 600; font-size: 18px; }

/* FAQ --------------------------------------------------------------------- */

.faq { padding: clamp(40px, 6vw, 72px) 0 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-child { border-top: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 600; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 500; line-height: 1; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: -6px 4px 22px; color: var(--muted); max-width: 64ch; }
.faq details a, .faq-more a { color: var(--accent); font-weight: 600; }
.faq-more { text-align: center; color: var(--muted); margin: 28px 0 0; }

/* Pro ------------------------------------------------------------------ */

.pro { padding: clamp(24px, 4vw, 48px) 0; }

.pro-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 320px);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: linear-gradient(135deg, var(--pro-a) 0%, var(--pro-b) 100%);
  border-radius: 40px;
  padding: clamp(32px, 5vw, 72px);
  padding-bottom: 0;
  overflow: hidden;
}

.pro-copy { padding-bottom: clamp(32px, 5vw, 72px); }
.pro-icon { border-radius: 16px; margin-bottom: 28px; box-shadow: 0 10px 24px rgba(255, 77, 46, .25); }
.pro-card h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 10px; }
.pro-card p { color: var(--muted); font-size: clamp(17px, 2vw, 21px); margin: 0 0 28px; max-width: 34ch; }
.apple { font-size: 17px; line-height: 1; }

/* The phone runs off the bottom of the card, the way a real product shot would. */
.pro-phone { align-self: end; justify-self: end; width: min(100%, 260px, 32vh); margin-bottom: -16%; }

/* Waitlist ------------------------------------------------------------- */

.waitlist { padding: clamp(32px, 5vw, 64px) 0 0; }
.waitlist-card {
  background: var(--card);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  box-shadow: 0 24px 60px var(--shadow);
}
.waitlist-card p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
#waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
#waitlist-email {
  height: 48px;
  min-width: min(340px, 100%);
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
#waitlist-email:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.status { min-height: 22px; margin: 16px 0 0; font-size: 15px; font-weight: 600; }
.status.ok { color: var(--green); }
.status.bad { color: var(--accent); }

/* Blocker shield mock: rebuilt in HTML because the real shield can't be screenshotted.
   Copy and colours come from ShieldConfigurationExtension.swift. Sizes use cqw so it scales with the phone. */
/* The shield mock pins its own colours so it always matches the real iOS screen. */
.shield-screen { --bg: #FAF7F2; --ink: #1A1714; --muted: #6B635A; aspect-ratio: 460 / 1000; container-type: inline-size; background: var(--bg); }
.shield-behind { position: absolute; inset: 0; filter: blur(14px); opacity: .55; }
.shield-behind i { position: absolute; left: 8%; right: 8%; border-radius: 6cqw; background: #E9E2D7; }
.shield-behind i:nth-child(1) { top: 12%; height: 22%; background: #F4B39F; }
.shield-behind i:nth-child(2) { top: 38%; height: 12%; }
.shield-behind i:nth-child(3) { top: 53%; height: 12%; background: #F7D58A; }
.shield-behind i:nth-child(4) { top: 68%; height: 12%; }
.shield-behind i:nth-child(5) { top: 83%; height: 10%; background: #F4B39F; }
.shield-screen::after { content: ""; position: absolute; inset: 0; background: rgba(250, 247, 242, .72); backdrop-filter: saturate(1.4); }

.shield-status { position: absolute; z-index: 2; top: 3.2%; left: 12%; right: 10%; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 4.2cqw; color: var(--ink); }
.shield-icons { display: flex; align-items: center; gap: 1.6cqw; }
.shield-icons svg { height: 2.9cqw; width: auto; fill: currentColor; }

.shield-body { position: absolute; z-index: 2; top: 30%; left: 9%; right: 9%; text-align: center; }
.shield-flame { width: 15cqw; height: 15cqw; fill: var(--accent); margin: 0 auto 5cqw; display: block; }
.shield-title { margin: 0 0 3cqw; font-weight: 800; font-size: 7.4cqw; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.shield-sub { margin: 0; font-size: 4.3cqw; line-height: 1.4; color: var(--muted); }

.shield-actions { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 6%; display: grid; gap: 3cqw; text-align: center; font-weight: 700; font-size: 4.6cqw; }
.shield-primary { padding: 4.2cqw 0; border-radius: 4cqw; background: var(--accent); color: #fff; }
.shield-secondary { padding: 2cqw 0; color: var(--accent); }

/* The shield drops in over the blurred app once the section scrolls into view. */
.shield-body, .shield-actions { opacity: 0; transform: translateY(4%); transition: opacity .6s ease .35s, transform .6s cubic-bezier(.22,.8,.3,1) .35s; }
.shield-screen::after { opacity: 0; transition: opacity .5s ease .2s; }
.shot.in .shield-body, .shot.in .shield-actions { opacity: 1; transform: none; }
.shot.in .shield-screen::after { opacity: 1; }

/* Footer --------------------------------------------------------------- */

.site-foot {
  margin-top: clamp(48px, 8vw, 96px);
  padding: 0 clamp(16px, 4vw, 40px) 56px;
  /* Starts as the page colour and fades into the tint, so there's no seam. */
  background:
    linear-gradient(to bottom, var(--bg) 0, transparent 240px),
    radial-gradient(60% 70% at 12% 35%, var(--accent-soft) 0%, transparent 70%),
    radial-gradient(50% 70% at 95% 100%, var(--foot-warm) 0%, transparent 70%),
    var(--bg);
}
.foot-wrap { max-width: var(--wrap); margin: 0 auto; }
.foot-wrap::before { content: ""; display: block; height: 1px; background: var(--hairline); margin-bottom: clamp(48px, 7vw, 80px); }

.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col h4 { margin: 0 0 6px; color: var(--accent); font-size: 16px; font-weight: 600; }
.foot-col a { color: var(--body-soft); font-size: 16px; font-weight: 500; width: fit-content; transition: color .15s; }
.foot-col a:hover { color: var(--accent); }
.app-link { display: flex; align-items: center; gap: 10px; }
.app-link img { width: 28px; height: 28px; border-radius: 8px; }
.app-link .app-dark { filter: grayscale(1) brightness(.35); }

.foot-bar { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: clamp(56px, 8vw, 88px); }
.foot-mark { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: 36px; letter-spacing: -.03em; line-height: 1; }
.foot-mark img { width: 44px; height: 44px; border-radius: 12px; }
.foot-social { display: flex; gap: 22px; margin-left: auto; }
.foot-social a { color: var(--icon); transition: color .15s; }
.foot-social a:hover { color: var(--ink); }
.foot-social svg { width: 24px; height: 24px; display: block; fill: currentColor; }
.foot-social svg[fill="none"] { fill: none; }
.foot-store { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: var(--glass); color: var(--body-soft); font-weight: 600; font-size: 15px; }
.foot-store svg { width: 20px; height: 20px; fill: currentColor; }
.foot-store:hover { background: var(--card); }

.foot-note { margin: clamp(40px, 6vw, 72px) 0 0; color: var(--faint); font-size: 15px; line-height: 1.65; }

@media (max-width: 860px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-social { margin-left: -10px; }
}

/* Motion --------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: var(--delay, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { transform: none !important; }
}

/* Small screens -------------------------------------------------------- */

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-phone { max-width: 260px; margin: 0 auto; }
  /* On phones the cards become a swipeable row; the phone above follows along. */
  .inside-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 4px clamp(16px, 4vw, 40px) 24px; scrollbar-width: none; }
  .inside-cards::-webkit-scrollbar { display: none; }
  .inside-card { flex: 0 0 84%; scroll-snap-align: center; }
  .inside-card p { max-height: none; opacity: 1; margin-top: 8px; }
  .privacy-card { grid-template-columns: 1fr; }
  .pro-card { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
  .pro-copy { padding-bottom: 8px; }
  .pro-card p { margin-left: auto; margin-right: auto; }
  .pro-phone { max-width: 260px; margin: 0 auto -18%; }

  /* Phones: the links fold into a menu under the bar. */
  .nav-toggle { display: block; }
  .pill.dark { margin-left: auto; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(16px, 4vw, 40px);
    right: clamp(16px, 4vw, 40px);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 24px 60px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-links a { padding: 14px 16px; border-radius: 16px; font-size: 18px; color: var(--heading); }
  .nav-links a:active { background: var(--accent-soft); }
  .feature { grid-template-columns: 1fr; }
  .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .feature { gap: 28px; padding: 40px 0; }
  .shot { width: 100%; max-width: 250px; margin: 0 auto; }
  .phone.front { width: 62%; }
  .phone.side { width: 46%; opacity: .8; }

  /* The three stats sit side by side as a compact row instead of stacking. */
  .strip-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 22px 0; text-align: center; }
  .strip strong { font-size: 19px; }
  .strip span { font-size: 13px; line-height: 1.35; }

  .why { padding-top: 48px; }
  .why-grid { gap: 36px; }
  .why-art { height: 160px; }
  .why-art img { max-width: 290px; }
  .why-art img.why-mascot { height: 118px; }
  .why-card h3 { margin-top: 18px; }

  .inside { padding: 48px 0; }
  .inside-phone { max-width: 230px; }

  .privacy { padding: 32px 0; }
  .privacy-list li { padding: 16px 0; }
  .privacy-list strong { font-size: 17px; }

  .faq { padding-top: 48px; }
  .faq summary { font-size: 17px; padding: 18px 2px; }
  .faq-more a { display: inline-block; padding: 10px 4px; }

  /* Full-width form on phones: a bigger target and no awkward wrap. */
  #waitlist-form { flex-direction: column; align-items: stretch; }
  #waitlist-email { min-width: 0; width: 100%; height: 52px; }
  #waitlist-form .pill { width: 100%; height: 52px; }

  .site-foot { padding-bottom: 40px; }
  .foot-cols { gap: 32px 20px; }
  .foot-col { gap: 12px; }
  .foot-bar { gap: 20px; margin-top: 48px; }
  .foot-mark { font-size: 30px; }
  .foot-mark img { width: 38px; height: 38px; }
  .foot-social { gap: 4px; }
  .foot-social a { display: grid; place-items: center; width: 44px; height: 44px; }
  .foot-store { width: 100%; justify-content: center; }
  .foot-note { font-size: 14px; }
}

/* Small phones (iPhone SE and similar) ------------------------------------- */

@media (max-width: 380px) {
  nav { gap: 10px; }
  .brand span { font-size: 18px; }
  .pill.dark { padding: 0 14px; font-size: 14px; }
  .cta .pill { flex: 1 1 100%; }
  .strip strong { font-size: 17px; }
  .shot, .inside-phone { max-width: 220px; }
  h1 { font-size: 38px; }
  h1 br { display: none; }
}

/* 404 --------------------------------------------------------------------- */

.not-found { min-height: calc(100vh - 80px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found img { border-radius: 18px; box-shadow: 0 12px 28px rgba(255, 77, 46, .25); }
.not-found h1 { max-width: none; font-size: clamp(38px, 6vw, 68px); }
.not-found p { color: var(--muted); font-size: 19px; margin: 14px 0 0; }
