/* SPARC marketing site. Values follow the Figma frame "Concept B · Studio"
   (file ZCK1jLsacgLZaXzspVq0IR, node 572:10967). */

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0d2740;
  --navy-700: #1b3a5c;
  --slate: #5f7174;
  --lime: #daff7e;
  --pistachio: #bef574;
  --ice-50: #f5f9fb;
  --ice: #eef4f8;
  --ice-200: #dce8ef;
  --white: #fff;

  --strength: #00a6c0;
  --performance: #32d9cb;
  --revive: #b7a8f0;
  --mobility: #f4a47c;

  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(20px, 5.56vw, 80px);
  --gutter-wide: clamp(20px, 3.9vw, 56px);
  --section: clamp(72px, 8.4vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
html.lenis { scroll-behavior: auto; }
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.nb { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--lime); }

.skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.4s var(--ease);
}
.skip:focus { transform: none; }

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

.eyebrow {
  font: 600 12px/1.25 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow--dim { color: rgba(255, 255, 255, 0.6); }

.h2 {
  font: 600 clamp(34px, 3.62vw, 52px) / 1.08 var(--display);
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--slate);
}

/* Words are wrapped by the motion script. The wrapper clips the rise. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.12em 0.04em 0.2em;
  margin: -0.12em -0.04em -0.2em;
}
.wi { display: inline-block; will-change: transform; }
[data-split="scrub"] .w { overflow: visible; }

/* ---------- Stars ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.stars {
  display: block;
  flex: none;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 600 16px/1.2 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.5s var(--ease);
}
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.on-dark .btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--navy:hover { background: var(--navy-700); box-shadow: 0 14px 28px -14px rgba(13, 39, 64, 0.55); }
  .btn--lime:hover { background: var(--pistachio); box-shadow: 0 14px 30px -14px rgba(165, 230, 90, 0.9); }
  .btn--ghost:hover { background: var(--navy); color: var(--white); }
  .on-dark .btn--ghost:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
}
.btn:active { transform: translateY(0) scale(0.98); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11.2px;
  text-decoration: none;
  color: var(--navy);
}
.logo__mark { width: 39.2px; height: 39.2px; flex: none; }
.logo__word { font: 600 22.4px/1 var(--display); letter-spacing: 0.2em; }
.logo--lg { gap: 12px; }
.logo--lg .logo__mark { width: 42px; height: 42px; }
.logo--lg .logo__word { font-size: 24px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 28px var(--gutter) 0;
  transition: transform 0.6s var(--ease);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
/* Always drawn: the hero film runs under the bar, bright frames and dark. */
.nav__glass {
  position: absolute;
  inset: -10px -18px;
  border-radius: 22px;
  border: 1px solid rgba(13, 39, 64, 0.08);
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 18px 40px -22px rgba(13, 39, 64, 0.35);
  pointer-events: none;
}
.nav.is-stuck { transform: translateY(-10px); }
.nav__inner > :not(.nav__glass) { position: relative; }

.nav__links {
  display: flex;
  gap: 40px;
  font: 500 15px/1.2 var(--text);
}
.nav__links a,
.nav__login {
  position: relative;
  color: rgba(13, 39, 64, 0.78);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav__links a::after,
.nav__login::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-current,
.nav__login:hover { color: var(--navy); }
.nav__links a:hover::after,
.nav__links a.is-current::after,
.nav__login:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__login { font: 500 15px/1.2 var(--text); color: var(--navy); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(13, 39, 64, 0.06);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.5s var(--ease);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: rgba(245, 249, 251, 0.92);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; gap: 8px; }
.menu__links a {
  padding: 8px 0;
  font: 600 34px/1.15 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 60ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 180ms; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 240ms; }
.menu__cta { width: 100%; }

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(620px, 55.56vw, 960px);
  padding: 0 var(--gutter) 80px;
  border-radius: 0 0 40px 40px;
  background: var(--navy);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 1.2s var(--ease);
}
.hero__media.is-playing picture { opacity: 0; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__copy {
  --hero-pad: clamp(140px, 19.3vw, 300px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--hero-pad);
}
/* The film cuts between bright studio walls and dark rooms, so the copy
   carries its own navy: solid from the left edge of the screen to the end
   of the lines, then clear. It is CSS alone, over the still and the film
   alike, and it leaves with the copy on scroll. */
.hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -400px;
  left: calc(50% - 50vw);
  width: calc(50vw - 50% + 940px);
  background: linear-gradient(to left,
    rgba(13, 39, 64, 0) 0,
    rgba(13, 39, 64, 0.2) 130px,
    rgba(13, 39, 64, 0.52) 300px,
    rgba(13, 39, 64, 0.74) 460px,
    rgba(13, 39, 64, 0.88) 100%);
  pointer-events: none;
}
.hero__title {
  max-width: 6.6em;
  font: 600 clamp(48px, 5.56vw, 92px) / 0.98 var(--display);
  letter-spacing: -0.035em;
  text-wrap: wrap;
}
.hero__sub {
  max-width: 450px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: grid; justify-items: start; gap: 10px; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font: 500 14px/1.4 var(--text);
}
.hero__note { font-size: 14px; color: rgba(255, 255, 255, 0.72); }

.js .hero__title,
.js [data-hero-fade],
.js .nav__inner { opacity: 0; }

/* Returning members: a slim lime row joined to the foot of the nav, inside
   the same glass shell, so the two read as one header with one outer radius
   and one shadow. The whole row is one link to the support page. */
.nav--notice .nav__inner { flex-wrap: wrap; row-gap: 0; }
.nav--notice .notice {
  flex: 0 0 calc(100% + 36px);
  margin: 10px -18px -10px;
}
.notice__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 8px;
  min-height: 36px;
  padding: 7px 18px;
  border-radius: 0 0 22px 22px;
  background: var(--lime);
  color: var(--navy);
  font: 500 14px/1.3 var(--text);
  text-align: center;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}
.notice__link:focus-visible { outline-color: var(--navy); outline-offset: -4px; }
.notice__cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) {
  .notice__link:hover { background: var(--pistachio); }
}
/* The taller header: anchors land clear of it, and the headline keeps the
   place it had when the row sat in the hero (132px of row and margin). */
html:has(.nav--notice) { scroll-padding-top: 140px; }
.hero--notice .hero__copy { --hero-pad: calc(132px + clamp(72px, 10vw, 200px)); }

/* ---------- Story (The workout is just the beginning) ---------- */

.story { padding: var(--section) var(--gutter-wide); background: var(--white); }
.story__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: 1328px;
  margin: 0 auto clamp(40px, 5.3vw, 76px);
}
.story__title {
  flex: none;
  max-width: 9.6em;
  font: 700 clamp(36px, 4.45vw, 64px) / 1.12 var(--display);
  letter-spacing: -0.02em;
  text-wrap: wrap;
}
.story__lead {
  max-width: 504px;
  padding-top: clamp(0px, 2vw, 30px);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--slate);
}

.bento { display: grid; gap: 24px; max-width: 1328px; margin: 0 auto; }
.bento__row { display: grid; grid-template-columns: 760fr 544fr; gap: 24px; }
.bento__row--flip { grid-template-columns: 544fr 760fr; }

.card {
  position: relative;
  height: 520px;
  padding: 44px 40px 0;
  border-radius: 32px;
  background: var(--ice-50);
  overflow: hidden;
}
.card__text { position: relative; z-index: 1; }
.card__num { font: 600 15px/1.2 var(--text); color: var(--strength); }
.card__title {
  margin-top: 14px;
  font: 600 30px/1.2 var(--display);
  letter-spacing: -0.01em;
}
.card__body { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--slate); }
.card--wide .card__text { max-width: 320px; }
.card--tall .card__text { max-width: 464px; }

.phone {
  border-radius: 14.9% / 7.07%;
  box-shadow: 0 44px 70px -30px rgba(13, 39, 64, 0.4), 0 12px 24px -12px rgba(13, 39, 64, 0.18);
}
.card__phone { position: absolute; width: 281px; will-change: transform; }
.card--wide .card__phone { right: 64px; top: 56px; }
.card--tall .card__phone { left: 50%; top: 262px; margin-left: -140.5px; }

/* The fifth card runs the full width: copy on the left, phone on the right. */
.card--full { height: 460px; }
.card--full .card__text { max-width: 464px; }
.card--full .card__phone { left: 61%; top: 56px; width: 300px; }

/* ---------- Momentum ---------- */

.momentum { padding: var(--section) var(--gutter) 0; background: var(--ice-50); }
.momentum__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  text-align: center;
}
.momentum__title {
  font: 600 clamp(38px, 5.4vw, 78px) / 1 var(--display);
  letter-spacing: -0.035em;
}
.momentum__sub {
  max-width: 760px;
  margin-top: 22px;
  font: 400 clamp(19px, 1.95vw, 28px) / 1.3 var(--display);
  letter-spacing: -0.01em;
  color: var(--slate);
}
.momentum__body {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--slate);
}

.sheet {
  display: grid;
  grid-template-columns: 580fr 652fr;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 40px;
  background: var(--white);
  transform-origin: 50% 0;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-height: 498px;
  padding: 52px 48px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* Aura blooms: blurred ellipses, as drawn in Figma. They drift slowly. */
.bloom {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.bloom--a { left: 260px; top: -220px; width: 520px; height: 440px; background: rgba(0, 166, 192, 0.5); filter: blur(75px); animation: drift-a 16s var(--ease) infinite alternate; }
.bloom--b { left: -180px; top: 470px; width: 440px; height: 340px; background: rgba(50, 217, 203, 0.28); filter: blur(75px); animation: drift-b 19s var(--ease) infinite alternate; }
.bloom--c { left: 180px; top: 300px; width: 420px; height: 320px; background: rgba(27, 58, 92, 0.9); filter: blur(60px); animation: drift-c 22s var(--ease) infinite alternate; }
.bloom--p1 { right: -140px; top: -170px; width: 400px; height: 340px; background: rgba(0, 166, 192, 0.5); filter: blur(60px); animation: drift-p1 16s var(--ease) infinite alternate; }
.bloom--p2 { left: -170px; bottom: -180px; width: 380px; height: 300px; background: rgba(50, 217, 203, 0.26); filter: blur(60px); animation: drift-p2 19s var(--ease) infinite alternate; }
.bloom--f1 { left: 380px; top: -320px; width: 760px; height: 600px; background: rgba(0, 166, 192, 0.5); filter: blur(85px); animation: drift-a 18s var(--ease) infinite alternate; }
.bloom--f2 { left: -220px; top: 300px; width: 600px; height: 420px; background: rgba(50, 217, 203, 0.3); filter: blur(85px); animation: drift-b 21s var(--ease) infinite alternate; }
.bloom--f3 { left: 300px; top: 240px; width: 560px; height: 420px; background: rgba(27, 58, 92, 0.9); filter: blur(70px); animation: drift-c 24s var(--ease) infinite alternate; }
.bloom--n1 { right: -120px; top: -300px; width: 760px; height: 600px; background: rgba(0, 166, 192, 0.5); filter: blur(85px); animation: drift-a 18s var(--ease) infinite alternate; }
.bloom--n2 { left: -220px; bottom: -220px; width: 640px; height: 460px; background: rgba(50, 217, 203, 0.28); filter: blur(85px); animation: drift-b 21s var(--ease) infinite alternate; }
.bloom--n3 { left: 34%; top: 38%; width: 600px; height: 420px; background: rgba(27, 58, 92, 0.9); filter: blur(70px); animation: drift-c 24s var(--ease) infinite alternate; }

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-150px, 90px, 0) scale(1.18); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(170px, -110px, 0) scale(1.22); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-110px, -70px, 0) scale(0.86); }
}
/* The plan card is small, so its blooms travel a shorter way. */
@keyframes drift-p1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 40px, 0) scale(1.14); }
}
@keyframes drift-p2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(70px, -40px, 0) scale(1.16); }
}

.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.part__rule {
  display: block;
  height: 1px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.24);
  transform-origin: left;
}
.part h3 { font: 600 19px/1.25 var(--display); }
.part p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.7); }

.score { display: flex; flex-direction: column; gap: 14px; }
.score__label { display: flex; align-items: flex-end; justify-content: space-between; }
.score__value { font: 700 22px/1.25 var(--display); font-variant-numeric: tabular-nums; }
.track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.track__fill {
  position: absolute;
  inset: 0;
  background: var(--lime);
  clip-path: inset(0 18% 0 0 round 7px);
}
.score__note { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }

.panel__foot { display: flex; align-items: center; gap: 32px; margin-top: auto; }
.panel__line { max-width: 220px; font: 500 14px/1.45 var(--text); color: rgba(255, 255, 255, 0.82); }

.phones {
  position: relative;
  min-height: 498px;
  border-radius: 24px;
  background: var(--ice);
  overflow: hidden;
}
.phones__phone { position: absolute; will-change: transform; }
.phones__phone--left { left: 5.52%; top: 120px; width: 36.59%; }
.phones__phone--right { left: 57.89%; top: 120px; width: 36.59%; }
.phones__phone--front { left: 27.13%; top: 52px; width: 45.74%; }

/* ---------- Programs ---------- */

.programs { padding: var(--section) var(--gutter); background: var(--ice-50); }
.programs__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.programs__head .lead { max-width: 660px; }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.tile__photo {
  width: 100%;
  aspect-ratio: 302 / 403;
  border-radius: 24px;
  overflow: hidden;
  background: #dcdcdc;
}
.tile__zoom { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.tile__zoom img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .tile:hover .tile__zoom { transform: scale(1.06); }
}
.tile__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1.25 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--strength); }
.tile--performance .dot { background: var(--performance); }
.tile--revive .dot { background: var(--revive); }
.tile--mobility .dot { background: var(--mobility); }
.tile__title { font: 600 clamp(22px, 1.95vw, 28px) / 1.2 var(--display); letter-spacing: -0.02em; }
.tile__body { font-size: 15px; line-height: 1.5; color: var(--slate); }

.programs__line {
  margin-top: clamp(40px, 4.5vw, 64px);
  text-align: center;
  font: 500 clamp(16px, 1.25vw, 18px) / 1.4 var(--display);
  letter-spacing: -0.005em;
}

/* ---------- Community and reviews: the one navy band ---------- */

.community {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--section) var(--gutter);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.community .eyebrow { color: rgba(255, 255, 255, 0.72); }
.community .h2 { margin-top: 18px; }
.community__body {
  max-width: 940px;
  margin-top: clamp(28px, 3vw, 44px);
  font: 400 clamp(22px, 2.5vw, 36px) / 1.36 var(--display);
  letter-spacing: -0.02em;
}

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px clamp(32px, 4.5vw, 64px);
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(56px, 6.7vw, 96px);
  text-align: left;
}
.review { margin: 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.review blockquote {
  margin: 20px 0 0;
  font: 400 clamp(19px, 1.67vw, 24px) / 1.4 var(--display);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.review figcaption { margin-top: 20px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }

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

.coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  max-width: calc(1280px + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  background: var(--white);
}
.coach__copy { max-width: 600px; }
.coach .h2 { margin-top: 18px; font-size: clamp(40px, 4.45vw, 64px); }
.coach__creds {
  margin-top: 20px;
  font: 500 clamp(17px, 1.4vw, 20px) / 1.4 var(--display);
  letter-spacing: -0.005em;
}
.coach__bio { display: grid; gap: 18px; margin-top: 28px; color: var(--slate); }
.coach__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: #cfcfcf;
}
.coach__photo img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Membership ---------- */

.membership { padding: var(--section) var(--gutter); background: var(--ice-50); }
.membership__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.membership__head .lead { max-width: 520px; }

/* Two plans, one membership: the same four lines in both cards. */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
/* An inset line, not a border, so both cards are the same size and the blooms reach the navy card's edge. */
.plan--monthly { background: var(--white); box-shadow: inset 0 0 0 1px var(--ice-200); }
.plan--annual { background: var(--navy); color: var(--white); }
.plan__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.plan__name { font: 600 20px/1.25 var(--display); letter-spacing: -0.01em; }
.plan__save {
  font: 600 12px/1.25 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--slate);
}
.plan__amount {
  font: 600 clamp(44px, 4.17vw, 60px) / 1 var(--display);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.plan--annual .plan__price { color: rgba(255, 255, 255, 0.76); }
.plan--annual .plan__amount { color: var(--white); }
.plan__list {
  display: grid;
  gap: 14px;
  margin: 32px 0 40px;
  padding-top: 32px;
  border-top: 1px solid var(--ice-200);
}
.plan--annual .plan__list { border-top-color: rgba(255, 255, 255, 0.24); }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 22px; text-wrap: balance; }
.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
}
.plan__cta { width: 100%; margin-top: auto; }
.plans__note { margin-top: 24px; font-size: 14px; text-align: center; color: var(--slate); }

/* ---------- FAQs ---------- */

.faq { padding: 0 var(--gutter) var(--section); background: var(--ice-50); }
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.faq__head { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.faq__help { font-size: 15px; line-height: 1.5; color: var(--slate); }
.faq__help a,
.faq__link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.faq__list {
  padding: 8px 36px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ice-200);
}
.faq__item + .faq__item { border-top: 1px solid var(--ice-200); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font: 600 19px/1.35 var(--display);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: 6px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ice);
  transition: background-color 0.3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--navy);
  transition: transform 0.5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--lime); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; gap: 12px; padding: 0 58px 28px 0; font-size: 16px; line-height: 1.6; color: var(--slate); }

@media (hover: hover) {
  .faq__q:hover .faq__icon { background: var(--ice-200); }
  .faq__item[open] .faq__q:hover .faq__icon { background: var(--pistachio); }
}

/* ---------- Final CTA ---------- */

.final { padding: 0 var(--gutter) var(--section); background: var(--ice-50); }
.final__panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  min-height: 628px;
  margin: 0 auto;
  padding: 64px 64px 64px 80px;
  border-radius: 32px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.final__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.final__title {
  max-width: 560px;
  font: 600 clamp(38px, 4.45vw, 64px) / 1.02 var(--display);
  letter-spacing: -0.03em;
}
.final__body { max-width: 520px; font-size: clamp(17px, 1.32vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, 0.76); }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.final__note { font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.final__photo {
  flex: none;
  width: min(400px, 36%);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  will-change: transform;
}
.final__photo img { width: 100%; height: 100%; object-fit: cover; }

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

.footer { padding: 80px var(--gutter) 48px; background: var(--white); }
.footer__top,
.footer__rule,
.footer__base { max-width: 1280px; margin-left: auto; margin-right: auto; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 320px; }
.footer__brand p { font-size: 15px; line-height: 1.5; color: var(--slate); }
.footer__cols { display: flex; gap: clamp(40px, 6.7vw, 96px); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__col .eyebrow { margin: 0; }
.footer__col a,
.footer__base a {
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.footer__col a:hover,
.footer__base a:hover { background-size: 100% 1px; }
.footer__rule { height: 1px; margin-top: 48px; margin-bottom: 48px; background: var(--ice-200); }
.footer__base { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); }
.footer__base a { font-size: 14px; }

.footer__credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
}
.footer__credit:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Support page ---------- */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1328px;
  margin: 0 auto;
  padding: 24px var(--gutter-wide);
}
.bar__actions { display: flex; align-items: center; gap: 24px; }

.support { padding: clamp(28px, 3vw, 40px) var(--gutter) clamp(56px, 5vw, 72px); background: var(--ice-50); }
/* One centred reading column: a compact heading, the FAQs, then the form. */
.support__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.support__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 4px; }
.support__title {
  font: 600 clamp(36px, 3.6vw, 52px) / 1.04 var(--display);
  letter-spacing: -0.03em;
}
.support__copy .lead { max-width: 420px; }
.support__faq { font-size: 15px; color: var(--slate); }
.support__faq a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
/* The FAQs come first, then the form, close below. */
.support__inner + .support__inner { margin-top: 48px; }
.support__inner--contact { gap: 20px; }
.support__inner--contact .support__copy { gap: 6px; }
.support__title--sm { font-size: clamp(28px, 2.6vw, 36px); }
.support__faqs { display: grid; gap: 12px; }
.support .faq__q { padding: 18px 0; }
.support .faq__a { gap: 10px; padding-bottom: 20px; }
.support__label { padding-left: 4px; }
.faq__a strong { font-weight: 600; color: var(--navy); }
/* The returning-members answer is always open: a plain heading, no toggle. */
.faq__q--static { cursor: auto; }
.support__card {
  padding: 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ice-200);
}

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font: 600 14px/1.3 var(--text); }
.field__input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--ice-200);
  border-radius: 14px;
  background: var(--ice-50);
  color: var(--navy);
  font: 400 16px/1.4 var(--text);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
}
.field__input:hover { border-color: #c5d6e0; }
.field__input:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(13, 39, 64, 0.08); }
.field__input[aria-invalid="true"] { border-color: #b4404f; }
.field__input--area { min-height: 160px; resize: vertical; }
.field__select { position: relative; }
.field__select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  pointer-events: none;
}
.field__select .field__input { padding-right: 44px; cursor: pointer; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-size: 14px; line-height: 1.45; color: #b4404f; }
.form__submit { justify-self: start; min-width: 180px; }
.form__submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0; }
.sent:focus { outline: none; }
.sent__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
}
.sent__title { margin-top: 8px; font: 600 28px/1.2 var(--display); letter-spacing: -0.02em; }
.sent__body { max-width: 440px; font-size: 17px; color: var(--slate); }
.sent__body strong { font-weight: 600; color: var(--navy); }
.sent .btn { margin-top: 8px; }

/* ---------- 404 ---------- */

.lost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  min-height: 100svh;
  padding: 120px var(--gutter);
  background: var(--ice-50);
}
.lost h1 { font: 600 clamp(44px, 5.56vw, 80px) / 1 var(--display); letter-spacing: -0.035em; }
.lost p { max-width: 440px; font-size: 18px; color: var(--slate); }

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

@media (max-width: 1099px) {
  .nav__links { gap: 26px; }
  .bento__row,
  .bento__row--flip { grid-template-columns: 1fr 1fr; }
  .card--wide .card__text { max-width: 464px; }
  .card--wide .card__phone { right: auto; left: 50%; top: 262px; margin-left: -140.5px; }
  .card { height: 540px; }
  .card__title { font-size: 26px; }
  .card__phone { top: 290px !important; }
  .card--full { height: 460px; }
  .card--full .card__text { max-width: min(464px, calc(100% - 330px)); }
  .card--full .card__phone { left: auto; right: 40px; top: 56px !important; width: 281px; }
  .sheet { grid-template-columns: 1fr; }
  .phones { min-height: 0; aspect-ratio: 652 / 498; }
  .phones__phone--left,
  .phones__phone--right { top: 24.1%; }
  .phones__phone--front { top: 10.44%; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .final__panel { padding: 56px 48px; }
}

@media (max-width: 899px) {
  html { scroll-padding-top: 80px; }
  .nav { padding-top: 16px; }
  .nav__links,
  .nav__login { display: none; }
  .nav__actions { gap: 10px; }
  .burger { display: block; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__word { font-size: 20px; }

  /* The film fills the screen and the copy sits at its foot, as on the
     app's welcome screen. */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 28px;
    border-radius: 0 0 28px 28px;
  }
  .hero__copy {
    --hero-pad: 240px;
    width: 100%;
    gap: 20px;
  }
  @supports (height: 1svh) {
    /* Less of the film above the copy on a short screen, so the headline
       stays in view on a phone held sideways. */
    .hero__copy { --hero-pad: clamp(124px, calc(50svh - 60px), 240px); }
  }
  /* The navy rises from the foot instead: clear above the headline, solid
     under the lines. */
  .hero__copy::before {
    top: calc(var(--hero-pad) - 130px);
    bottom: -28px;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    width: auto;
    background: linear-gradient(to bottom,
      rgba(13, 39, 64, 0) 0,
      rgba(13, 39, 64, 0.58) 130px,
      rgba(13, 39, 64, 0.86) 230px,
      rgba(13, 39, 64, 0.93) 100%);
  }
  /* The row's 106px from the hero, given back to the copy's top space. */
  html:has(.nav--notice) { scroll-padding-top: 130px; }
  .notice__link { min-height: 32px; padding: 6px 14px; font-size: 13px; }
  .nav--notice ~ .menu { padding-top: 168px; }
  @supports (height: 1svh) {
    .hero--notice .hero__copy { --hero-pad: calc(106px + clamp(56px, calc(50svh - 170px), 200px)); }
  }
  /* Narrowest phones: logo, Join and menu keep one line above the row.
     The glass hugs the bar more closely and the logo and Join tighten;
     the menu button keeps its full 44px. */
  @media (max-width: 359px) {
    .nav--notice { padding-left: 14px; padding-right: 14px; }
    .nav--notice .nav__inner { column-gap: 8px; }
    .nav--notice .nav__glass { inset: -10px -12px; }
    .nav--notice .notice { flex-basis: calc(100% + 24px); margin-left: -12px; margin-right: -12px; }
    .nav--notice .nav__actions { gap: 6px; }
    .nav--notice .nav__actions .btn--sm { padding: 12px 14px; font-size: 14px; }
    .nav--notice .logo { gap: 8px; }
    .nav--notice .logo__mark { width: 30px; height: 30px; }
    .nav--notice .logo__word { font-size: 18px; letter-spacing: 0.16em; }
  }
  .hero__title { font-size: clamp(44px, 12.6vw, 84px); }
  .hero__sub { max-width: 520px; font-size: 17px; }

  .story__head { flex-direction: column; gap: 20px; }
  .story__lead { padding-top: 0; }

  .coach { grid-template-columns: 1fr; }
  .coach__photo { order: -1; max-width: 560px; }
  .final__panel { flex-direction: column; align-items: stretch; min-height: 0; padding: 48px 32px 32px; }
  .final__photo { width: 100%; max-width: 420px; }
  .faq__inner { grid-template-columns: 1fr; gap: 36px; }
  .bar { padding: 16px var(--gutter); }
  .faq__head { position: static; }
  .footer__top { flex-direction: column; }
  .footer__cols { flex-wrap: wrap; gap: 40px 56px; }
}

@media (max-width: 699px) {
  .hero__ctas { width: 100%; }
  /* Narrower sides, so both buttons share a row on a phone and the film keeps the room. */
  .hero__ctas .btn { flex: 1 1 auto; padding-inline: 18px; }

  .bento__row,
  .bento__row--flip { grid-template-columns: 1fr; }
  .card { height: 500px; padding: 32px 24px 0; border-radius: 28px; }
  .card__phone { width: 250px; margin-left: -125px !important; top: 270px !important; }
  .card--full { height: 500px; }
  .card--full .card__text { max-width: none; }
  .card--full .card__phone { left: 50%; right: auto; top: 270px !important; width: 250px; }

  .momentum { padding-left: 12px; padding-right: 12px; }
  .momentum__head { padding: 0 8px; }
  .sheet { padding: 10px; gap: 10px; border-radius: 32px; }
  .panel { padding: 36px 24px; gap: 36px; border-radius: 22px; min-height: 0; }
  .parts { gap: 24px 20px; }
  .panel__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .panel__line { max-width: none; }
  .phones { border-radius: 22px; aspect-ratio: 1 / 1; }

  .programs { padding-left: 0; padding-right: 0; }
  .programs__head { padding: 0 var(--gutter); margin-bottom: 36px; }
  .tiles {
    display: flex;
    gap: 16px;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 76%; scroll-snap-align: start; }
  .programs__line { padding: 0 var(--gutter); }

  .bloom--n1 { right: -180px; top: -200px; width: 440px; height: 380px; }
  .bloom--n2 { left: -200px; bottom: -160px; width: 400px; height: 320px; }
  .bloom--n3 { left: 8%; width: 360px; height: 300px; }
  .reviews { grid-template-columns: 1fr; gap: 32px; }
  .review { padding-top: 24px; }

  .membership__head { margin-bottom: 36px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 32px 24px; border-radius: 28px; }
  .plan__list { margin: 28px 0 32px; padding-top: 28px; }
  .support { padding-left: 12px; padding-right: 12px; }
  .support__copy { padding: 0 8px; }
  .support__card { padding: 28px 20px; border-radius: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; }
  .faq { padding-left: 12px; padding-right: 12px; }
  .faq__head { padding: 0 8px; }
  .faq__list { padding: 4px 22px; border-radius: 28px; }
  .faq__q { padding: 22px 0; font-size: 17px; gap: 16px; }
  .faq__a { padding: 0 0 22px; font-size: 15px; }
  .final { padding-left: 12px; padding-right: 12px; }
  .final__panel { padding: 40px 24px 24px; border-radius: 28px; }
  .final__ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer { padding-top: 56px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bloom { animation: none; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
