:root {
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Color — restrained Apple palette */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-soft: #fafafc;
  --bg-dark: #0a0a0c;
  --bg-darker: #000000;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-subtle: #86868b;
  --text-inverse: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --accent-glow: rgba(0, 113, 227, 0.28);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-strong: rgba(255, 255, 255, 0.18);

  /* Spacing */
  --container: 1120px;
  --container-wide: 1200px;
  --pad-x: 24px;
  --section-py: clamp(88px, 11vw, 140px);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 240ms;
  --dur-lg: 500ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* Typography scale */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 6.8vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-weight: 700;
}

h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0; }

/* Gradient text accent — used sparingly */
.grad-text {
  background: linear-gradient(135deg, #0071e3 0%, #7a5cff 60%, #0099ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Strike-through word (for "not noise") */
.strike {
  position: relative;
  color: var(--text-subtle);
}
.dark .strike { color: rgba(245, 245, 247, 0.4); }
.strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 6px;
  background: currentColor;
  border-radius: 6px;
  opacity: 0.85;
  transform: rotate(-1.5deg);
}

/* Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}
.nav-cta svg { transition: transform var(--dur) var(--ease); }
.nav-cta:hover svg { transform: translateX(2px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 980px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 46px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost svg { transition: transform var(--dur) var(--ease); }
.btn-ghost:hover svg { transform: translateY(2px); }

.btn:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.35);
  outline-offset: 2px;
}

/* App Store badge */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.app-store-badge img {
  object-fit: contain;
  height: auto;
}
.app-store-badge:hover {
  transform: translateY(-1px);
}

/* Sections & rhythm */
section {
  padding: var(--section-py) 0;
  position: relative;
}

section.alt {
  background: var(--bg-alt);
}

.section-head {
  display: grid;
  gap: 20px;
  margin: 0 auto 80px;
  text-align: center;
  max-width: 820px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #6fb4ff;
}

.section-head p {
  color: var(--text-muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.42;
  max-width: 66ch;
  margin: 0 auto;
}

.section-head-dark p {
  color: rgba(245, 245, 247, 0.7);
}

/* Hero */
.hero {
  padding: 144px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  top: -280px;
  right: -200px;
  width: 780px;
  height: 780px;
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.22), rgba(122, 92, 255, 0.12) 45%, transparent 70%);
  filter: blur(40px);
  opacity: 0.9;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }
.stack, .stack-lg { min-width: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
  letter-spacing: -0.01em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(0, 113, 227, 0.05); }
}

.hero h1 {
  margin-top: 20px;
  max-width: 15ch;
}

.hero .lead {
  margin-top: 24px;
  font-size: clamp(19px, 1.6vw, 23px);
  color: var(--text-muted);
  line-height: 1.42;
  max-width: 34ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.pill svg { color: var(--accent); flex: 0 0 auto; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  align-items: center;
}

.hero .subtext {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

/* Hero visual — device with live AI detection overlay */
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
}

.device-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.32),
    0 18px 36px -18px rgba(0, 113, 227, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  isolation: isolate;
}

.device-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-indicator {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
  animation: pulse-live 1.6s var(--ease) infinite;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.detection-box {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: #6fb4ff;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(0, 113, 227, 0.5));
}

.detection-label {
  position: absolute;
  top: calc(62% - 22px);
  left: 50%;
  z-index: 3;
  padding: 4px 9px;
  background: #0071e3;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px 6px 6px 0;
  box-shadow: 0 6px 18px -4px rgba(0, 113, 227, 0.45);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(0, 153, 255, 0.18), transparent);
  pointer-events: none;
  animation: scan 4.6s var(--ease) infinite;
}
@keyframes scan {
  0% { transform: translateY(-30%); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(420%); opacity: 0; }
}

/* Floating notification + privacy chip */
.toast-notification {
  position: absolute;
  left: -18px;
  bottom: 12%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  min-width: 220px;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.toast-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.toast-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.floating-chip {
  position: absolute;
  top: 12%;
  right: -16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #0a0a0c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.42);
}
.floating-chip svg { color: #6fb4ff; }

/* STAT STRIP */
.stats {
  padding: 24px 0 88px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat {
  display: grid;
  gap: 6px;
}
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-unit {
  font-size: 0.48em;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

/* WHY AI (dark contrast) */
.why-ai.dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.section-head-dark h2 {
  color: #ffffff;
}
.section-head-dark h2 br + span { display: inline-block; }

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 72px;
}

.vs-card {
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  display: grid;
  gap: 20px;
}

.vs-card.vs-new {
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0.02));
  border: 1px solid rgba(111, 180, 255, 0.3);
  box-shadow: 0 30px 70px -30px rgba(0, 113, 227, 0.4);
}

.vs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.7);
  width: fit-content;
}
.vs-new .vs-label { color: #6fb4ff; }

.vs-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #6fb4ff;
  box-shadow: 0 0 0 4px rgba(111, 180, 255, 0.18);
}
.vs-dot.red {
  background: #ff453a;
  box-shadow: 0 0 0 4px rgba(255, 69, 58, 0.15);
}

.vs-card h3 {
  color: #ffffff;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.vs-stack {
  display: grid;
  gap: 8px;
}

.fake-notif {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}
.fake-notif.dim {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 247, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.fake-notif.bright {
  background: rgba(0, 113, 227, 0.18);
  color: #ffffff;
  border: 1px solid rgba(111, 180, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 14px 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px -8px rgba(0, 113, 227, 0.5);
}

.notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #6fb4ff;
  box-shadow: 0 0 0 4px rgba(111, 180, 255, 0.25);
  animation: pulse-live 1.6s var(--ease) infinite;
  flex: 0 0 auto;
}

.vs-footnote {
  color: rgba(245, 245, 247, 0.55);
  font-size: 14px;
  line-height: 1.5;
  margin-top: auto;
}

.why-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.feat-dark {
  background: var(--bg-dark);
  padding: 36px 28px;
  display: grid;
  gap: 12px;
  transition: background var(--dur) var(--ease);
}
.feat-dark:hover { background: #131318; }

.feat-icon-dark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(111, 180, 255, 0.1);
  color: #6fb4ff;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.feat-dark h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}
.feat-dark p {
  color: rgba(245, 245, 247, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

/* SPARE PHONE — 3 step flow */
.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: grid;
  gap: 12px;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  min-height: 200px;
}

.step-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.step h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.step-line {
  position: relative;
  height: 2px;
  margin-top: 96px;
  align-self: start;
  background: repeating-linear-gradient(to right, var(--border-strong) 0 6px, transparent 6px 12px);
  opacity: 0.6;
}
.step-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: rotate(45deg);
  opacity: 0.6;
}

.hardware-recap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  padding: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
}
.hardware-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hardware-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.hardware-list li {
  position: relative;
  padding-left: 22px;
}
.hardware-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* BENTO GRID (Why RECAM) */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.bento-card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.12);
}

.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 44px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  border: 1px solid var(--border);
  justify-content: space-between;
  gap: 32px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bento-hero h3 {
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.bento-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.bento-hero p {
  font-size: 17px;
  max-width: 44ch;
}

.bento-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bento-visual {
  flex: 1;
  min-height: 180px;
  display: grid;
  place-items: center;
  position: relative;
}

.shield-stack {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.shield-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: shield-float 6s var(--ease) infinite;
}
@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.shield-ping {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.6);
  animation: shield-ping 2.4s var(--ease) infinite;
}
@keyframes shield-ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5), 0 0 0 0 rgba(0, 113, 227, 0.25); }
  70% { box-shadow: 0 0 0 18px rgba(0, 113, 227, 0), 0 0 0 32px rgba(0, 113, 227, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0), 0 0 0 0 rgba(0, 113, 227, 0); }
}

.bento-text { display: grid; gap: 8px; }

/* PRICING comparison */
.pricing .section-head { margin-bottom: 64px; }

.price-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.price-col {
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
}

.price-col-winner {
  background: linear-gradient(145deg, #0a0a0c 0%, #101020 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -40px rgba(0, 113, 227, 0.5);
}

.price-col-ghost {
  background: var(--bg-alt);
  color: var(--text);
}

.price-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-col-winner .price-brand { color: #6fb4ff; }
.price-col-ghost .price-brand { color: var(--text-muted); }

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.price-currency {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
}
.price-num {
  font-size: clamp(80px, 12vw, 144px);
}
.price-suffix {
  font-size: clamp(36px, 4vw, 54px);
  color: var(--text-muted);
  font-weight: 600;
}
.price-tag.ghost { color: var(--text-muted); }
.price-tag.ghost .price-num { color: var(--text); opacity: 0.42; }

.price-sub {
  font-size: 15px;
}
.price-col-winner .price-sub { color: rgba(245, 245, 247, 0.7); }
.price-col-ghost .price-sub { color: var(--text-muted); }

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 15px;
  line-height: 1.4;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-list li svg { flex: 0 0 auto; color: var(--accent); }
.price-col-winner .price-list li svg { color: #6fb4ff; }
.price-list.ghost li { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.2); }
.price-list.ghost li svg { color: var(--text-subtle); }

.price-col-winner .app-store-badge {
  margin-top: 12px;
  justify-self: start;
}

/* Mid-page CTA band */
.mid-cta {
  padding: 24px 0;
}
.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #f5f5f7 0%, #e8eefd 100%);
  border: 1px solid var(--border);
}
.mid-cta-heading {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mid-cta-sub {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* USE CASES grid */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.uc {
  padding: 28px 26px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.uc:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.1);
  border-color: var(--border-strong);
}
.uc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.uc h3 { font-size: 17px; font-weight: 600; }
.uc p { color: var(--text-muted); font-size: 14px; line-height: 1.45; }

/* AI deep-dive split */
.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.ai-col {
  padding: 40px 36px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
}
.ai-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.ai-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}
.ai-list li {
  position: relative;
  padding-left: 22px;
}
.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--accent);
}
.ai-list-accent li strong {
  color: var(--accent);
  font-weight: 700;
}

/* PRIVACY — zero row */
.privacy .section-head { margin-bottom: 64px; }

.zero-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.zero {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  text-align: center;
  display: grid;
  gap: 6px;
}
.zero-num {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #1d1d1f 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.zero-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.privacy-promise {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.promise-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.promise-line svg {
  color: var(--accent);
  flex: 0 0 auto;
}

/* MAIN CTA (dark card) */
section[aria-label="Call to action"] {
  padding-top: 40px;
  padding-bottom: var(--section-py);
}
.cta {
  position: relative;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #0a0a0c 0%, #131320 55%, #0a0a0c 100%);
  color: var(--text-inverse);
  padding: 88px 80px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  isolation: isolate;
}
.cta-halo {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.35), rgba(122, 92, 255, 0.15) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}
.cta-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6fb4ff;
  margin: 0 0 14px;
}
.cta-content { text-align: left; }
.cta h2 {
  color: #ffffff;
  max-width: 16ch;
  margin: 0;
  font-size: clamp(30px, 3.6vw, 52px);
}
.cta p {
  color: rgba(245, 245, 247, 0.72);
  font-size: 18px;
  line-height: 1.5;
  margin: 22px 0 0;
  max-width: 48ch;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 36px;
}
.cta-actions .subtext {
  color: rgba(245, 245, 247, 0.52);
  font-size: 13px;
  margin: 0;
}
.cta-visual {
  max-width: 380px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent);
  mask-image: linear-gradient(to right, #000 55%, transparent);
  justify-self: center;
}
.cta-visual img {
  width: 100%;
  height: auto;
}

/* BABY showcase */
.baby-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.baby-showcase-text { display: grid; gap: 18px; }
.baby-showcase-text .eyebrow { margin: 0; }
.baby-showcase-text h2 { max-width: 18ch; }
.baby-showcase-body {
  color: var(--text-muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.42;
  max-width: 40ch;
}
.baby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.baby-showcase-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.2);
}
.baby-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ — flat, Notion-style */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-top: 1px solid var(--border-strong);
  padding: 26px 4px;
  transition: background var(--dur) var(--ease);
}
.faq details:last-child {
  border-bottom: 1px solid var(--border-strong);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.chev {
  width: 18px;
  height: 18px;
  transition: transform 260ms var(--ease);
  color: var(--text-muted);
  flex: 0 0 auto;
}
.faq details[open] .chev { transform: rotate(180deg); color: var(--accent); }
.faq details p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 72ch;
}
.faq details a { color: var(--accent); }
.faq details a:hover { text-decoration: underline; }

/* Footer */
footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.fineprint {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.fineprint strong {
  color: var(--text);
  font-weight: 600;
}
.fineprint .row {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.fineprint a {
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.fineprint a:hover { color: var(--text); }
.footer-disclaimer {
  margin-top: 16px;
  color: rgba(29, 29, 31, 0.52);
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-hero { grid-column: span 3; grid-row: auto; }
  .bento-wide { grid-column: span 3; }
}

@media (max-width: 980px) {
  .hero { padding: 120px 0 64px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }
  .hero h1 { max-width: none; }
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 5 / 6;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

  .vs-grid { grid-template-columns: 1fr; }
  .why-ai-grid { grid-template-columns: repeat(2, 1fr); }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-line { display: none; }

  .hardware-recap { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero, .bento-wide { grid-column: span 2; }

  .price-table { grid-template-columns: 1fr; }

  .usecases { grid-template-columns: repeat(2, 1fr); }

  .ai-split { grid-template-columns: 1fr; }

  .zero-row { grid-template-columns: repeat(2, 1fr); }

  .baby-showcase {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .baby-showcase-text { text-align: center; }
  .baby-showcase-text h2 { max-width: none; margin: 0 auto; }
  .baby-showcase-body { max-width: 52ch; margin: 0 auto; }
  .baby-tags { justify-content: center; }
  .baby-showcase-visual { max-width: 400px; margin: 0 auto; }

  .mid-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 72px 36px;
    gap: 40px;
  }
  .cta-content { text-align: center; }
  .cta h2 { margin: 0 auto; }
  .cta p { margin: 22px auto 0; }
  .cta-actions { align-items: center; }
  .cta-visual {
    max-width: 300px;
    height: 260px;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
    mask-image: linear-gradient(to bottom, #000 55%, transparent);
    order: -1;
  }
  .section-head { margin-bottom: 56px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }

  h1 { font-size: 38px; line-height: 1.08; letter-spacing: -0.028em; }
  h2 { font-size: 30px; line-height: 1.12; letter-spacing: -0.025em; }

  .nav { display: none; }

  .hero { padding: 48px 0 48px; }
  .hero-grid { gap: 40px; }
  .hero .lead, .hero h1 { max-width: none; }
  .hero-actions { gap: 16px; }
  .hero-visual { max-width: 360px; aspect-ratio: 4 / 5; }
  .toast-notification {
    left: 0;
    right: 40%;
    bottom: 8%;
    min-width: 0;
  }
  .floating-chip { right: 0; font-size: 11px; padding: 7px 11px; }
  .toast-title, .toast-text { font-size: 11px; }

  .stats { padding: 0 0 64px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-top: 24px; }
  .stat-label { font-size: 13px; }

  .why-ai-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .vs-card { padding: 32px 24px; }

  .step { padding: 24px 26px; min-height: 0; }
  .hardware-recap { padding: 28px 22px; }

  .bento { grid-template-columns: 1fr; }
  .bento-hero, .bento-wide { grid-column: span 1; }
  .bento-card { padding: 32px 26px; }
  .bento-hero { padding: 36px 28px; }
  .shield-stack { width: 160px; height: 160px; }

  .price-col { padding: 36px 28px; }
  .price-num { font-size: 96px; }

  .usecases { grid-template-columns: 1fr; }

  .ai-col { padding: 32px 26px; }

  .zero-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .zero { padding: 28px 18px; }
  .promise-line { padding: 16px 18px; font-size: 14px; gap: 12px; }

  .mid-cta { padding: 16px 0; }
  .mid-cta-inner { padding: 32px 24px; }

  .cta { padding: 56px 24px; gap: 32px; }
  .cta p { font-size: 16px; }
  .cta-visual { max-width: 240px; height: 200px; }

  .baby-showcase-visual { max-width: 320px; }

  .faq summary { font-size: 17px; }

  footer { padding-bottom: 96px; }
}

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

/* Mobile sticky download CTA — Safari Smart App Banner style */
.mobile-sticky-cta { display: none; }
@media (max-width: 640px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 2000;
    padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border);
  }
  .mobile-sticky-cta-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-sticky-cta-icon {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    overflow: hidden;
  }
  .mobile-sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
  }
  .mobile-sticky-cta-title {
    font: 600 14px/1.3 var(--font-sans);
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-sticky-cta-subtitle {
    font: 400 12px/1.3 var(--font-sans);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-sticky-cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 600 13px/1 var(--font-sans);
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    padding: 6px 16px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: background 200ms ease;
  }
  .mobile-sticky-cta-link:active .mobile-sticky-cta-btn {
    background: var(--accent-hover);
  }
}
