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

/* --- Inter, self-hosted (see /assets/fonts) — no Google Fonts request from visitors' browsers --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/Inter-latin-variable.woff2') format('woff2-variations'), url('/assets/fonts/Inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================================
   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;
  --metric-healthspan: #34D399;

  /* 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: 19px 0;
  transition: background 400ms ease, padding 400ms ease, backdrop-filter 400ms ease;
}

/* Nav spans full viewport — remove container max-width constraint */
.nav .container {
  max-width: none;
  padding: 0 clamp(24px, 4vw, 64px);
}
.nav.nav--scrolled {
  background: rgba(17, 28, 43, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5px 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: 44px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav__links a {
  font-size: 16px;
  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: 16px;
  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;
  flex-direction: column;
  align-items: stretch;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 0;
}

/* 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 {
  padding: 48px 0 60px;
  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; }

/* --- Technology credibility badge strip --- */
.hero__tech-strip {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__tech-strip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-low);
}
.hero__tech-strip-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tech-badge-link {
  display: inline-flex;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  cursor: default;
}
a.tech-badge-link {
  cursor: pointer;
}
a.tech-badge-link:hover { opacity: 1; }
.tech-badge-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* --- Hero Carousel (landscape) --- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg0);
}


/* Permanent top scrim — keeps nav readable on any image brightness */
.hero-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
  z-index: 15;
  pointer-events: none;
}

.hero-carousel__glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Slides */
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay container — positions glass cards bottom-left */
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
  z-index: 3;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.hero-carousel__slide.is-active .hero-carousel__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* --- Slide Captions (narrative labels) --- */
.hero-carousel__caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 100px 40px 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.hero-carousel__slide.is-active .hero-carousel__caption {
  opacity: 1;
  transform: translateY(0);
}
.hero-carousel__caption-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.hero-carousel__caption-headline {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.hero-carousel__caption-desc {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
  .hero-carousel__caption {
    padding: 80px 20px 0;
  }
}

/* --- Glass Cards (shared) --- */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 24px 28px;
  color: #fff;
  width: 100%;
  max-width: 440px;
}

/* Card 1: Recovery Score */
.glass-card--score {
  display: flex;
  align-items: center;
  gap: 18px;
}
.glass-card__ring { flex-shrink: 0; }
.glass-card__text { display: flex; flex-direction: column; gap: 6px; }
.glass-card__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}
.glass-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.glass-card__badge--green {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Card 2: Sleep */
.glass-card--sleep { display: flex; flex-direction: column; gap: 14px; }
.glass-card__sleep-label { display: none; } /* shown only on mobile via override */
.glass-card__sleep-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.glass-card__sleep-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #818cf8, #38bdf8);
  transition: width 1s ease;
}
.glass-card__sleep-stats { display: flex; align-items: baseline; gap: 16px; }
.glass-card__big-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.glass-card__big-num small {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.glass-card__sleep-stages {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}
.glass-card__sleep-stages i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

/* Card 3: 6-metric grid */
.glass-card--metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.glass-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.glass-card__metric-val {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.glass-card__metric-val small {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.glass-card__metric-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.glass-card__metric-trend {
  font-size: 12px;
  font-weight: 700;
}
.glass-card__metric-trend--up { color: #6ee7b7; }
.glass-card__metric-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Card 4: AI Narrative */
.glass-card--narrative { display: flex; flex-direction: column; gap: 10px; max-width: 580px; }
.glass-card__ai-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.glass-card__ai-text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin: 0;
}

/* Card 5: Metric Chips */
.glass-card--chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 20px;
}
.glass-card__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 10px;
}
.glass-card__chip strong {
  color: #fff;
  margin-left: auto;
}
.glass-card__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Overlay: left-of-center positioning (slide 6) */
.hero-carousel__overlay--center {
  justify-content: flex-start;
  padding-left: clamp(32px, 15vw, 220px);
}

/* Card 5B: Baseline Stability */
.glass-card--baseline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 380px;
  max-width: 540px;
}
.glass-card__baseline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.glass-card__baseline-row {
  display: grid;
  grid-template-columns: 72px 54px 1fr auto;
  align-items: center;
  gap: 8px;
}
.glass-card__baseline-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.glass-card__baseline-val {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.glass-card__baseline-val small {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-left: 1px;
}
.glass-card__baseline-mu {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.glass-card__baseline-z {
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}
.glass-card__baseline-z--pos { color: #6ee7b7; }
.glass-card__baseline-z--neg { color: #f87171; }

/* Card 6: VO₂ Max Compass */
.glass-card--vo2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-width: 240px;
}
.glass-card__vo2-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.glass-card__compass { width: 100%; height: auto; }
.glass-card__vo2-zones {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0 4px;
}
.glass-card__badge--cyan {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

/* Click-to-pause feedback hint */
.hero-carousel {
  cursor: pointer;
}
.hero-carousel__click-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  z-index: 25;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.hero-carousel__click-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Dots */
.hero-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-carousel__dot.is-active {
  background: var(--cyan);
  transform: scale(1.25);
}
.hero-carousel__dot:hover { background: rgba(255,255,255,0.6); }

/* Progress bar */
.hero-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.hero-carousel__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  transition: width 0.1s linear;
}

/* =============================================================================
   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; }

/* =============================================================================
   8b. S1b — PURPOSE (opening "what Kreev is for" section)
   ============================================================================= */
.purpose-section {
  background: var(--bg0);
  padding: 90px 0 70px;
}

.purpose-section__prose {
  max-width: 740px;
  margin: 32px auto 0;
}

.purpose-section__prose p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 22px;
}

.purpose-section__prose p:last-child { margin-bottom: 0; }

/* =============================================================================
   8c. S1c — HEALTHSPAN INDEX
   ============================================================================= */
.healthspan-section {
  background:
    radial-gradient(ellipse at 8% 15%, rgba(52,211,153,0.05) 0%, transparent 55%),
    var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}

.healthspan-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

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

.healthspan-ring-score {
  font-size: 52px;
  font-weight: 900;
  fill: var(--text-high);
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: var(--font);
  letter-spacing: -2px;
}

.healthspan-tier-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 22px;
  border-radius: 99px;
  border: 1.5px solid;
}

.healthspan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.healthspan-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-low);
}
.healthspan-legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================================================
   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--healthspan:hover { box-shadow: 0 4px 24px rgba(52, 211, 153, 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--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}
.metric-card--stress { background: linear-gradient(135deg, #1E1B4B 0%, var(--bg1) 100%); }
.metric-card--stress::before { background: var(--metric-stress); opacity: 0.8; }
.metric-card--healthspan { background: linear-gradient(135deg, #0F3B2E 0%, var(--bg1) 100%); }
.metric-card--healthspan::before { background: var(--metric-healthspan); 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;
}

.healthspan-badge {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-align: center;
}
.healthspan-badge-value {
  font-size: 32px;
  font-weight: 800;
  color: #FBBF24;
  letter-spacing: -1px;
  line-height: 1;
}
.healthspan-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.8);
  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-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
}
.screenshot-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Screenshot lightbox — a plain position:fixed overlay, NOT a native
   <dialog>. <dialog>/showModal() caused three separate, hard-to-predict
   rendering bugs on real mobile Safari (no open/close transition at all,
   then — after position:relative was added to anchor the close button —
   the dialog rendering off-centre in a corner and the page scrolling to
   bring it into view). Rather than keep chasing <dialog> quirks, this
   uses the same fixed-overlay approach the original (pre-rework) gallery
   used, which never had these problems. Accessibility (keyboard-
   reachable buttons, Escape to close, focus return, body-scroll lock
   while open) is handled manually in JS instead of relying on
   <dialog>'s built-in behavior — see main.js §8. */
.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.75);
}
.screenshot-lightbox.is-open {
  display: flex;
}
.screenshot-lightbox__inner {
  position: relative;
  display: block;
  max-width: 90vw;
  max-height: 90vh;
}
.screenshot-lightbox__img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  border: 1.5px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 48px 80px rgba(0, 0, 0, 0.85);
}
.screenshot-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg0);
  border: 1px solid var(--surface-border);
  color: var(--text-high);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.screenshot-lightbox__close svg { width: 18px; height: 18px; }
.screenshot-lightbox__close:hover { background: var(--surface); }

/* =============================================================================
   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; }

/* Metric breakdown rows */
.ai-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--surface-border);
  padding-top: 14px;
}
.ai-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.ai-metric:last-child { border-bottom: none; }
.ai-metric__name {
  flex: 1;
  color: var(--text-med);
  font-weight: 500;
}
.ai-metric__val {
  color: var(--text-high);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ai-metric__delta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 99px;
  min-width: 72px;
  text-align: center;
}
.ai-metric__delta--up {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
}
.ai-metric__delta--down {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}
.ai-metric__delta--warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}
.ai-metric__delta--neutral {
  background: rgba(255,255,255,0.05);
  color: var(--text-low);
}

/* Low-score card variant */
.ai-card--low .ai-card__narrative {
  border-top-color: rgba(248, 113, 113, 0.2);
}
.ai-score-num--low {
  color: #f87171;
}

/* Low-score contrast section */
.ai-contrast {
  margin-top: 56px;
  border-top: 1px solid var(--surface-border);
  padding-top: 40px;
}
.ai-contrast__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 24px;
}
.ai-contrast__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.ai-contrast__note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.ai-contrast__note svg {
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 2px;
}
.ai-contrast__note p {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.7;
  margin: 0;
}
.ai-contrast__note em {
  color: var(--text-high);
  font-style: normal;
  font-weight: 600;
}
@media (max-width: 768px) {
  .ai-contrast__inner { grid-template-columns: 1fr; }
}

/* 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;
}

/* =============================================================================
   12b. S5b — APPLE WATCH
   ============================================================================= */
.watch-section {
  background:
    radial-gradient(ellipse at 92% 35%, rgba(34,211,238,0.06) 0%, transparent 55%),
    var(--bg0);
  padding: 100px 0;
  border-top: 1px solid var(--surface-border);
}

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

/* =============================================================================
   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); }
.trust-desc a { color: var(--cyan); }
.trust-desc 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: 20px;
  width: auto;
  margin-bottom: 12px;
}

/* Secondary pages (Beta, Compare) — smaller nav logo */
.page-secondary .nav__logo img { height: 22px; }
.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: 88px;
  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-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.legal-table-wrap table { margin-bottom: 0; }
.legal-content table {
  width: 100%;
  min-width: 480px;
  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); }
/* Countdown */
.hero__countdown {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.countdown-unit {
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius-md); padding: 10px 14px; min-width: 58px;
}
.countdown-num {
  font-size: 26px; font-weight: 800; color: var(--cyan);
  letter-spacing: -1px; line-height: 1; font-family: var(--font);
}
.countdown-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-low); margin-top: 4px;
}
.countdown-sep {
  font-size: 22px; font-weight: 700; color: var(--text-low);
  margin-bottom: 14px; line-height: 1;
}
@media (max-width: 400px) {
  .countdown-unit { min-width: 48px; padding: 8px 10px; }
  .countdown-num { font-size: 22px; }
}

.form-success__nudge { margin-top: 16px !important; font-weight: 600; color: var(--text-med); }
.form-success__actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.form-success__share {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none; transition: opacity var(--t-fast);
}
.form-success__share:hover { opacity: 0.85; }
.form-success__share--twitter { background: #000; color: #fff; }
.form-success__share--copy { background: var(--surface-light); color: var(--text-high); border: 1px solid var(--surface-border); }

.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__field--checkboxes { display: flex; flex-direction: column; gap: 12px; }
.beta-form__req-note { color: var(--text-low); font-size: 12px; }
.beta-form__commit-note {
  font-size: 13px;
  color: var(--text-low);
  line-height: 1.55;
  padding: 10px 12px;
  border-left: 2px solid var(--surface-border);
}
.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(5, 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: 88px;
  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: 11%;
}
.cost-bar__fill--oura {
  background: #a78bfa;
  width: 97%;
}
.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 { max-width: 100%; text-align: center; }
  .hero__content { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__diff { justify-content: center; }
  .hero-carousel__overlay { padding: 20px 24px; }
  .glass-card { padding: 14px 16px; max-width: 360px; }
  .glass-card__sleep-stages { display: none; }
  .glass-card__big-num { font-size: 22px; }
  .glass-card__metric-val { font-size: 20px; }
  .glass-card--chips { grid-template-columns: 1fr 1fr; gap: 6px; }
  .glass-card__chip { font-size: 11px; }
  .glass-card__ai-text { font-size: 13px; }
  .glass-card--vo2 { min-width: 200px; }
  .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; }

  .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); }
  .watch-cards-grid { grid-template-columns: 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: 32px; }
  .legal-page { padding-top: 64px; }
  .compare-hero { padding-top: 64px; 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--wide { 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; }
  .value-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__diff { flex-direction: column; gap: 4px; }
  .hero__diff-sep { display: none; }

  /* Carousel: full-bleed tall on mobile */
  .hero-carousel {
    height: 60vh;
  }
  .hero-carousel__img {
    object-fit: cover;
    object-position: 65% center;
  }
  .hero-carousel__overlay {
    align-items: flex-start; /* card pins to top — keeps subject visible */
    padding: 88px 16px 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.15) 40%, transparent 65%),
                linear-gradient(to top,   rgba(0,0,0,0.50) 0%, transparent 30%);
  }
  /* Slide 1: card stays at bottom */
  .hero-carousel__overlay--bottom {
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.20) 45%, transparent 70%);
  }
  /* Slide 3: 2-column on mobile, tight */
  .glass-card--metrics { grid-template-columns: 1fr 1fr; gap: 3px 8px; max-width: 220px; padding: 7px 10px; }
  /* Slide 5: single-column chips, shrink to content */
  .glass-card--chips { grid-template-columns: 1fr; width: fit-content; max-width: 170px; }
  /* Move dots above the card area */
  .hero-carousel__dots { bottom: 28px; }

  /* Slide 6: left-align compass on mobile */
  .hero-carousel__overlay--center { justify-content: flex-start; padding-left: 16px; }

  /* Slide 6: compact compass card */

  /* Compact glass cards — show only the headline metric */
  .glass-card {
    padding: 10px 12px;
    max-width: 260px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* Score card: shrink ring */
  .glass-card--score { gap: 10px; }
  .glass-card__ring { width: 52px; height: 52px; }
  .glass-card__label { font-size: 11px; }
  .glass-card__badge { font-size: 10px; padding: 3px 7px; }

  /* Sleep card: compact vertical — thin bar, stages in one horizontal row */
  .glass-card--sleep { flex-direction: column; gap: 5px; }
  .glass-card__sleep-bar { height: 5px; }
  .glass-card__sleep-label { display: none; }
  .glass-card__sleep-stats { flex-direction: column; gap: 3px; }
  .glass-card__big-num { font-size: 20px; }
  .glass-card__big-num small { font-size: 12px; }
  .glass-card__sleep-stages {
    display: flex;
    flex-direction: row;
    gap: 8px;
    font-size: 10px;
  }
  .glass-card__sleep-stages span { white-space: nowrap; }

  /* Metrics card */
  .glass-card__metric-val { font-size: 18px; }
  .glass-card__metric-label { font-size: 10px; }
  .glass-card__metric-trend { font-size: 11px; }

  /* AI card: narrow, sits just above dots */
  .hero-carousel__overlay--ai {
    align-items: flex-end;
    padding-bottom: 56px;
    background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.20) 45%, transparent 70%);
  }
  .hero-carousel__overlay--ai .glass-card--narrative { min-width: 0; max-width: 190px; transform: scale(0.9); transform-origin: bottom left; }
  .hero-carousel__overlay--ai .glass-card--baseline { min-width: 0; max-width: 220px; }
  .hero-carousel__overlay--ai .glass-card__baseline-row { grid-template-columns: 58px 44px auto; }
  .hero-carousel__overlay--ai .glass-card__baseline-mu { display: none; }
  .glass-card--narrative { gap: 6px; }
  .glass-card__ai-text { font-size: 11px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

  /* Chips card: 2-col, smaller */
  .glass-card--chips { grid-template-columns: 1fr; gap: 5px; padding: 10px 12px; }
  .glass-card__chip { font-size: 10px; padding: 5px 7px; }

  /* Slide 6: compact compass card on mobile */
  .glass-card--vo2 { width: fit-content; min-width: 0; gap: 4px; }
  .glass-card__compass { max-width: 85px; }
  .glass-card__vo2-zones { display: none; }
  .glass-card__vo2-header { gap: 4px; justify-content: center; }

  /* Caption: hide desc on mobile — reduces caption height, prevents overflow */
  .hero-carousel__caption-desc { display: none; }

  /* Slides 2, 3, 6: overlay is flex-start (cards float to top on mobile).
     Move caption to bottom so it clears the card zone entirely. */
  .hero-carousel__slide:not(:has(.hero-carousel__overlay--bottom)):not(:has(.hero-carousel__overlay--ai)) .hero-carousel__caption {
    top: auto;
    bottom: 60px;  /* above dots (28px) + dot height (8px) + breathing room */
    padding: 0 16px;
  }

  /* Slide 1 (--bottom only): score card ~72px tall, overlay padding-bottom 60px
     → card top ≈ 132px from slide bottom. Caption sits just above. */
  .hero-carousel__slide:has(.hero-carousel__overlay--bottom):not(:has(.hero-carousel__overlay--ai)) .hero-carousel__caption {
    top: auto;
    bottom: 145px;
    padding: 0 16px;
  }

  /* Slide 4 (--bottom + --ai): narrative card ~108px, overlay padding-bottom 56px
     → card top ≈ 164px from slide bottom. Caption sits just above. */
  .hero-carousel__slide:has(.hero-carousel__overlay--bottom.hero-carousel__overlay--ai) .hero-carousel__caption {
    top: auto;
    bottom: 178px;
    padding: 0 16px;
  }
}

/* =============================================================================
   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; }
}

/* =============================================================================
   26. SCORE VISUALIZATIONS — compass, bell curve, glass overlay
   ============================================================================= */

/* Carousel overlay image (glass1.png / glass2.png replacements) */
.hero-carousel__glass-img {
  max-height: 220px;
  width: auto;
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}
@media (max-width: 768px) {
  .hero-carousel__glass-img { display: none !important; }
}

/* Stacked column: bell curve on top, compass below */
.score-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.score-bell-wrap,
.score-compass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

/* Bell curve SVG outline paths */
.bell-outline {
  fill: none;
  stroke-width: 2;
}

/* Bell curve score readout */
.bell-score-display {
  text-align: center;
  margin-top: 6px;
  line-height: 1;
}
.bell-score-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--text-high);
  letter-spacing: -2.5px;
}
.bell-baseline-text {
  font-size: 12px;
  color: var(--text-low);
  text-align: center;
  margin: 6px 0 0;
  letter-spacing: 0.2px;
}

/* Compass score display */
.compass-score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.compass-score-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--text-high);
  letter-spacing: -2.5px;
  line-height: 1;
}

/* Zone badge below compass score */
.compass-zone-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Small section labels */
.score-visual-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-low);
  text-align: center;
}

@media (max-width: 768px) {
  .bell-score-num { font-size: 48px; }
  .compass-score-num { font-size: 40px; }
}

/* =============================================================================
   27. FREE vs SENTINEL COMPARISON TABLE
   ============================================================================= */
.tier-table {
  max-width: 660px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}
.tier-table__grid {
  width: 100%;
  border-collapse: collapse;
  background: #111C2B;
}
.tier-table__grid thead tr {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.tier-table__grid th {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tier-table__feature-col { text-align: left; color: var(--text-low); }
.tier-table__tier-col { text-align: center; min-width: 88px; }
.tier-table__free-head { color: rgba(255,255,255,0.5); }
.tier-table__sentinel-head { color: #22D3EE; }
.tier-table__grid tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.tier-table__grid tbody tr:last-child { border-bottom: none; }
.tier-table__grid tbody tr:hover { background: rgba(255,255,255,0.03); }
.tier-table__grid td {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-med);
}
.tier-sentinel-row td:first-child { color: var(--text-med); }
.tier-check {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.35);
}
.tier-check--s { color: #22D3EE; font-weight: 700; }
.tier-dash {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.15);
}
.tier-note {
  font-size: 11px;
  color: var(--text-low);
  font-style: italic;
}

@media (max-width: 540px) {
  .tier-table__grid th,
  .tier-table__grid td { padding: 10px 12px; font-size: 13px; }
  .tier-table__tier-col { min-width: 60px; }
  .tier-note { display: none; }
}


/* =============================================================================
   28. CONVERSION PLAN (2026-09-30) — longevity-first home page
   ============================================================================= */

/* Hero: launch-status chip + requirements badge */
.hero__chip {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.hero__req {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-high);
  font-size: 13px;
  font-weight: 600;
}

/* Tier line — the free/Sentinel boundary stated next to a feature */
.tier-line {
  margin-top: 22px;
  padding: 12px 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}
.tier-line strong { color: var(--text-high); }

/* Healthspan component list */
.hs-components { list-style: none; padding: 0; margin: 0 0 4px; }
.hs-components li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
  padding: 7px 0;
}
.hs-components strong { color: var(--text-high); }
.hs-components .healthspan-legend-dot { margin-right: 8px; }

/* Screenshot captions + tier chips */
.screenshots-row--pair { justify-content: center; overflow: visible; flex-wrap: wrap; }
.screenshot-frame:has(.screenshot-cap) {
  border: none;
  box-shadow: none;
  background: none;
  overflow: visible;
  width: 220px;
}
.screenshot-frame:has(.screenshot-cap):hover { box-shadow: none; }
.screenshot-frame:has(.screenshot-cap) .screenshot-btn {
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}
.screenshot-cap {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: var(--text-low);
  cursor: default;
}
.cap-tier {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  vertical-align: 1px;
}
.cap-tier--free { border-color: rgba(255, 255, 255, 0.3); color: var(--text-med); }

/* S3: scale */
.scale-section, .vo2-section, .frog-section, .patterns-section, .train-section { padding: 100px 0; }
.scale-section, .frog-section, .train-section { background: var(--bg0); }
.vo2-section, .patterns-section { background: var(--bg2); }
.scale-graphic { margin: 32px 0 0; }
.scale-bar {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #EF4444 0%, #FBBF24 30%, #34D399 50%, #22D3EE 100%);
  opacity: 0.85;
  margin-top: 40px;
}
.scale-band {
  position: absolute;
  top: -6px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--text-high);
  background: rgba(255, 255, 255, 0.12);
}
.scale-mark { position: absolute; top: -34px; transform: translateX(-50%); text-align: center; }
.scale-mark b { display: block; font-size: 12px; font-weight: 800; color: var(--text-high); white-space: nowrap; }
.scale-mark i { position: absolute; left: 50%; top: 18px; width: 2px; height: 32px; background: var(--text-high); }
.scale-ticks { position: relative; height: 22px; margin-top: 18px; font-size: 12px; color: var(--text-low); }
.scale-ticks span { position: absolute; transform: translateX(-50%); }
.scale-ticks span:first-child { transform: none; }
.scale-ticks span:last-child { transform: translateX(-100%); }
.scale-graphic figcaption { font-size: 13px; color: var(--text-low); margin-top: 10px; }

/* S5: boiling frog chart */
.frog-figure { margin: 0; }
.frog-svg { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 16px; padding: 10px; }
.frog-lbl { font-size: 11px; font-weight: 700; fill: var(--text-high); font-family: var(--font); }
.frog-lbl--dim { fill: #6B8AAE; font-weight: 600; }
.frog-figure figcaption { font-size: 13px; color: var(--text-low); margin-top: 10px; }

/* S5b: Archive + Patterns */
.patterns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.patterns-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}
.patterns-card p, .patterns-list { font-size: 15px; line-height: 1.65; color: var(--text-body); text-align: left; }
.patterns-card__title { font-size: 20px; font-weight: 800; color: var(--text-high); margin-bottom: 12px; text-align: left; }
.patterns-list { padding-left: 22px; margin: 10px 0 0; list-style: disc; }
.patterns-list li { margin-bottom: 6px; }
.patterns-card .screenshots-row { padding-bottom: 0; }

/* S6: question-framed tier table */
.tier-table--questions { max-width: 960px; }
.tier-table--questions .tier-table__grid th,
.tier-table--questions .tier-table__grid td { vertical-align: top; text-align: left; }
.tier-table--questions .tier-table__tier-col { min-width: 200px; text-align: left; }
.tier-table--questions .tq { font-size: 14px; font-weight: 700; color: var(--text-high); padding: 14px 20px; width: 24%; }
.tier-table--questions td { line-height: 1.5; }
.tier-table--questions .tier-cell--s { color: var(--text-high); }
.tier-table--questions td strong { color: var(--text-high); }
.tier-dash-inline { color: rgba(255, 255, 255, 0.25); }

@media (max-width: 768px) {
  .patterns-grid { grid-template-columns: 1fr; }
  .scale-section, .vo2-section, .frog-section, .patterns-section, .train-section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .tier-table--questions .tier-table__grid thead { display: none; }
  .tier-table--questions .tier-table__grid,
  .tier-table--questions .tier-table__grid tbody,
  .tier-table--questions .tier-table__grid tr,
  .tier-table--questions .tier-table__grid th,
  .tier-table--questions .tier-table__grid td { display: block; width: 100%; }
  .tier-table--questions .tier-table__grid tr { padding: 14px 0; }
  .tier-table--questions .tq { padding: 4px 16px 8px; }
  .tier-table--questions td { padding: 6px 16px; font-size: 14px; }
  .tier-table--questions td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-low);
    margin-bottom: 2px;
  }
  .tier-table--questions .tier-cell--s::before { color: #22D3EE; }
  .frog-svg { padding: 4px; }
}
