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

:root {
  --charcoal: #000000;
  --lime: #C8F135;
  --warm: #F0EDE6;
  --mid: #4A4A4A;
  --mid-lite: #2E2E2E;
  --border: rgba(240, 237, 230, 0.12);
  --condensed: 'Barlow Condensed', sans-serif;
  --body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--charcoal);
  color: var(--warm);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader .preloader-svg-wrap {
  width: min(90vw, 560px);
}

#preloader .preloader-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

#preloader .preloader-svg-wrap path {
  fill: none;
  stroke: #fff;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#preloader .preloader-svg-wrap path.pl-fill {
  fill: #fff;
  stroke: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#preloader .preloader-svg-wrap path.pl-fill.show {
  opacity: 1;
}

#preloader .preloader-text em {
  font-style: italic;
  color: #fff;
}

/* Shared word styling for text-based variants */
#preloader .pl-word {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(48px, 9vw, 88px);
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Variant 2: typewriter fade-up */
#preloader .pl-word .pl-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: plLetterIn 0.5s ease forwards;
}

@keyframes plLetterIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Variant 3: scramble / decode */
#preloader .pl-word.pl-scramble .pl-letter {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Variant 4: wipe reveal */
#preloader .pl-wipe-wrap {
  overflow: hidden;
  display: inline-block;
}

#preloader .pl-wipe-wrap .pl-word {
  display: inline-block;
  transform: translateX(-100%);
  animation: plWipeIn 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes plWipeIn {
  to {
    transform: translateX(0);
  }
}

@keyframes preloaderFade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  20% {
    opacity: 1;
    transform: translateY(0);
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0.85;
  }
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 76px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--warm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-sq {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--lime);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-sq svg {
  width: 19px;
  height: 19px;
}

.nav-logo span {
  color: var(--lime);
}

/* "n[swoosh]igator" — the swoosh glyph stands in for "av" inline with the
     surrounding logo text, sized off the wordmark's own font-size so it
     scales together and never needs separate tuning. */
.nav-logo {
  --swoosh-h: 0.86em;
}

.logo-swoosh {
  width: calc(var(--swoosh-h) * 484 / 373);
  height: var(--swoosh-h);
  flex: 0 0 auto;
  display: inline-block;
  transform: translateY(0.09em);
}

.logo-swoosh path {
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(240, 237, 230, 0.55);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--warm);
}

.nav-cta {
  background: var(--lime);
  color: var(--charcoal) !important;
  font-weight: 500 !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px !important;
  transition: opacity 0.15s !important;
}

.nav-cta:hover {
  opacity: 0.88;
  color: var(--charcoal) !important;
}

/* Light nav — active while the warm "Why I made Navigator" panel is under it */
nav.nav-light {
  background: rgba(240, 237, 230, 0.96);
  /* matches --warm (#F0EDE6), the panel's bg */
  border-bottom: 1px solid rgba(28, 28, 28, 0.12);
}

nav.nav-light .nav-logo {
  color: var(--charcoal);
}

nav.nav-light .nav-logo span {
  color: var(--charcoal);
}

nav.nav-light .nav-links a {
  color: rgba(28, 28, 28, 0.6);
}

nav.nav-light .nav-links a:hover {
  color: var(--charcoal);
}

nav.nav-light .nav-cta {
  color: var(--charcoal) !important;
}

/* Black curtain that wipes across the nav from the right, in sync with the
     "How it works" section curtain below it. */
.nav-wipe {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid var(--border);
  clip-path: inset(0 0 0 calc((1 - var(--navw, 0)) * 100%));
  z-index: 0;
  pointer-events: none;
}

/* The wipe curtain is a one-way effect for the dark hero/how-it-works
     stretch; once the nav switches to its light mode over a warm-background
     section, the curtain must not still be showing from a stuck --navw. */
nav.nav-light:not(.nav-how-active) .nav-wipe {
  display: none;
}

nav>.nav-logo,
nav>.nav-links {
  position: relative;
  z-index: 1;
}

/* Right-hand links flip first as the curtain enters from the right edge */
nav.nav-light.nav-wiped-links .nav-links a {
  color: rgba(240, 237, 230, 0.55);
}

nav.nav-light.nav-wiped-links .nav-links a:hover {
  color: var(--warm);
}

/* Logo flips last when the curtain reaches the left edge */
nav.nav-light.nav-wiped-logo .nav-logo {
  color: var(--warm);
}

nav.nav-light.nav-wiped-logo .nav-logo span {
  color: var(--lime);
}

nav {
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-logo,
.nav-links a {
  transition: color 0.3s ease;
}

/* Google icon sitting on top of the rotating "skill" word.
     Positioned/revealed by JS (placeIcon), same as the book/headphones/
     youtube icons — hidden until after the letter-scatter settles. */
.skill-wrap {
  position: relative;
  display: inline-block;
}

.hl-icon.hl-icon-google svg {
  display: block;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 5.5rem 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 241, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 241, 53, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-diagonal {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(200, 241, 53, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 1px solid rgba(200, 241, 53, 0.05);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 241, 53, 0.1);
  border: 1px solid rgba(200, 241, 53, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-headline {
  font-family: var(--condensed);
  font-weight: 900;
  font-size: calc(clamp(40px, 10.5vw, 168px) * var(--hl-scale, 1));
  line-height: 0.84;
  letter-spacing: -3.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--warm);
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1720px;
  position: relative;
  perspective: 1700px;
}

.hero-headline em {
  font-style: normal;
  color: var(--lime);
  display: inline-block;
}

.hero-headline .hl-row {
  display: block;
  white-space: nowrap;
}

.hero-headline .outline {
  -webkit-text-stroke: 1.5px var(--warm);
  color: transparent;
}

.hero-headline .hl-line {
  display: inline-block;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
}

.hero-headline .hl-mask-line {
  display: inline-block;
  text-align: center;
  overflow: visible;
  position: relative;
}

.hero-headline .hl-mask-line.hl-cycling {
  overflow: hidden;
}

/* CSS-only fallback transition, used only if GSAP fails to load */
.hero-headline .hl-line#hlLine4 {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-headline .hl-line#hlLine2 {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-headline .hl-line#hlLine4.hl-word-out,
.hero-headline .hl-line#hlLine2.hl-word-out {
  opacity: 0;
  transform: translateY(-24px);
}

/* Individual characters — GSAP SplitText will populate/position these.
     Hidden until JS scatters them, so there's no flash of unstyled text. */
.hero-headline .hl-char {
  display: inline-block;
  visibility: hidden;
  transform-style: preserve-3d;
}

.hero-headline.hl-ready .hl-char {
  visibility: visible;
}

.hero-sub {
  font-size: 20px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.6);
  max-width: 480px;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.7s ease 1.3s both paused;
}

.hero-search {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp 0.7s ease 1.42s both paused;
}

.hero-input {
  flex: 1;
  background: var(--mid-lite);
  border: 1px solid rgba(240, 237, 230, 0.12);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 14px 20px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--warm);
  outline: none;
  transition: border-color 0.2s;
}

.hero-input::placeholder {
  color: rgba(240, 237, 230, 0.3);
}

.hero-input:focus {
  border-color: rgba(200, 241, 53, 0.4);
}

.hero-btn {
  background: var(--lime);
  color: var(--charcoal);
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 14px 28px;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}

.hero-btn:hover {
  background: #000;
}

.hero-btn svg {
  width: 18px;
  height: 18px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  animation: fadeUp 0.7s ease 1.54s both paused;
}

.pill {
  padding: 5px 14px;
  border: 1px solid rgba(240, 237, 230, 0.15);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(240, 237, 230, 0.5);
  transition: all 0.15s;
  background: transparent;
  font-family: var(--body);
}

.pill:hover {
  border-color: rgba(200, 241, 53, 0.5);
  color: var(--lime);
  background: rgba(200, 241, 53, 0.06);
}

.powered-by {
  padding: 56px 3.2rem 8px;
  text-align: center;
}

.powered-by-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 28px;
}

.powered-by-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px;
  max-width: 1100px;
  margin: 0 auto;
}

.powered-by-row svg {
  height: 26px;
  width: auto;
  color: #F0EDE6;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.powered-by-row svg:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .powered-by {
    padding: 40px 1.5rem 4px;
  }

  .powered-by-row {
    gap: 28px;
  }

  .powered-by-row svg {
    height: 20px;
  }
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.7s ease 1.66s both paused;
}

.hero.revealed .hero-sub,
.hero.revealed .hero-search,
.hero.revealed .hero-pills,
.hero.revealed .hero-stats {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {

  .hero-headline .hl-inner,
  .hero-sub,
  .hero-search,
  .hero-pills,
  .hero-stats {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.stat-val {
  font-family: var(--condensed);
  font-size: 36px;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.4);
  font-weight: 400;
  letter-spacing: 0.3px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section label */
.section-label {
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--lime);
}

/* How it works */
.how {
  padding: 120px 3rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.how-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.how-title {
  font-family: var(--condensed);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--warm);
  max-width: 500px;
}

.how-title span {
  color: var(--lime);
}

.how-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.5);
  max-width: 260px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.step {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.step:hover {
  background: var(--mid-lite);
}

.step-num {
  font-family: var(--condensed);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(200, 241, 53, 0.2);
  color: transparent;
  position: absolute;
  top: -10px;
  right: 16px;
  pointer-events: none;
  transition: -webkit-text-stroke 0.2s;
}

.step:hover .step-num {
  -webkit-text-stroke-color: rgba(200, 241, 53, 0.4);
}

.step-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 241, 53, 0.1);
  border: 1px solid rgba(200, 241, 53, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-title {
  font-family: var(--condensed);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.5);
  line-height: 1.65;
}

/* How it works: phone stage */
.how-phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  margin-top: -220px;
}

.phone {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 300 / 620;
  background: #000;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(200, 241, 53, 0.08),
    inset 0 0 0 1.5px rgba(240, 237, 230, 0.06);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--warm);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-screen-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* How it works — phone screen: "What do you want to learn?" mock app UI.
     Scaled down to fit the ~300px-wide phone frame; uses the site's own
     color tokens (warm bg, lime accents, charcoal text) and DM Sans. */
.app-screen {
  width: 100%;
  height: 100%;
  background: var(--warm);
  font-family: var(--body);
  color: var(--charcoal);
  padding: 18px 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-brand-sq {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.app-brand-sq svg {
  width: 12px;
  height: 12px;
}

.app-brand-round {
  border-radius: 50%;
}

.app-brand-name {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--charcoal);
}

.app-signin {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(28, 28, 28, 0.15);
  border-radius: 20px;
  padding: 4px 10px 4px 8px;
  font-size: 9px;
  color: rgba(28, 28, 28, 0.75);
}

.app-signin svg {
  width: 9px;
  height: 9px;
}

.app-h1 {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: 0.1px;
  margin-bottom: 6px;
}

.app-sub {
  font-size: 9.5px;
  color: rgba(28, 28, 28, 0.5);
  margin-bottom: 14px;
}

.app-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(28, 28, 28, 0.4);
  margin-bottom: 6px;
}

.app-type-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.app-type-card {
  flex: 1;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1.3px solid rgba(28, 28, 28, 0.12);
}

.app-type-card.active {
  border-color: var(--lime);
  background: rgba(200, 241, 53, 0.14);
}

.app-type-title {
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.app-type-sub {
  font-size: 8px;
  color: rgba(28, 28, 28, 0.45);
}

.app-mode-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.app-mode-card {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 8px 9px;
  border: 1.3px solid rgba(28, 28, 28, 0.1);
}

.app-mode-card.active {
  border-color: var(--lime);
  background: rgba(200, 241, 53, 0.14);
}

.app-mode-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.app-mode-card.active .app-mode-icon {
  background: var(--lime);
}

.app-mode-icon svg {
  width: 11px;
  height: 11px;
}

.app-mode-text {
  flex: 1;
  min-width: 0;
}

.app-mode-title {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.app-mode-sub {
  font-size: 7.6px;
  color: rgba(28, 28, 28, 0.45);
  line-height: 1.3;
  margin-top: 1px;
}

.app-mode-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.3px solid rgba(28, 28, 28, 0.18);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-mode-card.active .app-mode-check {
  background: var(--lime);
  border-color: var(--lime);
}

.app-mode-check svg {
  width: 8px;
  height: 8px;
}

.app-skill-input {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(28, 28, 28, 0.045);
  border-radius: 9px;
  padding: 9px 10px;
  margin-bottom: 12px;
}

.app-skill-input svg {
  width: 11px;
  height: 11px;
  opacity: 0.4;
  flex: 0 0 auto;
}

.app-skill-input span {
  font-size: 9.5px;
  color: rgba(28, 28, 28, 0.35);
}

.app-cta {
  background: var(--lime);
  border-radius: 20px;
  text-align: center;
  padding: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.55);
}

/* How it works — quiz screen ("Learning Fingerprint"): shown in the phone
     after the roadmap form, matching the same scaled-down mock-app style. */
.app-quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-quiz-back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  color: rgba(28, 28, 28, 0.6);
  font-weight: 600;
}

.app-quiz-back svg {
  width: 10px;
  height: 10px;
}

.app-quiz-count {
  font-size: 9px;
  color: rgba(28, 28, 28, 0.4);
  font-weight: 600;
}

.app-quiz-bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(28, 28, 28, 0.07);
  overflow: hidden;
  margin-bottom: 14px;
}

.app-quiz-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--lime);
  transition: width 0.35s ease;
}

.app-quiz-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(28, 28, 28, 0.4);
  margin-bottom: 6px;
}

.app-quiz-q {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  margin-bottom: 14px;
}

.app-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.app-quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(28, 28, 28, 0.04);
  border: none;
  transition: background 0.15s;
}

.app-quiz-option.active {
  background: rgba(200, 241, 53, 0.18);
}

.app-quiz-option-badge {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.app-quiz-option.active .app-quiz-option-badge {
  background: rgba(200, 241, 53, 0.5);
}

.app-quiz-option-letter {
  font-size: 9px;
  font-weight: 800;
  color: rgba(28, 28, 28, 0.5);
  line-height: 1;
}

.app-quiz-option.active .app-quiz-option-letter {
  color: #5a6e10;
}

.app-quiz-option-text {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1C1C1C;
}

/* kept for any legacy reference */
.app-quiz-btn.primary {
  background: var(--lime);
  color: rgba(28, 28, 28, 0.55);
}

/* How it works — intro beat: green right-aligned heading shown before the
     phone rises, and the 14-app grid screen shown inside the phone before it
     transitions into the roadmap form. */
.how-heading-stage {
  display: flex;
  justify-content: flex-start;
  padding: 2rem 0;
}

.how-heading {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  color: var(--lime);
  text-align: left;
  max-width: 560px;
  letter-spacing: 0.2px;
}

/* Three screens live stacked in the same phone frame; only one is visible
     at a time, cross-fading as scroll progresses: grid -> form -> quiz. */
.phone-screen {
  position: relative;
}

.app-screen-grid,
.app-screen-form,
.app-screen-quiz {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.app-screen-form {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.app-screen-quiz {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

.phone-screen.opened .app-screen-form {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.phone-screen.quiz .app-screen-quiz {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.phone-screen.quiz .app-screen-form {
  opacity: 0;
  pointer-events: none;
}

/* Post-quiz screens: skill level picker, then the "Crafting" loader. */
.app-screen-level,
.app-screen-craft {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-screen.level .app-screen-level,
.phone-screen.craft .app-screen-craft {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Skill level screen */
.app-level-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.app-level-card {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 9px 10px;
  border: 1.3px solid rgba(28, 28, 28, 0.12);
}

.app-level-card.active {
  border-color: var(--lime);
  background: rgba(200, 241, 53, 0.18);
}

.app-level-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.45);
  flex: 0 0 auto;
}

.app-level-card.active .app-level-num {
  background: var(--lime);
  color: var(--charcoal);
}

.app-level-text {
  flex: 1;
  min-width: 0;
}

.app-level-title {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.app-level-sub {
  font-size: 7.6px;
  color: rgba(28, 28, 28, 0.45);
  line-height: 1.3;
  margin-top: 1px;
}

.app-level-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--lime);
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.app-level-card.active .app-level-check {
  display: flex;
}

.app-level-check svg {
  width: 8px;
  height: 8px;
}

.app-level-cta {
  margin-top: auto;
  background: var(--lime);
  border-radius: 20px;
  text-align: center;
  padding: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--charcoal);
}

/* Four-second counter-clockwise box preloader. The five level boxes
     orbit from right to left after the level-selection animation finishes. */
.app-box-preloader {
  position: relative;
  width: 154px;
  height: 154px;
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0.82);
}

.phone-screen.craft-spinning .app-box-preloader {
  animation: boxLoaderEnter 0.45s ease-out both;
}

.app-loader-box {
  --box-angle: calc(var(--box-index) * 72deg);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--lime);
  border-radius: 8px;
  background: #FCFDF4;
  color: var(--charcoal);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(28, 28, 28, 0.12);
  transform: rotate(var(--box-angle)) translateX(58px) rotate(calc(0deg - var(--box-angle)));
}

.phone-screen.craft-spinning .app-loader-box {
  animation: boxOrbitLeft 4s linear infinite;
  animation-delay: calc(var(--box-index) * -0.8s);
}

.app-loader-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px;
  border-radius: 14px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(200, 241, 53, 0.42);
}

.app-loader-core .logo-swoosh {
  width: 27px;
  height: 23px;
  color: #000;
}

@keyframes boxLoaderEnter {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.82);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes boxOrbitLeft {
  from {
    transform: rotate(var(--box-angle)) translateX(58px) rotate(calc(0deg - var(--box-angle)));
  }

  to {
    transform: rotate(calc(var(--box-angle) - 360deg)) translateX(58px) rotate(calc(360deg - var(--box-angle)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-screen.craft-spinning .app-loader-box {
    animation-duration: 8s;
  }
}

/* Crafting loader screen */
.app-craft-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.app-craft-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 14px;
}

.app-craft-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: craftWordIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, craftGlow 2.4s ease-in-out 1s infinite;
}

.app-craft-mark .logo-swoosh {
  width: 34px;
  height: 28px;
  color: #000;
  display: inline-block;
  transform-origin: left bottom;
  animation: craftSwooshIn 1.1s 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes craftWordIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes craftSwooshIn {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-18deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes craftGlow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(200, 241, 53, 0);
  }

  50% {
    box-shadow: 0 0 26px rgba(200, 241, 53, 0.55);
  }
}

.app-craft-logo::before,
.app-craft-logo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  border: 1.5px dashed rgba(200, 241, 53, 0.85);
  animation: craftPulse 2.2s ease-out infinite;
}

.app-craft-logo::after {
  animation-delay: 1.1s;
}

@keyframes craftPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.app-craft-chip {
  border: 1.3px solid var(--lime);
  background: rgba(200, 241, 53, 0.18);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 9px;
  font-weight: 700;
  color: #5c7416;
  margin-bottom: 12px;
}

.app-craft-title {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.1px;
  margin-bottom: 6px;
}

.app-craft-sub {
  font-size: 9.5px;
  color: rgba(28, 28, 28, 0.5);
  margin-bottom: 26px;
}

.app-craft-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.app-craft-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: craftDot 1.2s ease-in-out infinite;
}

.app-craft-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.app-craft-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes craftDot {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.app-screen-grid {
  background: var(--warm);
  padding: 30px 14px 16px;
  display: flex;
  flex-direction: column;
}

.app-grid-time {
  text-align: center;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 15px;
  color: rgba(28, 28, 28, 0.35);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 12px;
  justify-items: center;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.10),
    0 8px 18px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.app-icon svg {
  width: 28px;
  height: 28px;
}

.app-icon img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  pointer-events: none;
}

.app-icon.is-navigator img {
  width: 32px;
  height: 32px;
}

.app-icon.is-navigator {
  background: var(--lime);
  position: relative;
  transition: transform 0.18s ease;
}

.app-icon.is-navigator svg {
  width: 30px;
  height: 30px;
}

.app-icon.is-navigator.tapped {
  transform: scale(0.86);
}

.app-icon.is-navigator .tap-ring {
  position: absolute;
  inset: -7px;
  border-radius: 19px;
  border: 2px solid var(--lime);
  opacity: 0;
  transform: scale(0.9);
}

.app-icon.is-navigator.tapped .tap-ring {
  animation: tapRing 0.5s ease-out;
}

@keyframes tapRing {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* Features */
.features {
  padding: 120px 3rem;
  background: var(--mid-lite);
  border-top: 1px solid var(--border);
}

.feat-header {
  margin-bottom: 4rem;
}

.feat-title {
  font-family: var(--condensed);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--warm);
  max-width: 700px;
  margin-bottom: 1rem;
}

.feat-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.45);
  max-width: 440px;
  line-height: 1.7;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feat-card {
  background: var(--charcoal);
  border: 1px solid rgba(240, 237, 230, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feat-card:hover {
  border-color: rgba(200, 241, 53, 0.3);
  transform: translateY(-2px);
}

.feat-card.wide {
  grid-column: span 2;
}

.fc-icon {
  width: 38px;
  height: 38px;
  background: rgba(200, 241, 53, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.fc-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-title {
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.fc-desc {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.45);
  line-height: 1.6;
}

.fc-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(200, 241, 53, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
}

.feat-card.rare {
  border-color: rgba(200, 241, 53, 0.22);
  background: #000;
  position: relative;
}

.feat-card.rare::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 12px 12px 0 0;
  opacity: 0.7;
}

.feat-card.rare:hover {
  border-color: rgba(200, 241, 53, 0.55);
}

.feat-card.rare .fc-icon {
  background: rgba(200, 241, 53, 0.14);
}

.feat-card.rare .fc-title {
  color: var(--lime);
}

.fc-tag.rare-tag {
  color: var(--charcoal);
  background: var(--lime);
  font-weight: 700;
}

.rare-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2.5rem 0 1.25rem;
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  grid-column: 1 / -1;
}

.rare-section-label::before,
.rare-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200, 241, 53, 0.2);
}

/* Rare features — lock screen notification stack */
.rare-lock {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.rare-lock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0.6rem;
}

.rare-lock-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.rare-lock-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: rgba(200, 241, 53, 0.4);
}

.rare-expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 241, 53, 0.08);
  border: 1px solid rgba(200, 241, 53, 0.25);
  color: var(--lime);
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.rare-expand-btn:hover {
  background: rgba(200, 241, 53, 0.16);
  border-color: rgba(200, 241, 53, 0.5);
}

.rare-expand-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--lime);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.rare-expand-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.rare-lock-hint {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.4);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.rare-lock-stage {
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.rare-notif-stack {
  position: relative;
  height: 260px;
  padding-top: 30px;
  transition: height 0.5s cubic-bezier(0.25, 1, 0.35, 1);
}

.rare-notif-stack.expanded {
  padding-top: 0;
}

.rare-notif {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  background: #000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 241, 53, 0.22);
  border-radius: 20px;
  padding: 1.1rem 1.3rem 1.3rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.35, 1), top 0.5s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.4s ease;
  cursor: pointer;
}

.rare-notif-stack.expanded .rare-notif {
  cursor: default;
}

.rare-notif.is-front {
  cursor: pointer;
}

.rn-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.7rem;
}

.rn-icon {
  width: 26px;
  height: 26px;
  background: rgba(200, 241, 53, 0.14);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rn-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rn-app {
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(240, 237, 230, 0.5);
  text-transform: uppercase;
}

.rn-time {
  font-size: 11px;
  color: rgba(240, 237, 230, 0.32);
  margin-left: auto;
}

.rn-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.rn-title {
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--lime);
}

.rn-tag {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--lime);
  padding: 3px 9px;
  border-radius: 4px;
  margin-top: 2px;
}

.rn-summary {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.55);
  line-height: 1.6;
}

.rn-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 10px 0 0 auto;
  background: rgba(240, 237, 230, 0.06);
  border: 1px solid rgba(240, 237, 230, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.rn-chevron:hover {
  background: rgba(200, 241, 53, 0.12);
  border-color: rgba(200, 241, 53, 0.35);
}

.rn-chevron svg {
  width: 12px;
  height: 12px;
  stroke: var(--warm);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.rare-notif.is-open .rn-chevron svg {
  transform: rotate(180deg);
}

.rare-notif.is-open .rn-chevron {
  background: rgba(200, 241, 53, 0.16);
  border-color: rgba(200, 241, 53, 0.45);
}

.rn-full {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.45);
  line-height: 1.65;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.rare-notif.is-open .rn-full {
  max-height: 220px;
  opacity: 1;
  margin-top: 10px;
}

.rare-stack-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  transition: opacity 0.3s ease;
}

.rare-notif-stack.expanded~.rare-stack-dots {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
}

.rare-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(240, 237, 230, 0.18);
  transition: background 0.3s, transform 0.3s;
}

.rare-dot.active {
  background: var(--lime);
  transform: scale(1.4);
}

@media (max-width: 900px) {
  .rare-notif-stack {
    height: 280px;
  }

  .rare-lock-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Section 6: Three modes ===== */
.modes {
  position: relative;
  z-index: 6;
  background: var(--charcoal);
  color: var(--warm);
  padding: clamp(90px, 11vw, 160px) 3rem clamp(100px, 12vw, 170px);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.modes-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.modes-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modes-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

.modes-head {
  max-width: 560px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  margin-left: auto;
  transform: translateX(60px);
}

.modes-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  color: var(--warm);
  margin-bottom: 1.25rem;
}

.modes-head h2 em {
  font-style: italic;
  color: var(--lime);
}

.modes-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(240, 237, 230, 0.6);
  max-width: 560px;
}

.modes-stage {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: stretch;
}

/* .modes-stage keeps .reveal/.in only as the scroll-triggered class; its
     own opacity/transform is neutralized so the copy box and phone column
     animate independently below (down and up respectively). */
.modes-stage.reveal {
  opacity: 1;
  transform: none;
}

.modes-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  height: 100%;
}

.modes-phone-hold {
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateY(-150px);
}

.modes-phone {
  margin: 0 auto;
}

.modes-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.modes-screen.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#modesPhoneScreen {
  position: relative;
}

.modes-relay-roadmap {
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  pointer-events: none;
}

/* Starting states for the Mode 0 (Full Roadmap) internal playback —
     GSAP animates these back to their natural values each time this
     mode becomes active. */
#mdRmCard {
  opacity: 0;
  transform: translateY(18px);
}

#mdRmRows .relay-rm-row {
  opacity: 0;
  transform: translateY(14px);
}

#mdRmBar {
  width: 0% !important;
}

.modes-sprint-screen,
.modes-yt-screen {
  padding-top: 18px;
}

/* Starting states for Mode 1 (Sprint Blueprint) internal playback */
#mdSprintScreen .modes-sprint-goal,
#mdSprintScreen .modes-sprint-track {
  opacity: 0;
  transform: translateY(10px);
}

#mdSprintTasks .modes-sprint-task {
  opacity: 0;
  transform: translateY(10px);
}

#mdSprintBar {
  width: 0% !important;
}

/* Starting states for Mode 2 (YouTube-Based) internal playback */
#mdYtCreators .modes-yt-creator {
  opacity: 0;
  transform: translateY(8px);
}

#mdYtList .modes-yt-row {
  opacity: 0;
  transform: translateY(10px);
}

.modes-sprint-days {
  font-size: 9px;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.5);
  background: rgba(28, 28, 28, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

.modes-sprint-goal {
  margin-bottom: 14px;
}

.modes-sprint-goal-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(28, 28, 28, 0.4);
  margin-bottom: 4px;
}

.modes-sprint-goal-title {
  font-size: 14px;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.25;
}

.modes-sprint-track {
  margin-bottom: 16px;
}

.modes-sprint-track-bar {
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(28, 28, 28, 0.1);
  overflow: hidden;
}

.modes-sprint-track-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--lime, #C8F135);
}

.modes-sprint-track-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 8px;
  color: rgba(28, 28, 28, 0.4);
}

.modes-sprint-tasks {
  display: flex;
  flex-direction: column;
}

.modes-sprint-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1C1C1C;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.modes-sprint-task:first-child {
  border-top: none;
}

.modes-sprint-task.done {
  color: rgba(28, 28, 28, 0.32);
  text-decoration: line-through;
}

.modes-sprint-task.active .relay-rm-check {
  border-color: var(--lime, #C8F135);
  border-width: 2px;
}

.modes-yt-creators {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.modes-yt-creator {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(28, 28, 28, 0.55);
  background: rgba(28, 28, 28, 0.06);
  padding: 5px 9px;
  border-radius: 999px;
}

.modes-yt-creator.active {
  color: #1C1C1C;
  background: var(--lime, #C8F135);
}

.modes-yt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modes-yt-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modes-yt-thumb {
  width: 46px;
  height: 32px;
  border-radius: 6px;
  background: rgba(28, 28, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.modes-yt-thumb svg {
  width: 13px;
  height: 13px;
}

.modes-yt-title {
  font-size: 11px;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.3;
}

.modes-yt-meta {
  font-size: 8.5px;
  color: rgba(28, 28, 28, 0.45);
  margin-top: 2px;
}

.modes-controls {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.modes-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--mid-lite);
  border: 1px solid var(--border);
  color: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.modes-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.modes-arrow svg {
  width: 15px;
  height: 15px;
}

.modes-arrow[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.modes-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.modes-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(240, 237, 230, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.modes-dot.is-active {
  background: var(--lime);
  transform: scale(1.3);
}

.modes-copy-col {
  position: relative;
  min-height: 560px;
  padding-top: 9%;
  box-sizing: border-box;
}

.modes-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.modes-copy.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.modes-copy-num {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(240, 237, 230, 0.4);
  margin-bottom: 1rem;
}

.modes-copy h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.modes-copy p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  max-width: 640px;
}

.modes-copy-box {
  border: 1.5px solid var(--lime);
  border-radius: 22px;
  padding: 3rem 3.2rem 3.4rem;
  max-width: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modes-copy-box .modes-copy-num {
  margin-bottom: 0.9rem;
}

.modes-copy-box p:first-of-type {
  margin-bottom: 1.25rem;
}

.modes-callout-label {
  display: block;
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  font-size: 11px;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.modes-copy-box p:last-of-type {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 237, 230, 0.6);
}

/* Copy box drops down into place; phone rises up into place. Both ride on
     the same .in trigger the parent .modes-stage.reveal already uses. */
.modes-copy-col {
  opacity: 0;
  transform: translateY(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.modes-stage.reveal.in .modes-copy-col {
  opacity: 1;
  transform: none;
}

.modes-phone-col {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.modes-stage.reveal.in .modes-phone-col {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .modes-stage {
    grid-template-columns: 1fr;
  }

  .modes-copy-col {
    min-height: 0;
    margin-top: 1rem;
  }

  .modes-phone-col {
    height: auto;
  }

  .modes-phone-hold {
    transform: translateY(-90px);
  }

  .modes-controls {
    justify-content: center;
    margin-top: 1.5rem;
  }
}

/* ===== Section 7: Navi, the AI tutor ===== */
.navi {
  position: relative;
  z-index: 6;
  background: var(--charcoal);
  color: var(--warm);
  padding: clamp(90px, 11vw, 160px) 3rem clamp(100px, 12vw, 170px);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.navi-glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.16), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.navi-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.navi-inner {
  max-width: 640px;
}

.navi-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navi-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

.navi h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  color: var(--warm);
  margin-bottom: 1.5rem;
}

.navi h2 em {
  font-style: italic;
  color: var(--lime);
}

.navi-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(240, 237, 230, 0.72);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.navi-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
  padding: 0;
}

.navi-rules li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(240, 237, 230, 0.82);
}

.navi-rules strong {
  color: var(--warm);
  font-weight: 600;
}

.navi-foot {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.5);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.navi-phone-col {
  display: flex;
  justify-content: center;
}

.navi-phone {
  margin: 0 auto;
}

.navi-chat-screen {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.navi-avatar {
  background: var(--lime);
}

.navi-mic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navi-mic svg {
  width: 15px;
  height: 15px;
}

.navi-chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.navi-bubble {
  max-width: 84%;
  font-size: 11.5px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 14px;
}

.navi-bubble code {
  font-family: monospace;
  font-size: 10.5px;
  background: rgba(28, 28, 28, 0.08);
  padding: 1px 4px;
  border-radius: 4px;
}

.navi-bubble.user {
  align-self: flex-end;
  background: #1C1C1C;
  color: var(--warm);
  border-bottom-right-radius: 4px;
}

.navi-bubble.user code {
  background: rgba(240, 237, 230, 0.14);
  color: var(--warm);
}

.navi-bubble.bot {
  align-self: flex-start;
  background: rgba(28, 28, 28, 0.06);
  color: #1C1C1C;
  border-bottom-left-radius: 4px;
}

.navi-bubble-actions {
  margin-top: 8px;
}

.navi-save-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #1C1C1C;
  background: var(--lime);
  padding: 5px 9px;
  border-radius: 20px;
}

.navi-save-pill svg {
  width: 11px;
  height: 11px;
}

.navi-input-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(28, 28, 28, 0.05);
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 20px;
  padding: 10px 8px 10px 14px;
}

.navi-input-ph {
  font-size: 11.5px;
  color: rgba(28, 28, 28, 0.4);
}

.navi-input-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.navi-input-send svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 900px) {
  .navi {
    padding: 80px 1.5rem;
  }

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

  .navi-phone-col {
    order: -1;
    margin-bottom: 1rem;
  }

  .navi-inner {
    max-width: none;
  }
}

/* ===== Section 8: Immersive Mode ===== */
.immersive {
  position: relative;
  z-index: 6;
  background: var(--charcoal);
  color: var(--warm);
  padding: clamp(90px, 11vw, 160px) 3rem clamp(100px, 12vw, 170px);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.immersive-glow {
  position: absolute;
  top: 6%;
  left: -12%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.14), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.immersive-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.immersive-inner {
  max-width: 640px;
}

.immersive-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.immersive-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

.immersive h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  color: var(--warm);
  margin-bottom: 1.5rem;
}

.immersive h2 em {
  font-style: italic;
  color: var(--lime);
}

.immersive-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(240, 237, 230, 0.72);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.immersive-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
  padding: 0;
}

.immersive-rules li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(240, 237, 230, 0.82);
}

.immersive-rules strong {
  color: var(--warm);
  font-weight: 600;
}

.immersive-foot {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.5);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.immersive-phone-col {
  display: flex;
  justify-content: center;
}

.immersive-phone {
  margin: 0 auto;
}

.immersive-screen {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Video player mock */
.immersive-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(135deg, #1C1C1C, #303030);
  overflow: hidden;
  flex: 0 0 auto;
  margin-bottom: 14px;
}

.immersive-video-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(200, 241, 53, 0.22), transparent 60%);
}

.immersive-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240, 237, 230, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C1C;
}

.immersive-video-play svg {
  width: 15px;
  height: 15px;
}

.immersive-video-scrub {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(240, 237, 230, 0.22);
}

.immersive-video-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 24%;
  border-radius: 2px;
  background: var(--lime);
  transition: width 1.1s ease;
}

.immersive-chapter-dot {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(28, 28, 28, 0.5);
}

.immersive-video-time {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(240, 237, 230, 0.85);
  letter-spacing: 0.2px;
}

/* Chapter list */
.immersive-chapters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.immersive-chapter {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  color: rgba(28, 28, 28, 0.4);
  transition: color 0.3s ease;
}

.immersive-chapter-mark {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 28, 0.08);
  color: rgba(28, 28, 28, 0.35);
  font-size: 8.5px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

.immersive-chapter-mark svg {
  width: 9px;
  height: 9px;
}

.immersive-chapter.done {
  color: rgba(28, 28, 28, 0.4);
}

.immersive-chapter.done .immersive-chapter-mark {
  background: var(--lime);
  color: #1C1C1C;
}

.immersive-chapter.active {
  color: #1C1C1C;
  font-weight: 600;
}

.immersive-chapter.active .immersive-chapter-mark {
  background: #1C1C1C;
  color: var(--warm);
}

/* Knowledge-check card */
.immersive-quiz-card {
  margin-top: auto;
  background: rgba(28, 28, 28, 0.05);
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 12px;
  padding: 12px 12px 13px;
}

.immersive-quiz-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.45);
  margin-bottom: 7px;
}

.immersive-quiz-label svg {
  width: 11px;
  height: 11px;
}

.immersive-quiz-q {
  font-size: 11.5px;
  font-weight: 600;
  color: #1C1C1C;
  line-height: 1.4;
  margin-bottom: 9px;
}

.immersive-quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.immersive-quiz-opt {
  font-size: 10.5px;
  color: rgba(28, 28, 28, 0.55);
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 8px;
  padding: 7px 10px;
}

.immersive-quiz-opt.correct {
  border-color: var(--lime);
  background: rgba(200, 241, 53, 0.16);
  color: #1C1C1C;
  font-weight: 600;
}

@media (max-width: 900px) {
  .immersive {
    padding: 80px 1.5rem;
  }

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

  .immersive-phone-col {
    margin-bottom: 1rem;
  }

  .immersive-inner {
    max-width: none;
  }
}

/* ===== Section 11: Accountability & social ===== */
.social {
  position: relative;
  z-index: 6;
  background: var(--charcoal);
  color: var(--warm);
  padding: clamp(90px, 11vw, 160px) 3rem clamp(100px, 12vw, 170px);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.social-glow {
  position: absolute;
  top: 10%;
  right: -12%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.14), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.social-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.social-inner {
  max-width: 640px;
}

.social-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

.social h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  color: var(--warm);
  margin-bottom: 1.5rem;
}

.social h2 em {
  font-style: italic;
  color: var(--lime);
}

.social-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(240, 237, 230, 0.72);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.social-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
  padding: 0;
}

.social-rules li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(240, 237, 230, 0.82);
}

.social-rules strong {
  color: var(--warm);
  font-weight: 600;
}

.social-foot {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.5);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.social-phone-col {
  display: flex;
  justify-content: center;
}

.social-phone {
  margin: 0 auto;
}

.social-screen {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.social-partners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.6rem;
}

.social-partner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(240, 237, 230, 0.05);
  border: 1px solid var(--border);
}

.social-partner-row.active {
  border-color: rgba(200, 241, 53, 0.4);
  background: rgba(200, 241, 53, 0.06);
}

.social-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
  flex-shrink: 0;
}

.social-avatar.sm {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

.social-partner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.social-partner-info b {
  font-size: 13px;
  color: var(--warm);
}

.social-partner-info i {
  font-style: normal;
  font-size: 11px;
  color: rgba(240, 237, 230, 0.5);
}

.social-flame {
  font-size: 14px;
  flex-shrink: 0;
}

.social-reaction-card {
  margin-top: 0.6rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(240, 237, 230, 0.05);
  border: 1px solid var(--border);
}

.social-reaction-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(240, 237, 230, 0.8);
  margin-bottom: 10px;
}

.social-reaction-head b {
  color: var(--warm);
}

.social-reaction-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-react-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(240, 237, 230, 0.04);
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s;
}

.social-react-btn:hover {
  transform: scale(1.08);
  border-color: var(--lime);
}

.social-react-sent {
  font-size: 11px;
  color: var(--lime);
  opacity: 0;
  transition: opacity 0.2s;
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.social-react-sent.show {
  opacity: 1;
}

@media (max-width: 900px) {
  .social {
    padding: 80px 1.5rem;
  }

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

  .social-phone-col {
    margin-bottom: 1rem;
    order: -1;
  }

  .social-inner {
    max-width: none;
  }
}

/* ===== Section 12: Outcome / aspiration ===== */
.outcome {
  position: relative;
  z-index: 6;
  background: var(--warm);
  color: var(--charcoal);
  padding: clamp(100px, 12vw, 170px) 3rem;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(28, 28, 28, 0.08);
}

.outcome-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.outcome-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.outcome h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.14;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}

.outcome h2 em {
  font-style: italic;
}

.outcome-strike {
  position: relative;
  color: var(--mid);
}

.outcome-strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 2px;
  background: var(--mid);
  transform: rotate(-2deg);
}

.outcome-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--mid);
  max-width: 620px;
  margin: 0 auto 3rem;
}

.outcome-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.outcome-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outcome-stat b {
  font-family: var(--condensed);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--charcoal);
}

.outcome-stat span {
  font-size: 13px;
  color: var(--mid);
  max-width: 160px;
}

@media (max-width: 900px) {
  .outcome {
    padding: 80px 1.5rem;
  }

  .outcome-stats {
    gap: 2rem;
  }
}

/* ===== Waitlist ===== */
.waitlist {
  position: relative;
  z-index: 6;
  background: var(--charcoal);
  color: var(--warm);
  padding: clamp(90px, 11vw, 150px) 3rem;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.waitlist-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.waitlist-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.waitlist h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.16;
  color: var(--warm);
  margin-bottom: 1.5rem;
}

.waitlist h2 em {
  font-style: italic;
  color: var(--lime);
}

.waitlist-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(240, 237, 230, 0.68);
  margin-bottom: 2.25rem;
}

.waitlist-form {
  margin-bottom: 1rem;
}

.waitlist-field {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.waitlist-field input {
  flex: 1;
  min-width: 0;
  background: rgba(240, 237, 230, 0.06);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--warm);
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-field input::placeholder {
  color: rgba(240, 237, 230, 0.35);
}

.waitlist-field input:focus {
  border-color: var(--lime);
}

.waitlist-field input.invalid {
  border-color: #E86A5C;
}

.waitlist-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lime);
  color: var(--charcoal);
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.waitlist-submit:hover {
  opacity: 0.88;
}

.waitlist-error {
  display: none;
  color: #E86A5C;
  font-size: 13px;
  margin-top: 10px;
}

.waitlist-error.show {
  display: block;
}

.waitlist-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--lime);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.waitlist-success.show {
  display: flex;
}

.waitlist-success svg {
  flex-shrink: 0;
}

.waitlist-foot {
  font-size: 13px;
  color: rgba(240, 237, 230, 0.4);
}

@media (max-width: 900px) {
  .waitlist {
    padding: 70px 1.5rem;
  }

  .waitlist-field {
    flex-direction: column;
  }

  .waitlist-submit {
    padding: 14px 22px;
  }
}

/* Roadmap preview */
.preview {
  padding: 120px 3rem;
  border-top: 1px solid var(--border);
}

.preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.preview-left {}

.preview-title {
  font-family: var(--condensed);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--warm);
  margin-bottom: 1.25rem;
}

.preview-title span {
  color: var(--lime);
}

.preview-body {
  font-size: 14px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.5);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--charcoal);
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
}

.preview-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.preview-btn svg {
  width: 16px;
  height: 16px;
}

/* Mock roadmap card */
.mock-roadmap {
  background: var(--mid-lite);
  border: 1px solid rgba(240, 237, 230, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.mock-rm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(240, 237, 230, 0.08);
}

.mock-skill {
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--warm);
  letter-spacing: 0.3px;
}

.mock-badge {
  font-size: 11px;
  font-weight: 500;
  background: rgba(200, 241, 53, 0.12);
  color: var(--lime);
  border: 1px solid rgba(200, 241, 53, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
}

.mock-phase {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.mock-phase:last-child {
  margin-bottom: 0;
}

.phase-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.phase-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.phase-dot.active {
  background: var(--lime);
  color: var(--charcoal);
}

.phase-dot.done {
  background: rgba(200, 241, 53, 0.15);
  color: var(--lime);
  border: 1px solid rgba(200, 241, 53, 0.3);
}

.phase-dot.upcoming {
  background: rgba(240, 237, 230, 0.06);
  color: rgba(240, 237, 230, 0.3);
  border: 1px solid rgba(240, 237, 230, 0.1);
}

.phase-line {
  width: 1px;
  flex: 1;
  min-height: 14px;
  background: rgba(240, 237, 230, 0.1);
  margin: 3px 0;
}

.phase-content {
  flex: 1;
  padding-top: 4px;
}

.phase-title-mock {
  font-size: 13px;
  font-weight: 500;
  color: var(--warm);
  margin-bottom: 4px;
}

.phase-title-mock.dim {
  color: rgba(240, 237, 230, 0.35);
}

.phase-steps-mock {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ps-chip {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(240, 237, 230, 0.1);
  color: rgba(240, 237, 230, 0.4);
  font-weight: 400;
}

.ps-chip.done {
  border-color: rgba(200, 241, 53, 0.2);
  color: rgba(200, 241, 53, 0.7);
  background: rgba(200, 241, 53, 0.06);
}

.ps-chip.active {
  border-color: rgba(200, 241, 53, 0.4);
  color: var(--lime);
  background: rgba(200, 241, 53, 0.1);
}

/* Warm section CTA */
.cta-section {
  background: var(--warm);
  padding: 120px 3rem;
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  bottom: -20px;
  left: -10px;
  font-family: var(--condensed);
  font-size: 220px;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.05);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -4px;
}

.cta-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-title {
  font-family: var(--condensed);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--charcoal);
  max-width: 600px;
}

.cta-title em {
  font-style: normal;
  color: var(--mid);
  display: block;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.cta-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--lime);
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  transition: opacity 0.15s;
  text-decoration: none;
}

.cta-btn-primary:hover {
  opacity: 0.88;
}

.cta-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(28, 28, 28, 0.25);
  transition: background 0.15s;
  text-decoration: none;
}

.cta-btn-secondary:hover {
  background: rgba(28, 28, 28, 0.06);
}

/* Footer */
footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.foot-logo {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 16px;
  color: var(--warm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.foot-logo span {
  color: var(--lime);
}

.foot-right {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.3);
  font-weight: 300;
}

.foot-right a {
  color: rgba(240, 237, 230, 0.4);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.15s;
}

.foot-right a:hover {
  color: var(--warm);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 90px 3.2rem 50px;
  }

  .hero-headline {
    font-size: calc(clamp(34px, 10.5vw, 76px) * var(--hl-scale, 1));
  }

  .how {
    padding: 80px 1.5rem;
  }

  .features {
    padding: 80px 1.5rem;
  }

  .preview {
    padding: 80px 1.5rem;
  }

  .cta-section {
    padding: 80px 1.5rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

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

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-card.wide {
    grid-column: span 1;
  }

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

  .hero-stats {
    gap: 2rem;
  }
}

/* Infinity letter-by-letter preloader (override) */
#preloader .preloader-svg-wrap path {
  fill: none;
  stroke: #fff;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#preloader .preloader-svg-wrap path.fill {
  fill: #fff;
  stroke: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#preloader.filled .preloader-svg-wrap path.fill {
  opacity: 1;
}

#preloader.filled .preloader-svg-wrap path.stroke {
  opacity: 0;
  transition: opacity 0.5s ease;
}


.hero-headline {
  position: relative;
  padding-top: 36px;
}

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

.hl-arrow path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.hl-arrow .hl-arrow-head {
  stroke-width: 3.5;
}

.hl-icon {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hl-icon.hl-icon-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hl-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hl-icon.hl-icon-yt svg {
  fill: #FF0000;
  stroke: none;
}

.hl-icon.hl-icon-yt svg .yt-play {
  fill: #FFFFFF;
}

.hl-icon.hl-icon-book svg {
  fill: var(--warm);
  stroke: none;
}

.hl-icon.hl-icon-book svg .bk-bolt {
  fill: var(--charcoal);
}

.hl-icon.hl-icon-headphones svg {
  stroke: none;
  fill: none;
}

.hl-icon.hl-icon-headphones svg .hp-arch {
  stroke: #2B3A8F;
  stroke-width: 3.4;
  fill: none;
}

.hl-icon.hl-icon-headphones svg .hp-cup {
  fill: #3A55B8;
}

.hl-icon.hl-icon-headphones svg .hp-wave path {
  stroke: #4DA3FF;
  stroke-width: 1.9;
}

.hl-icon.hl-icon-headphones {
  transform: translateY(6px) scale(0.9) rotate(-18deg);
}

.hl-icon.hl-icon-headphones.hl-icon-in {
  transform: rotate(-18deg);
}

.hl-icon.hl-icon-google svg {
  stroke: none;
}


/* ============ Hero overlap + Why Navigator section ============ */
/* The dark hero sits ON TOP and slides up; the warm panel is pinned
   underneath and is revealed from below as the hero moves away. */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  background: var(--charcoal);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.why-runway {
  position: relative;
  /* Keep the warm panel pinned long enough for the completed text to remain
     behind the full right-to-left curtain sweep. */
  height: 480vh;
}

.why {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  background: var(--warm);
  color: var(--charcoal);
  padding: clamp(72px, 10vw, 140px) 3rem clamp(72px, 9vw, 130px);
}


.why-inner {
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
}

/* Scroll-in doodle markers that sit around the founder-note paragraph */
.why-doodle {
  position: absolute;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 4;
}

.why-doodle.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why-doodle-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(28, 28, 28, 0.55);
  background: var(--warm);
}

.why-doodle svg {
  display: block;
}

/* Circle: looping video of a confused person scrolling their phone */
.why-doodle-circle {
  top: 70px;
  left: -210px;
  width: 168px;
  height: 168px;
}

.why-doodle-circle-shape {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--warm);
  padding: 0;
}

.why-doodle-circle-shape video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Triangle marker slot: real YouTube badge, top-right */
.why-doodle-triangle {
  top: 8px;
  right: -80px;
  width: 52px;
  height: 36px;
}

.why-doodle-yt-badge {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

.why-doodle-yt-badge svg {
  width: 100%;
  height: 100%;
}

/* Scattered sources: loose Reddit / Google marks, no card behind them */
.why-doodle-square {
  bottom: 104px;
  right: -112px;
  width: 96px;
  height: 84px;
}

.why-mark {
  position: absolute;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.14));
}

.why-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.why-mark.mark-reddit {
  left: 0;
  top: 6px;
  width: 30px;
  height: 30px;
  transform: rotate(-8deg);
}

.why-mark.mark-google {
  left: 46px;
  top: 40px;
  width: 27px;
  height: 27px;
  transform: rotate(7deg);
}

/* Phase-2 curved roadmap arrow: a winding hand-drawn path with glowing
   checkpoint dots that draws itself on the right as the "I wanted a
   detailed roadmap..." line is reached. */
.why-doodle.why-roadmap-arrow {
  top: 24px;
  right: -110px;
  width: 110px;
  height: 220px;
}

.why-roadmap-arrow svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.why-roadmap-dot {
  fill: #9dff7a;
  filter: drop-shadow(0 0 5px rgba(140, 255, 110, 0.95)) drop-shadow(0 0 12px rgba(140, 255, 110, 0.55));
  opacity: 0;
  transform: scale(0.3);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-roadmap-dot.is-on {
  opacity: 1;
  transform: scale(1);
}


@media (max-width: 1180px) {

  /* Below 1180px there's no longer margin room for doodles positioned way
     outside .why-inner (e.g. left:-118px, right:-112px) — they'd overflow
     the viewport and get clipped, which is why the Reddit/Google marks and
     YouTube badge were invisible on mobile. Instead of hiding them, pull
     them inside the content column and shrink them so they still show. */
  .why-doodle-circle {
    display: none;
  }

  /* video circle still needs real space; skip on mobile */

  .why-doodle-triangle {
    top: 10px;
    right: 4px;
    width: 34px;
    height: 24px;
  }

  .why-doodle.why-roadmap-arrow {
    display: none;
  }

  /* no margin room off-canvas on mobile */
  .why-doodle-square {
    bottom: 96px;
    right: 8px;
    width: 62px;
    height: 54px;
  }

  .why-mark.mark-reddit {
    width: 20px;
    height: 20px;
  }

  .why-mark.mark-google {
    left: 30px;
    top: 26px;
    width: 18px;
    height: 18px;
  }
}

.why-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
  display: inline-block;
}

.why-text {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(26px, 4.1vw, 58px);
  line-height: 1.24;
  letter-spacing: -0.5px;
  color: var(--charcoal);
}

/* Scroll storytelling reveal (words fade/lift in as you scroll) */
.why-text-split .why-word {
  display: inline-block;
  opacity: 0.16;
  will-change: opacity, transform, filter;
  transition: opacity 0.12s linear, transform 0.12s linear, filter 0.12s linear;
}

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

.why-meta {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(28, 28, 28, 0.15);
  padding-top: 1rem;
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
}

.powered-by {
  position: relative;
  z-index: 6;
}

.how,
.features,
.preview,
.modes,
.cta-section,
footer {
  position: relative;
  z-index: 6;
}

.how,
.features,
.preview,
.modes {
  min-height: 60vh;
}


/* ===== How it works: black curtain wipes in from the right ===== */
.how-runway {
  position: relative;
  z-index: 6;
  /* Begin exactly when the 260vh text reveal completes. The remaining 120vh
     of the pinned warm panel becomes the right-to-left overlay transition. */
  margin-top: -220vh;
  height: 780vh;
  background: transparent;
}

.how-curtain {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.how-wipe {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  clip-path: inset(0 0 0 calc((1 - var(--w, 0)) * 100%));
  will-change: clip-path;
}

.how-runway .how {
  position: absolute;
  inset: 0;
  border-top: none;
  min-height: 0;
  padding: clamp(64px, 8vw, 110px) 3rem;
  display: flex;
  align-items: flex-start;
  background: transparent;
  clip-path: inset(0 0 0 calc((1 - var(--w, 0)) * 100%));
  /* content only appears once the black curtain has fully covered the screen */
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.how-runway.is-covered .how {
  opacity: 1;
  pointer-events: auto;
}

.how-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.how-runway .how-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.how-runway .section-label {
  margin-bottom: 1rem;
}

.how-foot {
  margin-top: 1.75rem;
  font-size: 13px;
  font-weight: 300;
  color: rgba(240, 237, 230, 0.45);
  max-width: 520px;
  line-height: 1.7;
}

/* step-by-step reveal */
.how-rise {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(.22, .61, .36, 1), transform 0.6s cubic-bezier(.22, .61, .36, 1);
}

.how-rise.in {
  opacity: 1;
  transform: none;
}

.how-runway .step {
  opacity: 0.18;
  transition: opacity 0.5s ease, background 0.2s;
}

.how-runway .step.in {
  opacity: 1;
}

@media (max-width: 900px) {
  .how-runway {
    height: 720vh;
    margin-top: -220vh;
  }

  .how-runway .how {
    padding: 24px 1.5rem;
  }

  .how-runway .steps {
    grid-template-columns: 1fr;
  }

  .how-phone-stage {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .why {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}






.relay {
  position: relative;
  height: 100%;
  background: #000;
  color: var(--warm, #F0EDE6);
}

.relay-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.relay-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(900px 560px at 24% 50%, rgba(200, 241, 53, 0.12), transparent 70%),
    radial-gradient(700px 480px at 82% 55%, rgba(59, 224, 122, 0.09), transparent 70%);
}

.relay-head {
  position: absolute;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--condensed, 'Barlow Condensed', sans-serif);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 15px;
  color: var(--warm, #F0EDE6);
  white-space: nowrap;
}

.relay-head .logo-swoosh {
  height: 22px;
  width: calc(22px * 484 / 373);
  color: var(--lime, #C8F135);
}

.relay-head .relay-head-dim {
  color: rgba(240, 237, 230, 0.4);
}

.relay-scaler {
  transform-origin: center center;
}

.relay-stage {
  position: relative;
  width: 1000px;
  height: 620px;
}

.relay-links {
  position: absolute;
  inset: 0;
}

/* phone */
.relay-phone {
  position: absolute;
  left: 22px;
  top: 44px;
  width: 250px;
  height: 520px;
}

.relay-phone-shell {
  position: absolute;
  inset: -9px;
  border-radius: 42px;
  background: #000;
  box-shadow: 0 50px 90px -40px rgba(200, 241, 53, 0.35);
}

.relay-phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  background: #FCFDF4;
}

.relay-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.14);
}

.relay-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FCFDF4;
}

.relay-loader-ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  border: 2px dashed rgba(0, 0, 0, 0.18);
}

.relay-loader .logo-swoosh {
  height: 58px;
  width: calc(58px * 484 / 373);
  color: var(--lime, #C8F135);
}

/* roadmap screen */
.relay-roadmap {
  position: absolute;
  inset: 0;
  background: #FCFDF4;
  opacity: 0;
  font-family: var(--body, 'DM Sans', sans-serif);
  color: #111;
  overflow: hidden;
}

.relay-roadmap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime, #C8F135);
}

.relay-rm-scroll {
  padding: 22px 10px 0 10px;
}

.relay-rm-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.28);
}

.relay-rm-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
}

.relay-rm-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #EEF0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.relay-rm-title {
  font-size: 14px;
  font-weight: 700;
}

.relay-rm-meta {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}

.relay-rm-bar {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: #E3E6DA;
  overflow: hidden;
}

.relay-rm-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--lime, #C8F135);
}

.relay-rm-rows {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.relay-rm-row {
  display: flex;
  gap: 9px;
  padding: 13px 12px;
  opacity: 0;
}

.relay-rm-row+.relay-rm-row {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.relay-rm-check {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #111;
}

.relay-rm-row.done .relay-rm-check {
  background: var(--lime, #C8F135);
  border: none;
  color: rgba(0, 0, 0, 0.55);
}

.relay-rm-row-active .relay-rm-check-active {
  border-color: var(--lime, #C8F135);
  border-width: 2px;
}

.relay-rm-lesson {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #1C1C1C;
}

.relay-rm-lesson-active {
  color: #1C1C1C;
  font-weight: 700;
}

.relay-rm-row.done .relay-rm-lesson {
  color: rgba(0, 0, 0, 0.32);
  text-decoration: line-through;
}

.relay-rm-watch-done {
  color: rgba(0, 0, 0, 0.32) !important;
}

.relay-rm-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.relay-rm-watch {
  background: #E8F0FF;
  color: #2B5FA8;
  font-size: 8.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
}

.relay-rm-time {
  font-size: 8.5px;
  color: rgba(0, 0, 0, 0.45);
}

.relay-rm-pills {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.relay-rm-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  background: #FFFFFF;
  white-space: nowrap;
}

.relay-rm-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  background: rgba(252, 253, 244, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
}

.relay-rm-nav .on {
  color: #8fae1b;
  font-size: 14px;
}

/* servers */
.relay-server {
  position: absolute;
  left: 640px;
  width: 320px;
  height: 92px;
  opacity: 0;
  transform: translateX(34px);
}

.relay-server-ring {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 2px solid #3BE07A;
  opacity: 0;
}

.relay-server-card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #000;
  border: 1px solid rgba(240, 237, 230, 0.14);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.relay-server.on .relay-server-card {
  border-color: rgba(59, 224, 122, 0.55);
  box-shadow: 0 0 40px -14px #3BE07A;
}

/* Hand-drawn server rack */
.relay-rack {
  width: 46px;
  flex: none;
}

.relay-rack svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.relay-rack path {
  fill: none;
  stroke: rgba(240, 237, 230, 0.55);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}

.relay-rack .rk-led {
  fill: rgba(240, 237, 230, 0.22);
  transition: fill 0.3s ease;
}

.relay-rack .rk-scan {
  stroke: var(--lime, #C8F135);
  stroke-width: 3;
  opacity: 0;
}

.relay-server.on .relay-rack path {
  stroke: rgba(240, 237, 230, 0.85);
}

.relay-server.on .relay-rack .rk-shell {
  stroke: #3BE07A;
}

.relay-server.on .relay-rack .rk-led {
  animation: rkBlink 1.1s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  fill: #3BE07A;
}

.relay-server.on .relay-rack .rk-scan {
  animation: rkScan 1.6s ease-in-out infinite;
}

@keyframes rkBlink {

  0%,
  100% {
    fill: rgba(59, 224, 122, 0.25);
  }

  50% {
    fill: #3BE07A;
  }
}

@keyframes rkScan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  12% {
    opacity: 0.85;
  }

  88% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translateY(88px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .relay-server.on .relay-rack .rk-led,
  .relay-server.on .relay-rack .rk-scan {
    animation: none;
  }
}

.relay-server-name {
  font-family: var(--condensed, 'Barlow Condensed', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 21px;
  line-height: 1;
  color: var(--warm, #F0EDE6);
}

.relay-server-sub {
  font-family: var(--body, 'DM Sans', sans-serif);
  font-size: 11px;
  color: rgba(240, 237, 230, 0.42);
  margin-top: 5px;
}

.relay-server-sub .idle {
  display: inline;
}

.relay-server-sub .live {
  display: none;
}

.relay-server.on .relay-server-sub .idle {
  display: none;
}

.relay-server.on .relay-server-sub .live {
  display: inline;
}

.relay-server-led {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: rgba(240, 237, 230, 0.18);
}

.relay-server.on .relay-server-led {
  background: #000;
  box-shadow: 0 0 14px #3BE07A;
}

.relay-caption {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--body, 'DM Sans', sans-serif);
  font-size: 14px;
  color: rgba(240, 237, 230, 0.7);
}

.relay-caption span.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--lime, #C8F135);
}

/* Scene captions live at the bottom-right of the page for the whole
     phone sequence + relay + roadmap reveal. */
.relay-integrated .relay-caption {
  display: none;
}

.how-caption {
  position: fixed;
  left: auto;
  right: max(1.75rem, calc((100vw - 1180px) / 2 - 1.5rem));
  bottom: 34px;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  font-family: var(--condensed, 'Barlow Condensed', sans-serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  text-align: right;
  color: var(--warm, #F0EDE6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.how-caption.is-on {
  opacity: 1;
}

.how-caption #howCaptionText {
  display: block;
}

.how-caption .cap-line {
  display: block;
}

.how-caption .dot {
  width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--lime, #C8F135);
  flex: 0 0 auto;
  margin-top: 0.28em;
}

@media (max-width: 900px) {
  .how-caption {
    left: auto;
    right: 0.75rem;
    bottom: 20px;
    font-size: clamp(28px, 8vw, 42px);
    gap: 10px;
  }

  .how-caption .dot {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 900px) {
  .relay-head {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .relay-caption {
    font-size: 12px;
  }
}

/* Integrated relay: everything stays inside the first How-it-works phone scene. */
.how-runway {
  height: 260vh;
}

.how-inner {
  position: relative;
  height: 100%;
}

.relay-integrated {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
}

.relay-integrated.is-active {
  opacity: 1;
  visibility: visible;
}

.relay-integrated .relay-head {
  top: 0;
}

.relay-integrated .relay-caption {
  bottom: 0;
}

.relay-integrated .relay-scaler {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
}

.how-heading-stage.relay-hidden {
  opacity: 1 !important;
}

.how-phone-stage.relay-active {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  z-index: 3;
}

.how-phone-stage.relay-active .phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 72vw);
  min-width: min(300px, 72vw);
  max-width: min(300px, 72vw);
  height: auto;
  aspect-ratio: 300 / 620;
  flex: 0 0 auto;
}

.phone .relay-loader,
.phone .relay-roadmap {
  opacity: 0;
  pointer-events: none;
}

.how-phone-stage.relay-active .app-screen-form,
.how-phone-stage.relay-active .app-screen-quiz,
.how-phone-stage.relay-active .app-screen-level,
.how-phone-stage.relay-active .app-screen-craft {
  opacity: 0 !important;
  pointer-events: none;
}

.how-phone-stage.relay-active .relay-loader {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .how-runway {
    height: 240vh;
  }
}




/* ===== Section 4: Real content, never hallucinated ===== */
.real-content {
  position: relative;
  z-index: 6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 3rem;
  overflow: hidden;
}

.real-content-bg {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.real-content-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 1;
}

.real-content-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.real-content-figure {
  position: relative;
  display: flex;
  justify-content: center;
}

.real-content-figure::before {
  content: "";
  position: absolute;
  inset: 8% 4% 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(190, 255, 80, 0.48), rgba(128, 255, 110, 0.2) 55%, transparent 72%);
  filter: blur(38px);
  z-index: 0;
}

.real-content-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

@keyframes rcFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes rcGlow {

  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {

  .real-content-figure,
  .real-content-figure::before {
    animation: none;
  }
}

.real-content-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
}

.real-content-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.real-content-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
  display: inline-block;
}

.real-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 1.5rem;
}

.real-content h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

.real-content-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.real-content-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
  padding: 0;
}

.real-content-rules li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.real-content-rules .rule-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 14px;
  margin-top: 1px;
}

.real-content-rules strong {
  color: #fff;
  font-weight: 600;
}

.real-content-foot {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  max-width: 540px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .real-content {
    padding: 80px 1.5rem;
  }

  .real-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .real-content-figure img {
    max-width: 300px;
  }
}

/* ================= Section 5 — Retention system ================= */
.finish {
  position: relative;
  z-index: 6;
  background: var(--warm);
  color: var(--charcoal);
  padding: clamp(90px, 11vw, 160px) 3rem clamp(90px, 11vw, 150px);
  overflow: hidden;
}

.finish-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.finish-label {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.finish-label::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

.finish-head {
  max-width: 860px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.finish-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
}

.finish-head h2 em {
  font-style: italic;
  color: var(--lime);
}

.finish-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.65);
  max-width: 640px;
}

/* --- beats --- */
.finish-beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.finish-beat.reverse .finish-beat-copy {
  order: 2;
}

.finish-projection.reverse .fp-copy {
  order: 2;
}

.finish-beat-num {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.finish-beat-copy h3,
.fb-center h3,
.fp-copy h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.finish-beat-copy h3,
.fp-copy h3 {
  color: var(--charcoal);
}

.finish-beat-copy p,
.fb-center p,
.fp-copy p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  max-width: 480px;
}

.finish-beat-copy p,
.fp-copy p {
  color: rgba(0, 0, 0, 0.62);
}

/* --- mock live-UI cards --- */
.stat-card {
  background: var(--mid-lite);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.6rem;
  max-width: 440px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.stat-card-title {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(240, 237, 230, 0.6);
}

.stat-card-title b {
  color: #fff;
}

.stat-chip {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: rgba(240, 237, 230, 0.7);
  white-space: nowrap;
}

.stat-chip.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
  font-weight: 700;
}

.stat-card-foot {
  margin-top: 1.3rem;
  font-size: 13px;
  color: rgba(240, 237, 230, 0.5);
  display: flex;
  align-items: center;
  gap: 9px;
}

.stat-card-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
}

/* streak */
.streak-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.streak-flame {
  color: var(--lime);
  width: 30px;
  height: 30px;
  align-self: center;
}

.streak-flame svg {
  width: 100%;
  height: 100%;
}

.streak-num {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 86px);
  line-height: 0.9;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.streak-unit {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  color: rgba(240, 237, 230, 0.5);
}

.streak-week {
  display: flex;
  gap: 8px;
  margin-top: 1.4rem;
}

.sw-day {
  flex: 1;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--border);
  color: rgba(240, 237, 230, 0.45);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.sw-day.lit[data-state="on"] {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
}

.sw-day.lit[data-state="freeze"] {
  background: rgba(120, 190, 255, 0.16);
  border-color: rgba(150, 205, 255, 0.5);
  color: #bfe2ff;
}

.sw-day.lit[data-state="today"] {
  border-color: var(--lime);
  color: var(--lime);
  border-style: dashed;
}

/* xp */
.xp-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(240, 237, 230, 0.1);
  overflow: hidden;
}

.xp-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--lime);
}

.xp-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 13px;
  color: rgba(240, 237, 230, 0.55);
  font-variant-numeric: tabular-nums;
}

.xp-meta b {
  color: #fff;
}

.xp-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1.4rem;
}

.xp-step {
  font-size: 13.5px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: rgba(240, 237, 230, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
}

.xp-step::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 237, 230, 0.3);
}

.xp-step.done {
  color: rgba(240, 237, 230, 0.85);
}

.xp-step.done::before {
  background: var(--lime);
  border-color: var(--lime);
}

.xp-step#xpStepNew.done {
  border-color: rgba(200, 241, 53, 0.45);
}

/* quiz gate */
.qg-q {
  font-size: 15.5px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.qg-q code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  background: rgba(240, 237, 230, 0.1);
  padding: 1px 6px;
  border-radius: 5px;
}

.qg-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qg-opt {
  font-size: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  color: rgba(240, 237, 230, 0.72);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, opacity 0.35s ease;
}

.qg-opt.picked {
  border-color: rgba(240, 237, 230, 0.45);
  color: #fff;
}

.qg-opt.correct {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
  font-weight: 600;
}

.qg-opt.dim {
  opacity: 0.35;
}

.qg-lock {
  margin-top: 1.2rem;
  font-size: 13px;
  color: rgba(240, 237, 230, 0.45);
}

.qg-result {
  margin-top: 1.2rem;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
}

.qg-result.show {
  display: flex;
}

.qg-tick {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.qg-tick svg {
  width: 100%;
  height: 100%;
}

/* --- achievements drift grid --- */
.finish-badges {
  position: relative;
  min-height: min(150vh, 1100px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(3rem, 8vw, 7rem) 0;
}

.fb-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 520px;
  padding: 0 1rem;
}

.fb-center h3 {
  font-size: clamp(30px, 4.4vw, 56px);
  color: var(--charcoal);
}

.fb-center h3 em {
  font-style: italic;
  color: var(--lime);
}

.fb-center p {
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.62);
}

.fb-tile {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  transform: translate(-50%, -50%);
  width: clamp(130px, 14vw, 186px);
  padding: 1.1rem 1rem 1rem;
  border-radius: 16px;
  background: #000;
  border: 1px solid var(--border);
  text-align: center;
  z-index: 1;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.fb-tile b {
  display: block;
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 14px;
  color: #fff;
  margin-top: 0.7rem;
}

.fb-tile i {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.42);
  margin-top: 3px;
}

.fb-medal {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
}

.fb-medal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.35);
}

.fb-medal.bronze {
  background: radial-gradient(circle at 32% 28%, #e0a173, #8a4f28);
}

.fb-medal.silver {
  background: radial-gradient(circle at 32% 28%, #f2f4f6, #96a0aa);
}

.fb-medal.gold {
  background: radial-gradient(circle at 32% 28%, #ffe37a, #c2951c);
}

.fb-medal.legendary {
  background: radial-gradient(circle at 32% 28%, #ecffb0, var(--lime) 55%, #7fa310);
  box-shadow: 0 0 0 4px rgba(200, 241, 53, 0.14), 0 0 34px rgba(200, 241, 53, 0.35);
}

/* --- finish-date projection --- */
.finish-projection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-top: clamp(1rem, 4vw, 3rem);
}

.fp-date {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  color: var(--lime);
}

.fp-sub {
  margin-top: 0.6rem;
  font-size: 13.5px;
  color: rgba(0, 0, 0, 0.5);
}

.fp-track {
  position: relative;
  margin-top: 1.5rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}

.fp-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 241, 53, 0.35), var(--lime));
}

.fp-track em {
  position: absolute;
  top: 16px;
  left: 62%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .finish {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .finish-beat,
  .finish-projection {
    grid-template-columns: 1fr;
  }

  .finish-beat.reverse .finish-beat-copy {
    order: 0;
  }

  .finish-projection.reverse .fp-copy {
    order: 0;
  }

  .stat-card {
    max-width: none;
  }

  .finish-badges {
    min-height: 0;
    flex-direction: column;
    gap: 2rem;
  }

  .fb-center {
    order: -1;
    text-align: left;
  }

  .fb-tile {
    position: static;
    transform: none;
    width: 100%;
    left: auto;
    top: auto;
  }

  .finish-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fb-center {
    grid-column: 1 / -1;
  }
}


/* Clockwise badge wheel: positions are animated in navigator.js. */
@media (min-width: 901px) {
  .finish-badges .fb-tile {
    will-change: left, top;
  }
}


/* ================================================================
   SECTION TRANSITION — ported from v4 (sweep only, used on CTA
   section right before the footer)
   ================================================================ */
.section-transition {
  --transition-progress: 1;
  --transition-inverse: calc(1 - var(--transition-progress));
  isolation: isolate;
  overflow: clip;
  will-change: clip-path, transform, opacity, filter;
  transform-origin: 50% 0%;
}

.section-transition>* {
  position: relative;
  z-index: 1;
}

/* CTA → footer: final lime sweep, followed by the CTA copy. */
.section-transition[data-transition="sweep"]::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  background: var(--lime);
  transform: translateX(calc(-101% + var(--transition-progress) * 202%));
  pointer-events: none;
  will-change: transform;
}

.section-transition[data-transition="sweep"]>* {
  opacity: clamp(0, calc((var(--transition-progress) - .45) * 2.2), 1);
  transform: translateY(calc(var(--transition-inverse) * 36px));
}

.section-transition>*,
.section-transition::before,
.section-transition::after {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .section-transition {
    --transition-progress: 1 !important;
    clip-path: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .section-transition>* {
    transform: none !important;
    opacity: 1 !important;
  }

  .section-transition::before,
  .section-transition::after {
    display: none !important;
  }
}

/* Section 3 roadmap screen: real app screenshot (roadmap-screen.png) + rebuilt tab bar */
.relay-roadmap-real { background: #fff; }
.relay-roadmap-real::before { display: none; }
.relay-rm-shot {
  position: absolute;
  top: 38px; /* clears the phone notch */
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
.relay-rm-tabs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52px;
  background: #fff;
  border-top: 1px solid #F2F2F2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: 'Inter', var(--body, 'DM Sans', sans-serif);
  font-size: 7.5px;
  font-weight: 500;
  color: #9EA2AE;
}
.relay-rm-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.relay-rm-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.relay-rm-tabs .on { color: #8FAE00; }


/* Section 6 (Modes): each mode shows its own real app screenshot
   (modes-screen.png, modes-sprint.png, modes-youtube.png). */
.modes-shot-wrap {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
}
.modes-shot {
  position: absolute;
  top: 6%; /* clears the phone notch */
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
#modesPhoneScreen .modes-screen { height: 100%; }
/* old animated mode content stays in the DOM (the carousel script uses it) but is hidden */
#modesPhoneScreen .modes-screen > :not(.modes-shot-wrap) { visibility: hidden; }

/* Waitlist: page turns fully black once the waitlist section is reached */
.outcome { transition: background-color 0.45s ease, border-color 0.45s ease; }
body.waitlist-dark .outcome {
  background: #000;
  border-top-color: transparent;
}
body.waitlist-dark .waitlist { border-top-color: transparent; }
/* (nav colour over the CTA section is handled by the nav-light script) */

/* Waitlist: taller section so it takes longer to scroll through before the footer.
   Change min-height (e.g. 100vh, 140vh) to make it shorter or longer. */
.waitlist {
  min-height: 155vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist-inner { width: 100%; }

/* Final CTA section: tall enough that, when you reach the end of the page, the
   cream background sits right under the top bar (so the bar turns white too). */
.cta-section {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-section .cta-inner { width: 100%; }

/* "From scattered to shipped" section: a bit taller */
.outcome {
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outcome .outcome-inner { width: 100%; }


/* =====================================================================
   Accountability phone: legible on the cream screen + "story" loop
   (defaults below = finished state, so it still reads fine without JS)
   ===================================================================== */
.social-screen {
  position: relative;
  padding-top: 46px;
  overflow: hidden;
}
.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.social-top .app-label { margin: 0; }
.social-streak {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 7px;
  border-radius: 99px;
  background: #1C1C1C;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.social-streak i { font-style: normal; font-weight: 500; color: rgba(240, 237, 230, 0.6); }
.social-streak-fire { font-size: 11px; }
.social-streak-num { display: inline-block; overflow: hidden; height: 12px; line-height: 12px; }
.social-streak-num b { display: block; font-size: 11px; }

.social-partner-row {
  background: #fff;
  border: 1px solid rgba(28, 28, 28, 0.08);
}
.social-partner-row.active {
  border-color: rgba(143, 174, 0, 0.55);
  background: rgba(200, 241, 53, 0.16);
}
.social-partner-info b { color: #1C1C1C; }
.social-partner-info i { color: rgba(28, 28, 28, 0.5); }
.social-avatar { position: relative; }
.social-badge {
  position: absolute;
  right: -4px; bottom: -4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #1C1C1C;
  color: var(--lime);
  font-size: 9px;
  line-height: 15px;
  text-align: center;
  font-family: var(--body, sans-serif);
  border: 1.5px solid #fff;
}
.social-bar {
  display: block;
  height: 3px;
  margin-top: 5px;
  border-radius: 3px;
  background: rgba(28, 28, 28, 0.1);
  overflow: hidden;
}
.social-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: #1C1C1C;
}

.social-toast {
  position: absolute;
  top: 38px; left: 10px; right: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #1C1C1C;
  color: rgba(240, 237, 230, 0.78);
  font-size: 11.5px;
  line-height: 1.3;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
}
.social-toast b { color: #fff; }

.social-reaction-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(28, 28, 28, 0.08);
}
.social-reaction-head { color: rgba(28, 28, 28, 0.75); }
.social-reaction-head b { color: #1C1C1C; }
.social-react-btn {
  border: 1px solid rgba(28, 28, 28, 0.12);
  background: #F6F4EE;
}
.social-react-sent { color: #6F8A00; }
.social-tap {
  position: absolute;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid #1C1C1C;
  opacity: 0;
  pointer-events: none;
}
.social-float {
  position: absolute;
  font-size: 15px;
  pointer-events: none;
  z-index: 4;
}

.social-request {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed rgba(28, 28, 28, 0.2);
}
.social-req-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; font-size: 12px; }
.social-req-info b { color: #1C1C1C; font-size: 12.5px; }
.social-req-info i { font-style: normal; font-size: 10.5px; color: rgba(28, 28, 28, 0.5); }
.social-req-btn {
  border: 0;
  border-radius: 99px;
  padding: 6px 12px;
  background: #1C1C1C;
  color: var(--lime);
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.social-req-btn.is-sent { background: var(--lime); color: #1C1C1C; }


/* =====================================================================
   "From scattered to shipped": chips converge onto a roadmap as you scroll
   (defaults = finished state; GSAP sets the starting state)
   ===================================================================== */
.outcome-chips {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.oc-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 10px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid rgba(28, 28, 28, 0.12);
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.4);
  font-family: var(--body, 'DM Sans', sans-serif);
  font-size: 12.5px;
  color: var(--mid);
  white-space: nowrap;
  transform: rotate(var(--r, 0deg));
  opacity: 0;
}
.oc-chip i {
  font-style: normal;
  font-size: 10px;
  color: rgba(28, 28, 28, 0.45);
}

.outcome-road {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding-bottom: 8px;
}
.road-line {
  position: absolute;
  left: 9px; right: 9px; top: 9px;
  height: 2px;
  background: rgba(28, 28, 28, 0.14);
}
.road-fill {
  display: block;
  height: 100%;
  background: #1C1C1C;
  transform-origin: left center;
}
.road-nodes {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.road-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 64px;
}
.road-node:first-child { align-items: flex-start; }
.road-node:last-child { align-items: flex-end; }
.road-dot {
  position: relative;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--warm);
  border: 2px solid #1C1C1C;
  display: block;
}
.road-dot-fill {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #1C1C1C;
}
.road-node em {
  font-style: normal;
  font-size: 13px;
  color: var(--mid);
}
.road-node-end .road-dot-fill { background: var(--lime); box-shadow: 0 0 0 5px rgba(200, 241, 53, 0.35); }
.road-node-end .road-dot { border-color: #1C1C1C; }
.road-dot b {
  position: absolute;
  inset: 0;
  display: block;
  text-align: center;
  line-height: 16px;
  font-size: 11px;
  color: #1C1C1C;
}
.road-node-end em { font-weight: 700; color: #1C1C1C; }
.road-node:not(.road-node-end) .road-dot b { display: none; }

/* strike-through on "scattered" can be drawn by script */
.outcome-strike::after {
  transform-origin: left center;
  transform: rotate(-2deg) scaleX(var(--strike, 1));
}

@media (max-width: 1100px) {
  .oc-chip:nth-child(even) { display: none; }
}
@media (max-width: 720px) {
  .outcome-chips { display: none; }
  .road-node em { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .oc-chip { display: none; }
}


/* =====================================================================
   Waitlist: curved zig-zag arrow -> envelope -> "You're on the list" card
   Nothing shows until a valid email is submitted.
   ===================================================================== */
.waitlist { position: relative; }
.waitlist-inner { position: relative; z-index: 3; }

.wl-arrow {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.wl-arrow.is-on { opacity: 1; }
.wl-arrow-path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(200, 241, 53, 0.45));
}
.wl-arrow-head { fill: var(--lime); filter: drop-shadow(0 0 8px rgba(200, 241, 53, 0.45)); }

/* reveal area: envelope and card share one cell, so nothing jumps */
.wl-reveal {
  display: none;
  grid-template: 1fr / 1fr;
  place-items: center;
  margin: 0 auto 1.25rem;
  min-height: 130px;
}
.wl-reveal.show { display: grid; }
.wl-reveal > * { grid-area: 1 / 1; }

/* envelope */
.wl-env {
  position: relative;
  width: 132px;
  height: 92px;
  perspective: 600px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wl-reveal.env-in .wl-env { opacity: 1; transform: scale(1); }
.wl-reveal.env-out .wl-env { opacity: 0; transform: scale(0.85) translateY(10px); transition-duration: 0.35s; transition-timing-function: ease; }
.wl-env.is-hit { animation: wlEnvHit 0.5s ease; }
@keyframes wlEnvHit {
  0% { transform: scale(1); }
  35% { transform: scale(1.14) rotate(-3deg); }
  70% { transform: scale(0.97) rotate(1.5deg); }
  100% { transform: scale(1); }
}
.wl-env > * { position: absolute; }
.wl-env-back {
  inset: 0;
  background: #101010;
  border: 1.5px solid var(--lime);
  border-radius: 9px;
  box-shadow: 0 0 34px rgba(200, 241, 53, 0.18);
  z-index: 0;
}
.wl-env-letter {
  left: 12px; right: 12px; bottom: 8px;
  height: 66px;
  background: var(--warm);
  border-radius: 4px;
  padding: 12px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.wl-env-letter i { display: block; height: 3px; border-radius: 2px; background: rgba(28, 28, 28, 0.22); }
.wl-env-letter i:nth-child(2) { width: 78%; }
.wl-env-letter i:nth-child(3) { width: 52%; }
.wl-env.is-open .wl-env-letter { transform: translateY(-34px); }
.wl-env-front {
  inset: 0;
  background: #1a1a1a;
  border-radius: 9px;
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}
.wl-env-flap {
  left: 0; right: 0; top: 0;
  height: 58%;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 9px 9px 0 0;
  transform-origin: 50% 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s 0.22s;
  z-index: 4;
}
.wl-env.is-open .wl-env-flap { transform: rotateX(180deg); z-index: 1; filter: brightness(0.82); }

/* success card */
.wl-card {
  max-width: 440px;
  width: 100%;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(200, 241, 53, 0.35);
  background: rgba(200, 241, 53, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.wl-reveal.card-in .wl-card { opacity: 1; transform: none; pointer-events: auto; }
.wl-card-check {
  width: 44px; height: 44px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--lime);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wl-card-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  line-height: 1.1;
  color: var(--warm);
  margin-bottom: 0.6rem;
}
.wl-card-sub { font-size: 15px; line-height: 1.55; color: rgba(240, 237, 230, 0.7); word-break: break-word; }
.wl-card-sub b { color: var(--lime); font-weight: 600; }
.wl-card-row {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: rgba(240, 237, 230, 0.5);
}
.wl-card-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  .wl-env, .wl-card, .wl-env-letter, .wl-env-flap { transition: none; }
}


/* =====================================================================
   Phone layout: waitlist, final CTA, footer
   ===================================================================== */
@media (max-width: 900px) {
  /* CTA: stack copy over full-width buttons; background word sized to the screen */
  .cta-section { padding: 88px 1.5rem 72px; }
  .cta-inner { flex-direction: column; align-items: stretch; justify-content: center; gap: 2rem; }
  .cta-title { font-size: clamp(44px, 12.5vw, 80px); line-height: 0.96; max-width: none; }
  .cta-actions { width: 100%; min-width: 0; gap: 12px; }
  .cta-btn-primary,
  .cta-btn-secondary { width: 100%; min-height: 54px; padding: 15px 20px; }
  .cta-bg-text {
    font-size: 20vw;
    letter-spacing: -0.02em;
    left: 1.5rem;
    bottom: 10px;
  }
}

@media (max-width: 600px) {
  /* Waitlist: shorter scroll length on phones, 16px input (stops iOS zoom), big tap targets */
  .waitlist { min-height: 110vh; padding: 64px 1.25rem; }
  .waitlist h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .waitlist-lead { font-size: 16px; margin-bottom: 1.75rem; }
  .waitlist-field { flex-direction: column; gap: 10px; max-width: none; }
  .waitlist-field input { font-size: 16px; padding: 16px 20px; }
  .waitlist-submit { min-height: 54px; font-size: 16px; }

  /* Arrow + envelope + card */
  .wl-arrow-path { stroke-width: 2.5; }
  .wl-env { width: 112px; height: 78px; }
  .wl-env.is-open .wl-env-letter { transform: translateY(-28px); }
  .wl-env-letter { height: 56px; left: 10px; right: 10px; }
  .wl-card { padding: 1.5rem 1.25rem 1.25rem; border-radius: 18px; }
  .wl-card-title { font-size: 28px; }
  .wl-card-sub { font-size: 14.5px; }

  /* Footer: stacked, left aligned, clear of the home bar */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  }
  .foot-right a { margin-left: 1rem; }
}


/* Footer uses the same wordmark as the top nav (n + swoosh + igator) */
.foot-logo.foot-wordmark {
  --swoosh-h: 0.86em;
  font-family: var(--condensed);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.5px;
  gap: 0;
}
.foot-logo.foot-wordmark span { color: var(--lime); display: inline-flex; align-items: center; }
@media (max-width: 600px) { .foot-logo.foot-wordmark { font-size: 28px; } }

/* waitlist footnote links: match the grey text instead of default browser blue */
.waitlist-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.waitlist-foot a:hover { color: #fff; }
