/* ==========================================================================
   Atlas Fitlab
   ========================================================================== */

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/syne.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic.woff2") format("woff2");
}

:root {
  --bg: #0b0b0a;
  --surface: #141413;
  --elevated: #1c1c1a;
  --fg: #f3f0e8;
  --fg-soft: rgb(243 240 232 / 0.82);
  --muted: #a39e94;
  --subtle: #6e6a63;
  --accent: #e8e2d4;
  --accent-fg: #0b0b0a;
  --line: rgb(243 240 232 / 0.09);
  --line-strong: rgb(243 240 232 / 0.18);
  --glass: rgb(20 20 19 / 0.58);
  --glass-strong: rgb(20 20 19 / 0.78);
  --danger: #e2826a;

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 24px;
  --shadow-lift: 0 30px 60px -30px rgb(0 0 0 / 0.7);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  line-height: 1.55;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

::selection {
  background: var(--accent);
  color: var(--accent-fg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main,
.header,
.footer {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Atmosphere: backdrop, WebGL canvas, grain
   -------------------------------------------------------------------------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 72% 18%, rgb(232 226 212 / 0.07), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgb(232 226 212 / 0.04), transparent 70%),
    var(--bg);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(243 240 232 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(243 240 232 / 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 80%);
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}

.scene-ready #scene {
  opacity: 1;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Stages reserve room for the particle formation of their section. */
.stage {
  position: relative;
  width: 100%;
  height: clamp(230px, 27vw, 380px);
  pointer-events: none;
}

.stage--wide {
  height: clamp(190px, 21vw, 280px);
}

.stage--sm {
  width: clamp(140px, 15vw, 230px);
  height: clamp(140px, 15vw, 230px);
  flex: none;
}

.stage--faq {
  height: clamp(220px, 26vw, 340px);
  margin-top: 32px;
}

.stage--apply {
  height: clamp(200px, 20vw, 280px);
  margin-block: 28px;
}

.no-webgl .stage {
  display: none;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow,
.kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.headline {
  margin-top: 18px;
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.1vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 34em;
  font-size: clamp(1.02rem, 0.35vw + 0.95rem, 1.18rem);
  color: var(--muted);
}

.fineprint {
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--subtle);
}

.link-underline {
  position: relative;
  display: inline-block;
  width: fit-content;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition:
    background-size 0.45s var(--ease-out),
    color 0.3s;
}

.link-underline:hover {
  background-size: 100% 1px;
  color: var(--fg);
}

/* Split-word headline reveal (JS wraps each word). */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.w > span {
  display: inline-block;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.js [data-split]:not(.is-in) .w > span {
  transform: translateY(108%);
}

/* Generic reveals */
/* Uses the individual `translate` property so it composes with tilt transforms. */
.js .reveal,
.js .reveal-group > * {
  opacity: 0;
  translate: 0 26px;
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-out),
    translate 0.9s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 0.8s var(--ease-out),
    box-shadow 0.4s;
}

.js .reveal-group > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.is-in,
.js .reveal-group.is-in > * {
  opacity: 1;
  translate: none;
  filter: none;
}

.js .reveal-group > .is-tilting {
  transition:
    opacity 0.9s var(--ease-out),
    translate 0.9s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 0.12s linear;
}

.js .reveal-clip {
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition: clip-path 1.3s var(--ease-in-out);
}

.js .reveal-clip.is-in {
  clip-path: inset(0 0 0 0 round var(--radius));
}

/* --------------------------------------------------------------------------
   Loader & page curtain
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}

.no-js .loader,
.loader.is-done {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.loader.is-gone {
  display: none;
}

.loader__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  transition:
    transform 1s var(--ease-in-out),
    opacity 0.6s;
}

.loader.is-done .loader__inner {
  transform: translateY(-40px);
  opacity: 0;
}

.loader__mark {
  width: 76px;
  height: 80px;
  overflow: visible;
}

.loader__mark circle,
.loader__mark path,
.success__mark circle,
.success__mark path {
  fill: none;
  stroke: var(--fg);
  stroke-width: 12;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linejoin: miter;
  stroke-miterlimit: 6;
}

.loader__mark circle {
  animation: draw 1.1s var(--ease-in-out) forwards;
}

.loader__mark path:nth-of-type(1) {
  animation: draw 0.9s var(--ease-in-out) 0.25s forwards;
}

.loader__mark path:nth-of-type(2) {
  animation: draw 0.8s var(--ease-in-out) 0.45s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.loader__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-right: -0.42em;
  opacity: 0;
  animation: fade-in 0.8s var(--ease-out) 0.35s forwards;
}

.loader__count {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--gutter) - 8px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgb(243 240 232 / 0.1);
  font-variant-numeric: tabular-nums;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: grid;
  place-items: center;
  background: var(--surface);
  transform: translateY(100%);
  pointer-events: none;
}

.curtain__mark {
  width: 56px;
  height: 58px;
  color: var(--fg);
  opacity: 0;
  transition: opacity 0.3s;
}

.curtain.is-covering {
  transform: none;
  transition: transform 0.6s var(--ease-in-out);
  pointer-events: auto;
}

.curtain.is-covering .curtain__mark {
  opacity: 1;
  transition-delay: 0.3s;
}

.curtain.is-cover-static {
  transform: none;
}

.curtain.is-cover-static .curtain__mark {
  opacity: 1;
}

.curtain.is-revealing {
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease-in-out);
}

/* --------------------------------------------------------------------------
   Cursor
   -------------------------------------------------------------------------- */

.cursor {
  display: none;
}

.has-cursor .cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9995;
  pointer-events: none;
}

.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor [role="slider"],
.has-cursor label {
  cursor: none;
}

.has-cursor input,
.has-cursor textarea {
  cursor: text;
}

.has-cursor input[type="radio"],
.has-cursor input[type="checkbox"] {
  cursor: none;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--fg);
  mix-blend-mode: difference;
  transition:
    opacity 0.2s,
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out);
}

.cursor__ring {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgb(243 240 232 / 0.45);
  transition:
    width 0.45s var(--ease-out),
    height 0.45s var(--ease-out),
    margin 0.45s var(--ease-out),
    background-color 0.3s,
    border-color 0.3s,
    opacity 0.3s;
}

.cursor__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-fg);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.25s,
    transform 0.4s var(--ease-spring);
}

.cursor.is-link .cursor__ring {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: rgb(243 240 232 / 0.06);
  border-color: rgb(243 240 232 / 0.25);
}

.cursor.is-button .cursor__ring {
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}

.cursor.is-label .cursor__ring {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--accent);
  border-color: transparent;
}

.cursor.is-label .cursor__label {
  opacity: 1;
  transform: none;
}

.cursor.is-label .cursor__dot,
.cursor.is-text .cursor__dot,
.cursor.is-text .cursor__ring {
  opacity: 0;
}

.cursor.is-down .cursor__ring {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
}

.cursor.is-hidden {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition:
    transform 0.6s var(--ease-spring),
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s;
  -webkit-tap-highlight-color: transparent;
}

.btn__label,
.btn__icon,
.btn__spinner {
  position: relative;
  z-index: 1;
}

.btn__label {
  display: inline-flex;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 10px 30px -12px rgb(232 226 212 / 0.45);
}

.btn--primary:hover {
  background: #f6f2e8;
  box-shadow: 0 16px 40px -14px rgb(232 226 212 / 0.6);
}

.btn--ghost {
  color: var(--fg);
  background: rgb(243 240 232 / 0.04);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgb(243 240 232 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(243 240 232 / 0.32);
}

.btn--outline {
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  border-radius: 14px;
}

.btn--outline:hover {
  color: var(--accent-fg);
  background: var(--accent);
  box-shadow: inset 0 0 0 1px transparent;
}

.btn--light {
  background: var(--accent);
  color: var(--accent-fg);
  border-radius: 14px;
}

.btn--light:hover {
  background: #fbf8f1;
}

.btn--dark {
  background: var(--accent-fg);
  color: var(--fg);
  border-radius: 14px;
}

.btn--dark:hover {
  background: #22221f;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
}

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

.btn .ripple {
  position: absolute;
  z-index: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  pointer-events: none;
  animation: ripple 0.7s var(--ease-out) forwards;
}

@keyframes ripple {
  to {
    transform: scale(40);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition:
    transform 0.6s var(--ease-out),
    background-color 0.4s,
    backdrop-filter 0.4s;
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}

.header.is-scrolled {
  background: rgb(11 11 10 / 0.6);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.header.is-scrolled::after {
  opacity: 1;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.header__progress {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: 1;
}

.header__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform-origin: left;
  transform: scaleX(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
}

.brand__mark {
  width: 34px;
  height: 36px;
  transition: transform 0.8s var(--ease-spring);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
}

.nav__link {
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.3s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--fg);
}

.nav__pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: var(--w, 0px);
  border-radius: 999px;
  background: rgb(243 240 232 / 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateX(var(--x, 0px));
  opacity: 0;
  transition:
    transform 0.55s var(--ease-spring),
    width 0.55s var(--ease-spring),
    opacity 0.3s;
}

.nav__pill.is-visible {
  opacity: 1;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: rgb(243 240 232 / 0.04);
}

.menu-toggle__bars {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.menu-toggle__bars span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.5s var(--ease-spring);
}

.menu-toggle__bars span:first-child {
  transform: translateY(-4px);
}

.menu-toggle__bars span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgb(11 11 10 / 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  clip-path: circle(0% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
  transition: clip-path 0.75s var(--ease-in-out);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
}

.mobile-menu__nav {
  display: grid;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-out);
  transition-delay: calc(0.12s + var(--i, 0) * 50ms);
}

.mobile-menu__nav a span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--subtle);
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu__foot {
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 72px));
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 7vh, 72px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.2rem, 4.2vw, 4.75rem);
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.hero__title .line > span {
  display: inline-block;
  transition: transform 1.2s var(--ease-out);
}

.hero__title .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.16s; }
.hero__title .line:nth-child(4) > span { transition-delay: 0.24s; }

.js .hero:not(.is-in) .hero__title .line > span {
  transform: translateY(110%) rotate(3deg);
}

.hero__title .line--soft > span {
  background: linear-gradient(95deg, var(--fg) 0%, #a9a397 70%, #8a857b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: 28px;
  max-width: 30em;
  font-size: clamp(1.05rem, 0.4vw + 0.96rem, 1.2rem);
  color: var(--fg-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.js .hero .reveal {
  transition-delay: 0.45s;
}

.js .hero .hero__actions.reveal {
  transition-delay: 0.6s;
}

.hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.video-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    0 50px 100px -40px rgb(0 0 0 / 0.9);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.video-card.is-tilting,
.card.is-tilting {
  transition: transform 0.12s linear;
}

.js .hero:not(.is-in) .video-card {
  clip-path: inset(12% 12% 12% 12% round 28px);
  transform: scale(1.04);
}

.video-card {
  clip-path: inset(0 0 0 0 round 28px);
  transition:
    transform 0.8s var(--ease-out),
    clip-path 1.4s var(--ease-in-out) 0.15s;
}

.video-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.02);
}

.video-card__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 0%),
    rgb(255 255 255 / 0.22),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s;
}

.video-card:hover .video-card__glare {
  opacity: 1;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(11 11 10 / 0.35) 0%, transparent 22%, transparent 70%, rgb(11 11 10 / 0.5) 100%);
}

.video-card__meta {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgb(11 11 10 / 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s var(--ease-out) infinite;
}

.is-paused .live-dot::after {
  animation: none;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.video-toggle {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(11 11 10 / 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-spring);
}

.video-toggle:hover {
  transform: scale(1.08);
}

.video-toggle:active {
  transform: scale(0.94);
}

.video-toggle__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.video-toggle__ring circle {
  fill: none;
  stroke: rgb(243 240 232 / 0.18);
  stroke-width: 2;
}

.video-toggle__ring .video-toggle__progress {
  stroke: var(--fg);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--vp, 0));
}

.video-toggle__icon {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease-spring);
}

.video-toggle__icon--play {
  fill: var(--fg);
  stroke-width: 1;
  opacity: 0;
  transform: scale(0.5);
}

.is-paused .video-toggle__icon--pause {
  opacity: 0;
  transform: scale(0.5);
}

.is-paused .video-toggle__icon--play {
  opacity: 1;
  transform: none;
}

.hero__tag {
  margin-top: 18px;
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--subtle);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 26px 24px 0 0;
}

.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) 0;
  border-block: 1px solid var(--line);
  background: rgb(11 11 10 / 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__list {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__list li {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: clamp(28px, 4vw, 56px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: skewX(var(--skew, 0deg));
  transition: color 0.3s;
}

.marquee__list li::after {
  content: "";
  align-self: center;
  width: 0.5em;
  height: 0.52em;
  margin-left: clamp(28px, 4vw, 56px);
  background: var(--subtle);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -6 200 206'><g fill='none' stroke='black' stroke-width='14'><circle cx='100' cy='100' r='72'/><path d='M38.1 210 L100 18 L161.9 210 M60.6 210 L100 72 L139.4 210'/></g></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -6 200 206'><g fill='none' stroke='black' stroke-width='14'><circle cx='100' cy='100' r='72'/><path d='M38.1 210 L100 18 L161.9 210 M60.6 210 L100 72 L139.4 210'/></g></svg>") center / contain no-repeat;
}

.marquee__list li span {
  margin-top: 0.35em;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.marquee__list li.is-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgb(243 240 232 / 0.55);
}

.marquee__list li:hover {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-head__main .lede {
  margin-top: 22px;
}

.section-head__aside {
  display: grid;
  gap: 20px;
}

.section-head--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 0;
}

.section-head--stack .headline {
  max-width: 20ch;
}

/* Glass card with cursor spotlight + border glow. */
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(28 28 26 / 0.66), rgb(18 18 17 / 0.56));
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow-lift);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.8s var(--ease-out),
    box-shadow 0.4s;
}

[data-spotlight]::before,
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
}

[data-spotlight]::before {
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(243 240 232 / 0.075), transparent 42%);
}

[data-spotlight]::after {
  padding: 1px;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgb(243 240 232 / 0.55), transparent 48%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}

[data-spotlight]:hover::before,
[data-spotlight]:hover::after {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Pathways
   -------------------------------------------------------------------------- */

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

.pathway {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
}

.pathway > * {
  position: relative;
  z-index: 1;
}

.pathway__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pathway__index {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pathway__name {
  margin-top: 30px;
  font-size: clamp(1.4rem, 1.4vw + 0.9rem, 1.75rem);
  letter-spacing: -0.02em;
}

.pathway__summary {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.pathway__ideal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.9rem;
  color: var(--fg-soft);
}

.pathway .btn {
  margin-top: auto;
}

.pathway__ideal + .btn {
  margin-top: 26px;
}

/* Protocol ladder — hovering a rung lights every rung up to it. */
.ladder {
  position: relative;
  display: grid;
  margin-top: 24px;
  margin-bottom: auto;
  padding-left: 22px;
}

.ladder::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--line-strong);
}

.ladder li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  color: var(--muted);
  transition:
    color 0.35s,
    transform 0.45s var(--ease-out);
}

.ladder li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition:
    background-color 0.35s,
    box-shadow 0.35s,
    transform 0.4s var(--ease-spring);
}

.ladder li::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 1px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.ladder li:last-child::after {
  display: none;
}

.ladder__num {
  min-width: 86px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subtle);
  transition: color 0.35s;
}

.ladder__name {
  font-weight: 500;
}

.ladder:not(:hover) li:first-child,
.ladder li:hover,
.ladder li:has(~ li:hover) {
  color: var(--fg);
}

.ladder:not(:hover) li:first-child::before,
.ladder li:hover::before,
.ladder li:has(~ li:hover)::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(232 226 212 / 0.12), 0 0 14px rgb(232 226 212 / 0.6);
}

.ladder li:hover::before {
  transform: scale(1.25);
}

.ladder li:hover {
  transform: translateX(4px);
}

.ladder li:has(~ li:hover)::after {
  transform: scaleY(1);
}

.ladder li:hover .ladder__num,
.ladder li:has(~ li:hover) .ladder__num {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Method steps
   -------------------------------------------------------------------------- */

.steps {
  --track-h: clamp(140px, 15vw, 200px);
  margin-top: clamp(24px, 4vw, 48px);
}

.steps__track {
  position: relative;
  height: var(--track-h);
}

.steps__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-strong);
}

.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(232 226 212 / 0.7);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

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

.step {
  position: relative;
  padding-top: 8px;
}

.step__node {
  position: absolute;
  left: 0;
  top: calc(var(--track-h) / -2 - 6px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition:
    background-color 0.4s,
    box-shadow 0.4s,
    transform 0.5s var(--ease-spring);
}

.step.is-active .step__node {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgb(232 226 212 / 0.12), 0 0 22px rgb(232 226 212 / 0.8);
  transform: scale(1.1);
}

.step__index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--subtle);
  transition: color 0.4s;
}

.step__title {
  margin-top: 14px;
  font-size: clamp(1.4rem, 1.2vw + 1rem, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color 0.4s;
}

.step__body {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--subtle);
  transition: color 0.4s;
}

.step.is-active .step__index {
  color: var(--muted);
}

.step.is-active .step__title {
  color: var(--fg);
}

.step.is-active .step__body {
  color: var(--muted);
}

.no-js .step__title,
.no-js .step__body {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Segmented controls (billing, tabs, form choice)
   -------------------------------------------------------------------------- */

.segmented,
.tabs,
.choice__options {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgb(243 240 232 / 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.segmented button,
.tabs button {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s;
}

.segmented button:hover,
.tabs button:hover {
  color: var(--fg);
}

.segmented button[aria-checked="true"],
.tabs button[aria-selected="true"] {
  color: var(--accent-fg);
}

.segmented__thumb,
.tabs__thumb,
.choice__thumb {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: var(--w, 0px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 6px 20px -8px rgb(232 226 212 / 0.6);
  transform: translateX(var(--x, 0px));
  transition:
    transform 0.6s var(--ease-spring),
    width 0.6s var(--ease-spring);
}

.no-js .segmented__thumb,
.no-js .tabs__thumb,
.no-js .choice__thumb {
  display: none;
}

/* --------------------------------------------------------------------------
   Coaching plans
   -------------------------------------------------------------------------- */

.billing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 28px;
}

.billing__save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    color 0.4s,
    box-shadow 0.4s,
    background-color 0.4s,
    transform 0.5s var(--ease-spring);
}

.billing__save::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--subtle);
  transition: background-color 0.4s;
}

.billing__save.is-on {
  color: var(--fg);
  background: rgb(232 226 212 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(232 226 212 / 0.4);
  transform: scale(1.04);
}

.billing__save.is-on::before {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

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

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
}

.plan > * {
  position: relative;
  z-index: 1;
}

.plan__name {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 26px;
}

.price {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.price__currency {
  margin-top: 0.08em;
  margin-right: 0.04em;
  font-size: 0.5em;
  letter-spacing: 0;
}

.price__amount {
  display: inline-flex;
}

.digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  transition: width 0.8s var(--ease-out);
}

.digit__track {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--d, 0) * -1em));
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.digit__track > span {
  display: block;
  height: 1em;
  text-align: center;
}

.plan__was {
  order: -1;
  width: 100%;
  font-size: 0.85rem;
  color: var(--subtle);
  text-decoration: line-through;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease-out),
    opacity 0.4s;
}

.plan__was.is-on {
  max-height: 1.6em;
  opacity: 1;
}

.plan__period {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan__effective {
  margin-top: 8px;
  min-height: 1.4em;
  font-size: 0.8rem;
  color: var(--muted);
}

.plan__note {
  margin-top: 14px;
  font-size: 0.93rem;
  color: var(--muted);
}

.plan__perks {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan__perks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}

.plan__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: 0.35;
}

.plan__perks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.32em + 4px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
  transition: transform 0.4s var(--ease-spring);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.plan:hover .plan__perks li::after {
  transform: scale(1);
}

.plan .btn {
  margin-top: auto;
}

.plan--featured {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.4),
    0 40px 80px -40px rgb(232 226 212 / 0.45);
}

.plan--featured .plan__period,
.plan--featured .plan__effective,
.plan--featured .plan__note {
  color: #4d4a44;
}

.plan--featured .plan__was {
  color: #6f6b63;
}

.plan--featured .plan__perks {
  border-top-color: rgb(11 11 10 / 0.12);
}

.plan--featured[data-spotlight]::before {
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(255 255 255 / 0.55), transparent 42%);
}

.plan--featured[data-spotlight]::after {
  background: radial-gradient(340px circle at var(--mx) var(--my), rgb(11 11 10 / 0.5), transparent 48%);
}

.plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent-fg);
  color: var(--fg);
  overflow: hidden;
}

.plan__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  animation: badge-shine 3.6s var(--ease-in-out) infinite;
}

@keyframes badge-shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* --------------------------------------------------------------------------
   Coach
   -------------------------------------------------------------------------- */

.coach__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.coach__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-lift);
}

.coach__photo img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: translate3d(0, var(--py, -8%), 0) scale(1.02);
  will-change: transform;
}

.coach__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgb(11 11 10 / 0.75));
  pointer-events: none;
}

.coach__caption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.coach__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.coach__name {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgb(243 240 232 / 0.05);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.chip svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent);
  fill: none;
  stroke: var(--accent-fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach__body {
  margin: 26px 0 36px;
  max-width: 32em;
  font-size: clamp(1.08rem, 0.5vw + 0.98rem, 1.28rem);
  line-height: 1.5;
  color: var(--fg-soft);
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(10px, 1vw, 14px);
}

.result__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vw, 40px);
}

.result__name {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.result__note {
  margin-top: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--muted);
}

.result__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-block: 26px;
  border-block: 1px solid var(--line);
}

.result__stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.result__stats dd {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.result__arrow {
  color: var(--subtle);
}

.result__stats {
  margin-top: auto;
}

.tabs {
  align-self: flex-start;
}

.result__stats + .tabs {
  margin-top: 28px;
}

.result__hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--subtle);
}

.compare {
  --pos: 50%;
  position: relative;
  width: clamp(260px, 28vw, 360px);
  aspect-ratio: 1 / 2;
  border-radius: 18px;
  overflow: hidden;
  background: #d6d3cf;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.compare.is-swapping .compare__img {
  opacity: 0;
  transform: scale(1.04);
}

.compare__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.compare__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgb(11 11 10 / 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s;
}

.compare__tag--before {
  left: 14px;
}

.compare__tag--after {
  right: 14px;
}

.compare[data-near="before"] .compare__tag--before,
.compare[data-near="after"] .compare__tag--after {
  opacity: 0;
}

.compare__handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  touch-action: none;
}

.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 16px rgb(0 0 0 / 0.35);
}

.compare__knob {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  transition: transform 0.4s var(--ease-spring);
}

.compare__knob svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare.is-dragging .compare__knob,
.compare__handle:focus-visible .compare__knob {
  transform: scale(1.15);
}

.compare__handle:focus-visible {
  outline: none;
}

.compare__handle:focus-visible .compare__knob {
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--accent);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.faq__head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.faq__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}

.faq__item:hover::after,
.faq__item.is-open::after {
  transform: scaleX(1);
}

.faq__item h3 {
  font-size: inherit;
}

.faq__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.08rem, 0.7vw + 0.9rem, 1.35rem);
  letter-spacing: -0.01em;
}

.faq__q > span:first-child {
  transition: transform 0.5s var(--ease-out);
}

.faq__q:hover > span:first-child {
  transform: translateX(8px);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition:
    transform 0.6s var(--ease-spring),
    background-color 0.35s,
    box-shadow 0.35s;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-spring);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__q:hover .faq__icon {
  box-shadow: inset 0 0 0 1px rgb(243 240 232 / 0.4);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: none;
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  max-width: 60ch;
  padding-bottom: 26px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.4s,
    transform 0.5s var(--ease-out);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__item.is-open .faq__a p {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.no-js .faq__a {
  grid-template-rows: 1fr;
}

.no-js .faq__a p {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Apply + form
   -------------------------------------------------------------------------- */

.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.apply__copy .lede {
  margin-top: 22px;
}

.apply__steps {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.apply__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg-soft);
}

.apply__steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.apply__contact {
  display: grid;
  gap: 8px;
  color: var(--fg-soft);
}

.apply__contact .eyebrow {
  margin-bottom: 4px;
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

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

.field {
  position: relative;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 60px;
  padding: 26px 16px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(243 240 232 / 0.035);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  height: auto;
  min-height: 140px;
  padding-top: 32px;
  resize: vertical;
  line-height: 1.5;
}

.field label {
  position: absolute;
  left: 17px;
  top: 19px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 0.4s var(--ease-out),
    color 0.3s;
}

.field--area label {
  top: 20px;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.76);
  color: var(--fg-soft);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus {
  border-color: rgb(232 226 212 / 0.4);
  background: rgb(243 240 232 / 0.06);
  box-shadow: 0 0 0 4px rgb(232 226 212 / 0.07);
}

.field__line {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out);
}

.field--area .field__line {
  bottom: 6px;
}

.field:focus-within .field__line {
  transform: scaleX(1);
}

.field__count {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 0.7rem;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}

.field__error {
  max-height: 0;
  overflow: hidden;
  font-size: 0.82rem;
  color: var(--danger);
  transition:
    max-height 0.4s var(--ease-out),
    margin 0.4s var(--ease-out);
}

.field__error:not(:empty) {
  max-height: 3em;
  margin-top: 7px;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgb(226 130 106 / 0.7);
}

.field.is-invalid .field__line {
  background: var(--danger);
}

.field.is-valid input {
  border-color: rgb(232 226 212 / 0.28);
}

.is-shaking {
  animation: shake 0.5s var(--ease-out);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

.choice {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-soft);
}

.choice__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-radius: 16px;
}

.choice__thumb {
  border-radius: 12px;
  top: var(--y, 4px);
  height: var(--h, calc(100% - 8px));
  transform: translateX(var(--x, 0px));
  transition:
    transform 0.6s var(--ease-spring),
    width 0.6s var(--ease-spring),
    top 0.6s var(--ease-spring),
    height 0.6s var(--ease-spring);
}

.choice label {
  position: relative;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label span {
  display: block;
  padding: 13px 8px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s;
}

.choice label:hover span {
  color: var(--fg);
}

.choice input:checked + span {
  color: var(--accent-fg);
}

.no-js .choice input:checked + span {
  background: var(--accent);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice.is-flash .choice__options {
  animation: flash 1.2s var(--ease-out);
}

@keyframes flash {
  0% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 0 rgb(232 226 212 / 0.5); }
  30% { box-shadow: inset 0 0 0 1px rgb(232 226 212 / 0.6), 0 0 0 8px rgb(232 226 212 / 0.12); }
  100% { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 16px rgb(232 226 212 / 0); }
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--muted);
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    transform 0.4s var(--ease-spring);
}

.check__box svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check__box path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.4s var(--ease-out) 0.08s;
}

.check:hover .check__box {
  box-shadow: inset 0 0 0 1.5px rgb(243 240 232 / 0.4);
}

.check input:checked + .check__box {
  background: var(--accent);
  box-shadow: none;
  transform: scale(1.06);
}

.check input:checked + .check__box path {
  stroke-dashoffset: 0;
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.check a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.check a:hover {
  text-decoration-color: var(--fg);
}

.check-wrap.is-invalid .check__box {
  box-shadow: inset 0 0 0 1.5px var(--danger);
}

.btn--submit {
  height: 58px;
  margin-top: 6px;
}

.btn__spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgb(11 11 10 / 0.2);
  border-top-color: var(--accent-fg);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease-spring);
}

.btn--submit.is-loading .btn__label {
  opacity: 0;
  transform: translateY(-10px);
}

.btn--submit .btn__label {
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease-out);
}

.btn--submit.is-loading .btn__spinner {
  opacity: 1;
  transform: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(24px, 5vw, 48px) 0;
  outline: none;
}

.success[hidden] {
  display: none;
}

.success__mark {
  width: 88px;
  height: 92px;
  overflow: visible;
}

.success.is-in .success__mark circle {
  animation: draw 1.1s var(--ease-in-out) forwards;
}

.success.is-in .success__mark path:nth-of-type(1) {
  animation: draw 0.9s var(--ease-in-out) 0.3s forwards;
}

.success.is-in .success__mark path:nth-of-type(2) {
  animation: draw 0.8s var(--ease-in-out) 0.5s forwards;
}

.success__title {
  margin-top: 28px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.success__body {
  margin-top: 12px;
  max-width: 30em;
  color: var(--muted);
}

.success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.success__reset {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgb(11 11 10 / 0.6) 40%);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 40px;
}

.footer__brand p {
  margin-top: 20px;
  max-width: 26em;
  color: var(--muted);
}

.footer__col {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--fg-soft);
}

.footer__col .eyebrow {
  margin-bottom: 6px;
}

.to-top {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  transition: transform 0.5s var(--ease-spring);
}

.to-top:hover {
  transform: translateY(-4px);
}

.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top__ring circle {
  fill: rgb(243 240 232 / 0.03);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.to-top__ring .to-top__progress {
  fill: none;
  stroke: var(--accent);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
}

.to-top__arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease-spring);
}

.to-top:hover .to-top__arrow {
  transform: translateY(-3px);
}

.wordmark {
  margin-top: clamp(56px, 8vw, 110px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.4vw;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: var(--fg);
  user-select: none;
}

.wordmark__inner {
  display: inline-block;
}

.wordmark__inner span {
  display: inline-block;
  transition:
    font-weight 0.35s var(--ease-out),
    transform 0.5s var(--ease-out),
    color 0.35s;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--subtle);
}

.footer__legal {
  max-width: 56em;
}

.footer__legal a {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 9000;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    var(--shadow-lift);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.5s var(--ease-spring);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Disclaimer / sub-pages
   -------------------------------------------------------------------------- */

.page {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(80px, 10vw, 140px);
}

.page__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 280px);
  align-items: end;
  gap: 32px;
}

.page__title {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.page__body {
  max-width: 760px;
  margin-top: clamp(40px, 5vw, 64px);
}

.page__body > p {
  font-size: 1.08rem;
  color: var(--fg-soft);
}

.page__body > p + p {
  margin-top: 20px;
}

.terms {
  display: grid;
  gap: 0;
  margin: 40px 0;
  counter-reset: term;
  border-top: 1px solid var(--line);
}

.terms li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.3s;
}

.terms li:hover {
  color: var(--fg-soft);
}

.terms li::before {
  counter-increment: term;
  content: counter(term, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--subtle);
  padding-top: 3px;
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

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

  .menu-toggle {
    display: block;
  }

  .header__cta {
    margin-left: auto;
  }

  .pathways,
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero__media {
    justify-self: center;
    width: min(100%, 380px);
  }

  .hero__tag {
    text-align: center;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .section-head__aside {
    gap: 12px;
  }

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

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    padding-top: 22px;
  }

  .coach__grid,
  .faq,
  .apply__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .coach__photo {
    max-width: 480px;
  }

  .faq__head {
    position: static;
  }

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

  .compare {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 5 / 9;
    justify-self: center;
  }

  .compare__img {
    object-position: 50% 45%;
  }

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

@media (max-width: 760px) {
  .steps__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    padding: 0 0 28px 34px;
  }

  .step::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: -6px;
    width: 1px;
    background: var(--line-strong);
  }

  .step:last-child::before {
    display: none;
  }

  .step__node {
    top: 0;
  }

  .step__title {
    margin-top: 6px;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --radius: 20px;
    --header-h: 64px;
  }

  .brand__word {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }

  .hero__title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

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

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

  .result__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .result__stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .result__stats dd {
    margin-top: 0;
  }

  .billing {
    align-items: flex-start;
    flex-direction: column;
  }

  .segmented button {
    padding: 10px 14px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer__base {
    flex-direction: column;
  }

  .ladder__num {
    min-width: 78px;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .grain {
    animation: none;
  }

  .js .reveal,
  .js .reveal-group > *,
  .js .reveal-clip {
    opacity: 1;
    translate: none;
    filter: none;
    clip-path: none;
  }
}
