/* Impulso by Comtraining — Landing (light & warm theme) */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Green & Yellow Coaching Palette */
  --bg: #ffffff;          
  --bg-hero: #f4f6f5;     /* Very pale soft gray-green canvas */
  --bg-soft: #f4f6f5;     
  --bg-card: #ffffff;
  --bg-tint: #fdf6ec;     /* Pale yellow tint for highlights */

  --border: #e3e8e5;      
  --border-strong: #c8d1cd;

  --text-main: #182b28;   /* Very dark green, highly readable */
  --text-hero: #ffffff;   
  --text-soft: #385954;   /* Muted green */
  --text-faint: #4a615c;  /* Darkened for accessibility (>4.5:1 on white) */
  --text-on-primary: #4b2e15; /* Rich dark brown for warm yellow backgrounds */

  --primary: #E2A54D;     /* The energetic Flourish Yellow */
  --primary-deep: #9e631d; /* Darkened yellow for >4.5:1 text accessibility */
  --primary-soft: #fdf5e8; /* Pale yellow for chips */

  --accent: #2D5652;      /* The elegant Flourish Green */
  --accent-soft: #e2ebe7;

  --warn: #E2A54D;        

  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px rgba(29, 43, 36, 0.05); 
  --shadow-md: 0 8px 24px rgba(29, 43, 36, 0.07);
  --shadow-lg: 0 20px 50px rgba(29, 43, 36, 0.09);
  --shadow-glow: 0 14px 40px rgba(131, 155, 138, 0.35); /* Sage glow */

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100dvh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

/* Tabular figures so stat/metric/price numerals align */
.stat-num, .metric-value, .coach-stat-number, .pricing-now, .pricing-regular {
  font-variant-numeric: tabular-nums;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.highlight-text {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    var(--text-main) 45%,
    var(--primary-soft) 50%,
    var(--text-main) 55%
  );
  background-size: 300% 100%;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-main);
  animation: text-shimmer 6s infinite;
}

@keyframes text-shimmer {
  0%, 75% {
    background-position: 150% center;
  }
  100% {
    background-position: -50% center;
  }
}

.brand-wave-text {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    var(--text-main) 40%,
    var(--primary) 50%,
    var(--primary-deep) 55%,
    var(--text-main) 65%
  );
  background-size: 300% 100%;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-main);
  animation: text-shimmer 14s infinite;
}

@keyframes logo-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Layout ---------- */
.landing-section {
  padding: 84px 8%;
  max-width: 1180px;
  margin: 0 auto;
}
.section-soft { background: var(--bg-soft); max-width: none; }
.section-soft > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
/* Tonal surface — ivory to soft sand, palette-matched */
.section-gradient { background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%); max-width: none; }
.section-gradient > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-header-centered { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-desc {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin: 14px auto 0;
  line-height: 1.6;
}

/* ---------- Nav ---------- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8%;
  background: rgba(255, 255, 255, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.25);
  transition: padding 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.landing-nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(219, 212, 203, 0.78);
  box-shadow: 0 14px 34px rgba(33, 39, 47, 0.09);
}
.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.logo-image {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}
.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 67% 25%, rgba(255, 255, 255, 0.38), transparent 27%),
    linear-gradient(145deg, var(--primary-soft) 0%, var(--primary) 48%, var(--primary-deep) 100%);
  box-shadow: 0 10px 26px rgba(131, 155, 138, 0.35);
}
.logo-mark::before {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: translateY(2px) rotate(-45deg);
}
.logo-mark-core {
  width: 4px;
  height: 23px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  transform: translateY(3px);
}
.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
  background: linear-gradient(135deg, #d32f2f 0%, #a66a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d32f2f; /* Fallback for browsers that do not support background-clip: text */
}
.logo-subtext {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-deep);
  line-height: 1;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px;
  border: 1px solid rgba(219, 212, 203, 0.72);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.52);
}
.nav-link {
  border-radius: var(--radius-pill);
  color: rgba(26, 26, 26, 0.78);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--primary-soft);
  color: var(--text-main);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(219, 212, 203, 0.95);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 15px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.nav-login:hover {
  background: #ffffff;
  border-color: rgba(45, 86, 82, 0.38);
  color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.nav-login-short,
.nav-cta-short { display: none; }
.nav-cta {
  min-height: 40px;
  padding: 10px 17px;
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-landing-primary { 
  background: var(--primary); 
  color: var(--text-on-primary); 
  box-shadow: var(--shadow-glow); 
  font-weight: 700; 
  position: relative;
  overflow: hidden;
}
.btn-landing-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 5s infinite;
}
@keyframes btn-shine {
  0%, 75% { left: -100%; }
  100% { left: 200%; }
}
.btn-landing-primary:hover { background: var(--primary-deep); color: #ffffff; transform: translateY(-2px); }
.btn-landing-secondary { background: #fff; color: var(--text-main); border-color: var(--border-strong); }
.btn-landing-secondary:hover { border-color: var(--primary); color: var(--text-main); }
.btn-ghost { background: transparent; color: var(--primary-deep); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--text-main); background: var(--primary-soft); }

/* Pressed feedback — physical click cue */
.btn-landing:active, .btn-pill-white:active { transform: translateY(1px); }

/* Visible keyboard focus (accessibility) */
:focus-visible {
  outline: 2px solid var(--primary-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link — keyboard users jump past nav */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--primary-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 8px; }

.cta-note { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.cta-note .dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }

/* ---------- Hero ---------- */
.hero-section {
  background-color: var(--bg-hero);
  padding: 0;
  width: 100%;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 132px 6% 80px;
}
.hero-content {
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Subtle ambient depth behind the phone (skill: texture/atmosphere, not flat) */
.hero-visual .phone-container {
  position: relative;
}
.hero-visual .phone-container::after {
  content: '';
  position: absolute;
  inset: -36px;
  z-index: -1;
  border-radius: 60px;
  background: radial-gradient(closest-side, rgba(45, 86, 82, 0.08), rgba(45, 86, 82, 0) 72%);
}
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 22px;
}
.hero-tag span { letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-body); font-style: normal; font-size: 13px; font-weight: 700; margin-left: 8px; }
.hero-tag-dark { color: var(--primary-deep); }
.hero-tag-dark span { margin-left: 0; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 18px;
}
.hero-title { font-size: clamp(42px, 4.7vw, 58px); font-weight: 800; line-height: 0.95; text-transform: uppercase; color: var(--text-main); }
.hero-description {
  font-size: 19px;
  color: var(--text-soft);
  margin: 24px auto 30px;
  max-width: 580px;
  line-height: 1.6;
}
.hero-description strong { color: var(--text-main); }
.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 32px;
  max-width: 600px;
}
.hero-proof-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
}
.hero-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-buttons .btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }
.hero-commitment {
  max-width: 480px;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 16px;
  text-align: left;
}

/* ---------- Impact Banner ---------- */
.impact-banner {
  position: relative;
  width: 100%;
  padding: 160px 8%;
  background-image: url(/person_bg.png);
  background-size: cover;
  background-position: center 30%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.impact-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.impact-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.impact-title {
  font-family: var(--font-body);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.impact-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
  background: #ffffff;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
/* Simulator selector */
.simulator-selector-container { margin: 34px 0 30px; }
.selector-title { font-size: 14px; color: var(--text-soft); font-weight: 600; margin-bottom: 14px; }
.simulator-selector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.selector-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.selector-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.selector-card.active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.selector-card-icon { font-size: 22px; line-height: 1; }
.selector-card-text { display: flex; flex-direction: column; }
.selector-card-text strong { font-size: 14.5px; color: var(--text-main); font-weight: 600; }
.selector-card-text span { font-size: 12.5px; color: var(--text-soft); }

/* Phone */
.phone-container {
  position: relative;
  width: 280px;
  max-width: 100%;
  background: #e0e6e6;
  border: 1px solid #cbd5d5;
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #eaf1f1;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.phone-screen {
  background: #f4f7f6;
  border-radius: 28px;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 16px 10px;
  background: var(--primary);
  color: var(--text-on-primary);
}
.chat-avatar-img { width: 38px; height: 38px; border-radius: 50%; }
.chat-info { display: flex; flex-direction: column; }
.chat-name { font-weight: 600; font-size: 15px; white-space: nowrap; }
.chat-status { font-size: 12px; opacity: 0.9; }
.chat-body {
  flex: 1;
  padding: 16px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #1d2a25;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
  animation: bubbleIn 0.3s ease forwards;
}
.bubble strong { font-weight: 600; }
.bubble-left { align-self: flex-start; background: #ffffff; border-top-left-radius: 4px; }
.bubble-right { align-self: flex-end; background: var(--bg-tint); border-top-right-radius: 4px; }
.bubble-footer { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 3px; }
.bubble-time { font-size: 10px; color: var(--text-faint); }
.typing-bubble-sim {
  align-self: flex-start;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  gap: 4px;
}
.typing-bubble-sim .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: blink 1.2s infinite; }
.typing-bubble-sim .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble-sim .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%,100%{opacity:0.3;} 50%{opacity:1;} }
@keyframes bubbleIn { from{opacity:0; transform: translateY(6px);} to{opacity:1; transform:none;} }

/* ---------- Trust strip ---------- */
.trust-section {
  padding: 0 5%;
  background: var(--bg-tint);
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border-strong);
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 36px 0;
  flex-wrap: wrap;
}
.trust-divider { width: 1px; height: 40px; background: var(--border-strong); flex-shrink: 0; }
/* Brand link */
.trust-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.trust-brand:hover { opacity: 0.7; }
.trust-brand-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }
.trust-brand-name { font-size: 20px; font-weight: 700; color: var(--primary-deep); letter-spacing: -0.02em; }
.trust-brand-arrow { width: 16px; height: 16px; color: var(--primary-deep); margin-top: 1px; }
/* Stat */
.trust-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; max-width: 160px; }
.trust-stat-num { font-size: 38px; font-weight: 800; color: var(--text-main); letter-spacing: -0.03em; line-height: 1; }
.trust-stat-desc { font-size: 12px; color: var(--text-soft); line-height: 1.4; }
/* Badge */
.trust-badge { display: flex; align-items: center; gap: 10px; }
.trust-badge-icon { width: 22px; height: 22px; color: var(--text-soft); flex-shrink: 0; }
.trust-badge-text { font-size: 13px; color: var(--text-soft); max-width: 140px; line-height: 1.4; }
/* Mobile */
@media (max-width: 600px) {
  .trust-divider { display: none; }
  .trust-strip { gap: 22px; padding: 28px 0; }
  .trust-stat-num { font-size: 30px; }
}

/* ---------- "What you can work on" topics ---------- */
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.topic-chip {
  flex: 0 1 260px;
}
.topic-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.topic-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.topic-icon { font-size: 24px; line-height: 1; }
.topic-label { font-weight: 600; font-size: 15px; color: var(--text-main); }
.topics-examples-label {
  text-align: center;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.topic-chip-open {
  border-style: dashed;
  border-color: var(--primary-deep);
  background: var(--primary-soft);
}
.topic-chip-open .topic-label { color: var(--primary-deep); }

/* ---------- How it works (steps) ---------- */
.how-it-works-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.steps-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.step-tab:hover { background: rgba(255, 255, 255, 0.5); }
.step-tab.is-active {
  background: var(--bg-card);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.step-tab-num {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-faint);
  opacity: 0.5;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.step-tab.is-active .step-tab-num { color: var(--primary); opacity: 1; }

.step-tab-texts { display: flex; flex-direction: column; gap: 6px; }
.step-time-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  align-self: flex-start;
}
.step-tab-label-short { display: none; }
.step-tab-label-full { display: inline; }
.step-tab-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.step-tab.is-active .step-tab-label { color: var(--text-main); }
.step-tab-arrow { display: none; }

.steps-grid { position: relative; }
.step-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease forwards;
}
.step-card.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-card.step-payoff { background: var(--bg-tint); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.step-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.step-result-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-on-primary);
  background: var(--primary);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-left: 4px;
  vertical-align: middle;
}
.step-card h3 { font-size: 24px; margin-bottom: 16px; }
.step-card p { font-size: 16px; color: var(--text-soft); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* ---------- Benefit (bento) cards ---------- */
.bento-section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.bento-section-desc { font-size: 18px; color: var(--text-soft); max-width: 620px; margin: 14px auto 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-card-2col { grid-column: span 2; }
.bento-card-2row { grid-row: span 2; }
.bento-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bento-icon svg { width: 26px; height: 26px; }
.bento-title { font-size: 21px; margin-bottom: 10px; }
.bento-desc { font-size: 15.5px; color: var(--text-soft); line-height: 1.6; }

/* ---------- Timeline ---------- */
.timeline-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.timeline-line { display: none; }
.timeline-item { margin-bottom: 0; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { display: none; }
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.timeline-phase { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 13px; 
  text-transform: uppercase; 
  letter-spacing: 0.04em; 
  margin-bottom: 8px; 
}
.timeline-days {
  color: var(--text-faint);
  font-weight: 600;
}
.timeline-badge {
  display: inline-block;
  font-weight: 800;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.timeline-title { font-size: 20px; margin-bottom: 8px; }
.timeline-desc { font-size: 15.5px; color: var(--text-soft); line-height: 1.6; }
.timeline-note { max-width: 720px; margin: 48px auto 0; font-size: 16.5px; color: var(--text-soft); line-height: 1.65; text-align: center; }
.timeline-note strong { color: var(--text-main); font-weight: 600; }

/* ---------- Coach / trust ---------- */
.coach-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}
.coach-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--primary-soft);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), 0 12px 36px rgba(33, 39, 47, 0.15);
}
.coach-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; color: var(--primary-deep);
}
.coach-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 8px; }
.coach-quote { font-size: 20px; line-height: 1.5; color: var(--text-main); font-weight: 500; margin-bottom: 16px; }
.coach-name { font-weight: 700; font-size: 17px; }
.coach-credential { font-size: 15px; color: var(--text-soft); margin-top: 2px; }
.coach-method { font-size: 15px; color: var(--text-soft); line-height: 1.6; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.coach-pillars {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coach-pillar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-main);
}
.coach-pillar-icon {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}
.coach-pillar-text strong {
  color: var(--text-main);
}

/* ---------- Metrics ---------- */
.metrics-section { padding: 56px 8%; max-width: 1180px; margin: 0 auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.metric-value { font-family: var(--font-title); font-weight: 800; font-size: 46px; line-height: 1; margin-bottom: 10px; }
.primary-color { color: var(--primary); }
.accent-color { color: var(--accent); }
.deep-color { color: var(--primary-deep); }
.metric-label { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.metric-detail { font-size: 15px; color: var(--text-soft); line-height: 1.55; }

/* ---------- Asymmetric editorial split (breaks centered-grid rhythm) ---------- */
.section-split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
  text-align: left;
}
.section-split .split-header { position: sticky; top: 96px; }
.section-split .split-header .section-desc { margin: 14px 0 0; max-width: 430px; }
.section-split .why-grid { grid-template-columns: 1fr; gap: 16px; }

/* ---------- Motivation (why change) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { font-size: 15.5px; color: var(--text-soft); line-height: 1.6; }

/* ---------- Comparison (vs alone) ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 16px;
}
.stat-connector {
  width: 100%;
  height: 48px;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 24px;
}
.stat-connector-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stat-item {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-family: var(--font-title); font-weight: 800; font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.stat-text { font-size: 15px; color: var(--text-soft); line-height: 1.5; }
.stat-source { text-align: center; font-size: 12.5px; color: var(--text-faint); margin-top: -22px; margin-bottom: 44px; }

.compare-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 22px; align-items: stretch; }
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.compare-card-dim {
  background: var(--bg-card);
  opacity: 0.9;
}
.compare-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  background: var(--bg-tint);
  padding: 36px 30px;
  transform: scale(1.03);
  transform-origin: center;
  z-index: 2;
}
.compare-tag-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.compare-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); }
.compare-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-soft); }
.compare-card.highlight h3 { font-size: 24px; color: var(--text-main); margin-bottom: 12px; }
.compare-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: 0.04em; }
.compare-badge svg { width: 14px; height: 14px; }
.badge-low { background: #fdf4e7; color: #b87a2a; border: 1px solid #f8e1c2; } /* warning tone */
.badge-mid { background: #f0f4f8; color: #4a6fa5; border: 1px solid #d1def0; } /* neutral/premium tone */
@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.badge-best { background: var(--primary); color: var(--text-on-primary); box-shadow: 0 4px 12px rgba(45, 86, 82, 0.2); animation: pulse-badge 2.5s infinite ease-in-out; }
.compare-card.highlight .compare-tag { color: var(--primary-deep); font-size: 13px; }
.compare-card p { font-size: 14.5px; color: var(--text-faint); line-height: 1.55; }
.compare-card.highlight p { font-size: 16.5px; color: var(--text-main); line-height: 1.6; }

/* Flash border animation */
@keyframes flash-compare-border {
  0% { border-color: var(--primary); box-shadow: var(--shadow-glow); }
  20% { border-color: #ffffff; box-shadow: 0 0 24px rgba(255, 255, 255, 0.9), var(--shadow-glow); }
  100% { border-color: var(--primary); box-shadow: var(--shadow-glow); }
}
.flash-border-active {
  animation: flash-compare-border 1.5s ease-out;
}

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}
.pricing-badge span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 8s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.pricing-amount { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 4px; }
.pricing-was { display: flex; align-items: center; gap: 8px; }
.pricing-was-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.pricing-regular { font-size: 17px; color: var(--text-faint); text-decoration: line-through; }
.pricing-discount { font-size: 12px; font-weight: 800; color: var(--text-on-primary); background: var(--primary); border-radius: var(--radius-pill); padding: 2px 9px; letter-spacing: 0.02em; }
.pricing-now { font-family: var(--font-title); font-weight: 800; font-size: 38px; color: var(--text-main); line-height: 1.05; }
.pricing-now-row { display: flex; align-items: baseline; gap: 8px; }
.pricing-now-tax { font-size: 15px; font-weight: 600; color: var(--text-faint); }
.pricing-cycle { font-size: 14px; color: var(--text-soft); margin-bottom: 3px; }
.pricing-iva { font-size: 12.5px; color: var(--text-faint); margin-bottom: 10px; line-height: 1.4; }
.pricing-iva strong { color: var(--text-soft); }
.pricing-spots { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.pricing-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 18px;
  margin: 14px 0;
  text-align: left;
}
.pricing-includes li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}
.pricing-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.pricing-guarantee { font-size: 13.5px; color: var(--text-soft); margin-top: 12px; line-height: 1.5; }
.pricing-terms { margin-top: 8px; text-align: left; }
.pricing-terms summary { font-size: 13px; font-weight: 600; color: var(--text-soft); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.pricing-terms summary::-webkit-details-marker { display: none; }
.pricing-terms summary::before { content: "+"; font-weight: 700; color: var(--primary); }
.pricing-terms[open] summary::before { content: "−"; }
.pricing-terms ul { list-style: disc; margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.pricing-terms li { font-size: 12.5px; color: var(--text-faint); line-height: 1.5; }
.pricing-terms-link { margin-top: 8px; text-align: center; }
.pricing-terms-link a { font-size: 13px; font-weight: 600; color: var(--primary-deep); text-decoration: underline; }
.pricing-terms-link a:hover { color: var(--primary); }

/* ---------- Pricing value stack (Hormozi-style) ---------- */
.pricing-stack-intro { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); text-align: left; margin: 16px 0 8px; }
.pricing-stack-anchor { font-size: 13.5px; color: var(--text-soft); margin: 16px 0; line-height: 1.5; padding: 16px; background: var(--bg-soft); border-radius: var(--radius-md); text-align: center; }
.pricing-stack-anchor strong { color: var(--primary-deep); }

/* ---------- Pricing includes toggle ---------- */
.pricing-includes-toggle { margin: 14px 0 0; text-align: left; }
.pricing-includes-toggle summary {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  user-select: none;
}
.pricing-includes-toggle summary::-webkit-details-marker { display: none; }
.pricing-includes-toggle summary::before { content: "+"; font-weight: 800; color: var(--primary); margin-right: 2px; }
.pricing-includes-toggle[open] summary::before { content: "−"; }
.pricing-includes-toggle .pricing-includes { margin-top: 10px; }

/* Objection note below CTA removed as it's now in marquee */

/* ---------- Testimonials / social proof ---------- */
.testimonials-carousel-wrapper { position: relative; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.testimonial-stars { color: #facc15; font-size: 15px; letter-spacing: 2px; text-shadow: 0 0 8px rgba(250, 204, 21, 0.6); }
.testimonial-quote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-main); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.testimonial-name { display: block; font-weight: 700; font-size: 14.5px; color: var(--text-main); }
.testimonial-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary-deep); background: var(--primary-soft); border-radius: var(--radius-pill); padding: 1px 8px; margin-left: 4px; vertical-align: middle; }
.testimonial-meta { display: block; font-size: 13px; color: var(--text-faint); margin-top: 2px; }

/* Carousel controls — hidden on desktop, shown on mobile */
.carousel-controls { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-deep); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active { background: var(--primary); transform: scale(1.45); }

/* ---------- Trial / signup ---------- */
.trial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.trial-header { text-align: center; margin-bottom: 32px; }
.trial-title { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; }
.trial-desc { font-size: 17px; color: var(--text-soft); margin-top: 12px; line-height: 1.6; }
.trial-form { }
.enrollment-fields { display: flex; flex-direction: column; gap: 22px; }
.form-grid-b2b { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { display: flex; flex-direction: column; }
.input-group-full { grid-column: 1 / -1; }
.input-label { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 7px; }
.input-text {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-text::placeholder { color: var(--text-faint); }
.input-text:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.input-help { font-size: 12.5px; color: var(--text-soft); margin-top: 6px; }
.cta-note-dark { color: var(--text-soft); }
.cta-note-dark .dot-ok { background: var(--primary); }

/* ---------- FAQ ---------- */
.faq-section { max-width: 820px; }
.faq-grid { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-main);
  padding: 20px 22px;
}
.faq-chevron { width: 20px; height: 20px; color: var(--text-soft); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.faq-open { max-height: 360px; }
.faq-answer p { padding: 0 22px 20px; font-size: 15.5px; color: var(--text-soft); line-height: 1.65; }

/* ---------- Footer ---------- */
.landing-footer {
  padding: 40px 8%;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
}
.landing-footer a { color: var(--text-soft); text-decoration: none; border-bottom: 1px dashed var(--border-strong); }
.landing-footer a:hover { color: var(--primary-deep); border-bottom-color: var(--primary); }

.footer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-sep {
  color: var(--text-faint);
}

/* ---------- Toasts ---------- */
.flash-container-public { position: fixed; top: 18px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast-public {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  max-width: 360px;
}
.toast-alert-public { border-left-color: var(--warn); }
.toast-message { font-size: 14px; color: var(--text-main); }
.toast-close-public { background: none; border: none; font-size: 20px; color: var(--text-soft); cursor: pointer; line-height: 1; }

/* ---------- Success page ---------- */
.success-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 132px 8% 40px;
}
.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 560px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.success-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.success-desc { font-size: 16px; color: var(--text-soft); line-height: 1.6; margin-bottom: 26px; }
.success-steps { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-bottom: 28px; }
.success-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.success-step strong { color: var(--text-main); }

/* ---------- Privacy page ---------- */
.privacy-main { padding: 132px 8% 56px; }
.privacy-content { max-width: 760px; margin: 0 auto; }
.privacy-markdown-body { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); }
.privacy-markdown-body h1, .privacy-markdown-body h2, .privacy-markdown-body h3 { margin: 22px 0 10px; }
.privacy-markdown-body p, .privacy-markdown-body li { color: var(--text-soft); line-height: 1.7; margin-bottom: 10px; }
.privacy-markdown-body ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 120px 6% 60px;
    justify-items: start;
  }
  .hero-content { align-items: flex-start; text-align: left; }
  .hero-proof-list { justify-content: flex-start; margin-left: 0; margin-right: 0; }
  .hero-buttons { width: 100%; align-items: stretch; }
  .hero-buttons .btn-row { width: 100%; flex-direction: column; gap: 10px; }
  .hero-buttons .btn-landing-primary { width: 100%; }
  .hero-commitment { text-align: left; margin-left: 0; margin-right: 0; }
  .hero-visual { order: -1; } /* show the product first on narrow screens */
  .section-split { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .section-split .split-header { position: static; }
  .section-split .split-header .section-desc { max-width: 620px; margin: 14px auto 0; }
  .nav-links { display: none; } /* avoid overlap with right-side actions */
  .bento-grid, .steps-grid, .metrics-grid, .why-grid, .compare-grid { grid-template-columns: 1fr; }
  .stat-band, .stat-connector { display: none; }
  /* Testimonials: horizontal scroll-snap carousel on mobile */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 4px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card { flex: 0 0 calc(85% - 8px); scroll-snap-align: start; }
  .carousel-controls { display: flex; }
  .bento-card-2col, .bento-card-2row { grid-column: auto; grid-row: auto; }
  .coach-card { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 22px; }
  .coach-stats { justify-content: center; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 72px; }
  .landing-section { padding: 24px 5%; }
  .section-header-centered { margin-bottom: 20px; }
  .section-title, .bento-section-title { font-size: 22px; }
  .section-desc, .bento-section-desc { font-size: 14.5px; margin-top: 6px; line-height: 1.5; }
  .section-subtitle { font-size: 11px; margin-bottom: 6px; }
  .impact-banner { padding: 48px 5%; }
  .metrics-section { padding: 24px 5%; }
  .landing-nav,
  .landing-nav.is-scrolled { padding: 10px 5%; }
  .nav-links { display: none; } /* Hide links on mobile for simplicity */
  .logo-container { gap: 8px; }
  .logo-image { width: 25px; height: 25px; flex: 0 0 25px; }
  .logo-mark { width: 36px; height: 36px; border-radius: 12px; }
  .logo-text { font-size: 22px; }
  .logo-subtext { display: none; }
  .nav-actions { gap: 8px; }
  .nav-login,
  .nav-cta { min-height: 36px; font-size: 13px; padding: 8px 12px; }
  .nav-login-full,
  .nav-cta-full { display: none; }
  .nav-login-short,
  .nav-cta-short { display: inline; }
  /* hero already has its own CTA — drop the redundant nav one while hero on screen */
  .landing-nav.is-hero-visible .nav-cta { display: none; }
  /* Single flex column so the phone can sit between title and pitch.
     display:contents promotes hero-content's children to grid children
     so all hero elements share one ordering context. */
  /* Single column — badges hidden, phone spans full width */
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 72px 5% 16px;
    gap: 10px;
  }
  .hero-content   { display: contents; text-align: center; }
  .hero-eyebrow   { order: 1; font-size: 11px; margin-top: 24px; margin-bottom: 0; }
  .hero-title     { order: 2; font-size: 26px; line-height: 1.08; }
  .hero-visual    { order: 3; margin: 6px 0; align-self: center; }
  .hero-proof-list { display: none; } /* covered by eyebrow + description */
  .hero-description { order: 4; font-size: 14.5px; margin: 0; }
  .hero-buttons   { order: 5; width: 100%; }
  .hero-commitment { font-size: 12.5px; margin-top: 10px; }

  .phone-container { width: 220px; border-radius: 28px; padding: 9px; }
  .phone-screen { height: 340px; border-radius: 20px; }
  .phone-notch { width: 72px; height: 14px; top: 10px; }
  .chat-header { padding: 24px 12px 8px; gap: 8px; }
  .chat-avatar-img { width: 28px; height: 28px; }
  .chat-name { font-size: 12px; }
  .chat-body { padding: 10px 10px; gap: 6px; }
  .bubble { font-size: 11.5px; line-height: 1.35; padding: 7px 9px; max-width: 84%; }
  .bubble-time { font-size: 9px; }

  .topic-chip { padding: 12px 14px; gap: 8px; }
  .topic-icon { font-size: 20px; }
  .topic-label { font-size: 14px; }
  .topics-grid { gap: 10px; }
  .simulator-selector-grid { grid-template-columns: 1fr; }
  .form-grid-b2b { grid-template-columns: 1fr; gap: 12px; }
  .enrollment-fields { gap: 16px; }
  .input-text { padding: 11px 14px; font-size: 15px; }
  .trial-card { padding: 24px 18px; }
  .coach-card { padding: 24px 18px; gap: 16px; }
  .coach-photo { width: 100px; height: 100px; margin-bottom: 0px; }
  .coach-quote { font-size: 17.5px; margin-bottom: 12px; }
  .coach-stats { gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; padding-top: 14px; }
  .hero-buttons .btn-row { width: 100%; flex-direction: column; gap: 10px; }
  .hero-buttons .btn-landing-primary { width: 100%; }
  /* demote secondary CTA to a quiet text link so there's one clear action */
  .hero-buttons .btn-ghost {
    width: auto;
    min-height: 0;
    padding: 4px;
    border: none;
    background: none;
    text-decoration: underline;
    color: var(--primary);
  }

  /* Reduce grid gaps */
  .metrics-grid, .bento-grid, .why-grid, .stat-band, .compare-grid { gap: 12px; }
  .testimonial-card { flex: 0 0 calc(90% - 8px); }

  /* Reduce card paddings */
  .metric-card { padding: 16px 14px; }
  .bento-card, .why-card { padding: 16px 16px; }
  .compare-card { padding: 14px 16px; }
  .compare-card h3 { font-size: 16px; margin-bottom: 4px; }
  .compare-card p { font-size: 13.5px; line-height: 1.4; }
  .compare-tag-row { margin-bottom: 8px; }
  .compare-card.highlight { padding: 22px 18px; transform: none; z-index: 1; }
  .compare-card.highlight h3 { font-size: 21px; margin-bottom: 8px; }
  .compare-card.highlight p { font-size: 15.5px; line-height: 1.5; }
  .timeline-card { padding: 14px 16px; }

  /* ---------- Steps: pill selector on mobile ---------- */
  .how-it-works-container { display: flex; flex-direction: column; gap: 20px; }
  .steps-tab-nav {
    display: flex;
    flex-direction: row;
    gap: 3px;
    margin: 0 auto;
    background: var(--border);
    border-radius: var(--radius-pill);
    padding: 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 100%;
  }
  .steps-tab-nav::-webkit-scrollbar { display: none; }
  .step-tab {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    cursor: pointer;
    transition: background 0.18s;
    scroll-snap-align: start;
    gap: 0;
  }
  .step-tab-arrow {
    display: block;
    width: 14px;
    height: 14px;
    color: var(--text-faint);
    flex-shrink: 0;
    align-self: center;
  }
  .step-tab.is-active {
    background: var(--primary);
    border: none;
    box-shadow: none;
  }
  .step-tab-num { display: none; }
  .step-time-label { display: none; }
  .step-tab-label-short { display: inline; }
  .step-tab-label-full { display: none; }
  .step-tab-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-soft);
    white-space: nowrap;
    transition: color 0.18s;
  }
  .step-tab.is-active .step-tab-label { color: var(--text-on-primary); }

  /* steps-grid becomes single-panel container */
  .steps-grid { display: block; }
  .step-card.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
  }
  .step-card.is-active .step-content { width: 100%; }
  .step-image { width: 100%; height: 180px; object-fit: cover; margin-bottom: 16px; border-radius: var(--radius-sm); }
  .step-card.is-active h3 { font-size: 20px; margin-bottom: 10px; }
  .step-card.is-active p { font-size: 15px; line-height: 1.65; color: var(--text-soft); }

  /* Reduce metric fonts */
  .metric-value { font-size: 32px; margin-bottom: 4px; }
  .metric-label { font-size: 15px; margin-bottom: 4px; }
  .metric-detail { font-size: 14px; }

  /* Icons */
  .bento-icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .bento-icon svg { width: 20px; height: 20px; }
  .why-icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .why-icon svg { width: 20px; height: 20px; }

  /* Timeline — restore vertical layout on mobile */
  .timeline-container { display: block; position: relative; padding-left: 24px; }
  .timeline-line { display: block; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
  .timeline-item { position: relative; margin-bottom: 16px; }
  .timeline-dot { display: block; position: absolute; left: -21px; width: 12px; height: 12px; top: 16px; }
  .timeline-phase { font-size: 11.5px; margin-bottom: 4px; }
  .timeline-title { font-size: 17px; margin-bottom: 4px; }
  .timeline-desc { font-size: 14px; line-height: 1.5; }
  .timeline-note { margin-top: 36px; font-size: 15.5px; }

  /* Pricing card */
  .pricing-card { padding: 40px 18px 24px; }
  .pricing-now { font-size: 34px; }
  .pricing-cycle { font-size: 14px; margin-bottom: 16px; }
  .pricing-spots { font-size: 13.5px; margin-bottom: 16px; }
  .pricing-includes { grid-template-columns: 1fr; margin: 16px 0; gap: 8px; }
  .pricing-includes li { font-size: 14px; line-height: 1.4; padding-left: 20px; }
  .pricing-includes li::before { top: 0.55em; width: 6px; height: 6px; }
  .pricing-guarantee { font-size: 13px; margin-top: 14px; line-height: 1.45; }
  .success-main { padding: 96px 5% 24px; }
  .privacy-main { padding: 96px 5% 32px; }

  /* Footer mobile */
  .landing-footer {
    padding: 40px 5% 48px;
  }
  .footer-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-sep {
    display: none;
  }
  .footer-link-item {
    font-size: 14.5px;
  }
  .footer-text-item {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 12px;
  }
  .footer-text-item:last-child {
    margin-top: -8px;
    color: var(--text-faint);
  }
}

@media (max-width: 380px) {
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 20px; }
  .nav-actions { gap: 6px; }
  .nav-login,
  .nav-cta { padding-left: 10px; padding-right: 10px; }
}

/* JS sequence hiding */
html.js-sequence .bubble {
  opacity: 0;
  animation: none;
}
html.js-sequence .typing-bubble-sim {
  opacity: 0;
  animation: none;
}
html.js-sequence .hero-fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
html.js-sequence .hero-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
html.js-sequence .bubble.animate-bubble,
html.js-sequence .typing-bubble-sim.animate-bubble {
  animation: bubbleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sweep-shimmer {
  0% { transform: translateX(-150%) skewX(-45deg); }
  100% { transform: translateX(250%) skewX(-45deg); }
}

.topic-chip-open {
  position: relative;
  overflow: hidden;
}

.topic-chip-open::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-150%) skewX(-45deg);
  pointer-events: none;
}

.chip-highlight-anim {
  animation: pop-scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.chip-highlight-anim::after {
  animation: sweep-shimmer 0.8s ease-in-out forwards;
}

/* ---------- Karaoke Tab Text Animation ---------- */
.karaoke-word {
  display: inline-block;
  position: relative;
  transition: color 0.2s;
  white-space: pre-wrap; /* so spaces aren't collapsed if any */
}

.karaoke-word::after {
  content: "";
  position: absolute;
  bottom: 2px; 
  left: 0; 
  right: 0;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.15s, transform 0.15s;
  z-index: -1;
}

/* Active word: bouncing underline that jumps from word to word */
.karaoke-word.active-word {
  color: var(--text-main);
  animation: karaoke-word-jump 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.karaoke-word.active-word::after {
  opacity: 0.6;
  transform: scaleX(1);
}

/* Past words lose the highlight quickly */
.karaoke-word.past-word {
  color: var(--text-main);
}
.karaoke-word.past-word::after {
  opacity: 0;
  transform: scaleX(0);
}

@keyframes karaoke-word-jump {
  0% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

/* Fade on scroll utility */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s ease-out, transform 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scroll-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-coach-word {
  color: var(--primary-deep);
  background: linear-gradient(120deg, rgba(226, 165, 77, 0.2) 0%, rgba(226, 165, 77, 0.05) 100%);
  padding: 0 4px;
  border-radius: 4px;
}

/* Coach Method Callout */
.coach-method-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(226, 165, 77, 0.3);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 24px;
}
.coach-method-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.coach-method-callout .coach-method {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  border: none;
}
