:root {
  --color-bg: #f5f5f5;
  --color-surface: #fefefe;
  --color-surface-muted: #f1eef8;
  --color-text: #191624;
  --color-text-muted: #7f7992;
  --color-border: #ddd6ee;
  --color-primary: #4f378b;
  --color-accent: #6d55ad;
  --color-accent-soft: #d8cdf2;
  --color-highlight: #8e73c9;
  --color-dark: #2e2155;
  --color-dark-soft: #3a2a67;
  --color-black: #0c0c0e;
  --hero-app-image: none;
  --program-app-image: none;

  --font-display: "Outfit", sans-serif;

  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;

  --shadow-soft: 0 8px 30px rgba(14, 14, 15, 0.06);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --header-height: 4.3rem;
  --section-pad-desktop: clamp(3rem, 7vw, 4.5rem);
  --section-pad-mobile: clamp(2.4rem, 8vw, 3.2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-display);
  background: radial-gradient(circle at 0% 0%, #ffffff 0%, var(--color-bg) 42%, #f2f2f2 100%);
  color: var(--color-text);
  line-height: 1.45;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad-desktop) 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: 0.35rem 0.65rem;
  border-radius: 99px;
  background: var(--color-surface-muted);
  color: var(--color-text);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow.dark {
  background: rgba(255, 255, 255, 0.12);
  color: #f2f2f2;
}

.center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.93;
}

.btn.btn-sm {
  min-height: 2.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
}

.btn.btn-dark {
  width: 100%;
  background: var(--color-dark);
}

.btn.btn-light {
  background: #f5f6f8;
  color: #121319;
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(245, 245, 245, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.3rem;
  gap: var(--space-4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.38rem;
  font-weight: 700;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.header-nav {
  display: flex;
  gap: var(--space-4);
}

.header-nav a {
  font-weight: 500;
  font-size: 0.92rem;
  color: #323236;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.2rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
}

.lang-btn {
  min-width: 2.1rem;
  min-height: 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #47484f;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: #ece5fb;
  color: #4c3887;
  outline: none;
}

.lang-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.hero-shell {
  border: 1px solid #e7e7ea;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f7f7f8, #fafafb);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero-copy {
  max-width: 34rem;
}

.hero-kicker {
  margin: 0 0 var(--space-3);
  color: #6c6d73;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-lead {
  margin: var(--space-3) 0 0;
  max-width: 30ch;
  color: #47484f;
  font-size: clamp(1rem, 1.8vw, 1.75rem);
  line-height: 1.25;
}

.hero-cta {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.hero-btn-secondary {
  border-color: #cfc3eb;
  background: #ece5fb;
  color: #4c3887;
}

.hero-trust {
  margin-top: clamp(1.3rem, 2.8vw, 2rem);
}

.hero-trust p {
  margin: 0;
  color: #4f5370;
  font-size: 0.93rem;
  font-weight: 600;
}

.hero-media img {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.hero-grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-3);
  align-items: center;
}

.mini-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.mini-card h3,
.mini-card p {
  margin: 0;
}

.mini-card.coach {
  display: flex;
  gap: 0.8rem;
}

.mini-card.coach h3 {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.mini-card.coach p {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--color-accent-soft);
}

.mini-card.stat {
  text-align: center;
}

.label {
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.value {
  margin-top: 0.18rem;
  font-size: 1rem;
  font-weight: 700;
}

.phone-mockup {
  position: relative;
  border: 4px solid var(--color-black);
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #f6f6f7 0%, #ececf0 100%);
  padding: 0.45rem;
  min-height: 400px;
  box-shadow:
    0 24px 44px rgba(12, 12, 14, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
}

.phone-screen {
  height: 100%;
  border-radius: 1.7rem;
  background: linear-gradient(170deg, #ffffff 0%, #f3f3f4 100%);
  border: 1px solid #e8e8eb;
  padding: var(--space-3);
  display: grid;
  gap: var(--space-3);
  overflow: hidden;
}

.phone-mockup::before,
.phone-mockup::after,
.program-phone::before,
.program-phone::after {
  content: "";
  position: absolute;
  background: #1a1b1e;
  width: 0.22rem;
  border-radius: 99px;
  right: -0.34rem;
}

.phone-mockup::before,
.program-phone::before {
  height: 2.6rem;
  top: 5.4rem;
}

.phone-mockup::after,
.program-phone::after {
  height: 1.4rem;
  top: 9rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.progress-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  min-height: 4.5rem;
}

.progress-bars span {
  width: 0.65rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--color-accent) 76%, white);
}

.progress-bars span:nth-child(1) {
  height: 1.5rem;
}

.progress-bars span:nth-child(2) {
  height: 2.1rem;
}

.progress-bars span:nth-child(3) {
  height: 2.8rem;
}

.progress-bars span:nth-child(4) {
  height: 3.4rem;
}

.progress-bars span:nth-child(5) {
  height: 2.5rem;
}

.boost-card {
  margin-top: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(130deg, #fff 0%, #f0f0f0 100%);
  padding: var(--space-3);
}

.boost-visual {
  margin: 0.55rem 0 0.6rem;
  height: 9.6rem;
  border-radius: 1rem;
  border: 1px solid #e4e4e6;
  background:
    var(--hero-app-image) center / cover no-repeat,
    radial-gradient(circle at 68% 23%, rgba(66, 66, 66, 0.26), transparent 18%),
    radial-gradient(circle at 36% 26%, rgba(122, 122, 122, 0.22), transparent 22%),
    linear-gradient(145deg, #f0d0a7 0%, #efd3b1 18%, #dbdee2 42%, #c8cdd2 100%);
}

.boost-card h3 {
  margin: 0.35rem 0 0.8rem;
  line-height: 1.1;
  max-width: 12ch;
}

.chip {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-radius: 99px;
  min-height: 2.2rem;
  padding: 0.4rem 0.7rem;
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}

.tabs-row {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.chip-active {
  color: var(--color-text);
  background: var(--color-surface-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  align-items: center;
  gap: var(--space-5);
}

.two-col-reverse {
  grid-template-columns: 1.55fr 1fr;
}

.program h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.program-copy p {
  max-width: 42ch;
}

.program-copy-rtl {
  direction: ltr;
  text-align: right;
}

.program-copy-rtl p,
.program-copy-rtl .program-points {
  margin-left: auto;
}

.program-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: #55506a;
  font-size: 0.86rem;
  font-weight: 500;
}

.program-flow {
  position: relative;
  min-height: clamp(560px, 62vw, 700px);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
  --flow-visibility: 0;
}

.program-connector {
  --connector-progress: 0;
  margin: var(--space-4) 0 var(--space-4);
  pointer-events: none;
}

.connector-shell {
  height: clamp(96px, 16vw, 170px);
  position: relative;
}

.connector-line {
  width: 100%;
  height: 100%;
  display: block;
}

.connector-path {
  fill: none;
  stroke: color-mix(in srgb, var(--color-primary) 72%, white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--connector-progress));
  opacity: calc(0.2 + (var(--connector-progress) * 0.8));
}

.flow-canvas {
  position: absolute;
  inset: 6% 3%;
  border-radius: 2rem;
  background: linear-gradient(140deg, #f2f1f6 0%, #f7f7fa 100%);
  border: 1px solid #e7e6ef;
  z-index: 0;
}

.flow-canvas::before,
.flow-canvas::after {
  content: none;
}

.program-phone {
  position: relative;
  max-width: 360px;
  margin: 0;
  border: 4px solid var(--color-black);
  border-radius: 2.2rem;
  padding: 0.45rem;
  background: linear-gradient(180deg, #f6f6f7 0%, #ececf0 100%);
  box-shadow:
    0 24px 44px rgba(12, 12, 14, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  z-index: 4;
  transform: translateY(calc((1 - var(--flow-visibility)) * 12px)) scale(calc(0.98 + (var(--flow-visibility) * 0.02)));
  transition: transform 0.32s ease-out;
  will-change: transform;
}

.program-phone .phone-screen {
  padding: 0;
  overflow: hidden;
}

.program-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flow-card {
  position: absolute;
  margin: 0;
  width: clamp(140px, 16vw, 200px);
  border-radius: 1rem;
  border: 1px solid #dddaf0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(20, 17, 31, 0.14);
  overflow: hidden;
  z-index: 2;
  --base-transform: none;
  --reveal-x: 0px;
  --reveal-y: 20px;
  --reveal-rotate: 0deg;
  opacity: calc(0.18 + (var(--flow-visibility) * 0.82));
  transform:
    var(--base-transform)
    translateX(calc((1 - var(--flow-visibility)) * var(--reveal-x)))
    translateY(calc((1 - var(--flow-visibility)) * var(--reveal-y)))
    rotate(calc((1 - var(--flow-visibility)) * var(--reveal-rotate)));
  box-shadow: 0 calc(8px + (var(--flow-visibility) * 7px)) calc(18px + (var(--flow-visibility) * 10px)) rgba(20, 17, 31, 0.16);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out, box-shadow 0.32s ease-out;
  will-change: transform, opacity;
}

.flow-card img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.flow-left {
  left: 4%;
  top: 16%;
  --base-transform: rotate(-8deg);
  --reveal-x: 82px;
  --reveal-y: 24px;
  --reveal-rotate: 10deg;
  transform-origin: right center;
}

.flow-right {
  right: 3%;
  bottom: 14%;
  --base-transform: rotate(8deg);
  --reveal-x: -82px;
  --reveal-y: 24px;
  --reveal-rotate: -10deg;
  transform-origin: left center;
}



.workouts-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 520px;
  padding: var(--space-6);
  color: #f1f1f1;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 18%, rgba(176, 118, 65, 0.38), transparent 22%),
    radial-gradient(circle at 72% 42%, rgba(14, 33, 63, 0.7), transparent 29%),
    linear-gradient(135deg, #0b0e14 0%, #12161c 36%, #1a2028 100%);
}

.workouts-overlay {
  max-width: 26rem;
  position: relative;
  z-index: 1;
}

.workouts-media {
  position: absolute;
  right: clamp(0.75rem, 2.2vw, 2rem);
  top: 44%;
  transform: translateY(-50%);
  width: clamp(320px, 40vw, 560px);
  z-index: 0;
  pointer-events: none;
}

.workouts-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.94;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.32));
}

.workouts h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.workouts p {
  margin: var(--space-3) 0 0;
  color: #dadade;
}

.workouts-features {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  max-width: 44ch;
  display: grid;
  gap: 0.55rem;
  color: #d7d9df;
  font-size: 0.96rem;
}

.workouts-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.workouts-features li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 0.2rem;
  background: rgba(255, 255, 255, 0.14);
  color: #f1f2f7;
  font-size: 0.68rem;
  font-weight: 700;
}

.workouts-cta {
  margin-top: var(--space-4);
}

.workouts-cta-primary {
  min-height: 3rem;
  padding-inline: 1.35rem;
  font-size: 0.95rem;
}

.workouts-proof {
  margin: 0.55rem 0 0;
  color: #c8cbe0;
  font-size: 0.8rem;
  font-weight: 500;
}

.workouts-note {
  margin: 0.38rem 0 0;
  color: #adb2ca;
  font-size: 0.74rem;
}

.workout-cards {
  position: static;
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.work-card {
  background: #f4f4f5;
  color: #111;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid #dfdfe1;
}

.work-card-featured {
  border-color: #cbc0ea;
  box-shadow:
    0 0 0 1px rgba(104, 80, 176, 0.14) inset,
    0 14px 26px rgba(22, 19, 37, 0.14);
}

.work-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.work-card-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  background: #eceff6;
  color: #4f378b;
}

.work-card-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card-icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.work-card h3,
.work-card p {
  margin: 0;
}

.work-card p {
  margin-top: 0.25rem;
  color: #7d7e82;
}

.smart h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.smart-intro {
  margin: 0.9rem auto 0;
  max-width: 64ch;
  color: #61616a;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

.media-grid {
  margin-top: clamp(2.5rem, 4.2vw, 3.2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
}

.media-tile {
  position: relative;
  min-height: 298px;
  border-radius: 1.6rem;
  border: 1px solid #d4d0e1;
  padding: clamp(1.2rem, 1.8vw, 1.5rem) clamp(1.2rem, 1.8vw, 1.5rem) clamp(1.45rem, 2.1vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.68rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.media-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(18, 17, 26, 0.12);
  border-color: #beb9cf;
}

.media-tile h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.1vw, 1.78rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 15ch;
}

.media-tile p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.38;
  font-weight: 500;
  max-width: 31ch;
  color: rgba(20, 18, 29, 0.88);
}

.media-trust {
  margin-top: 0.35rem;
  padding-top: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.82;
  z-index: 1;
}

.media-tile.watch {
  background:
    radial-gradient(circle at 55% 20%, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(155deg, #0e0f15 0%, #141725 56%, #1d2131 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.media-tile.watch:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.media-tile.watch p {
  color: rgba(255, 255, 255, 0.94);
}

.media-tile.watch .media-trust {
  color: rgba(255, 255, 255, 0.9);
}

.media-tile.athlete {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(150deg, #e4e7f0 0%, #d9deeb 56%, #d3d8e8 100%);
  color: #171724;
}

.media-tile.mobile {
  background:
    radial-gradient(circle at 84% 9%, rgba(255, 255, 255, 0.58), transparent 29%),
    linear-gradient(150deg, #e3e8f2 0%, #d9dfed 54%, #d2d9ea 100%);
  color: #171724;
}

.site-footer {
  background: var(--color-dark);
  color: #f4f4f4;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: clamp(2.2rem, 4.5vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.2rem);
}

.ticker {
  font-size: clamp(1.55rem, 5.6vw, 4.2rem);
  letter-spacing: -0.025em;
  opacity: 0.9;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  line-height: 1.12;
  padding-bottom: 0.08em;
}

.ticker-marquee {
  position: relative;
  display: block;
  width: 100%;
  min-height: 1.24em;
}

.ticker-line {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: tickerLineA 28s linear infinite;
}

.ticker-line:nth-child(2) {
  animation-name: tickerLineB;
}

.footer-grid {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(1.2rem, 2.6vw, 1.8rem);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}

.footer-grid h2 {
  margin: 0;
  font-size: clamp(1.34rem, 2.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.footer-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.footer-grid p {
  margin: 0.45rem 0 0;
  color: #bebfc4;
  max-width: 32ch;
}

.footer-grid > div:first-child .btn {
  margin-top: 0.85rem;
}

.footer-grid ul {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.footer-grid a {
  color: #c9c9ce;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: clamp(1.2rem, 2.6vw, 1.8rem);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: #9fa0a5;
  font-size: 0.84rem;
}

.footer-bottom div {
  display: flex;
  gap: var(--space-3);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes tickerLineA {
  from {
    transform: translate3d(0%, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes tickerLineB {
  from {
    transform: translate3d(100%, 0, 0);
  }

  to {
    transform: translate3d(0%, 0, 0);
  }
}

@media (min-width: 1200px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(320px, 1fr));
  }

  .media-tile h3 {
    max-width: 16ch;
  }

  .media-tile.athlete h3 {
    max-width: 18ch;
  }
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.55rem;
    padding: 0.45rem 0;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-media {
    max-width: 760px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .program-flow {
    min-height: 600px;
    max-width: 760px;
    margin-inline: auto;
  }

  .flow-left {
    left: 6%;
    top: 16%;
  }

  .flow-right {
    right: 5%;
    bottom: 14%;
  }



  .workout-cards {
    position: static;
    margin-top: var(--space-5);
  }

  .workouts-media {
    width: clamp(250px, 44vw, 420px);
    right: 0.6rem;
    top: 42%;
    transform: translateY(-50%);
    opacity: 0.92;
  }

  .workouts-wrap {
    min-height: 0;
  }

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

  .media-tile {
    min-height: 286px;
  }

  .smart-intro {
    max-width: 52ch;
  }

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

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: var(--section-pad-mobile) 0;
  }

  .hero-shell,
  .workouts-wrap {
    padding: var(--space-4);
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.45rem 0;
  }

  .logo {
    font-size: 1.05rem;
  }

  .header-actions {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .language-switcher {
    flex: 0 0 auto;
    padding: 0.16rem;
  }

  .header-actions .btn.btn-sm {
    min-height: 2.1rem;
    font-size: 0.72rem;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
  }

  .header-actions .btn.btn-sm {
    display: none;
  }

  .lang-btn {
    min-width: 2rem;
    min-height: 1.8rem;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .hero-media {
    order: 1;
    width: 100%;
  }

  .hero-media img {
    max-width: 290px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-kicker {
    margin-bottom: 0.6rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 0.7rem;
    font-size: 1.06rem;
    line-height: 1.28;
  }

  .hero-cta {
    margin-top: 1rem;
    align-items: stretch;
    gap: 0.55rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-trust {
    margin-top: 1rem;
  }

  .hero-trust p {
    font-size: 0.88rem;
  }

  .hero-trust ul {
    gap: 0.8rem 1rem;
  }

  .hero-trust li {
    font-size: 1.03rem;
  }

  .two-col {
    gap: var(--space-4);
  }

  .two-col-reverse .program-copy {
    order: 1;
  }

  .two-col-reverse .program-flow {
    order: 2;
  }

  .program h2 {
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.02;
  }

  .program-copy p {
    max-width: 34ch;
    font-size: 1.04rem;
  }

  .program-copy .btn {
    min-height: 2.55rem;
  }

  .program-connector {
    margin: 0.75rem 0;
  }

  .connector-shell {
    height: 82px;
  }

  .connector-path {
    stroke-width: 5;
    opacity: calc(0.35 + (var(--connector-progress) * 0.65));
  }

  .program-flow {
    min-height: 420px;
    max-width: min(100%, 360px);
    margin: 0.65rem auto 0;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: visible;
  }

  .flow-canvas {
    display: none;
  }

  .program-phone {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 245px;
    margin-inline: auto;
    z-index: 3;
  }

  .flow-card {
    width: 132px;
    max-width: 132px;
    z-index: 1;
  }

  .flow-left,
  .flow-right {
    top: 50%;
    transform-origin: center center;
  }

  .flow-left {
    left: 50%;
    --base-transform: translate(-150%, -50%) rotate(-8deg);
    --reveal-x: 64px;
    --reveal-y: 18px;
    --reveal-rotate: 8deg;
  }

  .flow-right {
    right: auto;
    bottom: auto;
    left: 50%;
    --base-transform: translate(50%, -50%) rotate(8deg);
    --reveal-x: -64px;
    --reveal-y: 18px;
    --reveal-rotate: -8deg;
  }



  .program-points {
    display: none;
  }

  .workout-cards {
    grid-template-columns: 1fr;
    order: 3;
  }

  .workouts-media {
    position: static;
    width: min(100%, 300px);
    margin: 0 auto 0.9rem;
    order: 1;
    opacity: 0.96;
    transform: none;
  }

  .workouts-overlay {
    order: 2;
  }

  .workouts-features {
    font-size: 0.92rem;
    gap: 0.45rem;
  }

  .workouts-cta {
    width: 100%;
  }

  .smart-intro {
    margin-top: 0.8rem;
    font-size: 0.95rem;
  }

  .smart h2 {
    line-height: 1.04;
    letter-spacing: -0.015em;
  }

  .smart h2 .text-muted {
    display: inline-block;
    margin-top: 0.12rem;
  }

  .media-grid {
    gap: 0.78rem;
  }

  .media-tile {
    min-height: 228px;
    padding: 1rem;
    border-radius: 1.35rem;
    gap: 0.55rem;
  }

  .media-tile h3 {
    font-size: 1.15rem;
    max-width: 16ch;
  }

  .media-trust {
    font-size: 0.77rem;
  }

  .site-footer {
    border-radius: 1.8rem 1.8rem 0 0;
    padding-top: 1.4rem;
    padding-bottom: 1.35rem;
  }

  .ticker {
    display: none;
  }

  .footer-grid {
    margin-top: 0.65rem;
    padding-top: 0.75rem;
    border-top: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 0.85rem;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1;
    margin-top: -0.12rem;
  }

  .footer-grid h2 {
    max-width: 14ch;
    font-size: 1.65rem;
  }

  .footer-grid p {
    font-size: 0.92rem;
    margin-top: 0.35rem;
  }

  .footer-grid > div:first-child .btn {
    margin-top: 0.65rem;
    min-height: 2.45rem;
    font-size: 0.84rem;
  }

  .footer-grid h3 {
    font-size: 0.95rem;
  }

  .footer-grid ul {
    margin-top: 0.35rem;
    gap: 0.28rem;
  }

  .footer-grid a:not(.btn) {
    font-size: 0.88rem;
    display: inline-block;
    padding-block: 0.14rem;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
  }

  .footer-bottom p {
    order: 2;
    margin: 0;
    font-size: 0.82rem;
    color: #b6b9c9;
  }

  .footer-bottom div {
    order: 1;
    gap: 0.8rem;
    flex-wrap: nowrap;
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .program-phone,
  .flow-card,
  .ticker-line {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .flow-card {
    opacity: 1 !important;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 0.96rem;
  }

  .logo-mark {
    width: 1.7rem;
    height: 1.7rem;
  }

  .footer-grid > div:first-child .btn {
    min-height: 2.25rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}
