/* =========================================================================
   DUAL — Marketing v2
   Desktop-first (canonical Figma frame = 1440px). Responsive rules at the end.
   ========================================================================= */

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-chip: #f3f3f3;
  --dark-card: #1b1b1b;
  --green: #489966;
  --orange: #fe7527; /* DUAL brand orange */
  --orange-tint: rgba(
    255,
    208,
    144,
    0.2
  ); /* warm "highlight pill" glow (badge) */

  --glass-10: rgba(255, 255, 255, 0.1);
  --glass-15: rgba(255, 255, 255, 0.15);
  --glass-16: rgba(255, 255, 255, 0.16);
  --glass-20: rgba(255, 255, 255, 0.2);
  --glass-30: rgba(255, 255, 255, 0.3);
  --step-bg: rgba(234, 234, 234, 0.2);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;

  --shadow-chip: 0 0 16px rgba(0, 0, 0, 0.16);
  --gutter: 80px;
  --content: 1280px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  /* no overflow-x clip here — it would crop the full-bleed hero.
     body { overflow-x: hidden } is the horizontal-overflow guard. */
}

/* ---- recolorable icon (CSS mask over the Figma SVGs) -------------------- */
.ic {
  display: inline-block;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}

/* ---- shared buttons ---------------------------------------------------- */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 51px;
  padding: 16px 24px;
  border-radius: 40px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}
.btn-download .apple {
  width: 22px;
  height: 22px;
  color: var(--black);
  --ic: url('assets/apple-icon.svg');
}

/* carousel arrow buttons */
.car-nav {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.car-btn {
  width: 42px;
  height: 42px;
  border-radius: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16.8px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.car-btn svg {
  width: 25px;
  height: 25px;
}
.car-btn.prev {
  background: var(--glass-15);
  color: var(--white);
}
.car-btn.next {
  background: var(--white);
  color: var(--black);
}
.car-btn:hover {
  transform: scale(1.06);
}
.car-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}
.nav__logo {
  width: 132px;
  height: 27px;
  color: var(--white);
  --ic: url('assets/logo-wordmark.svg');
}
/* audience toggle (Creator | Athlete) — drives the ?view= state */
.nav__toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 40px;
  background: var(--glass-20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__tab {
  height: 50px;
  padding: 10px 24px;
  border-radius: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.nav__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}
.nav__tab.is-active {
  background: var(--white);
  color: var(--black);
}
.nav__tab.is-active:hover {
  color: var(--black);
}

/* =========================================================================
   VIEW SWITCHING (athlete / creator / coach)
   ========================================================================= */
/* Each view hides the sections tagged for the other two. `.v-pro` is shown in
   BOTH pro views (creator + coach) and hidden only for athlete — used for the
   shared surfaces (earnings calculator, converter carousel). */
body[data-view='creator'] .v-athlete,
body[data-view='coach'] .v-athlete {
  display: none !important;
}
body[data-view='athlete'] .v-creator,
body[data-view='coach'] .v-creator {
  display: none !important;
}
body[data-view='athlete'] .v-coach,
body[data-view='creator'] .v-coach {
  display: none !important;
}
body[data-view='athlete'] .v-pro {
  display: none !important;
}
/* The Pros view runs the calculator in a single dedicated "coach" mode, so the
   influencer mode toggle (One Workout / One Program / One Reel) is hidden. */
body[data-view='coach'] .hero-calc__seg {
  display: none !important;
}

/* Pros view — product-depth feature strip (library / custom exercises + AI /
   progression + strength calibration). Skimmable credibility for coaches. */
.pro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 800px) {
  .pro-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.pro-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-15);
}
.pro-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange);
}
.pro-feature__icon svg {
  width: 24px;
  height: 24px;
}
.pro-feature__head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  color: var(--white);
}
.pro-feature__desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

/* Calibration deep-dive — names the real methods for a strength-literate
   audience. Faint orange wash + mono method pills read as "engineered". */
.calib-deep {
  margin-top: 24px;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(254, 117, 39, 0.06);
  border: 1px solid rgba(254, 117, 39, 0.18);
}
@media (min-width: 800px) {
  .calib-deep {
    padding: 32px;
  }
}
.calib-deep__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}
.calib-deep__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 0 20px;
}
.method-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.method-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--orange);
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--orange-tint);
  border: 1px solid rgba(254, 117, 39, 0.25);
  white-space: nowrap;
}
/* Curated-only sections (e.g. creator grid) stay hidden until real
   admin-managed tiles load — never show placeholder cards. main.js removes
   this class once the slot resolves with at least one card. */
.is-tiles-empty {
  display: none !important;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__signin {
  height: 51px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav__signin:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile header controls + slide-down menu — hidden on desktop, shown <=760px */
.nav__menu-btn,
.nav__profile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}
.nav__menu-btn svg,
.nav__profile-btn svg {
  width: 26px;
  height: 26px;
}
.nav__menu-icon {
  display: inline-flex;
}
.nav__menu-icon--close {
  display: none;
}
.nav__menu-btn[aria-expanded='true'] .nav__menu-icon--open {
  display: none;
}
.nav__menu-btn[aria-expanded='true'] .nav__menu-icon--close {
  display: inline-flex;
}
.mobile-menu {
  display: none;
}
/* Persistent mobile audience toggle (under the header). Desktop uses the
   centred .nav__toggle instead, so this is hidden until <=760px. */
.audience-pill {
  display: none;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  /* full-bleed: break out of the 1440 page cap so the video spans the viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* ~20% shorter than the original 840px — the bottom-anchored copy sat too low
     with dead space above. Applies to both athlete + creator views. */
  height: 672px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding-bottom: 58px;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Never let the video capture taps — the hero CTAs sit above it, and this
     stops iOS treating a tap on the video as "show controls". */
  pointer-events: none;
}
/* iOS shows a native "start playback" button (and a controls overlay) on a
   muted inline video when it declines to autoplay (Low Power / Low Data Mode).
   Hide those so the hero never shows a play glyph over the poster; main.js
   nudges playback on load and on the first user gesture instead. */
.hero__bg::-webkit-media-controls,
.hero__bg::-webkit-media-controls-start-playback-button,
.hero__bg::-webkit-media-controls-panel,
.hero__bg::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
}
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 493px;
  background: linear-gradient(to top, var(--black) 0%, rgba(0, 0, 0, 0) 64.6%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 24px;
  background: var(--glass-20);
  box-shadow: var(--shadow-chip);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
}
/* Audience-tinted hero badges (Figma 283:55 athlete / 54:3847 creator). */
.badge-pill--athlete {
  background: rgba(144, 255, 207, 0.2);
  color: #58eb8e;
}
.badge-pill--creator {
  background: var(--orange-tint);
  color: var(--orange);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.2;
  color: var(--white);
}
.hero__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
}

/* =========================================================================
   HERO — potential-earnings calculator (creator view only)
   Desktop: a glass card floating over the right of the hero video.
   Mobile/tablet (<=1100px, see media query): stacks under the hero copy.
   ========================================================================= */
/* Standalone hero download button (moved out of .hero__inner). Needs its own
   stacking context so it paints above the .hero__fade gradient (z-index 1). */
.hero__download {
  position: relative;
  z-index: 2;
}

/* Its own full-width band on black below the hero. */
.calc-band {
  background: var(--black);
  padding: 64px var(--gutter) 96px;
  display: flex;
  justify-content: center;
}
/* The card. Single column on mobile (controls then result, so the number lands
   below the breakdown); two columns from 900px up. */
.hero-calc {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 24px;
  text-align: left;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-15);
}
.hero-calc__controls {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-calc__result {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .hero-calc {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 48px;
  }
}
.hero-calc__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 16px;
}
.hero-calc__seg {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  padding: 2px;
  border-radius: 40px;
  background: var(--glass-20);
}
.hero-calc__segbtn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
/* Selected mode = white pill, dark text (Figma 481:94). */
.hero-calc__segbtn.is-on {
  background: var(--white);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
}
.hero-calc__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-calc__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.hero-calc__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
}
.hero-calc__valnum {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  white-space: nowrap;
}
.hero-calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  /* Fallback before JS paints the orange fill (paintFill in hero-calc.js). */
  background: var(--glass-16);
  outline: none;
  margin: 0;
}
.hero-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.hero-calc__slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.hero-calc__divider {
  width: 100%;
  height: 1px;
  background: var(--glass-15);
  margin: 20px 0 16px;
}
/* Reel product sub-toggle (workout vs program) rendered as a calc row. */
.hero-calc__subseg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: var(--glass-10);
  border: 1px solid var(--glass-15);
}
.hero-calc__subbtn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 7px 6px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
}
.hero-calc__subbtn.is-on {
  background: var(--glass-20);
  color: #fff;
}
.hero-calc__out {
  margin: 16px 0 0;
}
.hero-calc__per {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-calc__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  color: #fff;
}
.hero-calc__range {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}
.hero-calc__math {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.hero-calc__math li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--glass-10);
}
.hero-calc__math li:first-child {
  padding-top: 0;
}
.hero-calc__math li:last-child {
  border-bottom: none;
}
.hero-calc__math .lbl {
  font-family: var(--font-display);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}
.hero-calc__math .val {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.hero-calc__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 40px;
  /* White pill, dark text (Figma 481:179). */
  background: var(--white);
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.hero-calc__fine {
  margin: 12px 0 0;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

/* The calculator now lives in its own .calc-band section below the hero, so
   the creator hero centres exactly like the athlete hero — no float to make
   room for. */

/* =========================================================================
   Generic dark section
   ========================================================================= */
.section {
  background: var(--black);
  padding: 140px var(--gutter);
}
.section--bleed {
  padding-right: 0;
}
.section__head {
  width: var(--content);
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--white);
}
.section__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  margin-top: 16px;
}

/* =========================================================================
   SECTION — Follow their routines
   ========================================================================= */
.follow {
  display: flex;
  gap: 80px;
  align-items: center;
  width: var(--content);
  max-width: 100%;
  margin: 0 auto;
}
.follow__media {
  flex: none;
  width: 600px;
  height: 600px;
  border-radius: 32px;
  background: linear-gradient(to bottom, #d9814b, #999999);
  overflow: hidden;
  position: relative;
}
.follow__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.follow__progress {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.2);
}
.follow__progress span {
  width: 24px;
  height: 4px;
  border-radius: 8px;
  background: #8d8b8b;
}
.follow__progress span:first-child {
  background: #fdfcfd;
}
.follow__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.follow__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  max-width: 468px;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--grey-chip);
  box-shadow: var(--shadow-chip);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 12px;
}
.chip .ic {
  width: 16px;
  height: 16px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.step__num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 24px;
  background: var(--step-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  position: relative;
  z-index: 1;
}
/* connecting line between step numbers */
.step:not(:last-child) .step__num::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.4);
}
.step__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  max-width: 461px;
}

/* athlete "follow" body paragraph (no numbered steps) */
.follow__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 514px;
}
.follow__title--wide {
  max-width: 532px;
}
/* image-cover variant (renders a full-bleed photo, no gradient backdrop) */
.follow__media--cover {
  background: var(--black);
}

/* detailed steps: bold head + description, full-height connector */
.step__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step__head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}
.step__desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  max-width: 461px;
}
.steps--detailed .step__num::after {
  display: none;
}
.steps--detailed::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

/* =========================================================================
   SECTION — Creators already on DUAL (athlete grid)
   ========================================================================= */
.carousel--creators {
  gap: 16px;
}
.creator-card {
  flex: none;
  width: 350px;
  height: 528px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #111;
  scroll-snap-align: start;
}
.creator-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.creator-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 54.5%,
    rgba(0, 0, 0, 0.8) 100%
  );
}
.creator-card__handle {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px 8px 8px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
}
.creator-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}
.creator-card__open {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 40px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.creator-card__open:hover {
  transform: scale(1.06);
}
.creator-card__open .ic {
  width: 24px;
  height: 24px;
  color: var(--black);
}
.creator-card__pills {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}
.cc-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--glass-20);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
}
.cc-pill--users {
  background: var(--glass-10);
}
.cc-pill .ic {
  width: 14px;
  height: 14px;
}

/* =========================================================================
   SECTION — Share what you already do (upload / AI carousel)
   ========================================================================= */
.carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: var(--gutter);
  scroll-padding-left: 0;
}
.carousel::-webkit-scrollbar {
  display: none;
}

/* Three share slides (Upload / AI generate / Build). Each card is a flex
   column: badge, a decoration "stage", then a flowing caption. The decorations
   live on a fixed 720x300 design canvas (.up-stage__fit) that is uniformly
   scaled via --fit, so desktop and mobile share ONE coordinate system and the
   caption always reflows below. */
.up-card {
  --fit: 1;
  flex: none;
  width: 862px;
  height: 526px;
  border-radius: 32px;
  background: var(--glass-10);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 32px;
  gap: 20px;
}
.up-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--grey-chip);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 16px;
}
.up-badge .ic {
  width: 16px;
  height: 16px;
}
.up-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
}
.up-stage__fit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 300px;
  transform: translate(-50%, -50%) scale(var(--fit));
  transform-origin: center;
}
.up-caption {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35;
  color: var(--white);
}
.up-caption b {
  font-weight: 700;
}

/* floating set/reps table */
.set-table {
  position: absolute;
  border-radius: 18px;
  background: var(--glass-20);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
}
.set-table--full {
  top: 0;
  right: 0;
}
.set-table--mini {
  top: 96px;
  left: 0;
  width: 240px;
  background: var(--glass-30);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
}
.set-table__head,
.set-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  align-items: center;
}
.set-table__head span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  text-align: center;
  color: var(--white);
}
.set-table__row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: var(--white);
  padding: 6px 0;
}
.set-table__row--hl {
  background: var(--glass-30);
  border-radius: 14px;
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.12);
}

/* tilted 3D objects (upload box, build card) */
.up-obj {
  position: absolute;
}
.up-obj--upload {
  width: 206px;
  left: 150px;
  top: 64px;
  transform: rotate(4.64deg);
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.4));
}
.up-obj--flame {
  width: 210px;
  left: 248px;
  top: 30px;
}
.up-obj--build {
  width: 142px;
  height: 168px;
  right: 96px;
  top: 52px;
  border-radius: 12px 12px 36px 36px;
  background-image: url('/marketing/v2/assets/obj-build-card.png');
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 150%;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.4));
}

/* status pills floating on the AI card */
.status-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 13px;
  background: var(--glass-30);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
}
.up-card--ai .sp1 {
  top: 12px;
  left: 392px;
}
.up-card--ai .sp2 {
  top: 110px;
  left: 430px;
}
.up-card--ai .sp3 {
  top: 214px;
  left: 196px;
}

/* exercise rows on the Build card */
.ex-rows {
  position: absolute;
  top: 36px;
  left: 70px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 252px;
}
.ex-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  border-radius: 15px;
  background: var(--glass-30);
  box-shadow: 0 0 17px rgba(0, 0, 0, 0.12);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.ex-row__thumb {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.9);
}

/* =========================================================================
   SECTION — You don't see the whole picture
   ========================================================================= */
.picture {
  position: relative;
  background: var(--black);
  height: 721px;
  overflow: hidden;
  padding: 0;
}
.picture__head {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 102px;
  max-width: 792px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.picture__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
}
.picture__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  width: 611px;
  max-width: 100%;
  margin: 0 auto;
}
.picture__glow {
  position: absolute;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);
  width: 1240px;
  max-width: none;
  height: auto;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 26%),
    linear-gradient(
      to right,
      transparent 0,
      #000 15%,
      #000 85%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 26%),
    linear-gradient(
      to right,
      transparent 0,
      #000 15%,
      #000 85%,
      transparent 100%
    );
  mask-composite: intersect;
}
.picture__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 174px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--black));
  z-index: 2;
}

/* compact program card (mini) */
.mini-card {
  position: absolute;
  left: 50%;
  top: 290px;
  transform: translateX(-50%);
  z-index: 3;
  width: 284px;
  border-radius: 18px;
  background: var(--glass-15);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.16);
  padding: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mini-card__img {
  width: 100%;
  height: 177px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.mini-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mini-card__body {
  padding: 12px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-badges {
  display: flex;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
}
.tag--live {
  background: var(--black);
  color: var(--white);
}
.tag--live .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff5a5a;
}
.tag--grey {
  background: var(--grey-chip);
  color: var(--black);
}
.mini-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.mini-pills {
  display: flex;
  gap: 6px;
}
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 18px;
  background: var(--dark-card);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.16);
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--white);
}
.mini-pill .ic {
  width: 11px;
  height: 11px;
}
.mini-by {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--white);
}
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

/* =========================================================================
   SECTION — Get more than social media (program cards)
   ========================================================================= */
.prog-card {
  flex: none;
  width: 700px;
  height: 718px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #111;
  scroll-snap-align: start;
}
.prog-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Balanced crop: portrait covers no longer lose their whole bottom to the
     top-anchor; landscape covers are unaffected (no vertical overflow). */
  object-position: center;
}
.prog-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 49.7%,
    rgba(0, 0, 0, 0) 100%
  );
}
.prog-card__view {
  position: absolute;
  top: 48px;
  right: 49px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 12px 24px;
  border-radius: 40px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}
.prog-card__view .ic {
  width: 24px;
  height: 24px;
}
.prog-card__body {
  position: absolute;
  left: 49px;
  right: 49px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.prog-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
}
.prog-card__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 16px;
}
.prog-meta {
  display: flex;
  gap: 8px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--grey-chip);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
}
.meta-pill .ic {
  width: 16px;
  height: 16px;
}
.prog-feats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
}
.feat .ic {
  width: 20px;
  height: 20px;
}
.trial {
  background: var(--glass-10);
  border-radius: 24px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trial__badges {
  display: flex;
  gap: 8px;
}
.trial__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
}
.trial__sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
}
.tag--green {
  background: var(--green);
  color: var(--white);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
}
.tag--grey-sq {
  background: var(--grey-chip);
  color: var(--black);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-family: var(--font-mono);
}

/* =========================================================================
   SECTION — FAQ
   ========================================================================= */
.faq {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  width: var(--content);
  max-width: 100%;
  margin: 0 auto;
}
.faq__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq__item {
  border-radius: 24px;
  transition: background 0.2s ease;
}
.faq__item.is-open {
  background: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px;
  text-align: left;
}
.faq__item:not(.is-open) .faq__q {
  padding: 12px 28px;
}
.faq__q-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
}
.faq__toggle {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.faq__item.is-open .faq__toggle {
  background: var(--white);
  color: var(--black);
}
.faq__toggle svg {
  width: 20px;
  height: 20px;
}
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq__a-inner {
  padding: 0 28px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.faq__heading {
  flex: none;
  width: 300px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  color: var(--white);
  padding-top: 8px;
}

/* =========================================================================
   FOOTER / final CTA
   ========================================================================= */
.footer {
  background: var(--black);
  padding: 140px 64px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 188px;
}
.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
  width: 681px;
  max-width: 100%;
}
.footer__cta-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.app-mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-mark .ic {
  width: 56px;
  height: 12px;
  color: var(--white);
  --ic: url('assets/logo-mark.svg');
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}
.footer__phone {
  position: relative;
  width: 578px;
  height: 704px;
}
.footer__phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}
.footer__phone::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 131px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--black) 50%);
}
.footer__bottom {
  display: flex;
  gap: 139px;
  align-items: flex-start;
  width: 100%;
  max-width: var(--content);
}
.footer__wordmark {
  flex: 1;
  height: 144px;
  color: var(--white);
  --ic: url('assets/logo-wordmark.svg');
  -webkit-mask-position: left center;
  mask-position: left center;
}
.footer__links {
  display: flex;
  gap: 64px;
  width: 389px;
  justify-content: space-between;
  flex: none;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 43px;
}
.footer__col a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.footer__col a:hover {
  opacity: 0.7;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

/* Scale the whole canonical layout down on mid screens before reflowing */
@media (max-width: 1440px) {
  :root {
    --gutter: clamp(24px, 5.5vw, 80px);
  }
}

@media (max-width: 1100px) {
  /* The calculator is its own section below the hero now (.calc-band), so the
     creator hero keeps the same fixed-height treatment as the athlete hero —
     no per-view override needed here. */
  .follow {
    flex-direction: column;
    width: 100%;
    gap: 40px;
  }
  .follow__media {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1;
  }
  .follow__body {
    width: 100%;
  }
  .faq {
    flex-direction: column;
    width: 100%;
    gap: 32px;
  }
  .faq__heading {
    width: 100%;
    text-align: left;
    order: -1;
    font-size: 44px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }
  .footer__wordmark {
    width: 100%;
    height: clamp(72px, 14vw, 144px);
  }
  .footer__links {
    width: 100%;
    justify-content: flex-start;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 80px var(--gutter);
  }
  .section--bleed {
    padding-right: 0;
  }
  .hero {
    height: 640px;
    padding-bottom: 40px;
  }
  /* Creator hero matches the athlete hero now that the calculator is its own
     section below (.calc-band). */
  .nav {
    padding: 0 16px;
  }
  .hero__inner {
    width: 100%;
    padding: 0 20px;
  }
  .hero__copy {
    width: 100%;
  }
  /* width:100% (not just max-width) overrides the flex align-items:center
     shrink-to-content so the title fills the column and wraps. */
  .hero__title {
    width: 100%;
    font-size: clamp(24px, 7.4vw, 40px);
    line-height: 1.1;
    overflow-wrap: break-word;
  }
  .hero__sub {
    width: 100%;
    font-size: 14px;
  }
  /* --- Mobile header: hamburger (left) + logo (centre) + profile (right) --- */
  .nav__toggle,
  .nav__right {
    display: none;
  }
  .nav__menu-btn,
  .nav__profile-btn {
    display: inline-flex;
  }
  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
  }
  /* --- Mobile slide-down menu --- */
  body.menu-open {
    overflow: hidden;
  }
  .mobile-menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    /* Under the header (z 50) so the close (X) and logo stay tappable. */
    z-index: 40;
    background: rgba(10, 10, 12, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 98px 24px 40px;
  }
  .mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  /* Persistent audience toggle, centred just under the header. */
  .audience-pill {
    display: inline-flex;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    gap: 5px;
    padding: 3px;
    border-radius: 40px;
    background: var(--glass-20);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  /* ~20% smaller than the original 36px/14px element. */
  .audience-pill .nav__tab {
    height: 29px;
    padding: 6px 18px;
    font-size: 12px;
  }
  .mobile-menu__link {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    color: var(--white);
    padding: 14px 0;
  }
  .mobile-menu__download {
    align-self: flex-start;
    margin-top: 24px;
  }
  .section__title,
  .follow__title,
  .prog-card__title {
    font-size: 26px;
  }
  .picture__title {
    font-size: 30px;
  }
  .picture__sub {
    font-size: 15px;
    width: 100%;
    padding: 0 24px;
  }
  .footer {
    padding: 80px 24px 48px;
    gap: 96px;
  }
  .footer__cta,
  .footer__phone {
    width: 100%;
  }
  .footer__phone {
    height: auto;
    aspect-ratio: 578 / 704;
  }
  .footer__phone img {
    position: static;
    width: 100%;
    height: 100%;
  }
  .footer__title {
    font-size: clamp(26px, 7.5vw, 40px);
    max-width: 100%;
  }
  .footer__links {
    flex-direction: column;
    gap: 32px;
  }
  .faq__q-text {
    font-size: 20px;
  }
  .carousel {
    scroll-snap-type: x mandatory;
  }
  /* Cards shrink to the viewport (were frozen at desktop size). The program
     card stays portrait and its dense content (title, pills, feats, trial) is
     re-scaled — feats stack, type tightens — so nothing clips or collides. */
  .prog-card {
    width: min(88vw, 370px);
    height: 600px;
  }
  .prog-card__view {
    top: 16px;
    right: 16px;
    padding: 9px 9px 9px 16px;
    font-size: 13px;
  }
  .prog-card__view .ic {
    width: 18px;
    height: 18px;
  }
  .prog-card__body {
    left: 22px;
    right: 22px;
    bottom: 24px;
    gap: 16px;
  }
  .prog-card__title {
    font-size: 22px;
  }
  .prog-card__by {
    margin-top: 8px;
    font-size: 14px;
  }
  .meta-pill {
    font-size: 12px;
    padding: 7px 11px;
  }
  /* Stack feature rows so they read cleanly instead of clipping off the edge. */
  .prog-feats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .feat {
    font-size: 13px;
    gap: 10px;
  }
  .feat .ic {
    width: 18px;
    height: 18px;
  }
  .trial {
    padding: 16px 18px 18px;
    gap: 8px;
  }
  .trial__title {
    font-size: 16px;
  }
  .trial__sub {
    font-size: 13px;
  }
  .creator-card {
    width: min(66vw, 300px);
    height: auto;
    aspect-ratio: 350 / 528;
  }
  /* Share slides reflow to a portrait card: badge, a scaled-down decoration
     stage, then the caption flowing full-width beneath it. The decoration
     canvas just scales via --fit, so nothing inside needs repositioning. */
  .up-card {
    --fit: 0.46;
    width: min(90vw, 380px);
    height: auto;
    padding: 24px;
    gap: 24px;
  }
  .up-stage {
    min-height: 150px;
  }
  .up-caption {
    font-size: 16px;
  }
}
