/* ─────────────────────────────────────────────
   Cleanpull marketing site
   Design tokens from design handoff (direction 2a)
   ───────────────────────────────────────────── */

/* Barlow, self-hosted from @fontsource so the page does not block render on a
   Google Fonts round trip. The files are copied out of node_modules by
   build.py; adding a weight here means adding it to FONT_FILES too. Latin
   subset only, matching what Google Fonts served — glyphs outside it (★, emoji)
   fall back to the system font exactly as they did before. */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/barlow-semi-condensed-latin-800-normal.woff2') format('woff2');
}

:root {
  --sand: #F4F1EB;
  --dark: #1A1712;
  --surface: #2A2620;
  --surface-2: #211D17;
  --surface-3: #3B3730;
  --orange: #F15A29;
  --orange-text: #F05928;
  --orange-hover: #D6461A;
  --orange-deep: #B0492A;
  --text-body-dark: #B8B0A6;
  --text-body-sand: #5C574F;
  --muted: #8A847C;
  --muted-2: #6E6862;
  --hairline-dark: #2A2620;
  --hairline-light: #E7E2DB;

  --font-heading: 'Barlow Semi Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --pad-x: 48px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 90px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* The page below the hero is dark; the header and hero paint sand
   over it. Keeping the body dark also keeps overscroll past the
   footer from flashing sand. */
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-hover); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, p, ul { margin: 0; }

:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; }
.cta :focus-visible { outline-color: var(--dark); }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Content is capped at the 1360px design canvas and centered; section
   backgrounds and hairlines stay full-bleed. */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.row-between { display: flex; justify-content: space-between; }
.row-between.baseline { align-items: baseline; }

/* ── Shared: eyebrow, logo tile ─────────────── */

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow--sand { color: var(--orange-deep); }

.logo-tile {
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-tile svg { display: block; }
.logo-tile--nav { width: 30px; height: 30px; border-radius: 8px; }
.logo-tile--app { width: 26px; height: 26px; border-radius: 7px; }
.logo-tile--footer { width: 22px; height: 22px; border-radius: 6px; }

/* ── Nav ────────────────────────────────────── */

.nav {
  background: var(--sand);
  border-bottom: 1px solid var(--hairline-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.brand-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 1.2px;
  color: var(--dark);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body-sand);
  padding: 10px 0; /* 44px tap target */
  margin: -10px 0;
}
.nav-links a:hover { color: var(--dark); }

.nav-links .nav-cta {
  border-radius: 999px;
  padding: 10px 18px;
  margin: -10px 0;
  background: var(--orange);
  color: #fff;
}
.nav-links .nav-cta:hover { background: var(--orange-hover); color: #fff; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--dark);
  cursor: pointer;
}

/* ── Hero ───────────────────────────────────── */

.hero {
  background: var(--sand);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: center;
  padding-top: 80px;
}

.hero-copy {
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 78px;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--dark);
  margin-top: 0;
}
.hero-title-orange { color: var(--orange-text); }

/* The eyebrow lives inside the h1 so the heading carries the keyword
   line, but it keeps the small-caps look it had as a standalone div.
   Resets the inherited display heading metrics. */
.hero-title-eyebrow {
  display: block;
  line-height: normal;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-body-sand);
  line-height: 1.55;
  max-width: 470px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button--dark {
  background: var(--dark);
  color: #fff;
}
.button--dark:hover { background: var(--surface); color: #fff; }

.hero-text-link {
  padding: 12px 2px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
}
.hero-text-link:hover { color: var(--orange-deep); }
.hero-text-link span { margin-left: 4px; }

.badge-row {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.badge-row--center { justify-content: center; margin-top: 36px; }

.hero-subline {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body-sand);
  margin-top: 16px;
}
.hero-subline strong { color: var(--dark); font-weight: 700; }

/* Store badges */

.store-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 13px;
  padding: 11px 20px;
  cursor: pointer;
  min-height: 44px;
}

.store-badge--solid {
  background: var(--dark);
  color: #fff;
}
.store-badge--solid:hover { background: var(--surface); color: #fff; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.store-badge-small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-body-dark);
}
.store-badge-big {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Hero art: diamond + phone */

.hero-art { position: relative; height: 640px; min-width: 0; }

.hero-stage {
  position: relative;
  width: 520px;
  height: 640px;
}

.hero-diamond {
  position: absolute;
  top: 110px;
  left: 10px;
  width: 520px;
  height: 520px;
  background: var(--orange);
  transform: rotate(45deg);
  border-radius: 56px;
}

/* ── Phone mockup ───────────────────────────── */

.phone {
  position: absolute;
  top: 0;
  left: 70px;
  width: 402px;
  height: 874px;
  border-radius: 48px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}

.phone-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 154px; /* clears the dynamic island between the two halves */
  padding: 21px 24px 19px;
}

.phone-time {
  flex: 1;
  text-align: center;
  font-family: -apple-system, 'SF Pro', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  color: #fff;
}

.phone-status-icons {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.phone-screen {
  height: 100%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
}

.phone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 139px;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 60;
}

/* App UI inside the phone */

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 58px 16px 12px;
  border-bottom: 1px solid var(--hairline-dark);
}

.app-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.2px;
  color: #fff;
  text-transform: uppercase;
}

.app-coach-pill {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-body {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-athlete {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar--54 { width: 54px; height: 54px; }
.avatar--38 { width: 38px; height: 38px; }

.athlete-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}
.panel--athlete .athlete-name { font-size: 24px; }

.app-athlete-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}

.app-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
}
.app-card--maxes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.app-label--orange { color: var(--orange); }

.app-label-dim {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-2);
}

.app-bigstat {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.app-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.maxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.max-cell {
  background: var(--dark);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.max-name { font-size: 13px; font-weight: 500; color: var(--muted); }
.max-val {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.progress {
  height: 8px;
  border-radius: 4px;
  background: var(--dark);
  margin-top: 10px;
  overflow: hidden;
}
.progress--tight { margin-top: 8px; }
.progress-fill { height: 100%; background: var(--orange); border-radius: 4px; }

.app-row-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.app-row-label { flex: 1; font-size: 16px; font-weight: 600; color: #fff; }
.app-row-chevron { color: var(--muted-2); font-size: 20px; }

/* ── Testimonials ───────────────────────────── */

.testimonials {
  padding: 96px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}

.testimonials-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  margin: 0 auto;
}

.testimonials-head {
  max-width: 680px;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
}

.testimonial-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--surface-3);
  border-radius: 50%;
  background: var(--surface);
  color: #fff;
  cursor: pointer;
}
.testimonial-control:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.testimonial-control:disabled { opacity: 0.35; cursor: default; }

.testimonial-track {
  --testimonial-edge: max(var(--pad-x), calc((100vw - 1360px) / 2 + var(--pad-x)));
  display: flex;
  gap: 16px;
  width: 100vw;
  max-width: none;
  margin: 48px 0 0 calc(50% - 50vw);
  padding: 0 var(--testimonial-edge) 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: var(--testimonial-edge);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-rating {
  display: inline-flex;
  gap: 1px;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.testimonial-star-empty { color: var(--muted-2); }

.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  min-height: 310px;
  margin: 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--surface-3);
  border-radius: 18px;
  scroll-snap-align: start;
}

.testimonial-quote {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong,
.testimonial-person > span:last-child > span {
  display: block;
}

.testimonial-person strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonial-person > span:last-child > span {
  margin-top: 2px;
  color: var(--text-body-dark);
  font-size: 13px;
  font-weight: 500;
}

/* ── Feature sections ───────────────────────── */

.feature { padding: 104px 0; }

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 72px;
  align-items: center;
}

.feature + .feature,
.faq { border-top: 1px solid var(--hairline-dark); }

.feature--flip .feature-inner { grid-template-columns: 560px 1fr; }

.feature-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 46px;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  margin-top: 16px;
}

.feature-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.55;
  max-width: 460px;
  margin-top: 20px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.feature-bullets li::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.feature-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Feature 01 · Program builder mockup */

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-2);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill--active { background: var(--orange); color: #fff; font-weight: 800; }
.pill--add { background: transparent; border: 1.5px dashed #4A443C; }
.pill--mini { background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 11px; gap: 6px; }

.pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.pill-dot--white { background: #fff; }
.pill-dot--blue { background: #2E7DF6; }
.pill-dot--green { background: #2E9E6B; }

.panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
}

.panel-head { display: flex; align-items: center; gap: 9px; }

.scheme-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

.panel-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.segmented {
  margin-left: auto;
  display: flex;
  gap: 3px;
  background: var(--dark);
  border-radius: 10px;
  padding: 3px;
}

.segment {
  color: var(--muted);
  padding: 6px 13px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.segment--active { background: var(--surface-3); color: #fff; border-radius: 8px; }

.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 152px;
  margin-top: 18px;
}

.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
  position: relative;
}

.chart-bar {
  background: var(--orange);
  opacity: 0.36;
  border-radius: 4px;
}
.chart-bar--full { opacity: 1; }

.chart-week {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
}
.chart-week--final { color: #fff; }

.chart-peak-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 16px;
}

.stepper-label { font-size: 13px; font-weight: 600; color: var(--text-body-dark); }

.stepper-controls { display: flex; align-items: center; gap: 10px; }

.stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface-3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
}

.stepper-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.stepper-unit { font-size: 12px; color: var(--muted); }

.exercise-row {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.exercise-name { flex: 1; font-size: 16px; font-weight: 600; color: #fff; }
.exercise-weeks { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Feature 02 · Athlete management mockup */

.panel--athlete {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workout-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
}

.workout-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-3);
  margin-top: 6px;
}
.workout-row--last { border-bottom: none; padding-bottom: 2px; margin-top: 0; }

.workout-lift { font-size: 15px; font-weight: 600; color: #fff; }
.workout-sets { font-size: 12px; font-weight: 500; color: var(--muted); }
.workout-right { text-align: right; }
.workout-weight {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

/* Feature 03 · Video review mockup */

.panel--review {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-head { display: flex; align-items: center; gap: 10px; }
.review-who { flex: 1; }
.review-name { font-size: 15px; font-weight: 600; color: #fff; }
.review-set { font-size: 12px; font-weight: 500; color: var(--muted); }

.status-pill {
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-pill--pending { background: rgba(224, 145, 47, 0.18); color: #E8B061; }

.video-placeholder {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 230px;
  background: repeating-linear-gradient(135deg, #211D17, #211D17 11px, #26221B 11px, #26221B 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(241, 90, 41, 0.4);
}

.play-triangle {
  width: 0;
  height: 0;
  border-left: 15px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.video-time {
  position: absolute;
  right: 10px;
  bottom: 9px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(26, 23, 18, 0.7);
  padding: 2px 8px;
  border-radius: 5px;
}

.video-caption {
  position: absolute;
  left: 10px;
  bottom: 9px;
  font-family: monospace;
  font-size: 11px;
  color: var(--muted-2);
}

.chat { display: flex; flex-direction: column; gap: 10px; }

.chat-line { display: flex; gap: 10px; align-items: flex-start; }
.chat-line--reply { justify-content: flex-end; }

.avatar-square {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.avatar-square--dw { background: var(--orange); color: #fff; }

.chat-bubble { padding: 11px 14px; font-size: 14px; line-height: 1.4; }
.chat-bubble--coach {
  background: var(--dark);
  border-radius: 6px 16px 16px 16px;
  color: #EDEAE4;
}
.chat-bubble--athlete {
  background: var(--surface-3);
  border-radius: 16px 16px 6px 16px;
  color: #fff;
  padding: 10px 14px;
}

/* ── Getting started ────────────────────────── */

.steps {
  padding: 104px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}

.steps-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.steps-lead {
  margin-top: 20px;
  color: var(--text-body-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  max-width: 1080px;
  margin: 48px auto 0;
}

.step-card {
  position: relative;
  min-width: 0;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--surface-3);
  border-radius: 18px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
}

.step-title {
  margin-top: 20px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.step-text {
  margin-top: 10px;
  color: var(--text-body-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

/* ── Pricing ────────────────────────────────── */

.pricing {
  padding: 104px 0;
  border-top: 1px solid var(--hairline-dark);
}

.pricing-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pricing-lead {
  margin-top: 22px;
  color: var(--text-body-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  max-width: 1120px;
  margin: 48px auto 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--surface-3);
  border-radius: 18px;
}

/* Pro carries the recommendation, so it gets the orange edge. */
.pricing-card--featured {
  position: relative;
  background: var(--surface-2);
  border-color: var(--orange);
  box-shadow: 0 20px 44px -24px rgba(241, 90, 41, 0.55);
}

.pricing-card-badge {
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
  padding: 5px 12px;
  background: var(--orange);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card-name {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Capacity is the only axis that changes between tiers, so the member
   count is set at display size inline with its sentence. */
.pricing-card-cap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: 12px;
  color: var(--text-body-dark);
  font-size: 15px;
  font-weight: 600;
}

.pricing-cap-count {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0 4px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--surface-3);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
}

.pricing-card--featured .pricing-card-price { border-top-color: rgba(241, 90, 41, 0.35); }

.pricing-amount {
  font-size: 48px;
  line-height: 1;
}

.pricing-period {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.pricing-card-annual {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
  margin-top: 10px;
  color: var(--text-body-dark);
  font-size: 15px;
  font-weight: 600;
}

/* The badge is the section's one orange pill; the saving is called out
   with weight and white instead of a second one. */
.pricing-save {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-save::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.pricing-card-for {
  margin-top: 20px;
  color: var(--text-body-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* Every tier ships the same features; saying it once beats repeating
   the list in all three cards. */
.pricing-includes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 20px 28px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: 16px;
}

.pricing-includes-title {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.pricing-includes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-left: auto;
  padding: 0;
  list-style: none;
}

.pricing-includes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.pricing-includes-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

.pricing-disclaimer {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* Shared text CTA */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.button--orange {
  background: var(--orange);
  color: #fff;
}
.button--orange:hover { background: var(--orange-hover); color: #fff; }

.pricing-button {
  display: flex;
  width: max-content;
  margin: 32px auto 0;
}

/* ── FAQ ────────────────────────────────────── */

.faq { padding: 104px 0; }

.faq-head { text-align: center; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: 48px auto 0;
}

.faq-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 22px 24px;
}

.faq-q {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.faq-a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.55;
  margin-top: 10px;
}

/* ── CTA band ───────────────────────────────── */

.cta {
  background: var(--orange);
  padding: 88px var(--pad-x);
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 60px;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--dark);
}

.cta-text {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.cta-subline {
  max-width: 760px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
  margin: 18px auto 0;
}

/* ── Footer ─────────────────────────────────── */

/* Owns its background rather than inheriting the body's: the tool pages set a
   sand body, which otherwise left white footer text on a cream ground. */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--hairline-dark);
}

/* Brand block takes the remaining space, then three link columns sized to
   their content, so the groups stay legible instead of drifting apart on a
   wide viewport. */
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, auto);
  gap: 40px 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-brand-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.brand--footer { gap: 9px; }

.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 24ch;
  margin: 0;
}

.footer-copyright { font-size: 12px; font-weight: 500; color: var(--muted-2); }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 2px;
}

.footer-col a,
.footer-col .footer-link-button {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
}
.footer-col a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────── */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 440px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; gap: 32px; }
  .pricing-includes { max-width: 560px; }
  .pricing-includes-list { margin-left: 0; }

  .hero-stage {
    transform: scale(0.85);
    transform-origin: top left;
  }

  .feature-inner,
  .feature--flip .feature-inner { grid-template-columns: 1fr 1fr; gap: 48px; }

  .testimonial-card { flex-basis: calc((100% - 32px) / 3); }

  .hero-title { font-size: 64px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 56px;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - (2 * var(--pad-x)));
    padding-bottom: 56px;
  }
  .hero-title { font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-subline { line-height: 1.45; }

  /* Diamond + phone move below the copy, scaled down and centered */
  .hero-art {
    height: 480px;
    display: flex;
    justify-content: center;
  }

  .hero-stage {
    transform: scale(0.75);
    transform-origin: top center;
  }

  .feature { padding: 72px 0; }

  .feature-inner,
  .feature--flip .feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Text always above its mockup on mobile */
  .feature--flip .feature-copy { order: -1; }

  .feature-title { font-size: 38px; }

  .testimonial-card { flex-basis: calc((100% - 16px) / 2); }

  .pricing { padding-top: 72px; padding-bottom: 72px; }
  .faq { padding-top: 72px; padding-bottom: 72px; }

  .testimonials { padding-top: 72px; padding-bottom: 72px; }

  .steps { padding-top: 72px; padding-bottom: 72px; }

  .cta { padding-top: 64px; padding-bottom: 64px; }
  .cta-title { font-size: 42px; }

  /* Collapse nav links behind a burger */
  .nav-inner { flex-wrap: wrap; gap: 16px; }
  .js .nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -11px 0 -11px auto;
  }
  .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
  }
  .js .nav-links {
    display: none;
  }
  .nav-links a {
    padding: 12px 0;
    margin: 0;
    font-size: 16px;
  }
  .nav-links .nav-cta {
    align-self: flex-start;
    padding: 12px 18px;
    margin: 4px 0 8px;
  }
  .js .nav-burger[aria-expanded="true"] + .nav-links { display: flex; }
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
  .testimonials-head-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .testimonial-controls { align-self: flex-end; }
  .testimonial-card { flex-basis: calc(100vw - 48px); }
  .steps-grid { grid-template-columns: 1fr; }

  .hero-art { height: 400px; }
  .hero-stage { transform: scale(0.62); }

}

@media (max-width: 400px) {
  :root { --pad-x: 18px; }

  .hero-title { font-size: 42px; }

  .panel-head { flex-wrap: wrap; }
  .segmented {
    width: 100%;
    margin-left: 0;
  }
  .segment { flex: 1; padding-left: 8px; padding-right: 8px; text-align: center; }

  .stepper-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .stepper-controls { justify-content: space-between; }

  .cta { padding-left: var(--pad-x); padding-right: var(--pad-x); }
}

/* ─────────────────────────────────────────────
   Analytics consent
   ───────────────────────────────────────────── */
.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: 500 13px var(--font-body);
  cursor: pointer;
}

.footer-link-button:hover { color: #fff; }

.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid var(--hairline-dark);
  border-radius: 18px;
  background: var(--dark);
  color: var(--text-body-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.analytics-consent[hidden] { display: none; }
.analytics-consent strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  text-transform: uppercase;
}
.analytics-consent p { margin-top: 4px; }
.analytics-consent a { color: #fff; }

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.analytics-consent-actions button {
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: #fff;
  font: 700 15px var(--font-body);
  cursor: pointer;
}

@media (max-width: 640px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .analytics-consent-actions button { flex: 1; }
}

@media (max-width: 1240px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-brand-col { grid-column: auto; }
}

/* ─────────────────────────────────────────────
   Legal and support pages (/privacy/, /terms/, /delete-account/, /support/)
   ───────────────────────────────────────────── */

.legal-body {
  background: var(--sand);
  color: var(--text-body-sand);
}

.legal-nav {
  border-bottom: 1px solid var(--hairline-light);
  padding: 18px 0;
}

.legal-nav-inner { display: flex; align-items: center; }

.legal {
  max-width: 720px;
  padding-top: 56px;
  padding-bottom: 88px;
  font-size: 17px;
  line-height: 1.65;
}

.legal h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  color: var(--dark);
}

.legal h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--dark);
  margin-top: 44px;
}

.legal h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  margin-top: 26px;
}

.legal p, .legal ul, .legal ol { margin: 14px 0 0; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-top: 8px; }
.legal strong { color: var(--dark); font-weight: 600; }
.legal a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}
.legal a:hover { color: var(--dark); }

.legal-updated {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-2);
}

.legal-footer {
  border-top: 1px solid var(--hairline-light);
  padding: 26px 0 40px;
  font-size: 14px;
  color: var(--muted-2);
}

.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.legal-footer a {
  color: var(--text-body-sand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-footer a:hover { color: var(--dark); }

@media (max-width: 720px) {
  .legal { font-size: 16px; }
  .legal h1 { font-size: 32px; }
}
