/* =============================================================================
   Kreev — Full Design System
   Mirrors app design tokens exactly as specified in website_development_plan.md
   Mobile-first responsive, no external CSS framework
   ============================================================================= */

/* --- Google Fonts import handled in HTML --- */

/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */
:root {
  /* Backgrounds */
  --bg0: #07101E;
  --bg1: #111C2B;
  --bg2: #090F1C;

  /* Surfaces */
  --surface: #0A1525;
  --surface-light: #162032;
  --surface-border: #243044;

  /* Accents */
  --cyan: #22D3EE;
  --cyan-light: #67E8F9;
  --cyan-pale: #A5F3FC;
  --green: #34D399;
  --green-alt: #22C55E;
  --amber: #FBBF24;
  --red: #EF4444;

  /* Text */
  --text-high: #FFFFFF;
  --text-med: #A8BDD0;
  --text-low: #6B8AAE;
  --text-body: #D4E3F0;

  /* Metric colors */
  --metric-rhr: #EF4444;
  --metric-hrv: #3B82F6;
  --metric-sleep: #8B5CF6;
  --metric-steps: #FBBF24;
  --metric-resp: #14B8A6;
  --metric-vo2: #F97316;
  --metric-stress: #6366F1;

  /* Gradients */
  --gradient-hero: linear-gradient(180deg, #1A2840 0%, #07101E 100%);
  --gradient-card: linear-gradient(135deg, #111C2B 0%, #090F1C 100%);
  --gradient-card-deep: linear-gradient(135deg, #162032 0%, #0A1525 100%);

  /* Glow */
  --glow-cyan: rgba(34, 211, 238, 0.13);
  --glow-green: rgba(52, 211, 153, 0.13);
  --glow-amber: rgba(251, 191, 36, 0.13);

  /* Typography */
  --font: 'SF Pro Display', 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --xs:  4px;
  --sm:  8px;
  --md:  12px;
  --lg:  16px;
  --xl:  20px;
  --2xl: 24px;
  --3xl: 32px;

  /* Border radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --t-fast: 300ms ease-out;
  --t-med:  800ms ease-out;
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg0);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-light); }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
ul { list-style: none; }

/* =============================================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================================= */
.t-display-lg {
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text-high);
  line-height: 1.05;
}
.t-headline-lg {
  font-size: clamp(20px, 3vw, 22px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-high);
  line-height: 1.2;
}
.t-headline-md {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-high);
}
.t-body-lg {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.65;
}
.t-body-md {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-med);
  line-height: 1.6;
}
.t-label-lg {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-med);
}
.t-label-sm {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
}
.t-metric {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-high);
}

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 100px 0; }
.section-pad-xl { padding: 120px 0; }

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

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
}

/* =============================================================================
   5. BUTTONS & CTAs
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--cyan);
  color: #07101E;
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 0 20px var(--glow-cyan);
}
.btn-primary:hover {
  background: var(--cyan-light);
  color: #07101E;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  padding: 13px 27px;
  font-size: 15px;
}
.btn-outline:hover {
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-1px);
}

/* App Store Badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-high);
  color: #000;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  transition: all var(--t-fast);
  text-decoration: none;
}
.app-store-badge:hover {
  background: #e8e8e8;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.app-store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.badge-pre { font-size: 10px; font-weight: 400; }
.badge-name { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }

.app-store-badge--coming {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* =============================================================================
   6. NAVIGATION
   ============================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 6px 0;
  transition: background 400ms ease, padding 400ms ease, backdrop-filter 400ms ease;
}
.nav.nav--scrolled {
  background: rgba(17, 28, 43, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 4px 0;
  border-bottom: 1px solid var(--surface-border);
}
.nav.nav--menu-open {
  background: rgba(11, 21, 37, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img { height: 180px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-med);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--text-high); }

/* Legal dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-med);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast);
  font-family: var(--font);
}
.nav__dropdown-toggle:hover { color: var(--text-high); }
.nav__dropdown-toggle svg { width: 12px; height: 12px; transition: transform 300ms; }
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-top: 12px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Invisible bridge fills the 12px gap so hover isn't broken mid-cursor */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-med);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dropdown-menu a:hover {
  background: var(--surface-light);
  color: var(--text-high);
}

.nav__cta { margin-left: 8px; }
.nav__cta .btn {
  padding: 9px 20px;
  font-size: 13px;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-high);
  border-radius: 2px;
  transition: all 300ms ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--surface-border);
  margin-top: 12px;
}
.nav__mobile-menu.is-open { display: flex; }
.nav__mobile-menu a,
.nav__mobile-menu button {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-med);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: color var(--t-fast);
}
.nav__mobile-menu a:hover,
.nav__mobile-menu button:hover { color: var(--text-high); }
.nav__mobile-menu .mobile-divider {
  height: 1px;
  background: var(--surface-border);
  margin: 4px 0;
}
.nav__mobile-download {
  margin-top: 8px;
}
.nav__mobile-download .btn {
  width: 100%;
  padding: 12px;
  color: #07101E;
}

/* =============================================================================
   7. HERO — S1
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 200px;
}

/* Subtle static cyan glow behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

.hero__content { text-align: left; }

.hero__logo {
  height: 36px;
  width: auto;
  margin-bottom: 28px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan-pale);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__headline {
  font-size: clamp(44px, 6.5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text-high);
  line-height: 1.0;
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: normal;
  color: var(--cyan);
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-med);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

/* Email capture form */
.hero__form-wrap { margin-bottom: 16px; }
.hero__form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.hero__form input[type="email"] {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  color: var(--text-high);
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--t-fast);
  min-width: 0;
}
.hero__form input[type="email"]::placeholder { color: var(--text-low); }
.hero__form input[type="email"]:focus { border-color: var(--cyan); }

.hero__form-note {
  font-size: 13px;
  color: var(--text-low);
  margin-top: 10px;
}
.hero__form-msg { margin-top: 8px; }

.hero__store-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
}
.hero__store-note .app-store-badge { transform: scale(0.9); transform-origin: left center; }
.hero__store-coming {
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.4;
}
.hero__store-coming strong { color: var(--cyan-pale); font-weight: 600; }

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero__mockup-wrap {
  position: relative;
  width: 320px;
}

.hero__mockup-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 2s ease-in-out infinite;
}

.hero__phone-frame {
  position: relative;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) rotate(3deg);
  transition: transform 0.1s ease-out;
  background: var(--bg0);
}
.hero__phone-frame img {
  width: 100%;
  display: block;
  border-radius: 42px;
}

/* =============================================================================
   8. SECTION SHARED STYLES
   ============================================================================= */
.section-intro { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-intro .section-label { display: block; margin-bottom: 14px; }
.section-intro .t-headline-lg { margin-bottom: 14px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* =============================================================================
   9. S2 — THE SCORE
   ============================================================================= */
.score-section {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(34,211,238,0.05) 0%, transparent 55%),
    var(--bg1);
  padding: 100px 0;
}

.score-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.score-section__headline { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; color: var(--text-high); margin-bottom: 20px; }
.score-section__body { font-size: 17px; font-weight: 400; color: var(--text-body); line-height: 1.7; margin-bottom: 36px; }

/* Recovery ring */
.recovery-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.recovery-ring-svg {
  width: 220px;
  height: 220px;
  overflow: visible;
}

.ring-track {
  fill: none;
  stroke: var(--surface-border);
  stroke-width: 14;
}
.ring-fill {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 14;
  stroke-linecap: round;
  transform-origin: center;
  transform: rotate(-90deg);
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.5));
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ring-fill.is-animated {
  stroke-dashoffset: 72; /* 534 * (1 - 0.87) ≈ 69 */
  animation: ring-glow 2s ease-in-out 1.2s infinite;
}

.ring-score-text {
  font-size: 52px;
  font-weight: 900;
  fill: var(--text-high);
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: var(--font);
  letter-spacing: -2px;
}
.ring-score-label {
  font-size: 11px;
  font-weight: 700;
  fill: var(--text-low);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-family: var(--font);
}

/* Metric chips */
.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.metric-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-value { color: var(--text-high); }
.chip-label { color: var(--text-low); font-weight: 400; }

/* Chip staggered fade-in after score animation */
.metric-chip {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.metric-chip.chip-animated {
  opacity: 1;
  transform: translateY(0);
}
.metric-chip:nth-child(1) { transition-delay: 0ms; }
.metric-chip:nth-child(2) { transition-delay: 200ms; }
.metric-chip:nth-child(3) { transition-delay: 400ms; }
.metric-chip:nth-child(4) { transition-delay: 600ms; }

/* Recovery zones */
.recovery-zones {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
}
.recovery-zone {
  display: grid;
  grid-template-columns: 80px 80px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--surface-border);
}
.recovery-zone:last-child { border-bottom: none; }

.zone-bar {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  /* color set inline */
}
.zone-score { font-size: 13px; font-weight: 700; color: var(--text-med); }
.zone-label { font-size: 13px; font-weight: 700; }
.zone-desc { font-size: 12px; color: var(--text-low); line-height: 1.4; }

/* =============================================================================
   10. S3 — YOUR BASELINE
   ============================================================================= */
.baseline-section { background: var(--bg0); padding: 100px 0; } /* pure dark — breathing room */

.baseline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.baseline-step {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
}
.baseline-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cyan);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0.6;
}

.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg { width: 24px; height: 24px; color: var(--cyan); }

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.6;
}

/* =============================================================================
   11. S4 — METRICS BENTO GRID
   ============================================================================= */
.metrics-section {
  background:
    radial-gradient(ellipse at 10% 80%, rgba(99,102,241,0.06) 0%, transparent 55%),
    var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.metric-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.metric-card:hover {
  transform: translateY(-2px);
}
.metric-card--stress:hover { box-shadow: 0 4px 24px rgba(99, 102, 241, 0.2); }
.metric-card--rhr:hover    { box-shadow: 0 4px 24px rgba(239, 68, 68, 0.2); }
.metric-card--hrv:hover    { box-shadow: 0 4px 24px rgba(59, 130, 246, 0.2); }
.metric-card--sleep:hover  { box-shadow: 0 4px 24px rgba(139, 92, 246, 0.2); }
.metric-card--steps:hover  { box-shadow: 0 4px 24px rgba(251, 191, 36, 0.15); }
.metric-card--resp:hover   { box-shadow: 0 4px 24px rgba(20, 184, 166, 0.2); }
.metric-card--vo2:hover    { box-shadow: 0 4px 24px rgba(249, 115, 22, 0.2); }
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.metric-card--stress {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1E1B4B 0%, var(--bg1) 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}
.metric-card--stress::before { background: var(--metric-stress); opacity: 0.8; }

.metric-card--rhr::before  { background: var(--metric-rhr); }
.metric-card--hrv::before  { background: var(--metric-hrv); }
.metric-card--sleep::before { background: var(--metric-sleep); }
.metric-card--steps::before { background: var(--metric-steps); }
.metric-card--resp::before  { background: var(--metric-resp); }
.metric-card--vo2::before   { background: var(--metric-vo2); }

.metric-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.metric-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-high);
  margin-bottom: 6px;
  line-height: 1;
}
.metric-desc {
  font-size: 13px;
  color: var(--text-low);
  line-height: 1.5;
}

.stress-badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-align: center;
}
.stress-badge-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--metric-stress);
  letter-spacing: -1px;
  line-height: 1;
}
.stress-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(99, 102, 241, 0.7);
  margin-top: 4px;
}

/* =============================================================================
   11b. SCREENSHOT GALLERY (Metrics section)
   ============================================================================= */
.screenshots-row-wrap {
  margin-top: 56px;
  position: relative;
}

.screenshots-row-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 24px;
}

.screenshots-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 8px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-border) transparent;
}
.screenshots-row::-webkit-scrollbar { height: 4px; }
.screenshots-row::-webkit-scrollbar-track { background: transparent; }
.screenshots-row::-webkit-scrollbar-thumb { background: var(--surface-border); border-radius: 2px; }

/* Fade edges on desktop */
.screenshots-row-wrap::before,
.screenshots-row-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 1;
}
.screenshots-row-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg0), transparent);
}
.screenshots-row-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg0), transparent);
}

.screenshot-frame {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg0);
  cursor: zoom-in;
}
.screenshot-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 32px 56px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(34,211,238,0.15);
}
/* Screenshot zoom overlay — fixed to viewport, works on all screen sizes */
#ss-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.25s ease;
}
#ss-zoom-overlay.is-open {
  background: rgba(0, 0, 0, 0.65);
  pointer-events: auto;
  cursor: zoom-out;
}
#ss-zoom-overlay img {
  max-height: 78vh;
  max-width: 88vw;
  width: auto;
  height: auto;
  border-radius: 32px;
  border: 1.5px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 48px 80px rgba(0, 0, 0, 0.85);
  transform: scale(0.35);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s ease;
}
#ss-zoom-overlay.is-open img {
  transform: scale(1);
  opacity: 1;
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================================================
   12. S5 — AI INTELLIGENCE
   ============================================================================= */
.ai-section {
  background:
    radial-gradient(ellipse at 5% 50%, rgba(99,102,241,0.06) 0%, transparent 50%),
    var(--bg1);
  padding: 100px 0;
}

.ai-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* AI Narrative card mockup */
.ai-card {
  background: var(--gradient-card-deep);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

.ai-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ai-card__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-low);
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, rgba(34,211,238,0.15), rgba(103,232,249,0.1));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan-pale);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.ai-card__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.ai-score-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -2px;
  line-height: 1;
}
.ai-score-label {
  font-size: 14px;
  color: var(--text-low);
}

.ai-card__narrative {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid var(--surface-border);
  padding-top: 16px;
}
.ai-card__narrative p { margin-bottom: 0; }

/* Trust signals */
.ai-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.ai-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ai-trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-trust-icon svg { width: 16px; height: 16px; color: var(--cyan); }
.ai-trust-text {
  font-size: 13px;
  color: var(--text-med);
  line-height: 1.5;
}

/* =============================================================================
   13. S6 — SENTINEL FEATURES
   ============================================================================= */
.sentinel-section {
  background:
    radial-gradient(ellipse at 95% 50%, rgba(52,211,153,0.05) 0%, transparent 55%),
    var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}

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

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--cyan); }

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-low);
  line-height: 1.6;
}

.sentinel-free-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-low);
}
.sentinel-free-note strong { color: var(--text-med); }

/* =============================================================================
   14. S7 — TRANSPARENCY & TRUST
   ============================================================================= */
.trust-section {
  background:
    radial-gradient(ellipse at 8% 30%, rgba(59,130,246,0.05) 0%, transparent 55%),
    var(--bg1);
  padding: 100px 0;
}

.trust-body {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.trust-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.trust-icon svg { width: 26px; height: 26px; color: var(--cyan); }
.trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 8px;
}
.trust-desc {
  font-size: 13px;
  color: var(--text-low);
  line-height: 1.6;
}

.trust-legal-links {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-low);
}
.trust-legal-links a { color: var(--cyan); margin: 0 4px; }
.trust-legal-links a:hover { color: var(--cyan-light); }

/* =============================================================================
   15. S8 — JOURNEY CTA
   ============================================================================= */
.journey-section {
  position: relative;
  padding: 140px 0;
  background: var(--bg0);
  overflow: hidden;
}

.journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34,211,238,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(52,211,153,0.04) 0%, transparent 50%);
}

.journey-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.journey-headline {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text-high);
  line-height: 1.1;
  margin-bottom: 24px;
}

.journey-body {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* =============================================================================
   16. S9 — PRICING
   ============================================================================= */
.pricing-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34,211,238,0.05) 0%, transparent 55%),
    var(--bg1);
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 48px auto 0;
  align-items: start;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.pricing-card--sentinel {
  background: var(--gradient-card-deep);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 32px 64px rgba(0,0,0,0.3);
  position: relative;
}

.pricing-badge {
  display: inline-block;
  background: var(--cyan);
  color: #07101E;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.pricing-tier {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-high);
  margin-bottom: 4px;
}
.pricing-price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price--free { color: var(--text-med); }
.pricing-price--paid { color: var(--cyan); }
.pricing-period {
  font-size: 13px;
  color: var(--text-low);
  margin-bottom: 6px;
}
.pricing-alt {
  font-size: 12px;
  color: var(--text-low);
  margin-bottom: 28px;
}
.pricing-divider {
  height: 1px;
  background: var(--surface-border);
  margin-bottom: 24px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.4;
}
.pricing-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-check--free { color: var(--text-low); }
.pricing-check--paid { color: var(--cyan); }

.pricing-card .btn { width: 100%; margin-top: 4px; }

.pricing-note {
  font-size: 11px;
  color: var(--text-low);
  text-align: center;
  margin-top: 8px;
}
.pricing-footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-low);
}

/* =============================================================================
   17. S10 — FAQ
   ============================================================================= */
.faq-section {
  background: var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--surface-border);
}
.faq-item:first-child { border-top: 1px solid var(--surface-border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-high);
  text-align: left;
  gap: 16px;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--cyan); }

.faq-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.faq-indicator svg {
  width: 12px;
  height: 12px;
  color: var(--text-low);
  transition: transform 300ms ease, color 300ms ease;
}

.faq-item.is-open .faq-question { color: var(--cyan); }
.faq-item.is-open .faq-indicator {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}
.faq-item.is-open .faq-indicator svg {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 350ms ease, padding 350ms ease;
}
.faq-answer.is-open { max-height: 400px; }
.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-med);
  line-height: 1.7;
}
.faq-answer-inner a { color: var(--cyan); }

/* =============================================================================
   18. S11 — DOWNLOAD CTA
   ============================================================================= */
.download-section {
  background: var(--gradient-hero);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,211,238,0.09) 0%, transparent 55%);
}

.download-section__inner { position: relative; z-index: 1; }
.download-headline { font-size: clamp(28px, 4vw, 38px); font-weight: 900; letter-spacing: -1px; color: var(--text-high); margin-bottom: 12px; }
.download-sub { font-size: 18px; color: var(--text-med); margin-bottom: 36px; }
.download-note { font-size: 13px; color: var(--text-low); margin-top: 14px; }

.download-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* =============================================================================
   19. S12 — FOOTER
   ============================================================================= */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--surface-border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 104px;
  width: auto;
  margin-bottom: 12px;
}
.footer__brand-tagline {
  font-size: 13px;
  color: var(--text-low);
  margin-bottom: 8px;
}
.footer__brand-copy {
  font-size: 12px;
  color: var(--text-low);
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-med);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-low);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--text-high); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-low);
}
.footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--text-low); }
.footer__contact-item a { color: var(--text-low); }
.footer__contact-item a:hover { color: var(--cyan); }

.footer__bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-low);
  line-height: 1.6;
}

/* =============================================================================
   20. LEGAL PAGES
   ============================================================================= */
.legal-page {
  padding-top: 200px;
  min-height: 100vh;
  background: var(--bg0);
}

.legal-page__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  padding: 60px 0 100px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 16px;
}
.legal-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-toc__list a {
  font-size: 13px;
  color: var(--text-low);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: block;
  transition: background var(--t-fast), color var(--t-fast);
  border-left: 2px solid transparent;
}
.legal-toc__list a:hover,
.legal-toc__list a.is-active {
  background: var(--surface-light);
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.legal-content { min-width: 0; }
.legal-header { margin-bottom: 48px; }
.legal-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-high);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 13px;
  color: var(--text-low);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-high);
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
  scroll-margin-top: 100px;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-high);
  margin: 24px 0 10px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
.legal-content a { color: var(--cyan); }
.legal-content a:hover { color: var(--cyan-light); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}
.legal-content th {
  background: var(--surface-light);
  color: var(--text-high);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--surface-border);
}
.legal-content td {
  padding: 10px 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--surface-border);
}
.legal-content tr:nth-child(even) td { background: rgba(22, 32, 50, 0.4); }

.legal-placeholder {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.legal-placeholder p { color: var(--text-med); margin-bottom: 8px; }
.legal-placeholder a { color: var(--cyan); }

/* =============================================================================
   21. FORM FEEDBACK STATES
   ============================================================================= */
.form-success {
  background: var(--surface);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
}
.form-success h4 { font-size: 17px; font-weight: 700; color: var(--text-high); margin-bottom: 6px; }
.form-success p { font-size: 14px; color: var(--text-med); }

.form-error { font-size: 13px; color: var(--red); margin-top: 8px; }
.input-error { border-color: var(--red) !important; }

/* =============================================================================
   21b. BETA PROGRAM — page + teaser styles
   ============================================================================= */

/* Nav beta highlight */
.nav__beta-link {
  color: var(--green) !important;
  font-weight: 600;
}
.nav__beta-link:hover { color: var(--text-high) !important; }

/* ---- Beta Hero ---- */
.beta-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(52,211,153,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(34,211,238,0.05) 0%, transparent 50%),
    var(--bg0);
  padding: 120px 0 80px;
}
.beta-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.beta-hero__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text-high);
  line-height: 1.1;
  margin: 12px 0 20px;
}
.beta-hero__headline em { font-style: normal; color: var(--green); }
.beta-hero__sub {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.beta-hero__sub strong { color: var(--text-high); }
.beta-hero__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-low);
}

/* Spots progress bar */
.beta-spots { margin-bottom: 32px; }
.beta-spots__track {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: var(--surface);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.beta-spots__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 99px;
  transition: width 1s ease;
}
.beta-spots__label { font-size: 14px; color: var(--text-med); }
.beta-spots__label strong { color: var(--green); }

/* Hero stat cards */
.beta-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-shrink: 0;
}
.beta-stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  min-width: 110px;
}
.beta-stat-card__number {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.beta-stat-card__label {
  font-size: 12px;
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ---- Program Overview ---- */
.beta-program {
  background: var(--bg1);
  padding: 100px 0;
}
.beta-program__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.beta-program__card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.beta-program__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(34,211,238,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.beta-program__icon svg { width: 22px; height: 22px; color: var(--cyan); }
.beta-program__icon--green { background: rgba(52,211,153,0.1); }
.beta-program__icon--green svg { color: var(--green); }
.beta-program__icon--indigo { background: rgba(99,102,241,0.12); }
.beta-program__icon--indigo svg { color: var(--indigo); }
.beta-program__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 16px;
}
.beta-program__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.beta-program__list li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.beta-program__list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--cyan);
  font-weight: 700;
}
.beta-program__list li strong { color: var(--text-high); }

/* ---- Timeline ---- */
.beta-timeline {
  background: var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}
.beta-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.beta-timeline__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  opacity: 0.3;
}
.beta-timeline__step { text-align: center; }
.beta-timeline__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.beta-timeline__body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-high);
  margin-bottom: 8px;
}
.beta-timeline__body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---- Application Form ---- */
.beta-apply-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34,211,238,0.05) 0%, transparent 60%),
    var(--bg1);
  padding: 100px 0 120px;
}
.beta-apply__inner { max-width: 680px; margin: 0 auto; text-align: center; }
.beta-apply__header { margin-bottom: 48px; }
.beta-apply__form-wrap { text-align: left; }

.beta-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.beta-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.beta-form__field { display: flex; flex-direction: column; gap: 6px; }
.beta-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-med);
}
.beta-form__label span[aria-hidden] { color: var(--cyan); }
.beta-form__optional { color: var(--text-low); font-weight: 400; }
.beta-form__input {
  background: var(--bg1);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  color: var(--text-high);
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--t-fast);
  width: 100%;
}
.beta-form__input:focus { border-color: var(--cyan); }
.beta-form__input.input-error { border-color: var(--red) !important; }
.beta-form__select { appearance: none; cursor: pointer; }
.beta-form__select option { background: var(--bg2); }
.beta-form__textarea { resize: vertical; min-height: 88px; }
.beta-form__char-count { font-size: 12px; color: var(--text-low); text-align: right; margin-top: 4px; }
.beta-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.beta-form__checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}
.beta-form__submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}
.beta-form__privacy {
  font-size: 12px;
  color: var(--text-low);
  text-align: center;
}
.beta-form__privacy a { color: var(--text-low); text-decoration: underline; }
.beta-form__success {
  text-align: center;
  padding: 32px;
}
.beta-form__success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.beta-form__success p { font-size: 15px; color: var(--text-body); }

/* ---- Beta Teaser (index.html) ---- */
.beta-teaser-section {
  background:
    radial-gradient(ellipse at 90% 50%, rgba(52,211,153,0.06) 0%, transparent 55%),
    var(--bg1);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}
.beta-teaser__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.beta-teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.beta-teaser__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
.beta-teaser__headline {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-high);
  margin-bottom: 16px;
  line-height: 1.15;
}
.beta-teaser__body {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}
.beta-teaser__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-low);
}
.beta-teaser__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex-shrink: 0;
}

/* ---- Responsive: Beta pages ---- */
@media (max-width: 1024px) {
  .beta-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .beta-hero__stats { justify-self: start; }
  .beta-program__grid { grid-template-columns: 1fr; gap: 20px; }
  .beta-timeline__steps { grid-template-columns: repeat(2, 1fr); }
  .beta-timeline__steps::before { display: none; }
  .beta-teaser__inner { grid-template-columns: 1fr; gap: 40px; }
  .beta-teaser__stats { justify-self: start; }
}
@media (max-width: 768px) {
  .beta-form { padding: 28px 20px; }
  .beta-form__row--2col { grid-template-columns: 1fr; }
  .beta-timeline__steps { grid-template-columns: 1fr; }
}

/* =============================================================================
   22. HERO DIFFERENTIATOR CALLOUT & VALUE STRIP
   ============================================================================= */
.hero__diff {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__diff-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.3px;
}
.hero__diff-sep {
  color: var(--text-low);
  font-size: 14px;
}

/* Value strip — horizontal bar between hero and score */
.value-strip {
  background: var(--bg1);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 36px 0;
}
.value-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.value-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.value-strip__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 4px;
}
.value-strip__icon svg {
  width: 28px;
  height: 28px;
}
.value-strip__label {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-high);
  letter-spacing: -0.3px;
}
.value-strip__desc {
  font-size: 13px;
  color: var(--text-low);
}

/* =============================================================================
   22b. COMPARISON PAGE
   ============================================================================= */
.compare-hero {
  padding-top: 200px;
  padding-bottom: 60px;
  background: var(--gradient-hero);
  text-align: center;
}
.compare-hero__headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text-high);
  margin-bottom: 16px;
}
.compare-hero__headline em {
  font-style: normal;
  color: var(--cyan);
}
.compare-hero__sub {
  font-size: 18px;
  color: var(--text-med);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cost comparison bars */
.cost-section { padding: 80px 0; }
.cost-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 48px auto 0;
}
.cost-bar {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  gap: 16px;
}
.cost-bar__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-high);
  text-align: right;
}
.cost-bar__track {
  height: 36px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.cost-bar__fill {
  height: 100%;
  border-radius: 8px;
  transition: width 1s ease-out;
}
.cost-bar__fill--kreev {
  background: var(--cyan);
  width: 7%;
}
.cost-bar__fill--oura {
  background: #a78bfa;
  width: 65%;
}
.cost-bar__fill--whoop {
  background: #f97316;
  width: 100%;
}
.cost-bar__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-high);
}
.cost-bar__price--kreev { color: var(--cyan); }
.cost-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-low);
  margin-top: 20px;
}

/* Feature comparison table */
.compare-table-section { padding: 80px 0; }
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  background: rgba(22, 32, 50, 0.8);
  padding: 16px 20px;
  font-weight: 800;
  color: var(--text-high);
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
  white-space: nowrap;
}
.compare-table thead th:first-child {
  text-align: left;
  color: var(--text-med);
  font-weight: 600;
}
.compare-table thead th.compare-table__kreev {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
}
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--surface-border);
  color: var(--text-med);
  text-align: center;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-high);
}
.compare-table tbody td.compare-table__kreev {
  background: rgba(34, 211, 238, 0.04);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table .check {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 700;
}
.compare-table .cross {
  color: var(--text-low);
  font-size: 16px;
}
.compare-table .partial {
  color: #fbbf24;
  font-size: 14px;
}

/* Why Kreev cards */
.why-section { padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.3);
}
.why-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  color: var(--cyan);
  margin-bottom: 20px;
}
.why-card__icon svg {
  width: 22px;
  height: 22px;
}
.why-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-high);
  margin-bottom: 10px;
}
.why-card__desc {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.65;
}

/* Compare CTA section */
.compare-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--gradient-hero);
  border-top: 1px solid var(--surface-border);
}
.compare-cta__form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 24px auto 0;
}
.compare-cta__form input[type="email"] {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md, 10px);
  padding: 14px 18px;
  color: var(--text-high);
  font-size: 15px;
  transition: border-color var(--t-fast);
  min-width: 0;
}
.compare-cta__form input[type="email"]::placeholder { color: var(--text-low); }
.compare-cta__form input[type="email"]:focus { border-color: var(--cyan); outline: none; }

/* =============================================================================
   23. ANIMATIONS & KEYFRAMES
   ============================================================================= */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ring-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(34,211,238,0.5)); }
  50% { filter: drop-shadow(0 0 16px rgba(34,211,238,0.8)); }
}

/* =============================================================================
   23. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__content { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__diff { justify-content: center; }
  .value-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .compare-hero { padding-top: 120px; }
  .why-grid { grid-template-columns: 1fr; }
  .compare-cta__form { flex-direction: column; }
  .cost-bar { grid-template-columns: 80px 1fr 70px; }
  .hero__form { flex-direction: column; }
  .hero__form .btn { width: 100%; }
  .hero__store-note { justify-content: center; }
  .hero__visual { padding-bottom: 0; }
  .hero__mockup-wrap { width: 260px; }

  .score-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .ai-section__inner { grid-template-columns: 1fr; gap: 48px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .legal-page__inner { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
}

/* =============================================================================
   24. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================================= */
@media (max-width: 768px) {
  .nav__logo img { height: 60px; }
  .hero { padding-top: 80px; }
  .legal-page { padding-top: 80px; }
  .compare-hero { padding-top: 80px; padding-bottom: 40px; }
  .cost-section, .compare-table-section, .why-section, .compare-cta { padding: 48px 0; }
  .cost-bar { grid-template-columns: 70px 1fr 60px; gap: 10px; }
  .cost-bar__name { font-size: 13px; }
  .cost-bar__price { font-size: 13px; }

  .section-pad { padding: 60px 0; }
  .section-pad-lg { padding: 72px 0; }
  .section-pad-xl { padding: 80px 0; }

  .baseline-steps { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card--stress { grid-template-columns: 1fr; gap: 16px; }

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

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

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

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .recovery-zone { grid-template-columns: 60px 60px 1fr; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero__mockup-wrap { width: 220px; }
  .value-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__diff { flex-direction: column; gap: 4px; }
  .hero__diff-sep { display: none; }
}

/* =============================================================================
   25. PRINT STYLESHEET (legal pages)
   ============================================================================= */
@media print {
  body { background: #fff; color: #000; }
  .nav, .footer, .legal-toc { display: none; }
  .legal-content h2, .legal-content h3 { color: #000; }
  .legal-content p, .legal-content li, .legal-content td { color: #333; }
  .legal-page__inner { grid-template-columns: 1fr; }
}
