/* In Motion: the coaching front page. Loaded on its own, without Tailwind.
   Full-bleed photo bands alternating with an editorial grid: square corners,
   hairlines, mono spec labels. One grotesk (Chivo) plus its mono; the coach
   intro borrows a condensed display face for its one loud headline.
   Dark base; the photos and the pink call to action carry the colour. */
:root {
  --night: #070B18;
  --navy: #0C1730;
  --panel: #101C38;
  --lake: #0A2A63;
  --line: rgba(242, 245, 250, 0.13);
  --line2: rgba(242, 245, 250, 0.3);
  --paper: #F2F5FA;
  --soft: rgba(242, 245, 250, 0.8);
  --muted: #95A2BA;
  --pink: #E20B79;
  --pink-hi: #F4268F;
  --cyan: #7ED8EF;
  --cyan-hi: #3FD0F5;
  --sans: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Chivo Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --g: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--night); scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
b { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

.gx {
  padding-left: max(var(--g), env(safe-area-inset-left, 0px));
  padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.fx { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--paper); color: var(--night); padding: 10px 14px; text-decoration: none;
}
.skip:focus { left: 16px; }

.flash {
  position: fixed; z-index: 55; top: calc(74px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  background: var(--paper); color: var(--night); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  max-width: calc(100vw - 32px);
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font: 500 14px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.arr {
  display: inline-block; width: 0.74em; height: 0.74em; flex: none; vertical-align: 0.02em;
  fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.45s var(--ease);
}
a:hover .arr, button:hover .arr { transform: translate(2px, -2px); }
.pill:active { transform: scale(0.98); }
.pill-pink { background: var(--pink); color: #fff; }
.pill-pink:hover { background: var(--pink-hi); }
.pill-ghost { border-color: rgba(242, 245, 250, 0.55); color: var(--paper); background: rgba(7, 11, 24, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pill-ghost:hover { background: var(--paper); color: var(--night); border-color: var(--paper); }
.pill-lg { height: 50px; padding: 0 24px; font-size: 15px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.hdr.solid {
  background: rgba(7, 11, 24, 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.hdr-in { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr nav { display: flex; gap: 24px; }
.hdr nav a { font-size: 13px; text-decoration: none; opacity: 0.86; white-space: nowrap; transition: opacity 0.3s var(--ease); }
.hdr nav a:hover { opacity: 1; }
.wordmark { font-weight: 600; font-size: 23px; letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.hdr .end { justify-self: end; }
@media (max-width: 760px) {
  .hdr-in { grid-template-columns: 1fr auto; height: 56px; }
  .hdr nav { display: none; }
  .hdr .pill { height: 36px; padding: 0 14px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: min(100svh, 1000px); min-height: 620px; overflow: hidden; background: var(--night); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 38%;
  will-change: transform;
}
.intro .hero-img { filter: url(#mbHero); transform: translateX(-3%) scale(1.1); transition: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 11, 24, 0.94) 0%, rgba(7, 11, 24, 0.6) 26%, rgba(7, 11, 24, 0) 56%),
    linear-gradient(to bottom, rgba(7, 11, 24, 0.55) 0%, rgba(7, 11, 24, 0) 16%);
}
.hero-c {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding-bottom: clamp(28px, 4.6vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px;
}
.hero h1 {
  font-size: clamp(40px, 5.8vw, 88px); line-height: 0.98; letter-spacing: -0.038em;
  max-width: 12.4em; margin-top: 16px;
}
.hero .lede { max-width: 33em; margin-top: 20px; font-size: 17px; color: var(--soft); }
.hero .ctas { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 4px; }
.hero .rise { animation: rise 1s var(--ease) both; }
.hero .rise:nth-child(2) { animation-delay: 0.12s; }
.hero .rise:nth-child(3) { animation-delay: 0.24s; }
.hero .ctas.rise { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero { min-height: 640px; height: 100svh; max-height: 860px; }
  .hero-img { object-position: 52% 22%; }
  .hero::after {
    background:
      linear-gradient(to top, rgba(7, 11, 24, 0.96) 0%, rgba(7, 11, 24, 0.78) 38%, rgba(7, 11, 24, 0) 68%),
      linear-gradient(to bottom, rgba(7, 11, 24, 0.5) 0%, rgba(7, 11, 24, 0) 14%);
  }
  /* Bottom room keeps the call to action clear of the support chat bubble. */
  .hero-c { grid-template-columns: 1fr; gap: 22px; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .hero .lede { font-size: 16px; }
  .hero .ctas .pill { flex: 1 1 auto; }
  .hero .ctas .pill-ghost { display: none; }
}

/* ---------- Meet Inke: lake blue, results-sheet profile ---------- */
.meet { background: var(--lake); padding-block: clamp(56px, 8vw, 128px); }
.meet-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px); align-items: start;
  max-width: 1380px; margin-inline: auto;
}
.meet .frame { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--navy); aspect-ratio: 4 / 5; }
.meet .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.meet-copy { display: grid; gap: 26px; padding-top: clamp(0px, 2vw, 24px); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 245, 250, 0.7);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-hi); flex: none; }
.meet h2 {
  font: 800 clamp(56px, 8.4vw, 132px)/0.86 var(--display);
  text-transform: uppercase; letter-spacing: -0.005em;
}
.meet .lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 40ch; }
.results { margin: 10px 0 0; border-top: 1px solid rgba(242, 245, 250, 0.2); }
.results .head {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 245, 250, 0.7);
}
.results .rw { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px dashed rgba(242, 245, 250, 0.22); }
.results dt { font: 700 12px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-hi); }
.results dd { margin: 0; line-height: 1.45; }
@media (max-width: 900px) {
  .meet-grid { grid-template-columns: minmax(0, 1fr); }
  .meet .frame { max-width: 520px; }
}
@media (max-width: 560px) {
  .results .rw { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(76px, 10vw, 148px); }
.sec.flush { padding-top: 0; }
.h2 { font-size: clamp(32px, 4.3vw, 62px); line-height: 1; letter-spacing: -0.032em; margin-top: 14px; }
/* Section opener: label, headline, one line of support, all on one left edge. */
.ch { display: grid; gap: 0; margin-bottom: clamp(32px, 4vw, 52px); }
.ch h2 { font-size: clamp(32px, 4.3vw, 62px); line-height: 1; letter-spacing: -0.032em; margin-top: 14px; max-width: 16em; }
.ch .sup { color: var(--soft); max-width: 36em; margin-top: 20px; font-size: 17px; }

/* ---------- Swim / Bike / Run tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); transition: transform 0.35s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 11, 24, 0.45), rgba(7, 11, 24, 0));
}
.tile .n { position: absolute; top: 18px; left: 20px; z-index: 2; }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 96px 22px 22px;
  background: linear-gradient(to top, rgba(7, 11, 24, 0.92) 18%, rgba(7, 11, 24, 0.6) 58%, rgba(7, 11, 24, 0));
  display: grid; gap: 10px;
}
.tile h3 { font-size: clamp(36px, 3.8vw, 56px); line-height: 0.95; letter-spacing: -0.035em; }
.tile p { font-size: 14.5px; color: var(--soft); max-width: 30ch; }
@media (max-width: 760px) {
  .tiles {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-inline: max(var(--g), env(safe-area-inset-left, 0px));
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}

/* ---------- Goals: a ruled grid on wide screens, a numbered start list in big type on phones ---------- */
.goals { margin-top: clamp(40px, 5vw, 72px); }
.goals-h { margin-bottom: 14px; }
.goal-grid {
  list-style: none; margin: 0; padding: 0; counter-reset: goal;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.goal-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.goal {
  display: grid; align-content: space-between; gap: 28px; height: 100%; min-height: 132px;
  padding: 18px 20px 22px; text-decoration: none;
}
.goal .mono { color: var(--muted); }
.goal b { font-size: clamp(19px, 1.75vw, 25px); letter-spacing: -0.022em; line-height: 1.12; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.d-swim { background: var(--cyan); }
.d-bike { background: var(--pink-hi); }
.d-run { background: var(--paper); }
.d-str { background: var(--muted); }
.d-rest { border: 1.5px solid var(--muted); }
a.goal { background: var(--pink); color: #fff; transition: background 0.3s var(--ease); }
a.goal:hover { background: var(--pink-hi); }
a.goal .mono { color: rgba(255, 255, 255, 0.86); }
.goals .fine { margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .goal-grid { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .goal-grid li { border-right: 0; }
  .goal {
    grid-template-columns: 40px minmax(0, 1fr); align-content: start; gap: 9px 0;
    min-height: 0; padding: 20px 0 22px;
  }
  div.goal::before {
    counter-increment: goal; content: counter(goal, decimal-leading-zero);
    grid-column: 1; grid-row: 1 / span 2; padding-top: 0.62em;
    font: 500 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--pink-hi);
  }
  .goal b { grid-column: 2; grid-row: 1; font-size: clamp(29px, 8.4vw, 42px); letter-spacing: -0.038em; line-height: 1; }
  .goal .mono { grid-column: 2; grid-row: 2; }
  a.goal { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 18px 24px; }
  a.goal .mono { grid-column: 1; grid-row: 1; }
  a.goal b { grid-column: 1; grid-row: 2; }
}

/* ---------- Band: the words beside a portrait; on phones the portrait fills it ---------- */
.band { position: relative; height: clamp(540px, 88vh, 920px); overflow: hidden; background: var(--navy); }
.band figure { position: absolute; inset: 0; margin: 0; }
.band figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 11, 24, 0.94) 0%, rgba(7, 11, 24, 0.6) 34%, rgba(7, 11, 24, 0) 64%);
}
.band .c { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(32px, 5vw, 72px); }
.band h2 { font-size: clamp(34px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.038em; margin-top: 14px; max-width: 10.5em; }
.band .sup { color: var(--soft); max-width: 30em; margin-top: 22px; font-size: 17px; }
@media (min-width: 861px) {
  .band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .band::after { content: none; }
  .band figure { position: relative; inset: auto; order: 2; overflow: hidden; }
  .band .c { position: static; order: 1; align-self: center; padding-block: clamp(48px, 6vw, 96px); }
}

/* ---------- What you get ---------- */
.get { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); }
.get .stick { position: sticky; top: 104px; align-self: start; }
.get .stick p:last-child { color: var(--soft); margin-top: 20px; max-width: 26em; }
.get ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.get li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 8px 24px; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.get li b { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.get li .mono { color: var(--muted); text-align: right; padding-top: 6px; }
.get li p { grid-column: 1 / -1; color: var(--soft); font-size: 15.5px; max-width: 46em; }
.get li .more {
  grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-weight: 500; font-size: 15.5px;
  text-decoration: underline; text-decoration-color: var(--pink-hi); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
@media (max-width: 860px) {
  .get { grid-template-columns: 1fr; }
  .get .stick { position: static; }
  .get li { grid-template-columns: 1fr; }
  .get li .mono { text-align: left; padding-top: 0; order: -1; }
}

/* ---------- A week, coached ---------- */
.week { background: var(--navy); }
.week-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px 56px; align-items: end; margin-bottom: 40px; }
.msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: end; }
.msg img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.bubble { background: var(--paper); color: var(--night); padding: 15px 18px; border-radius: 20px 20px 20px 4px; font-size: 16px; line-height: 1.45; }
.msg .meta { grid-column: 2; color: var(--muted); margin-top: 2px; }
.row {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
  scroll-padding-inline: max(var(--g), env(safe-area-inset-left, 0px));
  --hs: 0deg;
}
.row::-webkit-scrollbar { display: none; }
.row.drag { scroll-snap-type: none; cursor: grabbing; }
.row.drag .day { user-select: none; }
.row::after { content: ""; flex: 0 0 1px; }
.day {
  flex: 0 0 clamp(250px, 23vw, 310px); min-height: 330px; scroll-snap-align: start;
  background: var(--panel); padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transform: skewX(var(--hs)); transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.day:hover { background: #142449; }
.day .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.disc { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); }
.day h3 { font-size: 27px; line-height: 1.05; letter-spacing: -0.025em; margin-top: 26px; }
.day p { font-size: 14.5px; color: var(--soft); }
.day s { color: var(--muted); text-decoration-thickness: 1px; }
.day .foot { margin-top: auto; display: grid; gap: 8px; }
.bar { height: 3px; background: var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; }
.badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--pink-hi); color: var(--pink-hi); white-space: nowrap; }
.week-foot { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.prog { flex: 1; height: 1px; background: var(--line2); position: relative; }
.prog i { position: absolute; left: 0; top: -1px; height: 3px; width: 30%; background: var(--paper); }
.ctrl { display: flex; gap: 8px; }
.ctrl button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ctrl button:hover { background: var(--paper); color: var(--night); }
@media (max-width: 860px) { .week-head { grid-template-columns: 1fr; } }

/* ---------- Tagline reveal ---------- */
.why { padding-block: clamp(96px, 14vw, 200px); }
.tl { font-size: clamp(38px, 6.6vw, 108px); line-height: 0.98; letter-spacing: -0.045em; max-width: 13.5em; margin-top: 22px; font-weight: 500; }
.tl .w { transition: color 0.6s var(--ease); }
.tl .w.pk { color: var(--pink-hi); }
.js .tl .w { color: rgba(242, 245, 250, 0.15); }
.js .tl .w.on { color: var(--paper); }
.js .tl .w.pk.on { color: var(--pink-hi); }
.why-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 980px; margin-top: clamp(40px, 5vw, 72px); color: var(--soft); }
@media (max-width: 760px) { .why-cols { grid-template-columns: 1fr; } }

/* ---------- Photo strip: one wide detail shot between the text sections ---------- */
.strip { margin: 0; overflow: hidden; background: var(--navy); aspect-ratio: 21 / 9; max-height: 780px; }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
@media (max-width: 760px) { .strip { aspect-ratio: 4 / 3; } }
/* The ambassador note under it: one ruled row, laid out like the one-off race plans row. */
.amb {
  padding-block: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end;
}
.amb .code b { justify-self: start; font-family: var(--mono); letter-spacing: 0.06em; padding: 10px 14px; border: 1px dashed var(--line2); }
@media (max-width: 860px) { .amb { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Athletes: ruled rows, the opening line set large ---------- */
.qt {
  margin: 0; border-top: 1px solid var(--line); padding-block: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "big body" "who body";
  grid-template-rows: auto 1fr;
  gap: 24px clamp(32px, 6vw, 96px);
}
.qt:last-child { border-bottom: 1px solid var(--line); }
.qt blockquote { display: contents; }
.qt-big {
  grid-area: big; position: relative; padding-top: 44px;
  font-size: clamp(26px, 3.1vw, 46px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 500;
}
.qt-big::before { content: "\201C"; position: absolute; top: 0; left: -0.04em; font-size: 72px; line-height: 1; color: var(--pink-hi); }
.qt-body { grid-area: body; display: grid; gap: 1em; align-content: start; color: var(--soft); font-size: 17px; line-height: 1.6; max-width: 62ch; padding-top: 44px; }
.qt-body em { font-style: normal; color: var(--paper); }
.qt figcaption { grid-area: who; align-self: start; color: var(--muted); }
.qt figcaption b { color: var(--paper); }
.qt.solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "big" "who"; }
.qt.solo .qt-big { max-width: 23em; }
@media (max-width: 860px) {
  .qt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "big" "body" "who"; grid-template-rows: none; }
  .qt-body { padding-top: 0; font-size: 16px; }
}

/* ---------- Price + steps ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); }
.amt { font-size: clamp(76px, 11.5vw, 176px); line-height: 0.86; letter-spacing: -0.06em; font-weight: 500; margin-top: 18px; white-space: nowrap; }
.amt small { font-size: 0.2em; letter-spacing: -0.01em; color: var(--muted); font-weight: 400; margin-left: 0.15em; }
.price .terms { margin-top: 22px; color: var(--muted); }
.price .need { margin-top: 18px; color: var(--soft); max-width: 30em; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--pink-hi); padding-top: 7px; }
.steps b { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.steps p { color: var(--soft); font-size: 15.5px; }
.price .go { margin-top: 32px; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

/* ---------- One-off race plans: the smaller offer, one ruled row ---------- */
.oneoff {
  margin-top: clamp(56px, 8vw, 112px); padding-block: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end;
  scroll-margin-top: 90px;
}
.oneoff h3, .amb h3 { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.06; letter-spacing: -0.032em; margin-top: 14px; max-width: 15em; }
.oneoff .side, .amb .side { display: grid; gap: 22px; justify-items: start; }
.oneoff .tbc, .amb .code { display: grid; gap: 6px; }
.oneoff .tbc b, .amb .code b { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
@media (max-width: 860px) { .oneoff { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Book ---------- */
.book { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 150px); background: var(--navy); scroll-margin-top: 0; }
.book > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.book::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(7, 11, 24, 0.94) 0%, rgba(7, 11, 24, 0.72) 48%, rgba(7, 11, 24, 0.5) 100%);
}
.book .in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px 64px; align-items: start; }
.book h2 { font-size: clamp(36px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.04em; margin-top: 14px; max-width: 10em; }
.book .sub { color: var(--soft); margin-top: 20px; max-width: 26em; font-size: 17px; }
.panel {
  background: rgba(7, 11, 24, 0.74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px);
}
form { display: grid; gap: 22px; }
.f label { display: block; margin-bottom: 4px; color: var(--muted); }
.f label .opt { text-transform: none; letter-spacing: 0; opacity: 0.8; }
.f input, .f select, .f textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(242, 245, 250, 0.35);
  border-radius: 0; padding: 10px 0 11px; font-size: 16px; color: var(--paper); outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.f textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.f select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2F5FA' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.f select option { background: var(--night); color: var(--paper); }
.f input::placeholder, .f textarea::placeholder { color: rgba(242, 245, 250, 0.38); }
.f input:focus, .f select:focus, .f textarea:focus { border-bottom-color: var(--pink-hi); box-shadow: 0 1px 0 var(--pink-hi); }
.f [aria-invalid="true"] { border-bottom-color: #FF6FA5; }
.err { color: #FF8DB8; font-size: 13.5px; margin-top: 6px; }
.form-err { color: #FF8DB8; border: 1px solid rgba(255, 141, 184, 0.5); padding: 10px 14px; font-size: 14.5px; margin-bottom: 22px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hp { position: absolute; left: -9999px; top: 0; width: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot .mono { color: var(--muted); }
.fine { color: var(--muted); font-size: 13.5px; }
.sent { display: grid; gap: 14px; }
.sent h3 { font-size: 32px; letter-spacing: -0.03em; line-height: 1.05; }
.sent p { color: var(--soft); }
@media (max-width: 960px) { .book .in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--navy); }
.promise { display: flex; gap: 14px; align-items: center; padding: 28px 20px; border-right: 1px solid var(--line); min-width: 0; }
.promise:first-child { padding-left: 0; }
.promise:last-child { border-right: 0; }
.promise svg { flex: none; width: 28px; height: 28px; stroke: var(--paper); fill: none; stroke-width: 1.4; }
.promise b { font-size: 16px; display: block; }
.promise span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .promises { grid-template-columns: 1fr; }
  .promise { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .promise:last-child { border-bottom: 0; }
}
.foot { padding-top: clamp(40px, 6vw, 80px); }
.bigmark { font-size: clamp(88px, 22vw, 360px); font-weight: 600; letter-spacing: -0.075em; line-height: 0.78; margin: 0 0 0 -0.04em; transition: transform 0.35s var(--ease); transform-origin: left bottom; }
.fcols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: clamp(40px, 5vw, 64px); }
.fcols h4 { margin: 0 0 12px; color: var(--muted); font-weight: 400; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.fcols a { text-decoration: none; opacity: 0.88; }
.fcols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.fcols .lead { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; max-width: 16em; }
.accred { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.accred img { width: auto; height: 108px; flex: none; }
.accred .mono { color: var(--muted); line-height: 1.5; padding-left: 16px; border-left: 1px solid var(--line2); }
.fcols .ig { display: inline-flex; margin-top: 4px; }
.fcols .ig svg { width: 22px; height: 22px; fill: currentColor; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px 104px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--paper); }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } .fcols > div:first-child { grid-column: 1 / -1; } }

/* ---------- Privacy and Terms ---------- */
.doc { padding-top: calc(62px + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(56px, 8vw, 104px); }
.doc article { max-width: 46em; }
.doc h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.doc .updated { margin: 14px 0 40px; }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--soft); }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 18px; padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc strong { font-weight: 500; color: var(--paper); }
.doc a { text-underline-offset: 3px; }

/* ---------- Scroll pace readout ---------- */
.pace {
  position: fixed; z-index: 40;
  left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 11, 24, 0.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line2); border-radius: 999px; padding: 9px 14px; color: var(--muted);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.pace b { color: var(--paper); display: inline-block; min-width: 4.2ch; text-align: right; }
@media (max-width: 760px) { .pace { display: none; } }

/* The base layout's "stop impersonating" chip is styled with Tailwind, which this page doesn't load. */
a[href*="_switch_user=_exit"] {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: #E85D1F; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none;
}
a[href*="_switch_user=_exit"] svg { width: 16px; height: 16px; }

/* ---------- Motion blur (scroll speed) ---------- */
[data-mb] img { transition: transform 0.6s var(--ease); }
[data-mb].blurring img { filter: url(#mb); transform: scale(1.07); }
[data-mb].blurring.txt { filter: url(#mb); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .tl .w { color: var(--paper); }
  .js .tl .w.pk { color: var(--pink-hi); }
}
