/* ---------------------------------------------------------------------------
   Live Links Golf — marketing site styles

   One stylesheet for all four pages. No framework, no bundler, no build step.
   The only JavaScript on the site is assets/site.js, which drives the four-way
   mode selector in "What you can run" and nothing else.

   Values are the design handoff's, reproduced literally: where the design
   specified a clamp(), the clamp() is kept rather than resolved to one end.
   The handoff's prototype had NO media queries — everything responds through
   clamp(), auto-fit grids and flex-wrap. The three at the bottom of this file
   are the two cases the handoff explicitly flagged as unsolved, plus reduced
   motion; do not add a fourth without a reason of that kind.
--------------------------------------------------------------------------- */

/* --- Tokens --------------------------------------------------------------
   Only three hues carry meaning here, and that discipline is what makes the
   palette work: green = live or money, champagne/metal = standing, red = under
   par. Nothing else gets a hue, and red is NEVER used for an error state.
-------------------------------------------------------------------------- */
:root {
  /* Ink and grounds */
  --navy: #2c3e50;
  --navy-deep: #1a252f;
  --ground: #eff1f4;
  --card: #ffffff;
  --cool: #f7f9fb;
  --body: #666666;
  --quiet: #79828e;
  --future: #b6bcc4;
  --disabled: #9e9e9e;
  --disabled-2: #bbbbbb;

  /* Ink on dark grounds, four steps down */
  --on-dark-1: #f0f2f4;
  --on-dark-2: #c8cfd8;
  --on-dark-3: #aab2bc;
  --on-dark-4: #98a2ad;
  --on-dark-5: #6f7885;

  /* Green = live, or money */
  --green: #28a745;
  --green-ink: #1f7a34;
  --green-live: #3ad160;
  --green-live-ink: #9df0b4;

  /* Metal = standing */
  --metal: #8a6d33;
  --metal-strong: #6f5624;
  --metal-dim: #8f7238;
  --metal-dark: #c9ad6e;
  --metal-bright: #f2e4bf;

  /* Red = under par, and nothing else */
  --under: #dc3545;
  --under-on-navy: #f4a0a6;
  --under-on-dark: #f78b92;

  /* Alphas, verbatim from the handoff */
  --hairline: rgba(20, 26, 34, 0.10);
  --hairline-soft: rgba(20, 26, 34, 0.07);
  --control-fill: rgba(20, 26, 34, 0.04);
  --dashed: rgba(20, 26, 34, 0.22);
  --metal-edge: rgba(138, 109, 51, 0.28);
  --metal-line: rgba(138, 109, 51, 0.45);
  --metal-rule: rgba(138, 109, 51, 0.30);
  --metal-18: rgba(138, 109, 51, 0.14);
  --metal-12: rgba(138, 109, 51, 0.12);
  --metal-10: rgba(138, 109, 51, 0.10);
  --metal-08: rgba(138, 109, 51, 0.08);
  --metal-06: rgba(138, 109, 51, 0.06);
  --metal-05: rgba(138, 109, 51, 0.05);
  --leader-wash: linear-gradient(90deg, rgba(138, 109, 51, 0.07), transparent);
  --green-wash: rgba(40, 167, 69, 0.10);
  --green-chip: rgba(40, 167, 69, 0.14);
  --green-chip-edge: rgba(40, 167, 69, 0.30);

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, Helvetica, Arial, sans-serif;
}

/* --- Fonts ---------------------------------------------------------------
   Self-hosted rather than loaded from Google Fonts. That is not a preference:
   /privacy tells visitors this site makes no third-party requests, and a
   webfont CDN would hand a third party every visitor's IP address and make
   that untrue. Same subsets Google serves (latin + latin-ext), same bytes.

   Both families are VARIABLE fonts, so one file per subset covers the whole
   400-700 range. The latin range covers U+2212, the true minus used in every
   to-par figure on the page.
-------------------------------------------------------------------------- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin.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: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-ext.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin.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 Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-ext.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;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* The desktop mockup is 900px wide inside its own sideways scroller. The
     page itself must never scroll sideways. */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-ink); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3 { margin: 0; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; }

/* The prototype styled no focus at all. Every real control needs a visible
   ring — metal reads on both the light and the dark grounds. */
:focus-visible {
  outline: 2px solid var(--metal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Every score, dollar figure, handicap, hole number and count. Non-negotiable:
   figures have to sit in columns. */
.num { font-variant-numeric: tabular-nums; }
.r { text-align: right; }

/* Anchor targets clear the 58px sticky header. */
[id] { scroll-margin-top: 70px; }

/* --- The one animation ---------------------------------------------------
   1.6s is the app's own beat. The dark scoring header's dot runs at 2.4s.
-------------------------------------------------------------------------- */
@keyframes llg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.dot { display: inline-block; border-radius: 999px; background: var(--green); flex: none; }
.dot--6 { width: 6px; height: 6px; }
.dot--7 { width: 7px; height: 7px; background: var(--green-live); }
.dot--8 { width: 8px; height: 8px; background: var(--green-live); }
.dot--live { animation: llg-pulse 1.6s ease-in-out infinite; }
.dot--live-slow { animation: llg-pulse 2.4s ease-in-out infinite; }
.dot--bright { background: var(--green-live); }
.dot--idle { background: var(--disabled-2); }

/* --- Column tracks -------------------------------------------------------
   Each mocked-up table sets its own tracks through --cols. These live here
   rather than in a style attribute because the CSP in public/_headers is
   `style-src 'self'`, which blocks inline style attributes as well as inline
   <style> blocks. An inline style here would be silently dropped and every
   row in that table would collapse into one column, with nothing in the HTML
   to explain why. Add a class here instead.
-------------------------------------------------------------------------- */
.cols-board     { --cols: 32px minmax(0, 1fr) 36px 54px; }
.cols-board-pub { --cols: 32px minmax(0, 1fr) 36px 50px; }
.cols-money     { --cols: minmax(0, 1fr) 56px 56px; }
.cols-skins     { --cols: 34px 46px minmax(0, 1fr) 44px; }
.cols-hc        { --cols: minmax(0, 1fr) 46px 50px 42px; }
.cols-sched     { --cols: 54px minmax(0, 1fr) 96px 78px; }
.cols-stand     { --cols: 32px minmax(0, 1fr) 52px 66px; --cgap: 10px; }

/* --- Layout -------------------------------------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; }

.section { padding: clamp(52px, 7vw, 90px) 20px; }
.section--roomy { padding: clamp(52px, 7vw, 96px) 20px; }
.section--white { background: var(--card); border-bottom: 1px solid var(--hairline-soft); }
/* Pricing is the last section before the footer and takes no bottom rule. */
.section--white-last { background: var(--card); }
.section--ground { background: var(--ground); border-bottom: 1px solid var(--hairline-soft); }
.section--dark { background: linear-gradient(180deg, #1c222a, #12161b); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split__media { display: flex; justify-content: center; }

/* Where the phone reads second but is drawn first, the DOM keeps copy first —
   for screen readers — and these two reorder it visually. */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* --- Typography ---------------------------------------------------------- */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal);
}
.eyebrow--wide { letter-spacing: 0.14em; }
.eyebrow--on-dark { color: var(--metal-dark); }

.h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.h2--sub {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2--on-dark { color: #fff; }

.para {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 46ch;
}
.para + .para { margin-top: 12px; }
.para--wide { max-width: none; }
.para--on-dark { color: var(--on-dark-2); }
.para--on-dark-quiet { color: var(--on-dark-3); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row--spaced { margin-top: 22px; }
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--control-fill);
  font-size: 12.5px;
  color: var(--navy);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.985); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #23923d; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #22303f; color: #fff; }
.btn--header { padding: 8px 16px; font-size: 13px; }
.btn--hero { padding: 14px 26px; font-size: 15px; }
.btn--tier { display: block; text-align: center; padding: 13px 20px; font-size: 14.5px; }
.btn--page { align-self: flex-start; margin-top: 4px; padding: 13px 22px; font-size: 14.5px; }

/* --- Sticky header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 22, 27, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 173, 110, 0.24);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.wordmark { display: flex; align-items: center; gap: 10px; color: #fff; }
.wordmark:hover { color: #fff; }
.wordmark__glyph { width: 26px; height: 26px; border-radius: 7px; }
.wordmark__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-1);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: 13.5px; color: var(--on-dark-2); }
.site-nav a:hover { color: #fff; }
.site-nav .btn--green { color: #fff; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #1c222a, #12161b);
  border-bottom: 1px solid var(--metal-rule);
  padding: clamp(44px, 6vw, 84px) 20px clamp(48px, 7vw, 88px);
}
.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.hero__eyebrow-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal-dark);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero__lead {
  margin-top: 20px;
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--on-dark-2);
}
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero__watch { margin-top: 16px; }
.hero__watch a { font-size: 14px; font-weight: 600; color: var(--metal-dark); }
.hero__watch a:hover { color: var(--metal-bright); }
.hero__foot { margin-top: 18px; font-size: 12.5px; color: var(--on-dark-5); }

/* Store badges — placeholders until review clears, and deliberately not links.
   Replace with Apple's and Google's official lockup artwork at that point;
   both stores publish exact artwork and minimum sizes and their guidelines
   govern what may be shown. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.badge__stack { display: flex; flex-direction: column; line-height: 1.25; }
.badge__store { font-size: 15px; font-weight: 600; color: var(--on-dark-1); }
.badge__state {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-4);
}

/* --- What you can run: the only stateful UI on the site ------------------ */
.modes__head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
}
.modes__hint { margin-left: auto; font-size: 13px; color: var(--quiet); }

.mode-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  padding-bottom: 26px;
}
.mode-tile {
  appearance: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-family: inherit;
  transition: transform 0.12s ease;
}
.mode-tile:active { transform: scale(0.985); }
.mode-tile__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal);
}
.mode-tile__figrow { display: flex; align-items: baseline; gap: 7px; }
.mode-tile__fig {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.mode-tile__unit { font-size: 13px; font-weight: 600; color: var(--quiet); }

/* Selected is the app's own selected-tile treatment: navy solid, ink inverted. */
.mode-tile.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(20, 26, 34, 0.22);
}
.mode-tile.is-selected .mode-tile__kicker { color: var(--metal-dark); }
.mode-tile.is-selected .mode-tile__fig { color: #fff; }
.mode-tile.is-selected .mode-tile__unit { color: var(--on-dark-3); }

.mode-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
  padding: 26px 0 4px;
  border-top: 1px solid var(--metal-edge);
}
.mode-panel[hidden] { display: none; }
.mode-panel__h {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.mode-panel__body { display: flex; flex-direction: column; gap: 14px; }
.mode-panel__body p { font-size: 1.05rem; line-height: 1.6; color: var(--body); }
.mode-panel__tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
}

/* --- The moment notification card ---------------------------------------- */
.notif {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #171b21;
  border: 1px solid var(--metal-edge);
  box-shadow: 0 12px 30px rgba(20, 26, 34, 0.30);
}
.notif__stack { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.notif__line { font-size: 13.5px; font-weight: 600; color: var(--on-dark-1); }
.notif__meta { font-size: 11px; color: var(--on-dark-3); }

/* =========================================================================
   PHONE MOCKUPS

   All six phones are IDENTICAL in size — they were resized specifically for
   it, and it is what makes the page read as one product rather than six.

   Every card inside .scr-body is `flex: none`. This is the app's own rule:
   the body owns the scroll and every flex child of it is flex:none, because a
   card is overflow:hidden and a compressed one clips its own last row where no
   scroll can reach it. Without it, default flex-shrink:1 silently crops the
   bottom of each card — no scrollbar, no visual hint anything is missing.
   Content is trimmed per screen so each fits 720px exactly. If you add a row,
   take one out. Test: for each screen child, scrollHeight - clientHeight === 0.
   ========================================================================= */
.phone {
  width: 344px;
  max-width: 100%;
  border-radius: 46px;
  padding: 11px;
  background: var(--navy-deep);
  box-shadow: 0 26px 60px rgba(20, 26, 34, 0.28);
}
.phone--on-dark {
  background: #0b0e12;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.screen {
  border-radius: 36px;
  overflow: hidden;
  background: var(--ground);
  height: 720px;
  display: flex;
  flex-direction: column;
}

.scr-head { flex: none; }
.scr-head--light {
  background: linear-gradient(180deg, #ffffff, #f3f5f8);
  border-bottom: 1px solid var(--metal-rule);
  padding: 10px 16px 12px;
}
.scr-head--light-tall { padding: 14px 16px 12px; }
.scr-head--dark {
  background: linear-gradient(180deg, #182027, #10151a);
  padding: 10px 16px 14px;
}
.scr-head--ruled { border-bottom: 1px solid rgba(201, 173, 110, 0.30); }
.scr-head--scoring { padding: 10px 16px 12px; font-variant-numeric: tabular-nums; }

.scr-body { flex: 1; min-height: 0; overflow: hidden; }
.scr-body--stack { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.scr-body--board { padding: 10px 12px 0; }

.scr-foot { flex: none; padding: 0 12px 12px; }
.scr-foot--deep { padding: 0 12px 14px; }

.pcard {
  flex: none;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
}
.pcard--lift { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); }
.pcard--lift-sm { box-shadow: 0 4px 14px rgba(16, 22, 30, 0.06); }
.pcard--pad { padding: 12px 14px; }
.pcard--pad-col { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.pcard--explain { padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; }
.pcard--row { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }

/* --- Phone: light masthead ----------------------------------------------- */
.mast__top { display: flex; align-items: center; gap: 9px; height: 26px; }
.mast__glyph { width: 20px; height: 20px; border-radius: 6px; }
.mast__kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}
.mast__weather { margin-left: auto; font-size: 11.5px; color: var(--body); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f0f0f0;
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
}
.mast__event {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy);
}
.mast__event--sm { font-size: 25px; letter-spacing: -0.02em; }
.mast__meta { margin-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mast__course { font-size: 12px; color: var(--navy); }
.mast__pot { font-size: 12px; color: var(--body); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--metal-12);
  border: 1px solid var(--metal-line);
  white-space: nowrap;
}
.live-pill__text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--metal-strong);
}
.live-pill__caret { font-size: 13px; color: var(--metal); }

.rail {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--metal-rule);
  display: flex;
  align-items: stretch;
}
.rail__cell { display: flex; flex-direction: column; gap: 2px; padding: 0 16px; }
.rail__cell:first-child { padding-left: 0; }
.rail__cell:last-child { padding-right: 0; }
.rail__k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}
.rail__k--metal { color: var(--metal); }
.rail__v { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.rail__v--money { font-weight: 700; color: var(--green); }
.rail__sep { width: 1px; background: var(--hairline); }

/* --- Phone: dark header -------------------------------------------------- */
.dhead__top { display: flex; align-items: center; gap: 8px; height: 26px; }
.dhead__back { font-size: 15px; color: #98a1ad; }
.dhead__kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal-dark);
}
.dhead__sep { width: 1px; height: 11px; background: rgba(255, 255, 255, 0.18); flex: none; }
.dhead__meta { font-size: 11.5px; color: var(--on-dark-2); }
.dhead__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.dhead__title--sm { font-size: 23px; }
.dhead__sub { margin-top: 5px; font-size: 12px; color: var(--on-dark-3); }

.live-pill--dark {
  margin-left: auto;
  padding: 3px 9px 3px 7px;
  gap: 6px;
  background: rgba(58, 209, 96, 0.18);
  border-color: rgba(58, 209, 96, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-live-ink);
}

/* --- Phone: grid rows ----------------------------------------------------
   Column tracks vary per screen, so each card sets --cols and its rows read it.
-------------------------------------------------------------------------- */
.grid-row {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: var(--cgap, 8px);
  align-items: center;
}
.grid-row--head {
  padding: 9px 12px;
  border-bottom: 1px solid var(--hairline);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.grid-row--body { padding: 10px 12px; border-bottom: 1px solid var(--hairline-soft); }
.grid-row--body:last-child { border-bottom: 0; }
.grid-row--leader { background-image: var(--leader-wash); }
.grid-row--pad13 { padding: 10px 13px; }
.grid-row--pad11 { padding: 11px 12px; }
.grid-row--pad11x13 { padding: 11px 13px; }
.grid-row--skin { padding: 8px 13px; }

.who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.who__name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.who__sub { font-size: 10.5px; color: var(--body); }
.who__sub--metal { color: var(--metal); }
.up { color: var(--green); }
.down { color: var(--under); }

.pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}
.pos--1 { background: var(--metal-18); font-weight: 700; color: var(--metal-strong); }
.pos--2 { background: var(--metal-08); font-weight: 700; color: var(--metal); }
.pos--3 { background: var(--metal-06); font-size: 12.5px; font-weight: 700; color: var(--metal-dim); }
/* The desktop standings table runs its position tiles a half-step smaller. */
.pos--desk { font-size: 12.5px; }
.pos--desk.pos--3 { font-size: 12px; }

.thru { text-align: right; font-size: 12.5px; color: var(--body); font-variant-numeric: tabular-nums; }
.total { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.total__gross { font-size: 15px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.total__par { font-size: 11px; font-weight: 600; color: var(--body); font-variant-numeric: tabular-nums; }
.total__par--under { color: var(--under); }
.topar { text-align: right; font-size: 16px; font-weight: 700; color: var(--body); font-variant-numeric: tabular-nums; }
.topar--under { color: var(--under); }

.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--metal-05);
  font-size: 11.5px;
  color: var(--body);
}
.card-foot--ruled {
  border-top: 1px solid var(--metal-rule);
  padding: 11px 13px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.card-foot--note { border-top: 1px solid var(--metal-rule); padding: 10px 13px; }
.card-foot--scoring { padding: 11px 12px; font-size: 12px; }
.card-foot__more { margin-left: auto; font-weight: 600; color: var(--navy); }

.pcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 9px;
  border-bottom: 1px solid var(--hairline-soft);
}
.pcard__head--13 { padding: 10px 13px; }
/* Same caption row, but sitting inside a card that already has its own
   padding, so it carries neither its own padding nor a rule. */
.pcard__head--bare { padding: 0; border-bottom: 0; }
.mini-cap {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}
.mini-cap--metal { color: var(--metal); }
.mini-val { margin-left: auto; font-size: 11.5px; color: var(--body); font-variant-numeric: tabular-nums; }

/* --- Phone: dock + floating tab bar -------------------------------------- */
.dock {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: #171b21;
  border: 1px solid var(--metal-edge);
  box-shadow: 0 12px 30px rgba(20, 26, 34, 0.30);
}
.dock__stack { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dock__line { font-size: 13px; font-weight: 600; color: var(--on-dark-1); }
.dock__meta { font-size: 10.5px; color: var(--on-dark-3); }
.dock__verb {
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8d6a8, #c9ad6e);
  color: #2b2413;
  font-size: 11.5px;
  font-weight: 700;
}

.tabbar {
  display: flex;
  gap: 4px;
  padding: 7px 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 30px rgba(20, 26, 34, 0.16);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 0 3px;
}
.tab__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--body);
}
.tab__badge {
  position: absolute;
  top: 1px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}
.tab__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
}
.tab__label { font-size: 10.5px; font-weight: 600; color: var(--body); }
.tab.is-active .tab__icon { background: var(--metal-12); color: var(--metal-strong); }
.tab.is-active .tab__label { font-weight: 700; color: var(--metal-strong); }

/* --- Phone: round setup -------------------------------------------------- */
.lrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-soft);
}
.lrow:last-child { border-bottom: 0; }
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.tick--empty { background: none; border: 1px solid var(--dashed); }
.tick--add { background: none; border: 1px dashed var(--dashed); color: var(--body); font-weight: 400; }
.lrow__name { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.lrow__name--muted { font-weight: 400; color: var(--disabled); }
.lrow__name--plain { font-weight: 400; color: var(--body); }
.lrow__idx { font-size: 11.5px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.lrow__idx--out { color: var(--future); }

.game-chip {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--green-chip);
  border: 1px solid var(--green-chip-edge);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-ink);
}
.game-chip--add {
  background: var(--control-fill);
  border: 1px dashed var(--dashed);
  font-weight: 400;
  color: var(--body);
}
.game-chip--sm { padding: 5px 10px; font-size: 11.5px; }
.chip-row--tight { gap: 6px; }

.linkrow { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.linkrow__stack { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.linkrow__title { font-size: 14px; font-weight: 600; color: var(--navy); }
.linkrow__title--sm { font-size: 13.5px; }
.linkrow__sub { font-size: 11px; color: var(--body); }
.linkrow__action {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--control-fill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
}
.linkrow__chev { font-size: 18px; color: var(--disabled); }

.cta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
}
.cta-bar--green { background: var(--green); }
.cta-bar--navy { background: var(--navy); }
.cta-bar__label { flex: 1; font-size: 15px; font-weight: 600; }
.cta-bar__meta { font-size: 12px; color: rgba(255, 255, 255, 0.86); }
.cta-bar--navy .cta-bar__meta { color: rgba(255, 255, 255, 0.78); }

/* --- Phone: money -------------------------------------------------------- */
.money-head { margin-top: 10px; display: flex; align-items: flex-end; gap: 14px; }
.money-head__cell { display: flex; flex-direction: column; gap: 3px; }
.money-head__cell--low { padding-bottom: 3px; }
.money-head__cell--end { margin-left: auto; align-items: flex-end; padding-bottom: 3px; }
.money-head__k {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.money-head__k--metal { color: var(--metal-dark); }
.money-head__big {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.money-head__v { font-size: 15px; font-weight: 600; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.money-head__v--metal { font-weight: 700; color: var(--metal-bright); }

.games-n { text-align: right; font-size: 12.5px; color: var(--body); font-variant-numeric: tabular-nums; }
.won { text-align: right; font-size: 15.5px; font-weight: 700; color: var(--green-ink); font-variant-numeric: tabular-nums; }

.skin__hole { font-size: 12px; font-weight: 600; color: var(--quiet); }
.skin__par { font-size: 11px; color: var(--future); }
.skin__winner { font-size: 13px; font-weight: 600; color: var(--navy); }
.skin__winner--halved { font-weight: 400; color: var(--disabled); }
.skin__amt { text-align: right; font-size: 13px; font-weight: 700; color: var(--green-ink); }
.skin__amt--none { font-weight: 400; color: var(--disabled-2); }

.skinlines { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; font-variant-numeric: tabular-nums; }
.skinline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy); }
.skinline__name { flex: 1; }
.skinline__holes { color: var(--body); }
.skinline__amt { font-weight: 700; color: var(--green-ink); }

/* --- Phone: handicaps ----------------------------------------------------
   No figure on this screen takes a hue. An index is not a standing, not money
   and not under par — giving one a colour would say something untrue.
-------------------------------------------------------------------------- */
.hc__name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.hc__idx { text-align: right; font-size: 13px; color: var(--navy); }
.hc__tee { text-align: right; font-size: 11.5px; color: var(--body); }
.hc__strokes { text-align: right; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.hc-explain { font-size: 12.5px; line-height: 1.55; color: var(--body); }
.stat-chip {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--control-fill);
  font-size: 11.5px;
  color: var(--navy);
}

/* --- Phone: live scoring ------------------------------------------------- */
.hole { display: flex; align-items: flex-end; gap: 13px; padding: 6px 0 12px; }
.hole__label { display: flex; align-items: baseline; gap: 7px; }
.hole__k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.hole__n {
  font-size: 46px;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
}
.hole__mid { display: flex; flex-direction: column; gap: 4px; padding-bottom: 2px; min-width: 0; }
.par-chip {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(201, 173, 110, 0.22);
  border: 1px solid rgba(201, 173, 110, 0.45);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--metal-bright);
}
.hole__yards { font-size: 12px; color: var(--on-dark-2); }
.hole__thru { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-bottom: 2px; }
.hole__thru-k {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.hole__thru-v { font-size: 16px; font-weight: 600; color: #fff; }
.hole__thru-of { font-size: 11.5px; color: #98a1ad; }

.leading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}
.leading__k {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal-dark);
}
.leading__name { font-size: 13px; font-weight: 600; color: #fff; }
.leading__par { font-size: 13px; font-weight: 700; color: var(--under-on-dark); }
.leading__chev { margin-left: auto; font-size: 18px; color: #98a1ad; }

.ctp {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--metal-10);
  border: 1px solid var(--metal-rule);
}
.ctp__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
}
.ctp__amt {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--metal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pblock { padding: 10px 12px 12px; border-bottom: 1px solid var(--hairline-soft); }
.pblock__top { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.pblock__name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.pblock__saved { font-size: 14px; color: var(--green); }
.pblock__score { margin-left: auto; display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.pblock__gross { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.pblock__par { font-size: 12.5px; font-weight: 600; color: var(--body); }
.pblock__par--under { color: var(--under); }

/* A selected score tile gets ONE treatment at every score — navy solid, white
   ink. Which score it was is a hairline mark INSIDE the tile, not a different
   colour: a circle for a birdie, a square for a bogey, nothing at all for par.
   Colour-coding scores is what the app deliberately does not do. */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.tile {
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--control-fill);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.tile--on {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 22, 30, 0.18);
}
.tile--add {
  border: 1px dashed var(--dashed);
  background: transparent;
  color: var(--body);
  font-variant-numeric: normal;
}
.mark { display: grid; place-items: center; width: 34px; height: 34px; }
.mark--birdie { border: 2px solid var(--under-on-navy); border-radius: 999px; }
.mark--bogey { border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 6px; }

/* =========================================================================
   DESKTOP MOCKUP — the league schedule

   The only desktop view on the site, and that is the argument: season set-up
   is keyboard work, and everything else happens on a phone.
   ========================================================================= */
.browser {
  margin-top: 32px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px rgba(20, 26, 34, 0.18);
  overflow: hidden;
  background: var(--card);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0f0f0;
  border-bottom: 1px solid var(--hairline);
}
.browser__dot { width: 11px; height: 11px; border-radius: 999px; background: #ddd; flex: none; }
.browser__url {
  margin-left: 14px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--hairline);
  font-size: 11.5px;
  color: var(--quiet);
}
/* Scrolls sideways inside its own container below 900px; the page never does. */
.browser__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.desk { min-width: 900px; display: grid; grid-template-columns: 208px minmax(0, 1fr); }

.desk-rail { background: #f6f8fa; border-right: 1px solid var(--hairline); padding: 16px 0; }
.desk-rail__brand { padding: 0 18px 12px; display: flex; align-items: center; gap: 9px; }
.desk-rail__glyph { width: 22px; height: 22px; border-radius: 6px; }
.desk-rail__group {
  padding: 8px 18px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metal);
}
.desk-rail__group--mid { padding-top: 16px; }
.desk-rail__group--admin { padding-top: 22px; color: var(--quiet); }
.desk-rail__item { padding: 8px 18px; font-size: 13.5px; color: var(--body); }
.desk-rail__item.is-active {
  margin-right: 12px;
  border-radius: 0 8px 8px 0;
  background: var(--metal-12);
  font-weight: 700;
  color: var(--metal-strong);
}

.desk-mast {
  background: linear-gradient(180deg, #ffffff, #f3f5f8);
  border-bottom: 1px solid var(--metal-rule);
  padding: 16px 24px 14px;
}
.desk-mast__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}
.desk-mast__row { margin-top: 8px; display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.desk-mast__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.week-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--metal-12);
  border: 1px solid var(--metal-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--metal-strong);
}
.week-pill__caret { font-size: 14px; }
.desk-mast__btns { margin-left: auto; display: flex; gap: 8px; }
.dbtn { padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.dbtn--outline { border: 1px solid rgba(20, 26, 34, 0.14); color: var(--navy); }
.dbtn--green { background: var(--green); color: #fff; }

.desk-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.desk-sched { border-right: 1px solid var(--hairline); }
.desk-row {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: var(--cgap, 12px);
  align-items: center;
}
.desk-row--head {
  padding: 11px 20px;
  border-bottom: 1px solid var(--hairline);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
}
.desk-row--body {
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline-soft);
  font-variant-numeric: tabular-nums;
}
.desk-row--stand { padding: 11px 20px; }
.desk-row--last { border-bottom: 0; }
.desk-row--leader { background-image: var(--leader-wash); }
.week-n { font-size: 14px; font-weight: 600; color: var(--body); }
.week-n--live { font-weight: 700; color: var(--navy); }
.course { display: flex; flex-direction: column; line-height: 1.3; }
.course__name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.course__when { font-size: 11px; color: var(--body); }
.state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--control-fill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--body);
}
.state-pill--live {
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid var(--green-chip-edge);
  color: var(--green-ink);
}
.pot { text-align: right; font-size: 14px; color: var(--body); }
.pot--live { font-weight: 700; color: var(--green); }
.desk-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--metal-rule);
  background: var(--metal-05);
  font-size: 12.5px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}
.desk-foot__end { margin-left: auto; }
.desk-foot__end strong { color: var(--navy); font-weight: 600; }
.desk-stand__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--hairline);
}
.desk-stand__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
}
.desk-stand__when { margin-left: auto; font-size: 11.5px; color: var(--body); }
.stand-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.stand-pts { text-align: right; font-size: 13px; color: var(--body); }
.stand-money { text-align: right; font-size: 13.5px; font-weight: 700; color: var(--green-ink); }
.desk-inherits { padding: 14px 20px; display: flex; flex-direction: column; gap: 9px; }
.desk-inherits__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* =========================================================================
   PRICING

   Header weight rises with price, and that is deliberate. What is NOT a ladder
   is the call to action: all three read "Start a round" and go to the same
   place, because the tiers are three shapes rather than three rungs and
   nothing should push the middle one.
   ========================================================================= */
.measure-56 { max-width: 56ch; }
.pricing__intro { max-width: 54ch; }
.pricing__lead { margin-top: 16px; font-size: 1.05rem; line-height: 1.6; color: var(--body); }

/* The wrapper's 20px vertical padding is what keeps the middle card's -20px
   protrusion from being clipped. Do not remove it. */
.tiers {
  margin-top: 42px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.tier--mid {
  margin: -20px 0;
  z-index: 1;
  border-color: var(--metal-line);
  box-shadow: 0 18px 44px rgba(20, 26, 34, 0.18);
}
.tier__ribbon {
  padding: 8px 24px;
  background: var(--metal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tier__head { padding: 22px 24px 20px; border-bottom: 1px solid var(--hairline); }
.tier__head--free { background: var(--cool); }
.tier__head--pass { padding: 24px 24px 22px; background: var(--metal-10); border-bottom-color: var(--metal-line); }
.tier__head--club { background: var(--navy); border-bottom-color: var(--metal-line); }
.tier__name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}
.tier__head--pass .tier__name { color: var(--metal); }
.tier__head--club .tier__name { color: var(--metal-dark); }
.tier__priceline { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tier__price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.tier--mid .tier__price { font-size: 48px; }
.tier__head--club .tier__price { color: #fff; }
.tier__unit { font-size: 13.5px; color: var(--quiet); }
.tier__head--pass .tier__unit { color: var(--metal); }
.tier__head--club .tier__unit { color: var(--metal-dark); }
.tier__tagline {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
}
.tier__head--club .tier__tagline { color: #fff; }
.tier__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 24px 22px; }
.tier__inherit { font-size: 12.5px; font-weight: 600; color: var(--quiet); }
.feat { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
/* The dot sits at margin-top 7px so it aligns to the FIRST line of a wrapped
   bullet rather than centring itself against the whole block. */
.feat li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.feat li::before {
  content: "";
  margin-top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}
.feat li span { font-size: 14.5px; line-height: 1.5; color: var(--navy); }
.tier__perhead {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--green-wash);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-ink);
}
.tier__foot { margin-top: auto; font-size: 12.5px; line-height: 1.55; color: var(--quiet); }

.pricing-band {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px 32px;
  align-items: center;
}
.pricing-band__line {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.pricing-band__side { display: flex; flex-direction: column; gap: 6px; }
.pricing-band__body { font-size: 14.5px; line-height: 1.55; color: var(--on-dark-2); }
.pricing__season { margin-top: 16px; font-size: 14px; color: var(--body); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  padding: clamp(40px, 5vw, 64px) 20px 32px;
  color: var(--on-dark-2);
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; }
.site-footer__glyph { width: 30px; height: 30px; border-radius: 8px; }
.site-footer__mark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__blurb {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-dark-4);
  max-width: 34ch;
}
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}
.foot-col a { font-size: 13.5px; color: var(--on-dark-2); }
.foot-col a:hover { color: #fff; }
.foot-col__note { font-size: 13.5px; color: var(--on-dark-4); }
.foot-col__note a { color: var(--metal-dark); }
.foot-col__note a:hover { color: var(--metal-bright); }
.site-footer__legal {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 12px;
  color: var(--on-dark-5);
}

/* =========================================================================
   LEGAL PAGES — /terms, /privacy, /delete-account
   ========================================================================= */
.legal-header { background: #12161b; border-bottom: 1px solid rgba(201, 173, 110, 0.24); }
.legal-header__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.legal-header__back { margin-left: auto; font-size: 13.5px; color: var(--on-dark-2); }
.legal-header__back:hover { color: #fff; }
.legal-main { max-width: 820px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) 20px 80px; }
.legal-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.legal-stamp { margin-top: 12px; font-size: 13.5px; color: var(--quiet); }
.legal-intro { margin-top: 14px; font-size: 1.05rem; line-height: 1.6; color: var(--body); max-width: 60ch; }
.legal-card {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.legal-card__lead { font-size: 15.5px; line-height: 1.65; color: var(--body); }
.legal-sec { display: flex; flex-direction: column; gap: 10px; }
.legal-sec--steps { gap: 12px; }
.legal-sec h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.legal-sec p { font-size: 15px; line-height: 1.65; color: var(--body); }
.legal-sec ul, .legal-sec ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-sec ol { padding-left: 22px; line-height: 1.75; }
.legal-sec strong { color: var(--navy); font-weight: 600; }
.legal-callout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(243, 156, 18, 0.12);
  border-left: 3px solid #f39c12;
}
.legal-callout h2 { font-size: 19px; }
.legal-callout p { color: var(--navy); }
.legal-also { margin-top: 24px; font-size: 13.5px; color: var(--quiet); }

/* =========================================================================
   The only three media queries on the site.
   ========================================================================= */

/* The handoff flagged this as unsolved in the prototype: below ~560px the four
   header items crowd into each other. All three in-page anchors are repeated
   in the footer, so dropping them and keeping the button loses no route. */
@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
}

/* Three pricing cards need 3 x 258px + 2 x 18px = 810px of grid, which the
   1200px container gives at roughly an 850px viewport. Below that the trio
   wraps to two columns, and the middle card's -20px protrusion then reads as a
   misalignment against a card no longer beside it rather than as emphasis. */
@media (max-width: 849px) {
  .tier--mid { margin: 0; }
}

/* The app disables the pulse under reduced motion. The prototype did not; the
   shipped page must. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
