@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --bg: #f1f5fb;
  --surface: #ffffff;
  --surface-alt: #e8f0ff;
  --ink: #0d1930;
  --muted: #4f6080;
  --line: #ced9ec;
  --primary: #1f5ef4;
  --primary-strong: #0f46ca;
  --accent: #00ad9f;
  --warning: #f3a31c;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 18px 48px rgba(20, 52, 130, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(0, 173, 159, 0.18), transparent 22%),
    radial-gradient(circle at 95% 0%, rgba(31, 94, 244, 0.12), transparent 26%),
    linear-gradient(180deg, #f6f9ff 0%, #eef4fb 70%, #edf1f8 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(246, 250, 255, 0.9);
  border-bottom: 1px solid rgba(188, 204, 232, 0.55);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
}

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

.main-nav a {
  color: #304261;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 8px 14px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--surface-alt);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: inherit;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(145deg, var(--primary) 0%, #2578ff 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(31, 94, 244, 0.24);
}

.button-primary:hover {
  box-shadow: 0 14px 26px rgba(31, 94, 244, 0.3);
}

.button-secondary {
  background: #f6faff;
  color: var(--primary);
  border: 1px solid #c9d9fa;
}

.button-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid #c8dafd;
}

.button-sm {
  font-size: 0.9rem;
  padding: 10px 14px;
}

.floating-instagram {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, #26354d 0%, #111b2d 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(13, 25, 48, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(13, 25, 48, 0.35);
}

.page-hero {
  padding: 74px 0 48px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid #d3e0f6;
  padding: clamp(24px, 4vw, 40px);
}

.eyebrow {
  display: inline-block;
  background: #eaf2ff;
  color: var(--primary);
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  font-family: 'Sora', sans-serif;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  margin: 16px 0 14px;
}

h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-bottom: 10px;
}

.hero-main p {
  margin: 0;
  color: #32476c;
  max-width: 62ch;
}

.hero-overline {
  margin: 12px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f4e8e;
  max-width: 64ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-side {
  background: linear-gradient(165deg, #2c6dff 0%, #1143bc 56%, #0d2f84 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.concepts-page-main .section {
  padding: 48px 0;
}

.concepts-hero-layout {
  align-items: start;
}

.concepts-hero-side {
  align-self: start;
  padding: 22px 24px;
  gap: 10px;
  background: linear-gradient(180deg, #2f66e8 0%, #214fca 100%);
}

.concepts-hero-side h2 {
  margin-bottom: 2px;
}

.concepts-hero-side ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.concepts-hero-side li {
  line-height: 1.55;
}

.concepts-hero-side li + li {
  margin-top: 8px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 10px;
}

.metric strong {
  display: block;
  font-size: 1.4rem;
  font-family: 'Sora', sans-serif;
}

.metric span {
  font-size: 0.8rem;
  opacity: 0.86;
}

.home-page-main .section {
  padding: 50px 0;
}

.home-page-main .section-title-row p {
  color: #344f76;
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-hero-side {
  background: linear-gradient(180deg, #eef4ff 0%, #e3edff 100%);
  border: 1px solid #d4e1f7;
  box-shadow: 0 14px 28px rgba(20, 52, 130, 0.09);
  color: #1e3f69;
  gap: 12px;
}

.home-hero-side h2 {
  margin-bottom: 4px;
  color: #163a63;
}

.home-hero-side p {
  margin: 0;
  color: #35527b;
}

.home-hero-side strong {
  color: #163a63;
}

.home-hero-summary {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #cfdbf4;
  color: #274970;
  font-weight: 700;
 }

.offer-subnav {
  padding: 0 0 18px;
}

.offer-subnav-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #d4e0f3;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 52, 130, 0.06);
}

.offer-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #28436a;
  background: #f4f8ff;
  border: 1px solid #d3e0f6;
}

.offer-subnav-link.active {
  color: #fff;
  background: linear-gradient(145deg, #2567fb 0%, #1f53cb 100%);
  border-color: #1f53cb;
  box-shadow: 0 10px 20px rgba(31, 94, 244, 0.22);
}

.offer-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.offer-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #2a61bd;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-checklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.feature-checklist div {
  background: #f4f8ff;
  border: 1px solid #d5e2f8;
  border-radius: 12px;
  padding: 10px 12px;
  color: #2f4b74;
  font-weight: 600;
}

.comparison-copy {
  margin-bottom: 16px;
  max-width: 76ch;
  color: #405779;
}

.price-block {
  display: grid;
  gap: 12px;
}

.price-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--primary);
}

.price-support {
  background: #edf4ff;
  border: 1px solid #c9dbfb;
  border-radius: 14px;
  padding: 14px 16px;
  color: #29466f;
}

.info-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe0fb;
  box-shadow: 0 10px 18px rgba(20, 52, 130, 0.06);
  color: #203b61;
  font-weight: 800;
  cursor: default;
}

.info-chip::after {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #215de7;
  font-size: 0.75rem;
  font-weight: 800;
}

.info-chip-bubble {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 8;
  width: min(260px, 70vw);
  padding: 12px 14px;
  border-radius: 12px;
  background: #173968;
  color: #f4f8ff;
  box-shadow: 0 16px 28px rgba(15, 39, 84, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.info-chip:hover .info-chip-bubble,
.info-chip:focus .info-chip-bubble,
.info-chip:focus-within .info-chip-bubble {
  opacity: 1;
  transform: translateY(0);
}

.info-chip[tabindex='0'] {
  outline: none;
}

.recommendation-box {
  display: grid;
  gap: 14px;
}

.recommendation-lead {
  margin: 0;
  color: #46607f;
}

.test-card .button {
  margin-top: 14px;
}

.offer-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.offer-compact-note {
  margin-top: 12px;
  color: #48607f;
}

.offer-hero-layout {
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.run-track-main {
  position: relative;
  overflow: hidden;
}

.run-track-main > * {
  position: relative;
  z-index: 1;
}

.run-track-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.run-track-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.offer-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.offer-recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.offer-recommend-card {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #d0def8;
}

.offer-recommend-card h3 {
  margin-bottom: 8px;
}

.offer-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.offer-choice {
  overflow: hidden;
  padding: 0;
}

.offer-choice summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
}

.offer-choice summary::-webkit-details-marker {
  display: none;
}

.offer-choice summary::marker {
  display: none;
}

.offer-choice summary::after {
  content: 'Bekijk details';
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #cfe0fb;
  background: #f5f8ff;
  color: #2957b4;
  font-size: 0.84rem;
  font-weight: 800;
}

.offer-choice[open] summary::after {
  content: 'Verberg details';
}

.offer-choice-heading {
  margin-bottom: 10px;
}

.offer-choice-heading .eyebrow {
  margin-bottom: 8px;
}

.offer-choice-heading h3 {
  margin-bottom: 8px;
}

.offer-choice-lead {
  margin: 0;
  color: #36527d;
}

.offer-choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.offer-choice-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d1e0fb;
  color: #224677;
  font-size: 0.86rem;
  font-weight: 700;
}

.offer-choice-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
  border-top: 1px solid #d8e4f7;
}

.offer-choice-body p {
  margin: 0;
}

.offer-choice-list {
  display: grid;
  gap: 8px;
  color: #315078;
}

.offer-choice-list div {
  background: #f4f8ff;
  border: 1px solid #d7e3f7;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

.offer-choice-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.offer-choice-price {
  color: #21498a;
  font-weight: 800;
}

.offer-test-stack {
  display: grid;
  gap: 16px;
}

.offer-primary-card {
  border-color: #7aa5ff;
  box-shadow: 0 18px 34px rgba(37, 103, 251, 0.14);
}

.offer-card-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #215de7;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-card-intro {
  max-width: 68ch;
}

.offer-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.offer-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d1e0fb;
  color: #234879;
  font-size: 0.85rem;
  font-weight: 700;
}

.offer-secondary-card {
  max-width: 920px;
}

.inline-term {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-weight: 800;
  color: #244472;
}

.inline-term::after {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #215de7;
  font-size: 0.68rem;
  font-weight: 800;
}

.inline-term-bubble {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 8;
  width: min(250px, 70vw);
  padding: 10px 12px;
  border-radius: 12px;
  background: #173968;
  color: #f4f8ff;
  box-shadow: 0 16px 28px rgba(15, 39, 84, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.inline-term:hover .inline-term-bubble,
.inline-term:focus .inline-term-bubble,
.inline-term:focus-within .inline-term-bubble {
  opacity: 1;
  transform: translateY(0);
}

.inline-term[tabindex='0'] {
  outline: none;
}

.section {
  padding: 42px 0;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-title-row p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.concepts-page-main .section-title-row p,
.concepts-guide-card > p {
  color: #415a7b;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid #d3e0f6;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 26px rgba(20, 52, 130, 0.08);
  padding: clamp(16px, 2.4vw, 24px);
}

.card p {
  margin: 0;
  color: #3f5578;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #2f4467;
}

.card ul li + li {
  margin-top: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.badge-general {
  background: #eef3f8;
  color: #4b647f;
}

.badge-bike {
  background: #eaf2ff;
  color: #215de7;
}

.badge-run {
  background: #eaf8ef;
  color: #1e7a44;
}

.badge-dual {
  background: #fff4e5;
  color: #a6660e;
}

.highlight {
  background: linear-gradient(160deg, #f6fbff 0%, #dce9ff 100%);
  border: 1px solid #bfd4fb;
}

.media-frame {
  margin-top: 12px;
  border: 1px solid #bfd5f8;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f2ff;
  aspect-ratio: 4 / 3;
}

.media-frame img,
.media-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-frame img {
  object-fit: cover;
}

.device-media {
  margin-top: 0;
  background: #ffffff;
  width: 50%;
  min-width: 170px;
  margin-left: auto;
  margin-right: auto;
}

.device-media img {
  object-fit: contain;
  padding: 10px;
}

.step-media {
  aspect-ratio: 4 / 3;
}

.report-media {
  background: #fff;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  right: 16px;
  top: 6px;
  color: #d5e4ff;
  font-size: 3rem;
  font-family: 'Sora', sans-serif;
}

.testimonial strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.location-grid > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.location-note {
  background: #edf7ff;
  border: 1px solid #c7e7ff;
  border-radius: 12px;
  padding: 12px;
  color: #20466f;
}

.map-frame {
  margin-top: 12px;
  border: 1px solid #bfd5f8;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f2ff;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
}

.links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.goal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.goal-button {
  border-radius: 999px;
  border: 1px solid #c5d7f7;
  background: #f7faff;
  color: #2a436b;
  font-weight: 800;
  padding: 9px 14px;
  cursor: pointer;
}

.goal-button.active {
  background: linear-gradient(145deg, #2567fb 0%, #1f53cb 100%);
  border-color: #1f53cb;
  color: #fff;
}

.goal-feedback {
  background: #eef4ff;
  border: 1px solid #cbdcfd;
  border-radius: 12px;
  padding: 12px 14px;
  color: #244271;
  font-weight: 600;
}

.test-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.test-card.recommended {
  border-color: #4e85f9;
  box-shadow: 0 15px 28px rgba(31, 94, 244, 0.14);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  border-left: 3px solid #95b8fb;
  padding-left: 14px;
}

.timeline-item h3 {
  margin-bottom: 4px;
}

.accordion details {
  background: var(--surface);
  border: 1px solid #d5e2f8;
  border-radius: 12px;
  padding: 12px 14px;
}

.accordion details + details {
  margin-top: 10px;
}

.accordion summary {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.accordion p {
  margin-bottom: 0;
  color: #36527e;
}

.concept-accordion details {
  background: var(--surface);
  border: 1px solid #ccdbf4;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 20px rgba(20, 52, 130, 0.06);
}

.concepts-page-main .concept-accordion details {
  box-shadow: 0 8px 18px rgba(20, 52, 130, 0.05);
}

.concept-accordion details + details {
  margin-top: 10px;
}

.concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.concept-accordion summary {
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d3c65;
}

.concept-summary {
  margin-top: 10px;
  color: #37527d;
}

.concepts-page-main .concept-summary {
  line-height: 1.6;
  color: #496280;
}

.concept-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.detail-links a {
  text-decoration: none;
}

.back-link-row {
  margin-top: 12px;
}

.vo2-panel {
  background: linear-gradient(165deg, #f8fcff 0%, #ecf5ff 100%);
  border: 1px solid #c9defb;
}

.vo2-lead {
  color: #2f4f7d;
  max-width: 75ch;
}

.soft-panel {
  background: #f4f9ff;
  border: 1px solid #cadef8;
  border-radius: 14px;
  padding: 14px 16px;
}

.soft-panel h3,
.soft-panel h4 {
  margin: 0 0 6px;
  color: #1f456d;
}

.vo2-grid-title {
  margin-top: 0;
  color: #255785;
}

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

.pill-button {
  border-radius: 999px;
  border: 1px solid #bfd4f4;
  background: #f8fbff;
  color: #2c4369;
  font-weight: 700;
  padding: 8px 12px;
  font-size: 0.88rem;
  cursor: pointer;
}

.pill-button.active {
  background: linear-gradient(145deg, #1f6682 0%, #245f76 100%);
  border-color: #245f76;
  color: #fff;
}

.zones-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.zones-hero-main,
.zones-summary-box,
.zones-section-shell,
.zones-cta-shell {
  background: var(--surface);
  border: 1px solid #d7e3f5;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.zones-hero-main {
  padding: clamp(26px, 4vw, 42px);
}

.zones-lead {
  margin: 0;
  max-width: 67ch;
  color: #34486c;
}

.zones-summary-box {
  padding: 24px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7fd 100%);
}

.zones-summary-box h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.zones-summary-list {
  margin: 0;
  padding-left: 18px;
  color: #31486d;
}

.zones-summary-list li + li {
  margin-top: 8px;
}

.zones-hero-note {
  margin: 18px 0 0;
  text-align: center;
  color: #48607f;
  font-weight: 600;
}

.zones-section-shell,
.zones-cta-shell {
  padding: clamp(24px, 3.6vw, 36px);
}

.zones-title-row {
  align-items: start;
}

.zones-title-row p {
  max-width: 64ch;
  color: #41597a;
}

.zones-image-shell {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%);
  border: 1px solid #d7e3f5;
}

.zones-image-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.zones-mini-grid,
.zones-domain-grid,
.zones-proof-grid {
  display: grid;
  gap: 14px;
}

.zones-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.zones-mini-card,
.zones-domain-card,
.zones-proof-card {
  background: #f7faff;
  border: 1px solid #d8e4f6;
  border-radius: 20px;
  padding: 18px 18px 16px;
}

.zones-mini-card h3,
.zones-domain-card h3,
.zones-proof-card h3 {
  margin-bottom: 8px;
}

.zones-mini-card p,
.zones-domain-card p,
.zones-proof-card p {
  margin: 0;
  color: #425a7b;
}

.zones-support-text,
.zones-focus-note {
  margin: 18px 0 0;
  color: #41597a;
}

.zones-domain-grid,
.zones-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.zones-accordion {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.zones-accordion details {
  background: #f8fbff;
  border: 1px solid #d6e2f4;
  border-radius: 20px;
  padding: 16px 18px;
}

.zones-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.zones-accordion summary::-webkit-details-marker {
  display: none;
}

.zones-accordion summary span {
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1f3f6c;
}

.zones-accordion summary small {
  color: #5d7392;
  font-size: 0.94rem;
  font-weight: 700;
}

.zones-zone-body {
  margin-top: 14px;
}

.zones-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zones-field {
  background: #ffffff;
  border: 1px solid #dde7f7;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.zones-field strong {
  color: #22426d;
  font-size: 0.92rem;
}

.zones-field span {
  color: #48607e;
}

.zones-nuance-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef5ff;
  border: 1px solid #cfe0f8;
  color: #2f4e78;
  font-weight: 600;
}

.zones-cta-shell {
  text-align: center;
}

.zones-cta-shell p {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  color: #405879;
}

.zones-cta-support {
  margin-top: 14px;
  font-weight: 700;
  color: #2a4d77;
}

.slider-wrap {
  margin-top: 14px;
  border: 1px dashed #a6c8ea;
  border-radius: 12px;
  padding: 12px;
  background: #f8fcff;
}

.slider-wrap label {
  display: inline-block;
  margin-bottom: 8px;
}

.slider-wrap input[type='range'] {
  width: 100%;
}

.progress-rows {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.progress-row {
  display: grid;
  grid-template-columns: 86px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #2b4b73;
}

.progress-track {
  height: 9px;
  background: #e4eefc;
  border: 1px solid #c7daf8;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
}

.progress-fill.supply {
  background: linear-gradient(145deg, #2f7f94 0%, #1f667b 100%);
}

.progress-fill.use {
  background: linear-gradient(145deg, #2f6cf6 0%, #1f55d1 100%);
}

.progress-fill.pcr {
  background: linear-gradient(145deg, #f39d2b 0%, #da7d0a 100%);
}

.progress-fill.anaer {
  background: linear-gradient(145deg, #ee5a5a 0%, #c02d5e 100%);
}

.progress-fill.aero {
  background: linear-gradient(145deg, #1f8d86 0%, #11606a 100%);
}

.progress-fill.carb {
  background: linear-gradient(145deg, #3470f4 0%, #204eb8 100%);
}

.progress-fill.fat {
  background: linear-gradient(145deg, #26a181 0%, #10745a 100%);
}

.cp-figure {
  overflow: hidden;
}

.cp-figure-plot {
  margin-top: 6px;
  position: relative;
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid #c7d8f2;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f9ff 100%);
  overflow: hidden;
}

.cp-axis {
  position: absolute;
  color: #38557f;
  font-weight: 700;
  font-size: 0.85rem;
}

.cp-axis-y {
  left: 10px;
  top: 112px;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.cp-axis-x {
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
}

.cp-curve {
  position: absolute;
  left: 16%;
  top: 16%;
  width: 58%;
  height: 58%;
  border-top: 7px solid #2b73f6;
  border-right: 7px solid transparent;
  border-radius: 60% 0 50% 0 / 80% 0 40% 0;
  transform: skewX(-14deg);
}

.cp-area {
  position: absolute;
  left: 16%;
  right: 15%;
  bottom: 20%;
  height: 34%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(55, 120, 230, 0.12) 0px,
    rgba(55, 120, 230, 0.12) 6px,
    rgba(55, 120, 230, 0.26) 6px,
    rgba(55, 120, 230, 0.26) 10px
  );
  border: 1px solid #b9d0f2;
  border-radius: 8px;
}

.cp-line {
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 35%;
  border-top: 2px dashed #7797c4;
}

.cp-label {
  position: absolute;
  background: #f7fbff;
  border: 1px solid #c3d7f6;
  border-radius: 999px;
  color: #2a507f;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 9px;
}

.cp-label-wprime {
  top: 22%;
  left: 42%;
}

.cp-label-cp {
  right: 5%;
  bottom: 37%;
}

.cp-model-box {
  border: 1px dashed #a8c7e8;
  border-radius: 14px;
  background: #f8fcff;
  padding: 12px 14px;
}

.sport-model-stack {
  margin-top: 14px;
  display: grid;
  gap: 24px;
}

.sport-model-card + .sport-model-card {
  padding-top: 24px;
  border-top: 1px solid #d8e4f4;
}

.sport-model-header {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.sport-model-header h3 {
  margin-bottom: 0;
}

.sport-model-copy {
  margin: 0;
  color: #48607f;
  max-width: 70ch;
}

.cp-control + .cp-control {
  margin-top: 12px;
}

.cp-control label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #2d4d77;
  margin-bottom: 8px;
}

.cp-control input[type='range'] {
  width: 100%;
}

.cp-value-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c2d6f5;
  border-radius: 999px;
  background: #eef6ff;
  color: #2c5c8e;
  padding: 3px 9px;
  font-size: 0.9rem;
  font-weight: 700;
}

.cp-band-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cp-band {
  border: 1px solid #c7d8f1;
  border-radius: 999px;
  background: #f8fbff;
  color: #3f5f87;
  padding: 5px 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

.cp-band.active {
  border-color: #2f7794;
  background: linear-gradient(145deg, #1f6c89 0%, #1a5268 100%);
  color: #fff;
}

.cp-progress-rows {
  margin-top: 12px;
}

.cp-progress-row {
  grid-template-columns: minmax(130px, 220px) 1fr minmax(56px, 90px);
}

.progress-fill.cp-delta {
  background: linear-gradient(145deg, #2f6cf6 0%, #1f55d1 100%);
}

.progress-fill.cp-time {
  background: linear-gradient(145deg, #2f7f94 0%, #1f667b 100%);
}

.progress-fill.cp-wuse {
  background: linear-gradient(145deg, #2a8c94 0%, #206e87 100%);
}

.progress-fill.cp-maxpower {
  background: linear-gradient(145deg, #2f7f94 0%, #1f667b 100%);
}

.progress-fill.vt1-delta {
  background: linear-gradient(145deg, #2f6cf6 0%, #1f55d1 100%);
}

.progress-fill.vt1-drift {
  background: linear-gradient(145deg, #2f7f94 0%, #1f667b 100%);
}

.progress-fill.vt1-quality {
  background: linear-gradient(145deg, #1f8d86 0%, #11606a 100%);
}

.progress-fill.vt1-recovery {
  background: linear-gradient(145deg, #f39d2b 0%, #da7d0a 100%);
}

.progress-fill.vt1-tte {
  background: linear-gradient(145deg, #1f8d86 0%, #11606a 100%);
}

.progress-fill.vt2-delta {
  background: linear-gradient(145deg, #2f6cf6 0%, #1f55d1 100%);
}

.progress-fill.vt2-pressure {
  background: linear-gradient(145deg, #ee5a5a 0%, #c02d5e 100%);
}

.progress-fill.vt2-repeat {
  background: linear-gradient(145deg, #2f7f94 0%, #1f667b 100%);
}

.progress-fill.vt2-dose {
  background: linear-gradient(145deg, #1f8d86 0%, #11606a 100%);
}

.vt1-strip .cp-strip-block.work {
  background: #23737d;
  border-color: #1a5d69;
}

.vt2-strip .cp-strip-block.work {
  background: #2e6488;
  border-color: #214c69;
}

.cp-strip-panel {
  border-style: solid;
}

.cp-strip-legend {
  margin: 0;
  color: #2d537f;
  font-weight: 700;
  font-size: 0.92rem;
}

.cp-strip {
  position: relative;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.cp-strip-block {
  height: 62px;
  border-radius: 8px;
  border: 1px solid #9ec7d2;
  background: #d9eef2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cp-strip-block.work {
  background: #2d7580;
  border-color: #1f6572;
}

.cp-strip-cp-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 1px dashed #6e93b9;
  pointer-events: none;
  text-align: right;
  color: #315c8a;
  font-weight: 800;
  font-size: 0.82rem;
}

.cp-vars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sport-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.sport-case-copy {
  margin: 10px 0 0;
  color: #2f4467;
}

.cp-vars-time {
  grid-column: span 1;
}

.chain-flow {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.chain-node {
  border: 1px solid #c8d9f3;
  border-radius: 12px;
  background: #f8fcff;
  color: #2a456e;
  font-weight: 700;
  text-align: center;
  padding: 8px 10px;
}

.chain-node.active {
  background: linear-gradient(150deg, #e7f5f7 0%, #d8edf2 100%);
  border-color: #87b4c7;
  color: #1d4c61;
}

.chain-arrow {
  color: #4a678d;
  font-weight: 800;
}

.chain-note {
  display: inline-flex;
  margin-top: 10px;
  border: 1px dashed #9ac3de;
  border-radius: 999px;
  background: #eff8ff;
  color: #2a567a;
  padding: 5px 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.interval-strip {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interval-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #bfd4f4;
  background: #f1f7ff;
  color: #264e7b;
  font-size: 0.82rem;
  font-weight: 700;
}

.interval-chip.work {
  border-color: #2e7287;
  background: #26677d;
  color: #fff;
}

[data-energy-zone-panel],
[data-zone-model-panel] {
  display: none;
}

[data-energy-zone-panel].active,
[data-zone-model-panel].active {
  display: block;
}

.summary-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #213d65;
}

.summary-list li + li {
  margin-top: 6px;
}

.summary-outro {
  text-align: center;
  font-weight: 700;
  color: #2a4e77;
  margin: 10px 0 0;
}

.ai-page-main {
  padding: 10px 0 28px;
}

.ai-interface-section {
  padding: 14px 0 0;
}

.ai-interface-container {
  width: min(1120px, 94vw);
  max-width: 1120px;
}

.ai-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
}

.ai-chat-wrap {
  display: grid;
  gap: 12px;
}

.ai-chat-full {
  max-width: 1120px;
  margin: 0 auto;
}

.ai-fullpage-chat {
  min-height: calc(100vh - 220px);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ai-chat-surface {
  border: 1px solid #bcd2f3;
  border-radius: 22px;
  background: linear-gradient(164deg, #f8fbff 0%, #eaf2fd 100%);
  box-shadow: 0 16px 38px rgba(18, 63, 147, 0.12);
  padding: clamp(16px, 2.6vw, 24px);
}

.ai-streamlit-surface {
  min-height: 72vh;
}

.ai-main-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  color: #222b3e;
}

.ai-main-subtitle {
  margin: 0;
  color: #35507a;
  max-width: 84ch;
}

.ai-upload-expander {
  border: 1px solid #b9cff4;
  border-radius: 14px;
  background: #f4f8fe;
  overflow: hidden;
}

.ai-upload-expander summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: #2f4f80;
}

.ai-upload-expander summary::-webkit-details-marker {
  display: none;
}

.ai-upload-expander[open] summary {
  border-bottom: 1px solid #c8daf8;
}

.ai-upload-body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}

.ai-chat-feed {
  border: 1px solid #bdd3f4;
  border-radius: 16px;
  background: #edf3fb;
  min-height: calc(100vh - 410px);
  max-height: none;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  max-width: min(82%, 760px);
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.46;
  font-size: 0.94rem;
  white-space: pre-wrap;
}

.ai-msg.user {
  margin-left: auto;
  background: linear-gradient(145deg, #2868f3 0%, #1f53c6 100%);
  color: #fff;
  border-bottom-right-radius: 8px;
  max-width: min(72%, 680px);
}

.ai-msg.assistant {
  margin-right: auto;
  background: #e9f1ff;
  border: 1px solid #bdd0f0;
  color: #22446d;
  border-bottom-left-radius: 8px;
  max-width: min(100%, 92ch);
}

.ai-msg.assistant h2,
.ai-msg.assistant h3,
.ai-msg.assistant h4 {
  margin: 16px 0 8px;
  color: #1d3154;
  line-height: 1.2;
}

.ai-msg.assistant h2 {
  font-size: 1.45rem;
}

.ai-msg.assistant h3 {
  font-size: 1.24rem;
}

.ai-msg.assistant h4 {
  font-size: 1.08rem;
}

.ai-msg.assistant p {
  margin: 0 0 10px;
}

.ai-msg.assistant ul,
.ai-msg.assistant ol {
  margin: 0 0 10px 20px;
  padding: 0;
}

.ai-msg.assistant li {
  margin-bottom: 6px;
}

.ai-msg.assistant hr {
  border: none;
  border-top: 1px solid #bed0ea;
  margin: 20px 0;
}

.ai-msg.assistant.is-thinking {
  max-width: min(74%, 620px);
}

.ai-thinking {
  display: grid;
  gap: 8px;
}

.ai-thinking-lane {
  overflow: hidden;
  border: 1px dashed #b8ccef;
  border-radius: 999px;
  background: #f4f8ff;
  padding: 6px 0;
}

.ai-thinking-bikes {
  display: inline-block;
  white-space: nowrap;
  padding-left: 8px;
  animation: ai-bike-ride 2.8s linear infinite;
  will-change: transform;
}

@keyframes ai-bike-ride {
  0% {
    transform: translateX(-32%);
  }
  100% {
    transform: translateX(220%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-thinking-bikes {
    animation: none;
  }
}

.ai-chat-form {
  display: grid;
  gap: 10px;
}

.ai-chat-form-inline {
  grid-template-columns: 1fr auto;
  align-items: end;
  position: sticky;
  bottom: 0;
  z-index: 6;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0) 0%, rgba(239, 246, 255, 0.92) 34%, #eff6ff 100%);
  padding-top: 8px;
}

.ai-chat-form-inline textarea {
  min-height: 68px !important;
  max-height: 260px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ai-send-btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  font-size: 1.15rem;
}

.ai-chat-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-chip-row .button {
  border-radius: 14px;
  font-weight: 700;
}

.ai-upload-note {
  margin: 0;
  color: #2f517f;
  font-size: 0.94rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: #2b4268;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid #c8d8f2;
  font: inherit;
  padding: 11px 12px;
  background: #fbfdff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9fc0ff;
  border-color: #7ca8ff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  color: #4e678f;
  font-size: 0.9rem;
  margin: 8px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 4px;
  font-size: 0.86rem;
  color: #6d82a8;
}

.breadcrumbs a {
  color: #2c4f83;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #9fb3d7;
  font-weight: 700;
}

.breadcrumbs [aria-current='page'] {
  color: #6d82a8;
  font-weight: 700;
}

.faq details + details {
  margin-top: 10px;
}

.site-footer {
  margin-top: 54px;
  background: #0f244e;
  color: #c8d8f5;
}

.footer-grid {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.site-footer a {
  color: #e7f0ff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(201, 219, 255, 0.18);
  padding: 12px 0 18px;
  font-size: 0.9rem;
}

.cta-banner {
  background: linear-gradient(160deg, #2d73ff 0%, #0f43ba 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-banner p {
  margin: 0;
  max-width: 60ch;
  opacity: 0.92;
}

.small-note {
  margin: 0;
  font-size: 0.88rem;
  color: #4e678f;
}

.summary-cta {
  margin-top: 14px;
  background: #eef5ff;
  border: 1px solid #ccdefe;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-cta p {
  margin: 0;
  color: #2d4e7c;
  max-width: 62ch;
}

.coach-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

.coach-photo-card {
  overflow: hidden;
  padding: 0;
}

.coach-media {
  margin-top: 0;
}

.coach-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #2f4467;
}

.coach-list li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-layout,
  .zones-hero-layout,
  .offer-hero-layout,
  .location-grid,
  .offer-overview-grid,
  .offer-recommend-grid,
  .offer-location-grid,
  .offer-value-grid,
  .offer-choice-grid,
  .footer-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .cp-vars-grid,
  .coach-layout {
    grid-template-columns: 1fr;
  }

  .zones-mini-grid,
  .zones-domain-grid,
  .zones-proof-grid,
  .zones-field-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-side {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    min-width: 210px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .desktop-book {
    display: none;
  }

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

  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .chain-flow {
    grid-template-columns: 1fr;
  }

  .chain-arrow {
    display: none;
  }

  .brand-logo {
    height: 58px;
  }

  .cp-progress-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cp-progress-row strong {
    justify-self: start;
  }

  .cp-label {
    display: none;
  }

  .sport-case-grid {
    grid-template-columns: 1fr;
  }

  .ai-shell {
    grid-template-columns: 1fr;
  }

  .ai-chat-feed {
    min-height: 56vh;
    max-height: none;
  }

  .cp-strip-block {
    height: 52px;
  }

  .page-hero {
    padding: 56px 0 36px;
  }

  .section {
    padding: 34px 0;
  }

  .run-track-overlay {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, 94vw);
  }

  .brand-logo {
    height: 50px;
    max-width: 180px;
  }

  .main-nav {
    min-width: min(240px, 92vw);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .links-inline .button,
  .ai-chat-actions .button,
  .offer-subnav-link {
    width: 100%;
  }

  .ai-chat-form-inline {
    grid-template-columns: 1fr;
  }

  .ai-send-btn {
    width: 100%;
  }

  .cta-banner {
    padding: 18px;
  }

  .ai-chat-feed {
    min-height: 52vh;
    max-height: none;
  }

  .cp-strip {
    gap: 4px;
  }

  .cp-strip-block {
    height: 44px;
  }

  .floating-instagram {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}
