/* FamSure website — colours follow the app theme (lib/core/theme/app_theme.dart). */
:root {
  --indigo: #4f46e5;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --map: #2563eb;
  --map-soft: #dbeafe;
  --zone: #047857;
  --zone-bright: #10b981;
  --zone-soft: #d1fae5;
  --sos: #dc2626;
  --sos-soft: #fee2e2;
  --history: #7c3aed;
  --history-soft: #ede9fe;
  --profile: #b45309;
  --profile-soft: #fef3c7;
  --pink: #db2777;
  --pink-soft: #fce7f3;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #f4f6fd;
  --card: #ffffff;
  --brand-gradient: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 55%, var(--cyan) 100%);
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(37, 99, 235, 0.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 253, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.7);
}

.btn-light {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.45);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  content: "";
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--brand-gradient);
  padding: 72px 0 96px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero::before {
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -240px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero .lead {
  margin: 0 0 32px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

/* Download cards with QR codes */
.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 16px;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.store-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 30px 56px -24px rgba(15, 23, 42, 0.6);
}

.qr {
  width: 100%;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.qr img {
  width: 100%;
  height: 100%;
}

.store-name {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
}

.store-name small {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.store-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
}

.store-icon svg {
  width: 20px;
  height: 20px;
}

.store-icon.play {
  background: linear-gradient(135deg, #10b981, #2563eb);
}

.store-icon.apple {
  background: #0f172a;
}

.store-card.soon .qr img {
  filter: blur(6px);
  opacity: 0.35;
}

.soon-badge {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.6);
}

.hero-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Phone mockup + slideshow ───────────────────────────────────────────── */
.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 1080 / 2400;
  padding: 11px;
  border-radius: 46px;
  background: #0f172a;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.14),
    0 40px 80px -30px rgba(2, 6, 23, 0.75);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #f4f6fd;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.phone-screen img.is-active {
  opacity: 1;
  transform: none;
}

.slide-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.slide-tabs button {
  position: relative;
  overflow: hidden;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.slide-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--blue-dark);
}

.slide-tabs button .progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--cyan);
}

.slide-tabs button[aria-selected="true"] .progress {
  animation: slide-progress var(--slide-ms, 4000ms) linear forwards;
}

.showcase.is-paused .slide-tabs button .progress {
  animation-play-state: paused;
}

@keyframes slide-progress {
  to {
    width: 100%;
  }
}

.slide-caption {
  min-height: 3.2em;
  max-width: 340px;
  margin: 0;
  text-align: center;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ── Sections ───────────────────────────────────────────────────────────── */
section {
  scroll-margin-top: 80px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--map-soft);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Trust strip */
.trust {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-list li + li {
  border-left: 1px solid var(--line);
}

.trust-list li div span {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Feature cards */
.icon-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #fff;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.c-map { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.c-zone { background: linear-gradient(135deg, #14b8a6, #059669); }
.c-sos { background: linear-gradient(135deg, #fb7185, #dc2626); }
.c-history { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.c-profile { background: linear-gradient(135deg, #fbbf24, #f97316); }
.c-pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.c-group { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.c-teal { background: linear-gradient(135deg, #22d3ee, #0891b2); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid #e8edf5;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.tag.family { background: var(--map-soft); color: var(--blue-dark); }
.tag.care { background: var(--history-soft); color: var(--history); }
.tag.all { background: var(--zone-soft); color: var(--zone); }

/* Alternating feature spotlights */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.spotlight + .spotlight {
  margin-top: 96px;
}

.spotlight.reverse .spot-media {
  order: 2;
}

.spot-media {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  border-radius: 32px;
  background: var(--soft, var(--map-soft));
}

.spot-media .phone {
  width: min(270px, 66vw);
  box-shadow: 0 40px 70px -34px rgba(15, 23, 42, 0.55);
}

.spot-media .phone-screen img {
  opacity: 1;
  transform: none;
}

.spot-copy h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.spot-copy > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent, var(--blue))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Video */
.video-section {
  background: #0f172a;
  color: #fff;
}

.video-section .section-head p {
  color: #94a3b8;
}

.video-section .kicker {
  background: rgba(6, 182, 212, 0.16);
  color: #67e8f9;
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 50px 100px -40px rgba(37, 99, 235, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.steps h3 {
  margin: 18px 0 6px;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  margin: 0 auto 40px;
  padding: 5px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.pricing-toggle button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.pricing-toggle button[aria-pressed="true"] {
  background: var(--text);
  color: #fff;
}

.pricing-toggle .save {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--zone-soft);
  color: var(--zone);
  font-size: 0.75rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid #e8edf5;
  box-shadow: var(--shadow);
}

.plan.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, #f59e0b, #db2777, #7c3aed) border-box;
  box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.55);
}

.plan .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #db2777, #7c3aed);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.plan .for {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-weight: 600;
}

.price-note {
  min-height: 1.5em;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.plan .checks {
  gap: 10px;
  font-size: 0.95rem;
}

.plan .checks li.no {
  color: #94a3b8;
}

.plan .checks li.no::before {
  background: #e2e8f0
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.fine-print {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Privacy band */
.privacy-band {
  border-radius: 36px;
  padding: 56px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.35), transparent 45%),
    linear-gradient(135deg, #312e81, #4f46e5 55%, #2563eb);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-band h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.privacy-band p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-band .kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.privacy-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-points strong {
  display: block;
}

.privacy-points span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.93rem;
}

.privacy-points .icon-badge {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid #e8edf5;
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--map-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

/* Final CTA */
.cta {
  border-radius: 36px;
  padding: 56px;
  color: #fff;
  background: var(--brand-gradient);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.cta .downloads {
  justify-content: end;
}

/* Footer */
.site-footer {
  padding: 56px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Document pages (privacy, account deletion) ─────────────────────────── */
.doc-hero {
  padding: 64px 0 40px;
  color: #fff;
  background: var(--brand-gradient);
}

.doc-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.doc-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.doc {
  width: min(820px, 100% - 32px);
  margin: -24px auto 64px;
  padding: 48px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
}

.doc h2 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc h3 {
  margin: 22px 0 6px;
  font-size: 1.05rem;
}

.doc p,
.doc li {
  color: #334155;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 6px;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--map-soft);
  color: var(--blue-dark);
}

.callout.warn {
  background: var(--profile-soft);
  color: #92400e;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .privacy-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .downloads,
  .cta .downloads {
    justify-content: center;
  }

  .spotlight.reverse .spot-media {
    order: 0;
  }

  .spotlight {
    gap: 32px;
  }

  .features,
  .plans,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-list li:nth-child(3) {
    border-left: 0;
  }

  .trust-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav .btn-primary {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(15, 23, 42, 0.3);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .section {
    padding: 72px 0;
  }

  .features,
  .plans,
  .steps,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 380px;
    margin-inline: auto;
  }

  .store-card {
    padding: 12px 12px 14px;
  }

  .store-name {
    gap: 8px;
    font-size: 0.86rem;
    text-align: left;
  }

  .store-name small {
    font-size: 0.62rem;
  }

  .store-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .privacy-band,
  .cta {
    padding: 36px 22px;
    border-radius: 28px;
  }

  .doc {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .phone-screen img,
  .feature,
  .btn,
  .store-card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
