/* ==========================================================================
   Спорт як система — лендинг Team404
   ========================================================================== */

:root {
  --cyan: #87FFFF;
  --pink: #FF237D;
  --dark: #0F1111;
  --dark-surface: #17191b;
  --dark-surface-2: #1f2224;
  --light: #F5F7F7;
  --muted: #a7b0b0;
  --border: rgba(245, 247, 247, 0.1);
  --container: 1180px;
  --radius: 18px;
  --ff-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--light);
  font-family: var(--ff-body);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--pink);
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--dark);
  box-shadow: 0 0 0 rgba(135, 255, 255, 0);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(135, 255, 255, 0.25);
}

.btn--pink {
  background: var(--pink);
  color: var(--light);
}

.btn--pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 35, 125, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--light);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--block {
  width: 100%;
}

/* ---------- header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(15, 17, 17, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header .btn {
  padding: 13px 24px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 88px 0 32px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(135, 255, 255, 0.16), transparent 60%),
    radial-gradient(55% 50% at 6% 92%, rgba(255, 35, 125, 0.18), transparent 60%),
    var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 247, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 247, 247, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 981px) {
  /* At desktop widths the full runner photo sits right behind the copy —
     give the text its own translucent glass plate so it stays legible
     no matter what's happening in the photo behind it. */
  .hero-content {
    background: rgba(15, 17, 17, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 247, 247, 0.08);
    border-radius: 32px;
    padding: 28px 56px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(245, 247, 247, 0.04);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-badge span {
  color: var(--cyan);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 0.98;
  background: linear-gradient(96deg, var(--light) 42%, var(--cyan) 78%, var(--pink) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--light);
}

.hero-desc {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 4px;
}

.cta-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-start {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 24px 13px 20px;
  border-radius: 999px;
  background: rgba(255, 35, 125, 0.12);
  border: 1px solid rgba(255, 35, 125, 0.55);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pink);
  box-shadow: 0 0 28px rgba(255, 35, 125, 0.12);
}

.hero-start::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 35, 125, 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(255, 35, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 35, 125, 0); }
}

.hero-stat {
  background: rgba(15, 17, 17, 0.6);
  padding: 28px 16px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: var(--cyan);
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}

/* ---------- problem ---------- */

.problem {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem .container {
  position: relative;
  z-index: 1;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.problem-lead {
  margin-top: 14px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--light);
  line-height: 1.35;
}

.problem-text {
  color: var(--muted);
  font-size: 17px;
  margin-top: 16px;
}

.problem-chips {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--dark-surface-2);
  border: 1px solid var(--border);
}

.problem-chip .tag {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(135, 255, 255, 0.1);
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
}

.problem-chip p {
  font-size: 14.5px;
  color: var(--light);
}

/* ---------- audience ---------- */

.audience-section {
  overflow: hidden;
}

.audience-section .container {
  position: relative;
  z-index: 1;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(135, 255, 255, 0.35);
}

.card-num {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--pink);
  letter-spacing: 0.1em;
}

.card h3 {
  margin-top: 16px;
  font-size: 19px;
  line-height: 1.3;
  text-transform: none;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- results ---------- */

.results {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.results .container {
  position: relative;
  z-index: 1;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.result-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  background: var(--dark-surface-2);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.result-item .check {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), rgba(135, 255, 255, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}

.result-item .check svg {
  width: 18px;
  height: 18px;
}

.result-item p {
  font-size: 16px;
  color: var(--light);
}

/* ---------- format ---------- */

.format-section {
  position: relative;
  overflow: hidden;
}

.format-section .container {
  position: relative;
  z-index: 1;
}

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

.format-card {
  padding: 30px 24px;
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.format-card svg {
  width: 30px;
  height: 30px;
  color: var(--cyan);
}

.format-card h3 {
  margin-top: 20px;
  font-size: 16px;
  text-transform: none;
}

.format-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.format-schedule {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.schedule-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.schedule-days {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(135, 255, 255, 0.12);
  border: 1px solid rgba(135, 255, 255, 0.35);
  color: var(--cyan);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.schedule-item p {
  color: var(--muted);
  font-size: 14.5px;
}

.format-extra {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 35, 125, 0.1);
  border: 1px solid rgba(255, 35, 125, 0.35);
  color: var(--light);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- program ---------- */

.program-section {
  overflow: hidden;
}

.program-section .container {
  position: relative;
  z-index: 1;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.week-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--dark-surface);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.week-card:hover {
  transform: translateY(-4px);
  border-color: rgba(135, 255, 255, 0.35);
}

.week-index {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 0.08em;
  font-family: var(--ff-heading);
}

.week-title {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  color: var(--light);
  font-family: var(--ff-heading);
}

.week-card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.week-card li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--muted);
}

.week-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ---------- numbers ---------- */

.numbers {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark-surface), var(--dark));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers .container {
  position: relative;
  z-index: 1;
}

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

.numbers-grid .hero-stat {
  padding: 42px 20px;
}

.numbers-grid .hero-stat strong {
  font-size: clamp(30px, 3.4vw, 42px);
}

.numbers-grid .hero-stat:nth-child(odd) strong {
  color: var(--cyan);
}

.numbers-grid .hero-stat:nth-child(even) strong {
  color: var(--pink);
}

/* ---------- author ---------- */

.author {
  position: relative;
  overflow: hidden;
}

.author .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.author-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.author-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,17,17,0.85));
}

.author-photo .badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(15, 17, 17, 0.65);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.author-photo .badge img {
  height: 16px;
  width: auto;
}

.author-photo .badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--light);
}

.author-name {
  font-size: clamp(26px, 3.4vw, 38px);
}

.author-role {
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.author-bio {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.author-achievements {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.achievement {
  padding: 20px;
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.achievement strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  color: var(--pink);
}

.achievement span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.author-credentials {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.author-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--light);
}

.author-credentials li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--cyan);
}

/* ---------- pricing ---------- */

.pricing {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  background: var(--dark-surface-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  position: relative;
}

.plan--featured {
  background: linear-gradient(165deg, rgba(135,255,255,0.08), var(--dark-surface-2) 45%);
  border-color: rgba(135, 255, 255, 0.45);
  transform: translateY(-14px);
}

.plan-tag {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--cyan);
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.plan-name {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.plan-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.1;
  color: var(--light);
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
}

.plan-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.plan-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--light);
}

.plan-features li svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--cyan);
}

.plan .btn {
  margin-top: 30px;
}

.plan-note {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- final cta ---------- */

.final-cta {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(255, 35, 125, 0.22), transparent 65%),
    radial-gradient(50% 70% at 90% 100%, rgba(135, 255, 255, 0.16), transparent 60%),
    var(--dark);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.05;
}

.final-cta p {
  margin: 20px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
}

.final-cta .hero-actions {
  margin-top: 44px;
}

.final-cta .hero-start {
  margin-top: 40px;
}

/* ---------- footer ---------- */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand img {
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ---------- decorative shapes ---------- */

.decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.decor-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.4) contrast(1.05);
}

.decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(135, 255, 255, 0.22);
}

.decor-ring--pink {
  border-color: rgba(255, 35, 125, 0.26);
}

.decor-dots {
  position: absolute;
  background-image: radial-gradient(rgba(245, 247, 247, 0.22) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.decor-chevrons {
  position: absolute;
  background: repeating-linear-gradient(
    -45deg,
    rgba(135, 255, 255, 0.14) 0px,
    rgba(135, 255, 255, 0.14) 9px,
    transparent 9px,
    transparent 20px
  );
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
  mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
}

.decor-chevrons--pink {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 35, 125, 0.16) 0px,
    rgba(255, 35, 125, 0.16) 9px,
    transparent 9px,
    transparent 20px
  );
}

.decor-pulse {
  position: absolute;
  color: var(--cyan);
  opacity: 0.3;
}

.decor-logo {
  position: absolute;
  opacity: 0.055;
}

/* hero decor */

.hero-decor-ring-1 {
  width: 720px;
  height: 720px;
  top: -300px;
  right: -320px;
}

.hero-decor-ring-2 {
  width: 500px;
  height: 500px;
  top: -180px;
  right: -220px;
}

.hero-decor-chevrons {
  width: 320px;
  height: 320px;
  bottom: -110px;
  left: -110px;
  transform: rotate(6deg);
}

.hero-decor-pulse {
  width: 460px;
  height: 70px;
  bottom: 54px;
  left: -30px;
}

.hero-decor-logo {
  width: 210px;
  height: auto;
  bottom: -30px;
  right: 6%;
  transform: rotate(-6deg);
}

/* runner cutouts flanking the headline, anchored to the bottom of the
   hero and scaled by its height so legs/feet never crop mid-figure —
   a dark vignette behind the copy keeps it readable over the photo */

.hero-runners {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: none;
  opacity: 0.92;
}

.hero-runners-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 62% at 50% 46%, rgba(15, 17, 17, 0.92) 0%, rgba(15, 17, 17, 0.68) 38%, rgba(15, 17, 17, 0.2) 62%, transparent 80%);
}

/* single-group runner cutout used on tablet and mobile: anchored to the
   bottom-right corner, sized by height so the whole photo — head to
   feet — always renders in full, never cropped. Width follows the
   photo's own aspect ratio; on narrow/portrait screens that can run
   wider than the hero itself, and the excess simply extends past the
   left edge, hidden by the hero's own overflow:hidden, rather than
   the image being cropped. */

.hero-runners-tablet {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 85%;
  width: auto;
  max-width: none;
  opacity: 0.5;
}

/* problem decor */

.problem-decor-chevrons {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -70px;
}

.problem-decor-ring {
  width: 360px;
  height: 360px;
  bottom: -160px;
  right: 6%;
}

.problem-decor-dots {
  width: 220px;
  height: 220px;
  bottom: -20px;
  left: -40px;
}

/* audience decor */

.audience-decor-dots {
  width: 200px;
  height: 200px;
  top: -20px;
  right: -40px;
}

.audience-decor-ring {
  width: 340px;
  height: 340px;
  bottom: -190px;
  left: -130px;
}

/* results decor */

.results-decor-ring {
  width: 300px;
  height: 300px;
  top: -140px;
  right: -100px;
}

.results-decor-dots {
  width: 180px;
  height: 180px;
  bottom: -10px;
  left: -30px;
}

/* format section decor */

.format-decor-ring {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -160px;
}

.format-decor-dots {
  width: 200px;
  height: 200px;
  top: 10px;
  right: -30px;
}

/* program decor */

.program-decor-chevrons {
  width: 260px;
  height: 260px;
  top: -70px;
  left: -90px;
}

.program-decor-ring {
  width: 380px;
  height: 380px;
  bottom: -200px;
  right: -140px;
}

/* numbers decor */

.numbers-decor-dots {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.numbers-decor-ring {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
}

.numbers-decor-ring--pink {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -100px;
}

/* author decor */

.author-decor-dots {
  width: 220px;
  height: 220px;
  top: -30px;
  left: -50px;
}

.author-decor-ring {
  width: 320px;
  height: 320px;
  bottom: -170px;
  right: -110px;
}

/* pricing decor */

.pricing-decor-chevrons {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -60px;
}

/* final cta decor */

.final-cta-photo {
  width: 900px;
  height: 900px;
  bottom: -440px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.1;
}

.final-cta-ring-1 {
  width: 760px;
  height: 760px;
  bottom: -400px;
  left: 50%;
  transform: translateX(-50%);
}

.final-cta-ring-2 {
  width: 560px;
  height: 560px;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  /* Tablet and mobile: the wide flanking cutout no longer has room to
     read as figures beside the text, so swap it for a single group
     pinned to the right edge, kept low-opacity so it reads as
     background texture, not foreground. Stays through to mobile too,
     just shrinking further as the viewport narrows. */
  .hero-runners {
    display: none;
  }

  .hero-runners-tablet {
    display: block;
  }

  .hero-runners-overlay {
    background: rgba(15, 17, 17, 0.68);
  }
}

@media (max-width: 980px) {
  /* Extra desktop-only background accents — kept out of tablet/mobile
     to avoid visual clutter on smaller screens. */
  .audience-decor-dots,
  .audience-decor-ring,
  .results-decor-ring,
  .results-decor-dots,
  .program-decor-chevrons,
  .program-decor-ring,
  .author-decor-dots,
  .author-decor-ring {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-decor-ring-1,
  .hero-decor-ring-2 {
    width: 380px;
    height: 380px;
    top: -140px;
    right: -160px;
  }

  .final-cta-photo,
  .final-cta-ring-1,
  .final-cta-ring-2 {
    display: none;
  }
}

/* ---------- misc ---------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 980px) {
  /* Below desktop width, short sections (few cards, little copy) don't
     reach a full screen of height, so scrolling lands on a view that's
     part one section, part the next, with the second cut off. Give every
     .section a floor of one viewport and center its content in it —
     sections with more content simply grow past that floor as needed. */
  .section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav,
  .header-cta .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .problem-grid,
  .author .container {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .audience-grid,
  .format-grid,
  .pricing-grid,
  .numbers-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid,
  .format-schedule {
    grid-template-columns: 1fr;
  }

  .plan--featured {
    transform: none;
  }

  /* tablet-scale compaction: full desktop spacing is too generous
     between 641-980px, but the 640px mobile rules below are tuned
     for phone widths — this closes that gap. */

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .audience-grid,
  .format-grid,
  .pricing-grid,
  .numbers-grid,
  .program-grid {
    gap: 16px;
  }

  .card,
  .plan {
    padding: 26px 22px;
  }

  .format-card {
    padding: 22px 18px;
  }

  .achievement {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(22px, 7vw, 44px);
  }

  .section-head p {
    margin-top: 10px;
    font-size: 14px;
  }

  .audience-grid,
  .format-grid,
  .pricing-grid,
  .numbers-grid,
  .program-grid,
  .author-achievements {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .format-grid,
  .pricing-grid,
  .program-grid,
  .results-grid,
  .format-schedule {
    gap: 10px;
  }

  .btn {
    padding: 14px 22px;
    font-size: 13px;
  }

  /* ---- header ---- */

  .header {
    padding: 12px 0;
  }

  .brand img {
    height: 22px;
  }

  .header .btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* ---- hero ---- */

  .hero {
    padding: 108px 0 48px;
  }

  .hero-top {
    margin-bottom: 14px;
  }

  .hero-badge {
    padding: 7px 14px;
    font-size: 11.5px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(30px, 10vw, 84px);
  }

  .hero-slogan {
    margin-top: 10px;
    font-size: 16px;
  }

  .hero-desc {
    margin-top: 8px;
    font-size: 13.5px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 18px;
    gap: 10px;
  }

  .hero-actions .btn--primary {
    width: 100%;
  }

  .hero-actions .btn--ghost {
    align-self: center;
    width: auto;
    padding: 10px 20px;
    font-size: 12px;
  }

  .hero-content .cta-note {
    display: none;
  }

  .hero-start {
    margin-top: 18px;
    padding: 8px 18px 8px 14px;
    font-size: 11px;
  }

  .hero-stat {
    padding: 16px 10px;
  }

  .hero-stat span {
    font-size: 11.5px;
  }

  /* ---- cards & blocks ---- */

  .card {
    padding: 18px 16px;
  }

  .card h3 {
    margin-top: 12px;
    font-size: 17px;
  }

  .card p {
    margin-top: 8px;
    font-size: 14px;
  }

  .format-card {
    padding: 16px 14px;
  }

  .result-item {
    padding: 14px;
    gap: 12px;
  }

  .result-item p {
    font-size: 14.5px;
  }

  .schedule-item {
    padding: 14px;
  }

  .week-card {
    padding: 16px;
  }

  .week-card ul {
    margin-top: 12px;
  }

  .problem-chip {
    padding: 12px 14px;
  }

  .problem-chips {
    gap: 10px;
  }

  /* ---- numbers ---- */

  .numbers-grid .hero-stat {
    padding: 14px 10px;
  }

  .numbers-grid .hero-stat strong {
    font-size: clamp(18px, 7vw, 38px);
  }

  /* ---- pricing ---- */

  .plan {
    padding: 20px 18px;
  }

  .plan-price strong {
    font-size: 30px;
  }

  .plan-features {
    margin-top: 20px;
    gap: 10px;
  }

  .plan .btn {
    margin-top: 22px;
  }

  .plan--featured {
    order: -1;
  }

  /* ---- author ---- */

  .author-achievements {
    gap: 8px;
  }

  .achievement {
    padding: 12px;
  }

  .author-credentials {
    margin-top: 16px;
    gap: 10px;
  }

  .author-credentials li {
    font-size: 14px;
  }

  .author-bio {
    margin-top: 16px;
    font-size: 14.5px;
  }

  /* ---- final cta ---- */

  .final-cta {
    padding: 40px 0;
  }

  .final-cta h2 {
    font-size: clamp(24px, 8vw, 64px);
  }

  .final-cta p {
    margin-top: 14px;
    font-size: 14.5px;
  }

  .final-cta .hero-actions {
    margin-top: 20px;
  }

  .final-cta .hero-start {
    margin-top: 14px;
  }

  /* ---- footer ---- */

  .footer {
    padding: 24px 0;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  /* Phones in landscape can have a width above OR below the 640px
     breakpoint but very little vertical room — scale the hero down by
     height instead so it never forces a scroll on a short screen.
     Placed after the width-based mobile block so it always wins here,
     regardless of which width rules also matched. */

  .hero {
    min-height: 0;
    display: block;
    padding: 40px 0 14px;
  }

  .hero-top {
    margin-bottom: 6px;
  }

  .hero-badge {
    padding: 5px 12px;
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 6px;
    font-size: clamp(22px, 5.5vw, 84px);
  }

  .hero-slogan {
    margin-top: 4px;
    font-size: 14px;
  }

  .hero-desc {
    margin-top: 4px;
    font-size: 12.5px;
  }

  .hero-actions {
    margin-top: 8px;
  }

  .hero-content .cta-note {
    display: none;
  }

  .hero-start {
    margin-top: 6px;
  }

  .final-cta {
    padding: 32px 0;
  }
}

/* mobile nav panel */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--light);
}

.mobile-nav a:hover {
  color: var(--cyan);
}

.mobile-nav .btn--primary,
.mobile-nav .btn--primary:hover {
  color: var(--dark);
}
