/* ==================================================================
   Mason Fitness marketing pages: the member home page, the coach page
   (/coaches/) and the waiting list.

   The colours are the app's own warm palette. The large field is a softened
   olive, not near-black, which the operator asked for (2026-11-04). Contrast
   is re-measured by tests/test_landing_contrast.py.

   No drop shadows anywhere. Depth is contrast and 1px rules.
   ================================================================== */

/* ---- fonts ------------------------------------------------------
   Self-hosted woff2, latin + latin-ext only. Hanken Grotesk ships as a
   single variable file covering 400-700, so the four weights the design
   uses cost one download rather than four. */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.c008db4e8a97.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.18e8ea957b6c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.a6b899943e31.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.a3a0917757d7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- tokens ------------------------------------------------------ */
:root {
  color-scheme: light;
  /* the logo's own colours, from the brand pack; the favicon draws in these */
  --brand-charcoal:              #121412;
  --brand-stone:                 #E9ECE4;
  --brand-lime:                  #C6F432;

  /* surfaces */
  --color-surface:               #F6F1E8;
  --color-surface-raised:        #FCFAF6;
  --color-surface-tint:          #FCFAF6;
  --color-surface-sunken:        #EFE7DA;
  --color-surface-inverted:      #5A6C38;
  --color-surface-inverted-hover:#526331;
  --color-surface-inverted-card:  rgba(247, 248, 250, 0.05);
  --color-surface-inverted-track: rgba(247, 248, 250, 0.08);
  --color-border-inverted:        rgba(247, 248, 250, 0.14);
  --color-rule-inverted:          rgba(247, 248, 250, 0.16);

  /* text */
  --color-text-primary:          #171310;
  --color-text-body:             #4A4238;
  --color-text-muted:            #625747;
  --color-text-on-accent:        #FFFFFF; /*  8.8:1 on --color-accent */
  --color-accent-fill-label:     #171310;
  --color-text-on-inverted:      #FFFFFF;
  --color-text-on-inverted-muted:#EEF1E2;

  /* accent: two lime values, two jobs, never interchangeable */
  --color-accent:                #41501A; /* deep lime. The ONLY lime legal at text size on light. */
  --color-accent-hover:          #2F3D0F;
  --color-accent-pressed:        #1F2A0A;
  --color-accent-surface:        #F2FFCF;
  --color-accent-lifted:         #D6FF3E; /* volt. FILL ONLY on light (1.2:1 on white). */
  --color-accent-lifted-surface: rgba(214, 255, 62, 0.18);

  /* actions */
  --color-action:                #D6FF3E;
  --color-action-hover:          #C4F02A;
  --color-action-pressed:        #AEDA1C;
  --color-action-label:          #171310;

  /* data: reserved colours, used nowhere else */
  --color-data-heartrate:        #C42B1C; /* HR readouts and trend lines ONLY. 5.66:1 */
  --color-data-success:          #0E6B57; /* logged sets, attendance ticks. 6.44:1 */
  --color-data-success-surface:  #DCEFE8;

  /* Added beyond the handoff: it specifies no error colour because the
     landing page has no forms, and /join/ does. Deliberately not
     --color-data-heartrate, which is reserved for heart-rate readouts and
     trend lines and must not drift into being a generic red. */
  --color-form-error:            #A4262C; /* 7.26:1 on surface */

  /* borders */
  --color-border:                #E3D8C6;
  --color-border-strong:         #C9BBA4;
  --border-width-hairline:       1px;
  --border-width-emphasis:       1.5px;

  /* families */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-ui:      'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* type scale. Fluid steps clamp against the container, per the handoff. */
  --type-display-1-size: clamp(38px, 5cqw, 72px);
  --type-display-2-size: clamp(32px, 3.3cqw, 52px);
  --type-heading-1-size: clamp(30px, 2.78cqw, 40px);
  --type-heading-2-size: 26px;
  --type-heading-3-size: 21px;
  --type-heading-4-size: 20px;
  --type-price-size:     44px;
  --type-wordmark-size:  24px;
  --type-body-size:      17px;
  --type-body-sm-size:   15px;
  --type-title-sm-size:  17px;
  --type-button-size:    16px;
  --type-caption-size:   14px;
  --type-caption-sm-size:13px;
  --type-micro-size:     12px;
  --type-eyebrow-size:   11px;
  /* tokens.css sets this to 10.5px, which acceptance.md D6 forbids
     ("no text renders below 11px"). D6 is the binary criterion, so the
     in-mockup column labels round up to it. */
  --type-label-size:     11px;

  /* spacing, 4px base */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 14px;
  --space-5: 16px;  --space-6: 20px;  --space-7: 22px;  --space-8: 24px;
  --space-9: 26px;  --space-10: 30px; --space-11: 32px; --space-12: 36px;
  --space-13: 44px; --space-14: 52px; --space-15: 64px; --space-16: 80px;
  --space-17: 120px;

  /* layout */
  --layout-max-width: 1200px;
  --layout-gutter:    20px;
  --layout-column-gap:20px;
  --section-rhythm:          clamp(64px, 8.3333cqw, 120px);
  --section-rhythm-hero-top: clamp(48px, 6cqw, 88px);
  --nav-height: 72px;

  /* radii */
  --radius-sm: 6px;  --radius-tab: 8px; --radius-md: 10px;
  --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px;
  --radius-device-outer: 42px;
  --radius-device-inner: 34px;

  /* motion */
  --duration-instant: 80ms;
  --duration-fast:    140ms;
  --duration-base:    200ms;
  --duration-slow:    280ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit:     cubic-bezier(0.4, 0, 1, 1);

  /* elevation: there is exactly one shadow token and its value is none */
  --shadow-none: none;

  /* layers */
  --z-mockup-back: 1;
  --z-mockup-front: 2;
  --z-sticky-nav: 50;

  /* focus */
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --focus-ring-color:          #171310;
  --focus-ring-color-inverted: #D6FF3E;

  /* The revamp's short names, from the app's own palette (mobile/lib/design/tokens/colours.dart). */
  --paper: var(--color-surface);
  --raised: var(--color-surface-raised);
  --sunken: var(--color-surface-sunken);
  --ink: var(--color-text-primary);
  --body: var(--color-text-body);
  --muted: var(--color-text-muted);
  --rule: var(--color-border);
  --rule-strong: var(--color-border-strong);
  --control: #8A7F70;
  --lime: var(--color-accent);
  --fill: var(--color-surface-inverted);
  --fill-hover: var(--color-surface-inverted-hover);
  --fill-pressed: #4A5A2C;
  --fill-ring: rgba(255, 255, 255, .13);
  --lime-tint: var(--color-accent-surface);
  --volt: var(--color-accent-lifted);
  --volt-hover: var(--color-action-hover);
  --volt-pressed: var(--color-action-pressed);
  --withheld: #EAE3D6;
  --on-lime: var(--color-text-on-inverted);
  --on-lime-quiet: var(--color-text-on-inverted-muted);
  --on-lime-rule: rgba(255, 255, 255, .24);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --nav-h: 4.25rem;
}

/* ---- base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1.5rem); interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 1.0625rem/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(3.1rem, min(7.2vw, 12vh), 6.25rem); line-height: .98; letter-spacing: -.024em; }
h2 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); line-height: 1.03; letter-spacing: -.018em; }
h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -.008em; }
p { max-width: 62ch; }
a { color: var(--lime); text-underline-offset: .18em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; color: var(--body); }
.small { font-size: .9375rem; }
.quiet { color: var(--muted); }

/* ---- buttons: feedback on the press, never on hover movement ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  transition: transform 100ms ease-out, background-color 120ms ease-out;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: var(--volt-hover); }
.btn--volt:active { background: var(--volt-pressed); }
.btn--lime { background: var(--fill); color: var(--on-lime); }
.btn--lime:hover { background: var(--fill-hover); }
.btn--lime:active { background: var(--fill-pressed); }
.btn--line { color: var(--ink); border: 1px solid var(--control); }
.btn--line:hover { background: var(--sunken); }
.btn--small { min-height: 2.625rem; padding: 0 1.125rem; font-size: .9375rem; }

/* ---- translucent floating nav: content scrolls under it ---- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30; height: var(--nav-h);
  background: rgba(246, 241, 232, .72);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
.nav::after { /* a scroll edge, not a hard divider */
  content: ''; position: absolute; inset: 100% 0 auto; height: 14px; pointer-events: none;
  background: linear-gradient(rgba(246, 241, 232, .55), rgba(246, 241, 232, 0));
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.wordmark { display: block; margin-right: auto; line-height: 0; }
.nav .wordmark { margin-right: 1.25rem; }
.wordmark__logo { display: block; height: 1.75rem; width: auto; }
.nav__link { color: var(--ink); font-weight: 500; font-size: .9375rem; text-decoration: none; padding: .5rem .25rem; }
.nav__link:hover { text-decoration: underline; }
/* ---- hero ---- */
.hero { padding-top: calc(var(--nav-h) + clamp(1.5rem, 3.4vw, 3rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero__sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .625rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .625rem; }
.hero__place { font-size: .9375rem; color: var(--muted); }

/* the bench: one sheet, two sides, one fold */
.bench-note { margin-top: clamp(2rem, 2.8vw, 2.5rem); margin-bottom: 1rem; font-size: .9375rem; color: var(--muted); max-width: none; }
.bench {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--raised); border: 1px solid var(--rule); border-radius: 28px; overflow: hidden;
}
.side { padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2.6vw, 2.25rem); min-width: 0; }
.side--coach { background: var(--sunken); border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.side__who { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.side__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.side__step { font-size: .9375rem; color: var(--muted); }

.lift { font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.08 var(--serif); color: var(--ink); letter-spacing: -.012em; }
.readouts { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; margin-top: .75rem; }
.readout { display: flex; align-items: center; gap: .625rem; }
.readout__val { color: var(--ink); font-weight: 600; font-size: clamp(2.75rem, 5.4vw, 4.5rem); line-height: 1; letter-spacing: -.03em; min-width: 3ch; text-align: center; }
.readout__val small { font-size: max(.75rem, .32em); font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .15em; }
.readout--reps .readout__val { font-size: clamp(2rem, 3.4vw, 2.75rem); min-width: 2ch; }
.tiny {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--control);
  color: var(--ink); font-size: 1.25rem; line-height: 1; display: grid; place-items: center;
  transition: transform 100ms ease-out, background-color 120ms ease-out; touch-action: manipulation;
}
.tiny:hover { background: var(--sunken); }
.tiny:active { transform: scale(.93); background: var(--rule); }

/* the scale: drag it like loading a bar, in 2.5 kg steps */
.scale {
  position: relative; height: 3.875rem; margin: .25rem calc(-1 * clamp(1.25rem, 2.6vw, 2.25rem)) .5rem;
  overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 14%, black 86%, transparent);
}
.scale:active { cursor: grabbing; }
.scale:focus-visible { outline-offset: -3px; }
.scale__tape { position: absolute; top: 0; left: 50%; height: 100%; will-change: transform; }
.tick { position: absolute; top: 1.25rem; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--rule-strong); }
.tick--major { top: 1rem; width: 14px; height: 14px; margin-left: -7px; background: var(--raised); border: 3px solid var(--control); }
.tick__n { position: absolute; top: 2.25rem; transform: translateX(-50%); font-size: .8125rem; color: var(--muted); }
.needle { position: absolute; top: .375rem; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 3px solid var(--lime); pointer-events: none; }
.bar { margin-top: .5rem; }
.bar svg { display: block; width: 100%; height: clamp(4.25rem, 7vw, 5.5rem); }
.bar__load { margin-top: .125rem; font-size: .875rem; color: var(--muted); max-width: none; text-align: center; }

.log { width: 100%; }
.status { min-height: 1.5em; margin-top: .75rem; font-size: .9375rem; color: var(--muted); max-width: none; }
.share { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.share__label { color: var(--ink); font-size: .9375rem; font-weight: 500; }
.switch { flex: none; position: relative; width: 3.25rem; height: 2rem; border-radius: 999px; background: var(--control); }
.switch__knob { position: absolute; top: .1875rem; left: .1875rem; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--raised); will-change: transform; }

.review__student { color: var(--ink); font: 400 clamp(1.5rem, 2.2vw, 1.875rem)/1.1 var(--serif); }
.review__lift { margin-top: .25rem; font-size: .9375rem; color: var(--muted); }
.review__body { position: relative; margin-top: 1.25rem; flex: 1; min-height: 15rem; }
.rows, .withheld { transition: opacity 180ms linear; }
.row { overflow: hidden; }
.row__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--rule-strong); color: var(--ink); will-change: transform; }
.row__set { color: var(--muted); font-size: .9375rem; }
.row__done { color: var(--lime); }
.withheld { position: absolute; inset: 0 0 auto; padding: 1.125rem; border-radius: 14px; background: var(--withheld); color: var(--body); opacity: 0; visibility: hidden; font-size: .9375rem; }
.review[data-shared="false"] .rows { opacity: 0; visibility: hidden; }
.review[data-shared="false"] .withheld { opacity: 1; visibility: visible; }
.review__foot { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }

/* ---- without script the demo bench is hidden; the copy around it stands alone ---- */
html:not(.js) .bench, html:not(.js) .bench-note, html:not(.js) .bar { display: none; }
[id] { scroll-margin-top: var(--nav-height); }
.chapter { padding-block: var(--section); }
.chapter + .chapter { padding-top: 0; }

/* dashboard screenshot (coaches page) */
.shot h2 { max-width: 16ch; }
.shot .lede { margin-top: 1.25rem; max-width: 44ch; }
.shot__frame { margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.shot__frame a { display: block; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--rule-strong);
  background: var(--raised); }
.shot__frame a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.shot__frame img { display: block; width: 100%; height: auto; }
.shot__frame figcaption { margin-top: 1rem; }

/* week */
.week { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(7, minmax(9.25rem, 1fr)); gap: .625rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .75rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.day { scroll-snap-align: start; min-height: 13rem; display: flex; flex-direction: column; padding: .875rem; border-radius: 14px; }
.day__name { font-size: .9375rem; font-weight: 600; }
.day__icon { display: block; width: 1.75rem; height: 1.75rem; margin-top: .75rem; }
.day__what { margin-top: auto; font: 400 1.5rem/1.08 var(--serif); letter-spacing: -.005em; }
.day__from { margin-top: .375rem; font-size: .875rem; }
.day--coach { background: var(--fill); color: var(--on-lime-quiet); }
.day--coach .day__name, .day--coach .day__what { color: var(--on-lime); }
.day--own { background: var(--raised); border: 1px solid var(--rule-strong); }
.day--own .day__name, .day--own .day__what { color: var(--ink); }
.day--rest { color: var(--muted); }
.day--rest .day__name { color: var(--muted); font-weight: 500; }
.day--rest .day__what { color: var(--muted); }

/* statements: big claim left, plain support right */
.claims > li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 3rem; align-items: baseline; padding-block: clamp(1.75rem, 3.5vw, 3rem); border-top: 1px solid var(--rule-strong); }
.claims > li:last-child { border-bottom: 1px solid var(--rule-strong); }
.claims h3 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -.016em; }

/* consent */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.split p + p { margin-top: 1rem; }
.split .lede { margin-top: 1.25rem; }
.cats > li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; border-top: 1px solid var(--rule-strong); color: var(--ink); font-size: 1.125rem; }
.cats > li:last-child { border-bottom: 1px solid var(--rule-strong); }
.state { font-size: .9375rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px; white-space: nowrap; }
.state--on { background: var(--lime-tint); color: var(--lime); }
.state--off { background: var(--withheld); color: var(--body); font-weight: 500; }

/* steps are a real sequence, so numbers earn their place */
.steps { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1rem; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; font: 400 1.875rem/1 var(--serif); color: var(--on-lime); background: var(--fill); border: 5px solid var(--fill), inset 0 0 0 6px var(--fill-ring), inset 0 0 0 16px var(--fill), inset 0 0 0 17px var(--fill-ring); margin-bottom: 1.25rem; }
.steps h3 { margin-bottom: .625rem; }

/* coach field: the deep lime replaces the near-black panels */
.field { position: relative; overflow: hidden; background: var(--fill); color: var(--on-lime-quiet); padding-block: var(--section); }
.field > .wrap { position: relative; }
.field__plate { position: absolute; top: 50%; right: -16rem; width: 46rem; height: 46rem; margin-top: -23rem; pointer-events: none; }
@media (max-width: 860px) { .field__plate { right: -22rem; top: 8rem; margin-top: 0; width: 34rem; height: 34rem; } }
.field h2, .field h3 { color: var(--on-lime); }
.field .lede { color: var(--on-lime-quiet); margin-top: 1.5rem; }
.field__h { max-width: 15ch; font-size: clamp(2.75rem, 6.8vw, 6.25rem); line-height: 1; letter-spacing: -.022em; }
.field .btn { margin-top: 2rem; }
.field__note { margin-top: .75rem; font-size: .9375rem; }
.field__list { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.field__list li { padding-top: 1rem; border-top: 1px solid var(--on-lime-rule); }
.field__list h3 { margin-bottom: .625rem; }

/* roster */
.roster { margin-top: clamp(2rem, 4vw, 3.5rem); background: var(--raised); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(.75rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 2rem); overflow-x: auto; }
.roster table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.roster th, .roster td { padding: .875rem .5rem; text-align: center; border-top: 1px solid var(--rule); font-weight: 400; }
.roster thead th { border-top: 0; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.roster th[scope="row"], .roster thead th:first-child { text-align: left; color: var(--ink); padding-left: 0; }
.roster th[scope="row"] { font-weight: 500; }
.roster .fmt { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; }
.mark-dot { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; font-size: .875rem; line-height: 1; }
.mark-dot--yes { background: var(--fill); color: var(--on-lime); }
.mark-dot--no { border: 1px solid var(--control); color: var(--muted); }
.roster__sum { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }

/* ---- shared end of the page ---- */
.price { padding-block: var(--section); background: var(--sunken); }
.price h2 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .98; letter-spacing: -.026em; max-width: 12ch; }
.price .lede { margin-top: 1.5rem; }
.price__cols { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.price-card { padding-top: 1rem; border-top: 1px solid var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
.price-card h3 { margin-bottom: .5rem; }
.price-card ul { margin: 1.25rem 0 1.75rem; width: 100%; }
.price-card li { padding: .625rem 0; border-top: 1px solid var(--rule-strong); color: var(--ink); }
.price-card .btn { margin-top: auto; }

.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.faq__grid .small { margin-top: 1rem; }
details { border-top: 1px solid var(--rule-strong); }
details:last-child { border-bottom: 1px solid var(--rule-strong); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; min-height: 3rem; color: var(--ink); font-weight: 500; font-size: 1.125rem; }
summary::-webkit-details-marker { display: none; }
.plus { flex: none; position: relative; width: 1rem; height: 1rem; transition: transform 220ms cubic-bezier(.2, .8, .2, 1); }
.plus::before, .plus::after { content: ''; position: absolute; background: var(--lime); }
.plus::before { inset: 7px 0; }
.plus::after { inset: 0 7px; }
details[open] .plus { transform: rotate(45deg); }
details::details-content { block-size: 0; overflow: clip; transition: block-size 260ms cubic-bezier(.2, .8, .2, 1), content-visibility 260ms allow-discrete; }
details[open]::details-content { block-size: auto; }
details p { padding-bottom: 1.25rem; }

.close { padding-block: var(--section); text-align: left; border-top: 1px solid var(--rule); }
.close h2 { font-size: clamp(3rem, 7.6vw, 7rem); line-height: .98; letter-spacing: -.024em; max-width: 12ch; }
.close .lede { margin-top: 1.5rem; }
.close__cta { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.foot { padding-block: 2rem 2.5rem; font-size: .9375rem; color: var(--muted); }
.foot__in { display: flex; gap: .75rem 1.5rem; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--body); }
.foot .wordmark { margin-right: auto; }
.foot .wordmark__logo { height: 1.5rem; }
.footer__social { display: flex; gap: .5rem; }
.social-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--control); color: var(--ink); }
.social-btn:hover { background: var(--sunken); }

/* ---- the Product menu: a disclosure, not an ARIA menu ----
   Script opens it on click (and on hover with a mouse), closes it on Escape
   or a click elsewhere. Without script the two pages are plain links. */
.nav__group { display: flex; align-items: center; gap: .25rem; margin-right: auto; }
.nav__group .nav__link { padding: .625rem .75rem; border-radius: 999px; }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.nav__btn { display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; }
.nav__btn:hover, .dd[data-open] .nav__btn { background: rgba(227, 216, 198, .7); text-decoration: none; }
.chev { width: .75rem; height: .75rem; transition: transform 160ms var(--ease-standard); }
.dd[data-open] .chev { transform: rotate(180deg); }
.dd { position: relative; }
.dd__panel {
  position: absolute; top: calc(100% + .625rem); left: -.5rem; width: 25rem; padding: .5rem;
  background: var(--raised); border: 1px solid var(--rule-strong); border-radius: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 140ms var(--ease-standard), visibility 0s linear 140ms;
}
.dd[data-open] .dd__panel { opacity: 1; visibility: visible; transition-delay: 0s; }
.dd__item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .875rem; align-items: start; padding: .875rem; border-radius: 14px; text-decoration: none; }
.dd__item:hover { background: var(--sunken); }
.dd__item[aria-current="page"] { background: var(--lime-tint); }
.dd__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--fill); color: var(--on-lime); }
.dd__icon svg { width: 1.25rem; height: 1.25rem; }
.dd__t { display: flex; align-items: baseline; gap: .5rem; color: var(--ink); font-weight: 600; font-size: 1rem; }
.dd__here { font-weight: 500; font-size: .8125rem; color: var(--lime); }
.dd__d { display: block; margin-top: .125rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.nav__flat { display: none; }
html:not(.js) .dd { display: none; }
html:not(.js) .nav__flat { display: inline-flex; }

/* ---- small screens: one Menu button and a sheet under the bar ---- */
.menu-btn { display: none; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--control); color: var(--ink); font-weight: 600; font-size: .9375rem; }
.menu-btn__bars { position: relative; width: 1rem; height: 10px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 160ms var(--ease-standard), top 160ms var(--ease-standard); }
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 4px; transform: rotate(-45deg); }
.nav-sheet { position: fixed; inset: var(--nav-h) 0 0; z-index: 29; overflow-y: auto; padding: 1rem var(--gutter) 2rem; background: var(--paper); }
.nav-sheet[hidden] { display: none; }
.nav-sheet__label { margin: 1.25rem 0 .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-sheet .dd__item { padding: .875rem 0; border-radius: 0; border-top: 1px solid var(--rule-strong); }
.nav-sheet .dd__item[aria-current="page"] { background: none; }
.nav-sheet__links { margin-top: 1.25rem; }
.nav-sheet__links a { display: block; padding: 1rem 0; border-top: 1px solid var(--rule-strong); color: var(--ink); font: 400 1.75rem/1.1 var(--serif); text-decoration: none; }
.nav-sheet__ctas { display: grid; gap: .625rem; margin-top: 1.75rem; }
@media (min-width: 861px) { .nav-sheet { display: none; } }

/* ---- the coach page ---- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .9375rem; font-weight: 600; color: var(--lime); }
.eyebrow::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--fill); }
.hero--coach h1 { max-width: 14ch; }
.hero--coach .roster { margin-top: 0; }

/* ---- home: the band that sends coaches to their page ---- */
.band-sec { padding-bottom: var(--section); }
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 3rem; align-items: end; padding: clamp(2rem, 4vw, 3.5rem); border-radius: 28px; background: var(--fill); color: var(--on-lime-quiet); }
.band h2 { max-width: 14ch; font-size: clamp(2.25rem, 4.4vw, 3.75rem); color: var(--on-lime); }
.band .lede { margin-top: 1rem; color: var(--on-lime-quiet); }
.band .btn { margin-top: 1.5rem; }
.band li { padding: .625rem 0; border-top: 1px solid var(--on-lime-rule); color: var(--on-lime); }
.band :focus-visible { outline-color: var(--volt); }
.card-more { margin-top: .875rem; font-size: .9375rem; }

/* ---- small screens ---- */
@media (max-width: 860px) {
  .nav__group, .nav__login, .nav .btn { display: none; }
  .nav .wordmark { margin-right: auto; }
  .js .menu-btn { display: inline-flex; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .hero__sub { grid-template-columns: minmax(0, 1fr); }
  .hero__actions { align-items: flex-start; }
  .hero__ctas { justify-content: flex-start; }
  .bench { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .side--coach { border-left: 0; border-top: 1px solid var(--rule); }
  .review__body { min-height: 13rem; }
  .claims > li, .split, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .steps, .field__list, .price__cols { grid-template-columns: minmax(0, 1fr); }
  .chapter:last-child { padding-bottom: calc(var(--section) * .8); }
}

/* ---- the three preference signals ---- */
@media (prefers-reduced-motion: reduce) {
  .btn, .tiny, .plus, details::details-content { transition: none; }
  .btn:active, .tiny:active { transform: none; }
  .dd__panel, .chev, .menu-btn__bars::before, .menu-btn__bars::after { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-sheet { background: var(--paper); }
}
@media (prefers-contrast: more) {
  .nav { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--ink); }
  .dd__panel { border-color: var(--ink); }
  .quiet, .hero__place, .side__step, .status, .row__set { color: var(--body); }
}

/* ---- type used by the waiting list ---- */
.display-2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--type-display-2-size); line-height: 1.08; margin: 0;
}
.heading-1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--type-heading-1-size); line-height: 1.1; margin: 0;
}
.body { font-size: var(--type-body-size); line-height: 1.6; color: var(--color-text-body); margin: 0; }
.caption { font-size: var(--type-caption-size); line-height: 1.5; margin: 0; }

/* ---- join: the pre-launch member waiting list ---------------------
   The landing page itself has no forms, so these are the only input
   styles in this world. Same tokens, same geometry as the buttons. */
.join { min-height: 100dvh; display: grid; place-items: center; padding: var(--space-15) var(--layout-gutter); }
.join__card { width: 100%; max-width: 34rem; text-align: center; }
.join__card .wordmark { display: inline-block; margin-right: 0; }
.join__title { margin-block-start: var(--space-11); }
.join__body { margin-block-start: var(--space-4); margin-inline: auto; max-width: 44ch; }
.join__form { margin-block-start: var(--space-11); display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.join__field { flex: 1 1 18rem; text-align: left; }
.join__label {
  display: block; font-size: var(--type-caption-size); font-weight: 600;
  margin-block-end: var(--space-2); color: var(--color-text-primary);
}
.join__input {
  width: 100%; height: 52px; padding-inline: var(--space-5);
  border-radius: var(--radius-md);
  border: var(--border-width-hairline) solid var(--color-border-strong);
  background: var(--color-surface-raised); color: var(--color-text-primary);
  font-family: var(--font-ui); font-size: var(--type-button-size);
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.join__input::placeholder { color: var(--color-text-muted); }
.join__input:hover { border-color: var(--color-text-primary); }
.join__error { margin-block-start: var(--space-2); font-size: var(--type-caption-size); color: var(--color-form-error); }
.join__note { margin-block-start: var(--space-6); margin-inline: auto; max-width: 42ch; color: var(--color-text-muted); }
.join__note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.join__back { margin-block-start: var(--space-11); }
.join__back a { color: var(--color-accent); }
.join__confirm {
  margin-block-start: var(--space-11); padding: var(--space-11);
  background: var(--color-accent-surface); border-radius: var(--radius-xl);
}
@media (max-width: 480px) { .join__form .btn { width: 100%; } }
