/* ========================================
   HEALTH IN MOTION JOURNEY — Landing Page
   ======================================== */

/* ---------- TOKENS ---------- */
:root {
  --color-bg:          #0d1117;
  --color-bg-alt:      #111921;
  --color-bg-elevated: #161b22;
  --color-bg-card:     rgba(255, 255, 255, 0.04);
  --color-surface:     rgba(255, 255, 255, 0.06);
  --color-border:      rgba(255, 255, 255, 0.08);

  --color-text:        #f0f0f0;
  --color-text-muted:  #8b949e;
  --color-text-dim:    #6e7681;

  --color-accent:      #d4a843;
  --color-accent-glow: rgba(212, 168, 67, 0.15);
  --color-cta:         #22c55e;
  --color-cta-hover:   #16a34a;
  --color-cta-text:    #fff;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  --max-width:  1120px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

strong { font-weight: 600; }

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section-title--left { text-align: left; }

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.section-subtitle--strong {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.25);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent-glow);
}

.btn--lg {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-lg);
}

.btn--full { width: 100%; }

.btn--nav {
  background: var(--color-cta);
  color: var(--color-cta-text);
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn--nav:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-lg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(13, 17, 23, 0.55) 0%,
      rgba(13, 17, 23, 0.75) 35%,
      rgba(13, 17, 23, 0.92) 65%,
      var(--color-bg) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-2xl);
}

.hero__eyebrow span {
  display: inline-block;
  margin: 0 0.35em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: var(--space-2xl);
  color: #fff;
}

.hero__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

/* --- Rotating word widget --- */
.hero__rotator {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  margin: var(--space-2xl) 0 0;
}

.hero__rotator-fixed {
  color: #fff;
}

.hero__rotator-word {
  display: inline;
  color: var(--color-accent);
  border-right: 3px solid var(--color-accent);
  padding-right: 0.06em;
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { border-color: var(--color-accent); }
  50%      { border-color: transparent; }
}

/* ---------- STORY SECTION ---------- */
.story {
  position: relative;
  z-index: 2;
  padding: 0;
  overflow: clip;
}

.story__layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Desktop: sticky image panel hidden on mobile, shown at 960px+ */
.story__visual {
  display: none;
}

/* Chapters stack vertically (mobile-first) */
.story__chapters {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}



/* --- Morphing bubble thought cards --- */


.story__chapter {
  --bubble-surface: rgba(12, 16, 22, 0.9);
  --bubble-surface-soft: rgba(16, 20, 27, 0.96);
  --bubble-surface-glow: rgba(255, 255, 255, 0.04);
  --bubble-border: rgba(255, 255, 255, 0.12);
  --bubble-ring-1: rgba(255, 255, 255, 0.08);
  --bubble-ring-2: rgba(255, 255, 255, 0.04);
  --bubble-shadow-1: rgba(255, 255, 255, 0.04);
  --bubble-shadow-2: rgba(255, 255, 255, 0.02);
  --bubble-ripple-core: rgba(255, 255, 255, 0.16);
  --bubble-ripple-mid: rgba(212, 168, 67, 0.13);
  --bubble-ripple-wash: rgba(255, 255, 255, 0.04);
  --bubble-spark-h: 42;
  --bubble-spark-s: 74;
  --bubble-spark-l: 82;
  position: relative;
  z-index: 2;
  padding: 0;
  border: none;
  -webkit-tap-highlight-color: transparent;
  background: none;
  text-align: center;
  --scroll-t: 0;
}

.story__chapter::before {
  display: none;
  --bubble-ring-gap-1: 5px;
  --bubble-ring-gap-2: 8px;
  --bubble-shadow-gap-1: 2px;
  --bubble-shadow-gap-2: 6px;
}

.story__chapter-surface {
  --scroll-t: 0;
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-xl) var(--space-xl);
  text-align: center;
  transform: scale(calc(0.88 + var(--scroll-t) * 0.12));
  opacity: calc(0.45 + var(--scroll-t) * 0.55);
}

.story__blob-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}

.story__blob-shadow {
  display: none;
}


.story__blob-fill {
  fill: var(--bubble-surface, rgba(12, 16, 22, 0.88));
  stroke: var(--bubble-border, rgba(255, 255, 255, 0.12));
  stroke-width: 0.004;
}



/* Color arc -- each bubble distinct, progressing cool → warm → bright */

/* Bubble 1: steel blue, muted */
.story__chapter:nth-child(1) {
  --bubble-surface: rgba(13, 16, 22, 0.9);
  --bubble-surface-soft: rgba(17, 21, 30, 0.96);
  --bubble-surface-glow: rgba(90, 120, 165, 0.1);
  --bubble-border: rgba(90, 120, 165, 0.22);
  --bubble-shadow-1: rgba(90, 120, 165, 0.04);
  --bubble-shadow-2: rgba(90, 120, 165, 0.02);
}

/* Bubble 2: cool teal */
.story__chapter:nth-child(2) {
  --bubble-surface: rgba(12, 18, 20, 0.9);
  --bubble-surface-soft: rgba(16, 24, 27, 0.96);
  --bubble-surface-glow: rgba(70, 140, 140, 0.1);
  --bubble-border: rgba(70, 140, 140, 0.22);
  --bubble-shadow-1: rgba(70, 140, 140, 0.04);
  --bubble-shadow-2: rgba(70, 140, 140, 0.02);
}

/* Bubble 3: muted green-gray */
.story__chapter:nth-child(3) {
  --bubble-surface: rgba(14, 18, 16, 0.9);
  --bubble-surface-soft: rgba(18, 24, 22, 0.96);
  --bubble-surface-glow: rgba(80, 130, 100, 0.1);
  --bubble-border: rgba(80, 130, 100, 0.22);
  --bubble-shadow-1: rgba(80, 130, 100, 0.04);
  --bubble-shadow-2: rgba(80, 130, 100, 0.02);
}

/* Bubble 4 (pivot): warm gold -- handled by --pivot override below */

/* Bubble 5: warm amber */
.story__chapter:nth-child(5) {
  --bubble-surface: rgba(20, 17, 13, 0.9);
  --bubble-surface-soft: rgba(28, 24, 18, 0.96);
  --bubble-surface-glow: rgba(200, 160, 80, 0.12);
  --bubble-border: rgba(200, 160, 80, 0.25);
  --bubble-shadow-1: rgba(200, 160, 80, 0.05);
  --bubble-shadow-2: rgba(200, 160, 80, 0.025);
}

/* Bubble 6: warm bright gold */
.story__chapter:nth-child(6) {
  --bubble-surface: rgba(22, 18, 12, 0.9);
  --bubble-surface-soft: rgba(30, 25, 16, 0.96);
  --bubble-surface-glow: rgba(220, 180, 90, 0.14);
  --bubble-border: rgba(220, 180, 90, 0.28);
  --bubble-shadow-1: rgba(220, 180, 90, 0.06);
  --bubble-shadow-2: rgba(220, 180, 90, 0.03);
}


/* Gentle stagger */
.story__chapter:nth-child(odd) {
  margin-left: 2%;
  margin-right: 10%;
}

.story__chapter:nth-child(even) {
  margin-left: 10%;
  margin-right: 2%;
}

/* Title */
.story__chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

/* Body text */
.story__chapter p {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  margin: 0 0 var(--space-xs);
}

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

.story__chapter em {
  color: var(--color-text);
  font-style: italic;
}

.story__chapter mark {
  background: transparent;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- Pivot card -- emotional turning point --- */

.story__chapter--pivot {
  --bubble-surface: rgba(23, 18, 12, 0.92);
  --bubble-surface-soft: rgba(31, 24, 15, 0.98);
  --bubble-surface-glow: rgba(212, 168, 67, 0.22);
  --bubble-border: rgba(212, 168, 67, 0.36);
  --bubble-ring-1: rgba(212, 168, 67, 0.18);
  --bubble-ring-2: rgba(212, 168, 67, 0.09);
  --bubble-shadow-1: rgba(212, 168, 67, 0.08);
  --bubble-shadow-2: rgba(212, 168, 67, 0.04);
  --bubble-ripple-core: rgba(255, 249, 224, 0.2);
  --bubble-ripple-mid: rgba(232, 187, 78, 0.22);
  --bubble-ripple-wash: rgba(212, 168, 67, 0.07);
  --bubble-spark-h: 42;
  --bubble-spark-s: 84;
  --bubble-spark-l: 84;
}


.story__chapter--pivot .story__chapter-surface {
  padding: var(--space-lg) var(--space-xl) var(--space-lg);
}

.story__chapter--pivot .story__chapter-title {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-accent);
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.2);
}


.story__chapter-surface.is-rippling {
  box-shadow:
    0 0 0 var(--bubble-shadow-gap-1) var(--bubble-shadow-1),
    0 0 0 var(--bubble-shadow-gap-2) var(--bubble-shadow-2),
    0 10px 28px rgba(0, 0, 0, 0.24),
    inset 0 0 52px rgba(255, 255, 255, 0.06);
}

.story__chapter-surface.is-pressed {
  transform: scale(calc((0.85 + var(--scroll-t) * 0.15) * 0.97));
}

/* --- Scroll animations (float in with rotation) --- */
.js-enabled .story__chapter.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out 0.15s,
              transform 1s ease-out 0.15s;
}

.js-enabled .story__chapter.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .story__chapter.fade-in.visible .story__chapter-surface {
  transition: box-shadow 0.22s ease-out, transform 0.1s ease-out, opacity 0.1s ease-out;
}

/* Text reveal stagger -- title first, body follows */
.js-enabled .story__chapter.fade-in .story__chapter-title {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease-out 0.1s, transform 0.5s ease-out 0.1s;
}

.js-enabled .story__chapter.fade-in p,
.js-enabled .story__chapter.fade-in em {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease-out 0.35s, transform 0.5s ease-out 0.35s;
}

.js-enabled .story__chapter.fade-in.visible .story__chapter-title,
.js-enabled .story__chapter.fade-in.visible p,
.js-enabled .story__chapter.fade-in.visible em {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile: single sticky crossfading background --- */
.story__bg-mobile {
  position: sticky;
  top: var(--nav-height);
  z-index: 0;
  height: calc(100vh - var(--nav-height));
  margin: 0 calc(-1 * var(--space-md));
  overflow: hidden;
  pointer-events: none;
}

.story__bg-mobile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(13, 17, 23, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.story__bg-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 1.8s ease;
}

.story__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story__bg-img--active {
  opacity: 1;
  transform: scale(1);
}

/* --- Story groups --- */
.story__group {
  position: relative;
  padding-top: 0;
}

/* Pull all groups up into the sticky bg area */
.story__group:first-child,
.story__chapters > .story__group {
  margin-top: 0;
}

/* The bg-mobile takes full viewport flow space; pull first group back up over it */
.story__bg-mobile + .story__group {
  margin-top: calc(-100vh + var(--nav-height));
}

/* Bubbles float over the sticky image */
.story__group .story__chapter {
  position: relative;
  z-index: 2;
  margin-bottom: 7svh;
  margin-bottom: 7vh;
}

.story__group .story__chapter:last-of-type {
  margin-bottom: 7svh;
  margin-bottom: 7vh;
}

/* Small exit spacer */
.story__spacer {
  display: none;
}

/* --- Desktop: full-width bg image, centered bubbles --- */
@media (min-width: 960px) {
  .story__layout {
    display: block;
    position: relative;
  }

  /* Hide the old sidebar panel */
  .story__visual {
    display: none;
  }

  /* Show the mobile bg on desktop too -- full width sticky */
  .story__bg-mobile {
    display: block;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .story__bg-mobile::after {
    background: radial-gradient(ellipse at center, transparent 30%, rgba(13, 17, 23, 0.3) 100%);
  }

  .story__inline-img {
    display: none;
  }

  .story__spacer {
    display: none;
  }

  .story__chapters {
    max-width: 780px;
    gap: var(--space-lg);
  }

  .story__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-top: 25vh;
  }

  .story__bg-mobile + .story__group {
    margin-top: calc(-100vh + var(--nav-height));
  }

  .story__group .story__chapter {
    margin-left: 0;
    margin-right: 0;
  }

  .story__group .story__chapter:last-of-type {
    margin-bottom: 0;
  }

  /* Desktop stagger -- gentle centered drift */
  .story__chapter:nth-child(odd) { margin-left: 3%; margin-right: 15%; }
  .story__chapter:nth-child(even) { margin-left: 15%; margin-right: 3%; }

  .story__chapter {
    padding: 0;
    --bubble-ring-gap-1: 4px;
    --bubble-ring-gap-2: 6px;
    --bubble-shadow-gap-1: 2px;
    --bubble-shadow-gap-2: 4px;
  }

  .story__chapter-surface {
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
    border-radius: 48% 52% 50% 50% / 50% 50% 48% 52%;
  }
}

/* ---------- VIDEO SECTION ---------- */
.video-section {
  padding: 0 0 var(--space-2xl);
  margin-top: calc(-1 * var(--space-xl));
  position: relative;
  z-index: 2;
}
.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--color-border);
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- SOCIAL PROOF ---------- */
.proof {
  padding: var(--space-xl) 0;
}

.proof__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.proof__item {
  text-align: center;
}

.proof__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.proof__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof__divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* ---------- SECTION ALTERNATING ---------- */
.features,
.community-img,
.on-terms,
.faq {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.compare,
.bio,
.pricing,
.proof {
  border-top: 1px solid var(--color-border);
}

/* ---------- FEATURES ---------- */
.features {
  padding: var(--space-3xl) 0;
}

.features__punch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-lg) auto var(--space-xl);
  max-width: 560px;
}

.features__punch-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
}

.features__punch-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: left;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.features__bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition);
}

.card:hover {
  background: var(--color-surface);
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  color: var(--color-accent);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.card__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- VALUE COMPARISON TABLE ---------- */
.compare {
  padding: var(--space-3xl) 0;
}

.compare__wrap {
  margin-top: var(--space-lg);
}

.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* --- Header (3 virtual rows: icons, names, prices) --- */
.compare__th-feature {
  text-align: center;
  vertical-align: middle;
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.compare__hcell {
  text-align: center;
  vertical-align: middle;
  padding: 0.25rem var(--space-xs);
}

.compare__hrow--icons .compare__hcell {
  padding-top: var(--space-md);
}

.compare__hrow--prices .compare__hcell {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.compare__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  color: var(--color-text-muted);
}

.compare__hcell--him .compare__icon {
  width: 88px;
  height: 88px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.compare__hcell--him .compare__icon:hover {
  transform: scale(1.55);
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.35),
              0 0 0 3px rgba(34, 197, 94, 0.3);
  z-index: 10;
}

.compare__hcell--him .compare__icon:active {
  transform: scale(1.45);
}

.compare__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #c9d1d9;
  white-space: nowrap;
}

.compare__price {
  display: block;
  font-size: 0.9rem;
  color: #a8b1bb;
  margin-top: 0.2rem;
}

.compare__mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .compare__mobile-br {
    display: initial;
  }
}

/* --- Highlight column (Health in Motion) --- */
.compare__hcell--him {
  background: rgba(34, 197, 94, 0.05);
  border-left: 2px solid rgba(34, 197, 94, 0.2);
  border-right: 2px solid rgba(34, 197, 94, 0.2);
}

.compare__hrow--icons .compare__hcell--him {
  border-top: 2px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.compare__hcell--him .compare__name {
  color: var(--color-cta);
}

.compare__hcell--him .compare__price {
  color: var(--color-cta);
  font-weight: 600;
}

/* --- Body --- */
.compare__feature {
  padding: 1rem var(--space-sm);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.compare__cell {
  padding: 1rem var(--space-sm);
  text-align: center;
  vertical-align: middle;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  font-style: italic;
  border-bottom: 1px solid var(--color-border);
}

.compare__table tbody tr:last-child td {
  border-bottom: none;
}

.compare__cell--him {
  background: rgba(34, 197, 94, 0.05);
  border-left: 2px solid rgba(34, 197, 94, 0.2);
  border-right: 2px solid rgba(34, 197, 94, 0.2);
}

.compare__table tbody tr:last-child .compare__cell--him {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-bottom: 2px solid rgba(34, 197, 94, 0.2);
}

/* Check / X via CSS pseudo */
.compare__cell--yes::before {
  content: '\2713';
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: #22c55e;
}

.compare__cell--no::before {
  content: '\2717';
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(239, 68, 68, 0.5);
}

.compare__cell:not(.compare__cell--him).compare__cell--yes::before {
  opacity: 0.95;
}

.compare__cell:not(.compare__cell--him).compare__cell--no::before {
  opacity: 0.85;
}

.compare__cell--meh {
  font-size: 0.72rem;
}

/* ---------- COMMUNITY IMAGE ---------- */
.community-img {
  padding: 0 0 var(--space-3xl);
}

.community-img__wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.community-img__wrap img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.community-img__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(transparent, rgba(13, 17, 23, 0.9));
}

.community-img__caption p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #fff;
  text-align: center;
}

/* ---------- BIO / MEET MICHAEL ---------- */
.bio {
  padding: var(--space-3xl) 0;
}

.bio__story {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.bio__intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* Timeline */
.bio__timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-md) 0;
}

/* Center vertical line */
.bio__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-accent) 10%,
    var(--color-accent) 90%,
    transparent
  );
  transform: translateX(-1px);
}

.bio__node {
  position: relative;
  width: 50%;
  padding-bottom: var(--space-lg);
  margin-top: -12rem;
}

.bio__node:first-child {
  margin-top: 0;
}

/* Dot on the line */
.bio__node::before {
  content: '';
  position: absolute;
  top: var(--space-lg);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.4);
  z-index: 2;
}

/* Horizontal connector line from dot to card */
.bio__node::after {
  content: '';
  position: absolute;
  top: calc(var(--space-lg) + 8px);
  height: 2px;
  width: var(--space-lg);
  background: var(--color-accent);
  opacity: 0.3;
  z-index: 1;
}

/* Left nodes */
.bio__node--left {
  padding-right: calc(var(--space-xl) + var(--space-md));
}

.bio__node--left::before {
  right: calc(-10px);
}

.bio__node--left::after {
  right: 10px;
}

/* Right nodes */
.bio__node--right {
  margin-left: 50%;
  padding-left: calc(var(--space-xl) + var(--space-md));
}

.bio__node--right::before {
  left: calc(-10px);
}

.bio__node--right::after {
  left: 10px;
}

.bio__node-card {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  text-align: left;
  transition: all var(--transition);
}

.bio__node-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  background: var(--color-surface);
}

/* Image placeholder */
.bio__node-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bio__node-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Placeholder icon when no image */
.bio__node-img::before {
  content: '';
}

.bio__node-img:empty::before {
  content: '+ photo';
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* Timeline node reveal animations */
.js-enabled .bio__node.fade-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .bio__node--left.fade-in {
  transform: translateX(-40px);
}

.js-enabled .bio__node--right.fade-in {
  transform: translateX(40px);
}

.js-enabled .bio__node.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Dot scale-in */
.js-enabled .bio__node.fade-in::before {
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.js-enabled .bio__node.fade-in.visible::before {
  transform: scale(1);
}

/* Connector line grow-in */
.js-enabled .bio__node.fade-in::after {
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.js-enabled .bio__node--left.fade-in::after {
  transform-origin: left center;
}

.js-enabled .bio__node--right.fade-in::after {
  transform-origin: right center;
}

.js-enabled .bio__node.fade-in.visible::after {
  transform: scaleX(1);
}

.bio__age {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: rgba(212, 168, 67, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: var(--space-xs);
}

.bio__milestone-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.bio__node-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.bio__node-card strong {
  color: var(--color-text);
}

.bio__closing {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.bio__closing p {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
}

/* ---------- AUDIENCE ---------- */
.audience {
  padding: var(--space-3xl) 0;
  background:
    radial-gradient(ellipse at 50% 0%, var(--color-accent-glow), transparent 60%);
}

.audience__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* --- Comparison grid --- */
.audience__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  text-align: left;
}

.audience__col {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}

/* "Not for you" — muted, subdued */
.audience__col--no {
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.75;
}

/* "For you" — highlighted, draws attention */
.audience__col--yes {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.06);
}

.audience__col-header {
  margin-bottom: var(--space-md);
}

.audience__col-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.audience__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.audience__col li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Inline markers before each list item */
.audience__col--no li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%23ef4444' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.audience__col--yes li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%2322c55e' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.audience__col--yes li {
  color: var(--color-text);
}

/* --- Callout badge --- */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center;  }
}

.audience__callout {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-image: linear-gradient(
    110deg,
    var(--color-accent-glow) 0%,
    rgba(212, 168, 67, 0.3) 40%,
    var(--color-accent-glow) 60%,
    var(--color-accent-glow) 100%
  );
  background-size: 200% 100%;
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  animation: shimmer 4s ease-in-out infinite;
}

.audience__callout-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.audience__callout-icon svg {
  width: 100%;
  height: 100%;
}

.audience__callout p {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
}

/* ---------- CONTENT PREVIEW ---------- */
.preview {
  padding: var(--space-3xl) 0;
}

.preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.preview__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--color-border);
}

.preview__image img {
  width: 100%;
  object-fit: cover;
}

.preview__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.preview__text .btn {
  margin-top: var(--space-sm);
}

/* ---------- COURSE COLLAPSIBLE (inside features) ---------- */
.features__course-expand {
  margin-top: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  overflow: hidden;
}

.features__course-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}

.features__course-toggle::-webkit-details-marker {
  display: none;
}

.features__course-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}

.features__course-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), #b8922e);
  color: #0d1117;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  flex-shrink: 0;
}

.features__course-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}

.features__course-expand[open] .features__course-chevron {
  transform: rotate(180deg);
}

.features__course-body {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.features__course-body .exclusive__image {
  margin-top: var(--space-md);
}

/* ---------- ON YOUR TERMS ---------- */
.on-terms {
  padding: var(--space-3xl) 0;
}

/* ---------- EXCLUSIVE OFFER ---------- */
.exclusive {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.exclusive__content {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 168, 67, 0.2);
  background:
    linear-gradient(135deg, rgba(212, 168, 67, 0.06) 0%, rgba(212, 168, 67, 0.02) 100%);
}

.exclusive__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.exclusive__image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
}

.exclusive__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.exclusive__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

.exclusive__pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.exclusive__old-price {
  font-size: 1.3rem;
  color: var(--color-text-dim);
  text-decoration: line-through;
}

.exclusive__new-price {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.exclusive__save {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cta);
  background: rgba(34, 197, 94, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}

.exclusive__skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.exclusive__skill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

.exclusive__includes {
  text-align: left;
  max-width: 380px;
  margin: 0 auto var(--space-lg);
}

.exclusive__includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.exclusive__includes li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.exclusive__note {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.on-terms__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- PRICING ---------- */
.pricing {
  padding: var(--space-3xl) 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(34, 197, 94, 0.06), transparent 50%);
}

.pricing__card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25);
}

.pricing__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.pricing__price {
  margin-bottom: var(--space-lg);
}

.pricing__amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.pricing__period {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.pricing__list {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--color-text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing__list li:last-child {
  border-bottom: none;
}

.pricing__list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-cta);
  margin-top: 2px;
}

.pricing__note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.pricing__trust {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.pricing__trust-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.pricing__trust-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--space-3xl) 0;
}

.faq__list {
  max-width: 680px;
  margin: var(--space-lg) auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 var(--space-md);
}

.faq__answer p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

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

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: var(--space-xl) 0;
  text-align: center;
}

.final-cta--tight {
  padding-top: 0;
}

.final-cta__btn {
  justify-content: center;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-align: center;
}

/* ---------- ANIMATIONS ---------- */
/* Visible by default; JS adds .js-enabled to activate animation */
.fade-in {
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(24px);
}

.js-enabled .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SOCIAL PROOF WALL ---------- */
.proof-wall {
  padding: var(--space-3xl) 0;
  background: #0b1014;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.proof-wall__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.proof-wall__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.proof-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.proof-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Collapsible rest --- */
.proof-wall__more {
  margin-top: var(--space-md);
}

.proof-wall__more .proof-wall__grid {
  margin-top: 0;
}

.proof-wall__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: var(--space-sm) 0;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}

.proof-wall__toggle::-webkit-details-marker {
  display: none;
}

.proof-wall__toggle:hover {
  color: #e8bc5a;
}

.proof-wall__chevron {
  transition: transform var(--transition);
}

.proof-wall__more[open] .proof-wall__chevron {
  transform: rotate(180deg);
}

.proof-wall__more[open] .proof-wall__toggle {
  margin-bottom: var(--space-md);
}

/* --- Directional slide-in animations --- */
.js-enabled .proof-img--from-left.fade-in {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .proof-img--from-right.fade-in {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .proof-img--from-left.fade-in.visible,
.js-enabled .proof-img--from-right.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__punch {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 768px) {

  :root {
    --space-3xl: 5rem;
  }

  .story__chapter-surface {
    padding: var(--space-xl) var(--space-md) var(--space-xl);
  }

  /* Mobile stagger -- gentle drift */
  .story__chapter:nth-child(odd) {
    margin-left: 3%;
    margin-right: 10%;
  }

  .story__chapter:nth-child(even) {
    margin-left: 10%;
    margin-right: 3%;
  }


  .story__chapter mark {
    animation: none;
  }

  .proof-wall__grid {
    grid-template-columns: 1fr;
  }

  .features__course-toggle {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .features__course-chevron {
    margin-left: 0;
  }

  .features__course-body {
    padding: 0 var(--space-md) var(--space-md);
  }

  /* Bio timeline — single column */
  .bio__timeline::before {
    left: 18px;
  }

  .bio__node,
  .bio__node--left,
  .bio__node--right {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding-left: 52px;
    padding-right: 0;
  }

  .bio__node::before,
  .bio__node--left::before,
  .bio__node--right::before {
    left: 8px;
    right: auto;
  }

  .bio__node::after,
  .bio__node--left::after,
  .bio__node--right::after {
    left: 28px;
    right: auto;
    width: 16px;
  }

  .js-enabled .bio__node--left.fade-in,
  .js-enabled .bio__node--right.fade-in {
    transform: translateX(40px);
  }

  /* Comparison table — responsive */
  .compare__table {
    min-width: 0;
    table-layout: fixed;
  }

  .compare__th-feature {
    width: 30%;
    vertical-align: top;
  }

  .compare__hcell {
    width: 14%;
    padding: 0.25rem 0.05rem;
    white-space: normal;
  }

  .compare__hcell--him {
    width: 22%;
    padding-left: 0;
    padding-right: 0;
  }

  .compare__icon {
    width: 32px;
    height: 32px;
  }

  .compare__hcell--him .compare__icon {
    width: calc(100% - 2px);
    max-width: none;
    height: auto;
    aspect-ratio: 1;
  }

  .compare__name {
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.2;
  }

  .compare__price {
    font-size: 0.62rem;
    white-space: normal;
  }

  .compare__feature {
    font-size: 0.85rem;
    padding: 0.7rem 0.25rem;
  }

  .compare__cell {
    font-size: 0.75rem;
    padding: 0.7rem 0.15rem;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .compare__cell--yes::before,
  .compare__cell--no::before {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 0.7rem;
  }

  .compare__cell--meh {
    font-size: 0.7rem;
  }

  /* Audience comparison — stack */
  .audience__compare {
    grid-template-columns: 1fr;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links a::after { display: none; }

  .btn--nav {
    display: none;
  }

  /* Mobile hamburger animation */
  .nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: var(--space-lg);
  }

  .desktop-br {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }

  /* Features */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .features__bottom-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .card {
    text-align: center;
    padding: var(--space-md);
  }

  .card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
  }

  /* Preview */
  .preview__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .preview__text .section-title {
    text-align: center;
  }

  .preview__text {
    text-align: center;
  }

  /* Video -- remove negative overlap on mobile */
  .video-section {
    margin-top: var(--space-md);
  }

  /* Community image */
  .community-img__wrap img {
    aspect-ratio: 16 / 9;
  }

  /* Proof */
  .proof__grid {
    gap: var(--space-md);
  }

  .proof__divider {
    display: none;
  }

  .proof__item {
    flex: 1;
    min-width: 100px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--nav-height) + 2vh);
    padding-bottom: 0;
  }

  .hero__eyebrow {
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
  }

  .hero__eyebrow span {
    display: block;
    margin: 0.2em 0;
  }

  .hero__title {
    margin-bottom: var(--space-lg);
  }

  .hero__lead {
    margin-top: calc(var(--space-xl) + 3vh);
    margin-bottom: var(--space-lg);
  }

  .hero__rotator {
    margin-top: 6vh;
  }


  .story {
    padding-top: 0;
  }

  .pricing__card {
    padding: var(--space-lg) var(--space-md);
  }


  /* Audience columns — tighter padding */
  .audience__col {
    padding: var(--space-md);
  }

  /* Buttons — full width tap targets */
  .btn--primary,
  .btn--outline {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story__blob-svg {
    display: none;
  }

  .story__chapter-surface {
    background: var(--bubble-surface, rgba(12, 16, 22, 0.88));
    border-radius: 32px;
    border: 2px solid var(--bubble-border, rgba(255, 255, 255, 0.12));
  }
}
