:root {
  /* Brand tokens v3 (docs/design/67, packages/design-tokens/tokens.json):
     eucalyptus ink, wattle action, paper canvas. Mirrored as literal values
     rather than @import so the site stays one stylesheet request. */
  --eucalyptus: #10231c;
  --wattle: #d9ff3f;
  --wattle-press: #b8d72e;
  --chalk: #e96f32;
  --blueprint: #2f6272;

  /* Same names/values the app uses: --paper is white (card + reversed-out
     type), --canvas is the warm page ground. Keeping them aligned lets the
     pictorial layer below be a straight port of apps/web pictorial.css. */
  --paper: #ffffff;
  --canvas-warm: #f4f1e8;

  /* Action is wattle, and wattle ALWAYS carries ink text — never the reverse
     (wattle type on paper fails contrast). Orange survives only as the
     run-discipline tint and the focus ring, never as a button. */
  --action: var(--wattle);
  --action-press: var(--wattle-press);
  --on-action: var(--eucalyptus);

  /* Legacy names kept as aliases: every rule below still reads them, so
     remapping here re-skins the whole sheet at once. Same indirection
     apps/web/src/app/globals.css uses to keep untouched pages on-palette. */
  --orange: var(--chalk);
  --orange-press: #c9552b;
  --cerise: #9b3153;
  --indigo: var(--eucalyptus);
  --night-deep: #08140f;
  --night: #10231c;
  --canvas: var(--canvas-warm);
  --surface: var(--paper);
  --line: #d9d9d1;
  --ink: var(--eucalyptus);
  --muted: #58655f;
  --night-line: rgba(255, 255, 255, .14);
  --night-line-strong: rgba(255, 255, 255, .24);
  --shadow: 0 24px 56px -30px rgba(16, 35, 28, .42);
  --radius-control: 6px;
  --radius-panel: 8px;
  --radius-media: 8px;
  --radius-feature: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Type system (matches apps/web globals.css): Space Grotesk sets display,
     Geist sets body, Space Mono sets data. Bricolage is the logo lockup only. */
  --font-brand: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk Variable", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  --font-data: "Space Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(217, 255, 63, .42);
  color: var(--eucalyptus);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(233, 111, 50, .72);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius-control);
  background: var(--night-deep);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px clamp(16px, 3vw, 34px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

body.is-scrolled .site-header {
  border-bottom: 1px solid rgba(16, 35, 28, .12);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 35px rgba(16, 35, 28, .08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--indigo);
}

.brand-mark {
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand small {
  margin-left: 2px;
  font: 700 10px/1 var(--font-sans);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(16, 35, 28, .76);
  font-weight: 600;
}

.nav-links a {
  border-radius: var(--radius-control);
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

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

.button-primary {
  background: var(--action);
  color: var(--on-action);
}

.button-primary:hover {
  background: var(--action-press);
}

.button-ghost,
.button-ghost-dark {
  border-color: rgba(16, 35, 28, .18);
  background: rgba(255, 255, 255, .58);
  color: var(--indigo);
}

.button-ghost:hover,
.button-ghost-dark:hover {
  border-color: rgba(16, 35, 28, .32);
  background: #fff;
}

.button-ghost-dark {
  background: var(--indigo);
  color: #fff;
}

.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  padding: clamp(46px, 8vw, 92px) 0 58px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 72% 30%, rgba(16, 35, 28, .05), transparent 46%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, rgba(244, 241, 232, 0), var(--canvas));
  content: "";
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.kicker {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-data);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kicker::before {
  width: 34px;
  height: 2px;
  margin-top: .55em;
  background: var(--action);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--indigo);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.kicker),
.feature-copy p,
.market-panel p,
.founding-panel p,
details p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.28rem, 2.2vw, 2rem);
}

p {
  margin: 0;
}

.hero-subhead {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(16, 35, 28, .78);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.mock-cluster {
  position: relative;
  min-height: 620px;
}

.portal-mock,
.feature-mock,
.bento-cell {
  border: 1px solid rgba(16, 35, 28, .1);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.portal-mock {
  position: absolute;
  left: 0;
  top: 12px;
  width: min(392px, 76%);
  border-radius: var(--radius-feature);
  padding: 18px;
}

.phone-mock {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 242px;
  aspect-ratio: 1 / 2;
}

.iphone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 26px 54px rgba(22, 35, 48, .32));
}

.dynamic-island {
  position: absolute;
  left: 50%;
  top: 4.45%;
  z-index: 3;
  width: 27%;
  height: 4%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.dynamic-island::after {
  position: absolute;
  right: 8%;
  top: 50%;
  width: 21%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #080d4c;
  content: "";
}

.phone-screen {
  position: absolute;
  left: 7.05%;
  top: 3.2%;
  z-index: 1;
  display: flex;
  width: 86%;
  height: 93.6%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: #f9fafb;
  padding: 40px 13px 8px;
}

.phone-screen.night {
  background: linear-gradient(180deg, var(--night), var(--night-deep));
}

.tab-bar {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.night .tab-bar {
  border-top-color: var(--night-line);
}

.tab {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 700;
}

.night .tab {
  color: rgba(255, 255, 255, .6);
}

.tab svg {
  width: 17px;
  height: 17px;
}

.tab-active {
  color: var(--ink);
}

.night .tab-active {
  color: var(--action);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-orange {
  background: var(--orange);
}

.dot-cerise {
  background: var(--cerise);
}

.dot-indigo {
  background: var(--indigo);
}

.mock-title,
.eyebrow,
.phone-label,
.bento-cell span,
.athlete-price span {
  font-family: var(--font-data);
  font-size: .72rem;
  text-transform: uppercase;
}

.mock-title {
  margin-left: auto;
  color: var(--muted);
}

.session-builder {
  display: grid;
  gap: 14px;
}

.session-builder h2 {
  margin-top: 8px;
  font-size: 2.35rem;
}

.session-builder .modality-chip {
  display: block;
  margin-top: 10px;
}

.session-builder p,
.brand-mock p,
.ledger-mock p,
.dark-phone p {
  color: var(--muted);
}

.session-builder > div > p {
  max-width: 24ch;
  text-wrap: pretty;
}

.set-stack {
  display: grid;
  gap: 8px;
}

.set-stack span,
.preview-strip,
.session-hero,
.roster-line,
.ledger-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
}

.set-stack span {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px;
}

.set-stack small {
  color: var(--cerise);
  font-family: var(--font-data);
}

.preview-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 14px;
  color: var(--indigo);
  font-weight: 700;
}

.preview-strip svg {
  flex: 0 0 auto;
}

.phone-label {
  color: var(--cerise);
}

.phone-screen h2 {
  margin: 2px 0 8px;
  font-size: clamp(1.18rem, 1.3rem, 1.3rem);
}

.ready-pill {
  display: inline-block;
  border-radius: 999px;
  background: rgba(46, 125, 91, .12);
  color: #2e7d5b;
  padding: 5px 10px;
  font-size: .78rem;
  font-weight: 700;
}

.next-label {
  margin-top: 10px;
}

.modality-chip {
  display: inline-block;
  width: max-content;
  border-radius: 999px;
  color: #fff;
  padding: 3px 9px;
  font-family: var(--font-data);
  font-size: .64rem;
  text-transform: uppercase;
}

.chip-lift { background: var(--cerise); }
.chip-run { background: var(--orange); }
.chip-ride { background: var(--orange-press); }
.chip-swim { background: #33506a; }

.session-hero {
  margin-top: 8px;
  overflow: hidden;
}

.session-head {
  display: grid;
  gap: 3px;
  border-bottom: 2px solid var(--cerise);
  background: rgba(155, 49, 83, .07);
  padding: 10px 12px;
}

.session-head small {
  color: var(--muted);
}

.session-body {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.micro-label {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: .62rem;
  text-transform: uppercase;
}

.big-data {
  color: var(--indigo);
  font-family: var(--font-data);
  font-size: .92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.start-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--action);
  color: var(--on-action);
  padding: 9px 16px;
  font-size: .84rem;
  font-weight: 700;
}

.float-card,
.float-phone {
  animation: floatY 7s ease-in-out infinite;
}

.float-phone {
  animation-delay: -2.3s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.problem,
.market,
.workflow,
.sports,
.pricing,
.founding,
.clubs,
.faq {
  padding: clamp(66px, 10vw, 118px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.16rem;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.card-grid.three {
  gap: clamp(20px, 3vw, 44px);
}

.bento-cell {
  border-radius: var(--radius-feature);
  padding: clamp(22px, 3vw, 34px);
}

/* The gap columns are prose, not cards: open editorial columns on a hairline. */
.lift-card {
  border-top: 2px solid var(--indigo);
  padding-top: 18px;
}

.lift-card h3 {
  max-width: 14ch;
}

.bento-cell h3 {
  display: block;
  margin-top: 18px;
}

.lift-card p {
  margin-top: 12px;
  color: var(--muted);
  text-wrap: pretty;
}

/* The global reset strips every link of colour and underline, which is right
   for nav and buttons but leaves an in-prose link indistinguishable from the
   text around it. Card prose links carry two independent cues — darker ink than
   the surrounding muted body, plus an underline — so they do not rely on colour
   alone (WCAG 1.4.1). Used by the company section on about.html, where the
   whole point is that a reader can go and read the documents. */
.lift-card p a {
  color: var(--ink);
  text-decoration: underline;
  /* Derived from the link's own colour rather than a literal, so a palette
     remap (--ink is an alias) carries the underline with it instead of
     stranding an off-palette rgba here. */
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .18s var(--ease-out);
}

.lift-card p a:hover {
  text-decoration-color: currentColor;
}

.market-panel,
.founding-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-feature);
  background: var(--surface);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.market-panel p:not(.kicker),
.founding-panel p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-feature);
  background: #fff;
}

.feature-row.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, .78fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy h3 {
  margin-top: 0;
}

.feature-copy p {
  margin-top: 14px;
  color: var(--muted);
}

.feature-mock {
  min-height: 260px;
  border-radius: var(--radius-feature);
  padding: 22px;
}

.planner-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .6fr;
  gap: 10px;
}

.planner-grid span {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: .76rem;
}

.planner-grid strong,
.planner-grid em,
.planner-grid b {
  border-radius: var(--radius-panel);
  background: #fff;
  padding: 12px;
  font-style: normal;
}

.planner-grid em {
  color: var(--cerise);
  font-family: var(--font-data);
}

.planner-grid b {
  color: var(--indigo);
}

.roster-mock {
  display: grid;
  gap: 10px;
}

.library-list {
  display: grid;
  gap: 10px;
}

.library-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
  padding: 12px 14px;
}

.library-row strong {
  display: block;
  color: var(--indigo);
}

.library-row small {
  color: var(--muted);
}

.video-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  padding: 7px 12px;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.video-chip.stock {
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--muted);
}

.roster-line {
  display: grid;
  grid-template-columns: 1fr 1fr 120px;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.roster-line.header {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: .76rem;
}

meter {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--line);
}

meter::-webkit-meter-bar {
  border: 0;
  background: var(--line);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--action);
}

meter::-moz-meter-bar {
  border-radius: 999px;
  background: var(--action);
}

.mock-button {
  justify-self: start;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--indigo);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
}

.community-mock {
  display: grid;
  align-content: center;
  gap: 12px;
}

.chat-bubble {
  max-width: 74%;
  border-radius: 18px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 12px 26px rgba(16, 35, 28, .08);
}

.chat-bubble.coach,
.chat-bubble.reply {
  margin-left: auto;
  background: var(--indigo);
  color: #fff;
}

.moderation-pill {
  width: max-content;
  border-radius: 999px;
  background: rgba(155, 49, 83, .1);
  color: var(--cerise);
  padding: 8px 12px;
  font-weight: 700;
}

.brand-mock .banner {
  position: relative;
  aspect-ratio: 1120 / 360;
  overflow: hidden;
  border-radius: var(--radius-media);
}

.brand-mock .banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mock .banner .sample-tag {
  position: absolute;
  right: 10px;
  top: 10px;
}

.sample-tag {
  border-radius: 999px;
  background: rgba(8, 20, 15, .55);
  color: #fff;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: .68rem;
  text-transform: uppercase;
}

.profile-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 0 18px 14px;
}

.avatar {
  display: block;
  width: 74px;
  height: 74px;
  margin-top: -34px;
  border: 4px solid #fff;
  border-radius: 20px;
  background: var(--night-deep);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(22, 35, 48, .18);
}

.profile-name {
  padding-bottom: 6px;
}

.profile-name strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.profile-name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.brand-mock > p {
  margin: 0 18px 6px;
}

.ledger-mock {
  display: grid;
  align-content: center;
  gap: 10px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.ledger-row span {
  color: var(--muted);
}

.ledger-rule {
  height: 1px;
  margin: 8px 0;
  background: var(--line);
}

.athlete-band {
  background:
    radial-gradient(circle at 86% 22%, rgba(217, 255, 63, .1), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(16, 35, 28, .22), transparent 33%),
    var(--night-deep);
  color: rgba(255, 255, 255, .92);
}

.night-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  min-height: 660px;
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(70px, 10vw, 120px);
}

.athlete-band h2,
.athlete-band h3 {
  color: #fff;
}

.athlete-band .kicker {
  color: rgba(255, 255, 255, .76);
}

.night-copy p:not(.kicker) {
  margin-top: 18px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.15rem;
}

.night-line {
  font-weight: 700;
}

.night-devices {
  position: relative;
  min-height: 600px;
}

.dark-phone {
  position: absolute;
  left: 8%;
  top: 20px;
  width: 252px;
  aspect-ratio: 1 / 2;
}

.dark-phone .iphone-frame {
  filter: drop-shadow(0 28px 64px rgba(0, 0, 0, .5));
}

.dark-phone .phone-screen {
  padding: 40px 12px 8px;
}

.dark-phone.offset {
  left: auto;
  right: 8%;
  top: 84px;
}

.night-label {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, .76);
  font-family: var(--font-data);
  font-size: .66rem;
  text-transform: uppercase;
}

.dark-phone h3 {
  font-size: 1.22rem;
}

.session-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.session-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-panel);
  padding: 9px 10px 9px 14px;
  background: rgba(255, 255, 255, .06);
}

.session-list li::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
}

.spine-lift::before { background: var(--cerise); }
.spine-run::before { background: var(--orange); }
.spine-swim::before { background: #33506a; }

.session-line-body {
  display: grid;
  flex: 1;
  gap: 2px;
}

.session-line-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.session-line-top em {
  color: rgba(255, 255, 255, .64);
  font-family: var(--font-data);
  font-size: .66rem;
  font-style: normal;
}

.session-list strong {
  display: block;
  font-size: .84rem;
}

.session-list small {
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
}

.session-meta {
  color: rgba(255, 255, 255, .74);
  font-family: var(--font-data);
  font-size: .58rem;
  line-height: 1.4;
}

.chevron {
  color: rgba(255, 255, 255, .56);
  font-size: 1.1rem;
}

.volume-head {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.segment {
  display: inline-flex;
  width: max-content;
  gap: 4px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  padding: 3px;
  font-size: .72rem;
  font-weight: 700;
}

.segment span {
  border-radius: 999px;
  color: rgba(255, 255, 255, .74);
  padding: 5px 12px;
}

.segment .seg-active {
  background: var(--action);
  color: var(--on-action);
}

.volume-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.volume-tile {
  display: grid;
  gap: 1px;
  border: 1px solid var(--night-line);
  border-top-width: 3px;
  border-radius: var(--radius-panel);
  padding: 9px 10px 7px;
  background: rgba(255, 255, 255, .06);
}

.tile-lift { border-top-color: var(--cerise); }
.tile-run { border-top-color: var(--orange); }
.tile-ride { border-top-color: var(--orange-press); }
.tile-swim { border-top-color: #33506a; }

.volume-tile span {
  color: rgba(255, 255, 255, .76);
  font-family: var(--font-data);
  font-size: .64rem;
  text-transform: uppercase;
}

.volume-tile strong {
  font-family: var(--font-data);
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.volume-tile strong em {
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
  font-style: normal;
}

.volume-tile small {
  color: rgba(255, 255, 255, .74);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 16px;
}

.bento-cell {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 241, 232, .9)),
    #fff;
}

.bento-cell.photo {
  position: relative;
  isolation: isolate;
}

.bento-cell.photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-cell.photo::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 15, .18) 0%, rgba(8, 20, 15, .38) 55%, rgba(8, 20, 15, .84) 100%);
  content: "";
}

.bento-cell.photo span {
  color: rgba(255, 255, 255, .88);
}

.bento-cell.photo h3 {
  color: #fff;
  text-shadow: 0 1px 12px rgba(8, 20, 15, .45);
}

.bento-cell.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-cell.tall {
  grid-row: span 2;
}

.bento-cell.method {
  grid-column: span 2;
  background: var(--indigo);
}

.bento-cell.method.photo::after {
  background: linear-gradient(180deg, rgba(16, 35, 28, .55) 0%, rgba(16, 35, 28, .72) 55%, rgba(8, 20, 15, .92) 100%);
}

.bento-cell.method h3,
.bento-cell.method span {
  color: #fff;
}

.bento-cell span {
  color: var(--cerise);
  font-weight: 700;
}

.pricing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .65fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-shell.lane-b {
  margin-top: 22px;
}

.club-table {
  margin-top: 30px;
}

.club-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: .95rem;
  text-wrap: pretty;
}

.table-wrap,
.pricing-notes,
.faq-list,
.founding-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-feature);
  background: #fff;
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

caption {
  padding: 18px 22px;
  color: var(--muted);
  font-family: var(--font-data);
  text-align: left;
  text-transform: uppercase;
}

th,
td {
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: .76rem;
  text-transform: uppercase;
}

tbody th {
  color: var(--indigo);
  font-size: 1.08rem;
}

tbody td {
  color: rgba(16, 35, 28, .78);
  font-weight: 600;
}

.pricing-notes {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.pricing-notes h3 {
  color: var(--cerise);
}

.pricing-notes p,
.athlete-price small {
  color: var(--muted);
}

.athlete-price {
  border-radius: var(--radius-panel);
  background: var(--canvas);
  padding: 16px;
}

.athlete-price span {
  color: var(--indigo);
  font-weight: 700;
}

.athlete-price p {
  margin-top: 8px;
}

.founding-panel {
  align-items: start;
}

.founding-panel .button {
  margin-top: 22px;
}

.clubs {
  width: min(1180px, calc(100% - 32px));
  border-radius: var(--radius-feature);
  background: #fff;
  padding-right: clamp(20px, 4vw, 48px);
  padding-left: clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.clubs .section-heading {
  max-width: 900px;
}


.faq-list {
  overflow: hidden;
}

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

details:first-child {
  border-top: 0;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--indigo);
  font-weight: 700;
}

summary::marker {
  color: var(--muted);
}

details p {
  max-width: 760px;
  padding: 0 24px 22px;
  color: var(--muted);
}

.site-footer {
  background: var(--night-deep);
  color: rgba(255, 255, 255, .92);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 16px;
}

.footer-inner a {
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-inner p {
  color: rgba(255, 255, 255, .72);
}

body.js .reveal {
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 700ms var(--ease-out),
    opacity 700ms var(--ease-out);
}

body.js .reveal.in {
  transform: translateY(0);
  opacity: 1;
}

body.js .reveal.in:nth-child(2) {
  transition-delay: 70ms;
}

body.js .reveal.in:nth-child(3) {
  transition-delay: 140ms;
}

body.js .reveal.in:nth-child(4) {
  transition-delay: 210ms;
}

body.js .reveal.in:nth-child(5) {
  transition-delay: 280ms;
}

body.js .reveal.in:nth-child(6) {
  transition-delay: 350ms;
}

@media (max-width: 1180px) {
  .mock-cluster {
    min-height: auto;
  }

  .portal-mock {
    position: relative;
    top: auto;
    width: 100%;
  }

  .phone-mock {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 88%);
    margin: 18px auto 0;
  }
}

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

  .hero-grid,
  .feature-row,
  .feature-row.reverse,
  .night-grid,
  .pricing-shell,
  .market-panel,
  .founding-panel {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }


  .card-grid.three {
    grid-template-columns: 1fr;
  }

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

  .clubs {
    width: min(1180px, calc(100% - 20px));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px;
  }

  .nav-shell {
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 10px 12px;
    font-size: .88rem;
  }

  .section-wrap,
  .footer-inner {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mock-cluster {
    min-height: 660px;
  }

  .portal-mock {
    position: relative;
    width: 100%;
  }

  .phone-mock {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 88%);
    margin: 18px auto 0;
  }

  .planner-grid,
  .roster-line {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    padding: 20px;
  }

  .feature-mock {
    min-height: 220px;
    padding: 16px;
  }

  .night-devices {
    display: grid;
    min-height: auto;
    gap: 16px;
  }

  .dark-phone,
  .dark-phone.offset {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(260px, 88%);
    margin: 0 auto;
  }

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

  .bento-cell.large,
  .bento-cell.tall,
  .bento-cell.method {
    grid-column: auto;
    grid-row: auto;
  }

  th,
  td {
    padding: 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .hero-atmosphere {
    display: none;
  }

  .reveal,
  body.js .reveal,
  body.js.ready .reveal {
    transform: none;
    opacity: 1;
  }
}
