/* =============================================
   PREEO — Design System v2.0
   Premium Adaptive Health Companion
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300..700&display=swap');

/* ── Design Tokens ── */
:root {
  color-scheme: light;

  /* Color System — 60/30/10 */
  --bg-primary: #fefcfb;
  --bg-secondary: #fdf2f4;
  --bg-tertiary: #f0fdf7;
  --bg-hero: #0f0a19;
  --bg-hero-alt: #1a1225;
  --bg-card: rgba(255,255,255,0.72);
  --bg-card-solid: #ffffff;
  --bg-cta: linear-gradient(135deg, #c2185b 0%, #e91e63 50%, #f06292 100%);
  --bg-trust: #f6faff;
  --bg-mint: linear-gradient(180deg, #f9fffc, #ecfaf5);

  --text-primary: #1a1225;
  --text-secondary: #6b5c63;
  --text-tertiary: #9b8f94;
  --text-on-dark: #f8f5f6;
  --text-on-dark-muted: rgba(248,245,246,0.65);

  --accent-rose: #c2185b;
  --accent-rose-light: #e91e63;
  --accent-rose-glow: rgba(194,24,91,0.18);
  --accent-mint: #0d9488;
  --accent-mint-bg: rgba(13,148,136,0.08);
  --accent-coral: #f97316;
  --accent-lavender: #8b5cf6;

  --border: rgba(26,18,37,0.07);
  --border-hover: rgba(26,18,37,0.14);
  --border-glass: rgba(255,255,255,0.15);
  --border-dark: rgba(255,255,255,0.08);

  --shadow-xs: 0 1px 2px rgba(26,18,37,0.04);
  --shadow-sm: 0 2px 8px rgba(26,18,37,0.05);
  --shadow-md: 0 4px 20px rgba(26,18,37,0.07);
  --shadow-lg: 0 12px 40px rgba(26,18,37,0.09);
  --shadow-xl: 0 24px 60px rgba(26,18,37,0.12);
  --shadow-glow-rose: 0 8px 40px rgba(194,24,91,0.22);
  --shadow-glow-mint: 0 8px 32px rgba(13,148,136,0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms var(--ease-out);

  --container-max: 1180px;
  --container-narrow: 820px;
  --section-pad-y: clamp(72px, 10vw, 128px);
  --content-pad-x: clamp(20px, 5vw, 64px);
  --header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.simple-page { background: #fffafb; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ── Utility ── */
.container { width: min(var(--container-max), 100% - 40px); margin: 0 auto; }
.container-narrow { width: min(var(--container-narrow), 100% - 40px); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--text-primary); color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem;
  transform: translateY(-200%); transition: transform var(--transition-fast);
}
.skip-link:focus { transform: translateY(0); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--content-pad-x);
  background: rgba(254,252,251,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.site-header.scrolled {
  background: rgba(254,252,251,0.96);
  box-shadow: 0 1px 12px rgba(26,18,37,0.06);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.12rem; letter-spacing: -0.02em;
  color: var(--text-primary); text-decoration: none;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}
.brand:hover { opacity: 0.8; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav {
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px);
}
.nav a {
  color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative; white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--accent-rose);
  border-radius: 1px; transition: width var(--transition-base);
}
.nav a:hover, .nav a:focus-visible { color: var(--text-primary); }
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--radius-full);
  background: var(--accent-rose); color: #fff;
  font-weight: 600; font-size: 0.875rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-rose);
  background: var(--accent-rose-light);
}
.nav-cta::after { display: none; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  position: relative; transition: all var(--transition-fast);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--transition-fast);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 40;
  background: rgba(15,10,25,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.mobile-nav-overlay.active { opacity: 1; }

.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); right: 0;
  width: min(320px, 85vw); height: calc(100dvh - var(--header-h));
  z-index: 45;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  padding: 32px 28px;
  flex-direction: column; gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 14px 16px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus-visible { background: var(--bg-secondary); }
.mobile-nav .mobile-cta {
  display: flex; align-items: center; justify-content: center;
  margin-top: 16px; padding: 14px 24px;
  border-radius: var(--radius-lg); background: var(--accent-rose);
  color: #fff; font-weight: 700; font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: max(100dvh, 680px);
  display: flex; align-items: center;
  background: var(--bg-hero);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  pointer-events: none; /* Prevent decorative layer from intercepting mobile touch events */
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
  animation: float 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-orb-1 {
  width: clamp(300px, 40vw, 600px); height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(194,24,91,0.5), transparent 70%);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: clamp(200px, 30vw, 500px); height: clamp(200px, 30vw, 500px);
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  bottom: 10%; left: -8%;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: clamp(150px, 20vw, 350px); height: clamp(150px, 20vw, 350px);
  background: radial-gradient(circle, rgba(13,148,136,0.3), transparent 70%);
  top: 40%; left: 35%;
  animation-delay: -8s;
}
.hero-noise {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--container-max), 100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 80px) 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent-mint-light, #5eead4);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-mint-light, #5eead4);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(135deg, #f8bbd0, #f48fb1, #e91e63, #ce93d8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex; gap: 24px;
}
.proof-item {
  display: flex; flex-direction: column;
}
.proof-value {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, #f8bbd0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-label {
  font-size: 0.78rem; color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.hero-showcase {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-image {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.4));
  animation: heroFloat 6s ease-in-out infinite alternate;
}
.hero-showcase {
  position: relative;
  overflow: visible;
}
.hero-showcase::before {
  content: '';
  position: absolute;
  width: 110%; height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,24,91,0.15), transparent 65%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none; /* Prevent glow from blocking touch on elements below */
}

/* ============================================
   STORE BADGES (Shared)
   ============================================ */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 180px;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  z-index: 2; /* Ensure store badges sit above any decorative layers */
  cursor: pointer;
  touch-action: manipulation; /* Optimize for mobile tap — remove 300ms delay */
  -webkit-tap-highlight-color: rgba(194,24,91,0.15);
}
.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.store-badge .store-icon { flex-shrink: 0; pointer-events: none; /* Let parent <a> handle the click */ }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.2; pointer-events: none; }
.store-badge .store-sub {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.7;
}
.store-badge .store-main { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

/* Light variant for non-hero sections */
.store-badge-light {
  background: #110d0f; color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.store-badge-light:hover {
  background: var(--accent-rose);
  border-color: var(--accent-rose-light);
  box-shadow: var(--shadow-glow-rose);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad-y) var(--content-pad-x);
  position: relative;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-rose);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section h2 em {
  font-style: normal;
  color: var(--accent-rose);
}

.section-lede {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 620px;
}

/* ── Section Backgrounds ── */
.section-soft { background: var(--bg-secondary); }
.section-mint { background: var(--bg-mint); }
.section-trust { background: var(--bg-trust); }
.section-dark {
  background: var(--bg-hero-alt);
  color: var(--text-on-dark);
}
.section-dark .kicker { color: var(--accent-mint-light, #5eead4); }
.section-dark .section h2,
.section-dark h2 { color: var(--text-on-dark); }
.section-dark .section-lede { color: var(--text-on-dark-muted); }

.section-gradient {
  background: var(--bg-cta);
  color: #fff;
}
.section-gradient .kicker { color: rgba(255,255,255,0.7); }
.section-gradient h2 { color: #fff; }
.section-gradient .section-lede { color: rgba(255,255,255,0.85); }

/* ============================================
   BENTO FEATURE GRID
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.bento-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--bg-cta);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.bento-card:hover::after { opacity: 1; }

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

.bento-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  margin-bottom: 20px;
  color: var(--accent-rose);
}
.bento-icon svg { width: 24px; height: 24px; }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.6;
}

/* ============================================
   MODE GRID
   ============================================ */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.mode-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
  cursor: default;
}
.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-rose-glow);
}
.mode-emoji {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}
.mode-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 6px;
}
.mode-card span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem; line-height: 1.5;
}

/* ============================================
   JOURNEY / STEPS
   ============================================ */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.journey::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 17px); right: calc(12.5% + 17px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-mint));
  border-radius: 1px;
  z-index: 0;
}

.step-card {
  position: relative; z-index: 1;
  padding: 28px 20px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--text-primary); color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 0.88rem; line-height: 1.55;
}

/* ============================================
   TRUST / PRIVACY GRID
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.trust-icon-shield { background: rgba(13,148,136,0.1); color: var(--accent-mint); }
.trust-icon-eye { background: rgba(139,92,246,0.1); color: var(--accent-lavender); }
.trust-icon-trash { background: rgba(249,115,22,0.1); color: var(--accent-coral); }
.trust-icon svg { width: 22px; height: 22px; }

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.trust-card p {
  color: var(--text-secondary);
  font-size: 0.92rem; line-height: 1.6;
}

/* ============================================
   APP SHOWCASE SECTION
   ============================================ */
.showcase-img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   DOWNLOAD ROW
   ============================================ */
.download-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 28px;
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--accent-rose); color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast);
  cursor: pointer; text-decoration: none;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-rose);
  background: var(--accent-rose-light);
}
.button.secondary {
  background: var(--bg-card-solid);
  color: var(--accent-rose);
  border-color: var(--border);
  box-shadow: none;
}
.button.secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.button.outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.button.outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
}

/* ============================================
   STORE PANELS
   ============================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.store-panel {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.store-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.store-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 10px;
}
.store-panel p { color: var(--text-secondary); margin-bottom: 6px; }
.store-panel ul { margin-top: 14px; padding-left: 0; }
.store-panel li {
  margin: 8px 0; color: var(--text-secondary);
  padding-left: 18px; position: relative; font-size: 0.92rem;
}
.store-panel li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-rose-glow);
  border: 1.5px solid var(--accent-rose);
}
.store-panel-btn {
  margin-top: 18px; width: 100%; text-align: center;
}

.disclaimer {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid rgba(194,24,91,0.15);
  border-radius: var(--radius-lg);
  background: rgba(253,242,244,0.5);
  color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: clamp(48px, 6vw, 72px) var(--content-pad-x) clamp(32px, 4vw, 48px);
  background: var(--bg-hero-alt);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,24,91,0.3), transparent);
}

.footer-inner {
  width: min(var(--container-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand { color: var(--text-on-dark); }
.footer-brand .brand img { filter: brightness(1.1); }

.fine-print {
  margin-top: 16px;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem; line-height: 1.6;
}

.footer-links {
  display: flex; flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */
.page-hero {
  padding: calc(var(--header-h) + 56px) var(--content-pad-x) 56px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  width: min(var(--container-narrow), 100%);
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  max-width: 700px;
}
.page-hero p {
  max-width: 620px;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.05rem; line-height: 1.6;
}
.page-hero .kicker { margin-bottom: 12px; }

.page-content {
  width: min(var(--container-narrow), 100%);
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.page-card {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.page-card + .page-card { margin-top: 16px; }

.page-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin-top: 24px; margin-bottom: 10px;
}
.page-card p {
  color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.7;
  margin: 8px 0;
}
.page-card ul, .page-card ol {
  margin: 14px 0; padding-left: 0;
}
.page-card li {
  margin: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.6;
  padding-left: 22px; position: relative;
}
.page-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-rose-glow);
  border: 1.5px solid var(--accent-rose);
}
.page-card ol { counter-reset: item; }
.page-card ol li { counter-increment: item; }
.page-card ol li::before {
  content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--accent-rose);
  font-size: 0.72rem; font-weight: 800;
}
.page-card a { color: var(--accent-rose); font-weight: 600; }
.page-card a:hover { text-decoration: underline; }

/* Tables */
.table {
  width: 100%; border-collapse: collapse;
  margin-top: 18px; overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.table th, .table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: left; vertical-align: top;
  font-size: 0.92rem;
}
.table th {
  background: var(--bg-secondary);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.88rem;
}
.table td { color: var(--text-secondary); }
.table a { color: var(--accent-rose); font-weight: 600; }
.table a:hover { text-decoration: underline; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
}
.cta-section .container {
  display: flex; flex-direction: column; align-items: center;
}
.cta-section h2 { max-width: 560px; }
.cta-section .section-lede { max-width: 480px; text-align: center; }
.cta-section .download-row { justify-content: center; margin-top: 32px; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -15px) scale(1.04); }
  100% { transform: translate(-5px, 10px) scale(0.97); }
}
@keyframes heroFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */

/* ── Tablet & below (≤1024px) ── */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav-overlay, .mobile-nav { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-showcase { order: -1; margin-bottom: 12px; }
  .hero-image { max-width: 480px; margin: 0 auto; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }

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

  .journey {
    grid-template-columns: 1fr 1fr;
  }
  .journey::before { display: none; }

  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  :root {
    --section-pad-y: 56px;
    --content-pad-x: 18px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-image { max-width: 340px; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }

  .hero-actions { flex-direction: column; }
  .store-badge { width: 100%; justify-content: center; }

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

  .trust-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }
  .journey { grid-template-columns: 1fr; }

  .download-row { flex-direction: column; }
  .download-row .button,
  .download-row .store-badge { width: 100%; }

  .section h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}

/* ── Small phone (≤380px) ── */
@media (max-width: 380px) {
  .hero-title { font-size: 1.8rem; }
  .hero-proof { flex-direction: column; gap: 12px; align-items: center; }
  .mode-grid { grid-template-columns: 1fr; }
}

/* ── Large screens (≥1280px) ── */
@media (min-width: 1280px) {
  .hero-inner { gap: 80px; }
  .hero-title { font-size: 4.5rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .hero-bg, .menu-toggle,
  .mobile-nav, .mobile-nav-overlay { display: none !important; }
  .hero { min-height: auto; background: #fff; color: #000; padding: 40px 20px; }
  .section { padding: 24px 20px; }
  body { color: #000; background: #fff; }
}
