/* Homepage decision path: beta, compatibility, and product flow. */
.cinematic-hero {
  --hero-canvas: #080b09;
  --hero-shadow: #070908;
  --hero-glass: #090c0a;
  --hero-ink: #f5f7f3;
  --hero-ink-strong: #f7f8f5;
  --hero-ink-soft: #c3c9c2;
  --hero-ink-muted: #aeb5ae;
  --hero-ink-faint: #899189;
  --hero-accent: #c8f53a;
  --energy: #b6a3f5; /* the dark-surface energy violet: the hero is a dark instrument */
  --hero-white: #fff;
  --hero-black: #000;
  background: var(--hero-canvas);
  color: var(--hero-ink);
  isolation: isolate;
  min-height: calc(100svh - 102px);
  overflow: hidden;
  position: relative;
}

.cinematic-hero::before,
.cinematic-hero::after {
  content: "";
  inset: 0;
  position: absolute;
}

.cinematic-hero::before {
  background: url('/media/home-hero.jpg') center/cover no-repeat;
  filter: saturate(.86) contrast(1.05);
  transform: scale(1.015);
  z-index: -2;
}

.cinematic-hero::after {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--hero-shadow) 96%, transparent) 0%, color-mix(in srgb, var(--hero-shadow) 86%, transparent) 34%, color-mix(in srgb, var(--hero-shadow) 34%, transparent) 64%, color-mix(in srgb, var(--hero-shadow) 73%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--hero-shadow) 42%, transparent) 0%, transparent 38%, color-mix(in srgb, var(--hero-shadow) 91%, transparent) 100%);
  z-index: -1;
}

.nav-hero .cinematic-grid {
  align-items: center;
  gap: clamp(40px, 4.5vw, 72px);
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  min-height: calc(100svh - 102px);
  max-width: 1200px;
  padding: 72px 0 82px;
  position: relative;
  width: min(1200px, 100% - 48px);
  z-index: 1;
}

.cinematic-copy {
  padding: 0;
  text-align: left;
}

.cinematic-copy .eyebrow {
  color: color-mix(in srgb, var(--hero-ink) 82%, transparent);
}

.cinematic-copy .eyebrow::before {
  background: var(--rider);
}

.cinematic-copy h1 {
  color: var(--hero-ink-strong);
  font-size: clamp(56px, 5.4vw, 86px);
  letter-spacing: -.075em;
  line-height: .86;
  margin: 28px 0 0;
  max-width: 9.6ch;
  text-wrap: balance;
}

.cinematic-copy h1 .e {
  color: var(--hero-accent);
  display: block;
}

.cinematic-copy .lede {
  color: var(--hero-ink-soft);
  font-size: 16px;
  line-height: 1.62;
  margin: 30px 0 0;
  max-width: 58ch;
}

.cinematic-copy .lede b {
  color: var(--hero-white);
}

.cinematic-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}

.cinematic-copy .hero-actions .button-primary {
  background: var(--hero-accent);
  border-color: var(--hero-accent);
  color: var(--hero-black);
}

.cinematic-copy .hero-actions .button-secondary {
  background: color-mix(in srgb, var(--hero-glass) 66%, transparent);
  border-color: color-mix(in srgb, var(--hero-white) 45%, transparent);
  color: var(--hero-white);
  backdrop-filter: blur(12px);
}

.cinematic-copy .proof-line {
  color: var(--hero-ink-muted);
  margin: 22px 0 0;
  text-align: left;
}

.hero-beta-note {
  align-items: center;
  color: color-mix(in srgb, var(--hero-ink) 80%, transparent);
  display: flex;
  flex-wrap: wrap;
  font: 750 9px var(--mono);
  gap: 9px;
  letter-spacing: .1em;
  margin-top: 22px;
  text-transform: uppercase;
}

.hero-beta-note i {
  background: var(--rider);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--rider) 13%, transparent);
  height: 7px;
  width: 7px;
}

.hero-beta-note b {
  color: color-mix(in srgb, var(--hero-ink) 51%, transparent);
  font-weight: 700;
}

/* The hero's action reel: a silent loop of Studio exports. The index.html script starts it only
   without reduced motion or Save-Data and only while it is visible, and gives it a pause control. */
.hero-reel {
  margin: 0;
  position: relative;
}

.hero-reel::before {
  background: var(--hero-accent);
  content: "";
  filter: blur(90px);
  height: 40%;
  opacity: .14;
  position: absolute;
  right: -6%;
  top: -10%;
  width: 46%;
  z-index: -1;
}

.hero-reel-frame {
  aspect-ratio: 16 / 9;
  background: #050606;
  border: 1px solid color-mix(in srgb, var(--hero-white) 18%, transparent);
  border-radius: 22px;
  box-shadow: 0 42px 110px color-mix(in srgb, var(--hero-black) 80%, transparent);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

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

.hero-reel-chip {
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--hero-glass) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-white) 18%, transparent);
  border-radius: 999px;
  color: var(--hero-white);
  display: flex;
  font: 800 9px var(--mono);
  gap: 9px;
  left: 14px;
  letter-spacing: .12em;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
  z-index: 2;
}

.hero-reel-chip i {
  background: var(--hero-accent);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.hero-reel.is-playing .hero-reel-chip i {
  animation: reel-pulse 1.4s ease-in-out infinite;
}

.hero-reel-chip span {
  color: var(--hero-ink-soft);
  font-weight: 700;
  letter-spacing: .08em;
}

@keyframes reel-pulse {
  50% { opacity: .3; }
}

.hero-reel figcaption {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  margin-top: 14px;
}

.hero-reel-toggle {
  align-items: center;
  background: color-mix(in srgb, var(--hero-glass) 66%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-white) 30%, transparent);
  border-radius: 999px;
  color: var(--hero-white);
  cursor: pointer;
  display: inline-flex;
  font: 750 9px var(--mono);
  gap: 7px;
  letter-spacing: .12em;
  min-height: 34px;
  padding: 0 14px;
  text-transform: uppercase;
}

.hero-reel-toggle:hover,
.hero-reel-toggle:focus-visible {
  border-color: var(--hero-accent);
  outline: none;
}

.hero-reel figcaption a {
  color: var(--hero-accent);
  font: 750 9px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .hero-reel.is-playing .hero-reel-chip i { animation: none; }
}

.cinematic-caption {
  bottom: 22px;
  color: var(--hero-ink-faint);
  display: flex;
  font: 700 7px var(--mono);
  justify-content: space-between;
  left: 50%;
  letter-spacing: .15em;
  max-width: 1200px;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  width: min(90%, 1200px);
  z-index: 2;
}

#how-it-works,
#compatibility,
#beta,
#trail-film {
  scroll-margin-top: 112px;
}

.trail-film {
  background: #090c0a;
  color: #f4f6f2;
  overflow: hidden;
}

.trail-film-head {
  align-items: end;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  margin-bottom: 38px;
}

.trail-film-head h2 {
  font: 900 clamp(44px, 5.6vw, 78px)/.92 var(--disp);
  letter-spacing: -.06em;
  margin-top: 22px;
  max-width: 11ch;
}

.trail-film-copy > p:first-child {
  margin-top: 0;
}

.trail-film-copy > p {
  color: #b3bab2;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 24px;
  max-width: 48ch;
}

.trail-film-copy .trail-film-proof {
  border-left: 2px solid var(--rider);
  color: #7f887f;
  font: 700 9px/1.7 var(--mono);
  letter-spacing: .06em;
  padding-left: 15px;
  text-transform: uppercase;
}

.trail-film-copy .button-secondary {
  border-color: #555c55;
  color: #f4f6f2;
  display: inline-flex;
  margin-top: 28px;
}

.trail-film-player {
  margin: 0;
  position: relative;
}

.trail-film-player::before {
  background: var(--brand);
  content: "";
  filter: blur(80px);
  height: 34%;
  opacity: .16;
  position: absolute;
  right: -8%;
  top: -12%;
  width: 42%;
}

.trail-film-player .promo-shell {
  position: relative;
}

.trail-film-player figcaption {
  color: #737b73;
  display: flex;
  font: 700 8px var(--mono);
  justify-content: space-between;
  letter-spacing: .12em;
  margin-top: 14px;
  text-transform: uppercase;
}

.step-number {
  color: var(--brand);
  display: block;
  font: 800 10px var(--mono);
  letter-spacing: .16em;
  margin-bottom: 18px;
}

.steps-cards .card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.steps-cards .card .go {
  margin-top: auto;
  padding-top: 18px;
}

.compatibility-cards .card {
  min-height: 290px;
}

.compatibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.compatibility-note {
  color: var(--ink3);
  font-size: 12px;
  line-height: 1.6;
  margin: 28px auto 0;
  max-width: 72ch;
  text-align: center;
}

.compatibility-actions a,
.beta-actions a {
  align-items: center;
  border: 1px solid #050505;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 46px;
  padding: 12px 23px;
  text-transform: uppercase;
}

.beta-section {
  background: #0d100f;
  color: #f3f5f0;
}

.beta-panel {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.beta-panel h2 {
  font: 900 clamp(38px, 5vw, 68px)/.94 var(--disp);
  letter-spacing: -.055em;
  margin-top: 18px;
  max-width: 780px;
}

.beta-panel p {
  color: #a6ada2;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 68ch;
}

.beta-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.beta-actions .button-primary {
  background: #f3f5f0;
  border-color: #f3f5f0;
  color: #0d100f;
}

.beta-actions span {
  color: #767d72;
  font: 700 9px/1.6 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.beta-section .eyebrow {
  color: #9ca39d;
}

.beta-section .eyebrow::before {
  background: var(--rider);
}

@media (width <= 1000px) {
  .nav-hero .cinematic-grid {
    gap: 42px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cinematic-copy {
    margin-inline: auto;
    max-width: 720px;
  }

  .hero-reel {
    margin-inline: auto;
    width: min(760px, 100%);
  }

  .trail-film-head {
    grid-template-columns: 1fr;
  }

  .trail-film-head h2,
  .trail-film-copy > p {
    max-width: 680px;
  }
}

@media (width <= 720px) {
  .cinematic-hero {
    min-height: auto;
  }

  .cinematic-hero::before {
    background-position: 58% center;
  }

  .cinematic-hero::after {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--hero-shadow) 96%, transparent) 0%, color-mix(in srgb, var(--hero-shadow) 82%, transparent) 46%, color-mix(in srgb, var(--hero-shadow) 52%, transparent) 70%, color-mix(in srgb, var(--hero-shadow) 95%, transparent) 100%),
      linear-gradient(90deg, color-mix(in srgb, var(--hero-shadow) 72%, transparent), transparent 75%);
  }

  .nav-hero .cinematic-grid {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 68px 0 76px;
    width: calc(100% - 32px);
  }

  .cinematic-copy h1 {
    font-size: clamp(48px, 14.5vw, 64px);
    margin-top: 22px;
    max-width: 9ch;
  }

  .cinematic-copy .lede {
    font-size: 14px;
    margin-top: 24px;
    max-width: 36ch;
  }

  .cinematic-copy .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cinematic-copy .hero-actions a {
    width: 100%;
  }

  .cinematic-copy .proof-line {
    font-size: 7px;
  }

  .hero-beta-note {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .hero-beta-note b {
    grid-column: 2;
  }

  .hero-reel {
    order: -1;
  }

  .hero-reel-frame {
    border-radius: 14px;
  }

  .hero-reel-chip {
    left: 9px;
    padding: 6px 10px;
    top: 9px;
  }

  .cinematic-caption {
    bottom: 18px;
    font-size: 6px;
  }

  .cinematic-caption span:last-child {
    display: none;
  }

  .links a {
    font-size: 7.5px;
    white-space: nowrap;
  }

  .steps-cards .card,
  .compatibility-cards .card {
    min-height: 0;
  }

  .beta-panel {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .compatibility-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .compatibility-actions a {
    width: 100%;
  }

  .trail-film-player figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

.faq{display:grid;gap:10px;max-width:760px}
.faq details{border:1px solid var(--line);border-radius:14px;padding:16px 20px;background:var(--panel,#fff)}
.faq summary{font-weight:750;cursor:pointer;font-size:15px}
.faq p{margin-top:10px;color:var(--ink2,#555);font-size:13.5px;line-height:1.65}

/* D-213: the mountain-biking chapter opens dark, like the film, so the deepest sport reads as its own part. */
.mtb-band {
  background: #090c0a;
  color: #f4f6f2;
}

.mtb-band h2 {
  color: #f4f6f2;
}

.mtb-band .s-head p {
  color: rgba(244, 246, 242, .72);
}

.mtb-band .button-primary {
  background: var(--hero-accent, #c8f03c);
  border-color: var(--hero-accent, #c8f03c);
  color: #050505;
}

.mtb-band .button-secondary {
  border-color: #555c55;
  color: #f4f6f2;
}
