/* LeagueNest marketing site.
   Layout concept: one calm column of season chapters (max 1200 px) on a light page,
   held together by a navy "season line" of nine stops; green is only for actions. */
:root {
  --navy: #0A2463;          /* headings, chapter numbers, strip, footer */
  --navy-ink: #0A2463;      /* heading text (lifted in dark mode) */
  --navy-tint: #E8ECF6;     /* icon circles, quiet chips */
  --red: #D7263D;           /* badges only */
  --green: #1F6E4A;         /* every button and action link */
  --green-hover: #134A31;
  --on-green: #FFFFFF;
  --ink: #18181B;
  --muted: #52525B;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-2: #F3F4F7;
  --border: #E7E7EA;
  --note-bg: #FFF6EC;
  --note-ink: #8A3F06;
  --chip-on: #0A2463;
  --on-navy: #FFFFFF;
  --shadow: 0 1px 2px rgba(10, 36, 99, .06);
  --logo-light: block;
  --logo-dark: none;
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rise: 24px;
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy-ink: #B9C8F5; --navy-tint: #1C2440; --green: #5BBF8E; --green-hover: #7FD3A8; --on-green: #08190F;
    --ink: #F4F4F5; --muted: #B4B4BC; --bg: #111113; --surface: #1A1A1E; --surface-2: #222228; --border: #2E2E35;
    --note-bg: #2A1C0E; --note-ink: #F6C28E; --chip-on: #2C4FA8; --shadow: none;
    --logo-light: none; --logo-dark: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy-ink: #B9C8F5; --navy-tint: #1C2440; --green: #5BBF8E; --green-hover: #7FD3A8; --on-green: #08190F;
  --ink: #F4F4F5; --muted: #B4B4BC; --bg: #111113; --surface: #1A1A1E; --surface-2: #222228; --border: #2E2E35;
  --note-bg: #2A1C0E; --note-ink: #F6C28E; --chip-on: #2C4FA8; --shadow: none;
  --logo-light: none; --logo-dark: block; color-scheme: dark;
}
@media (max-width: 639px) { :root { --rise: 16px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 18px; line-height: 1.55; font-weight: 400; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
@media (max-width: 639px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy-ink); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: 56px; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: 36px; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }
@media (max-width: 639px) { h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 18px; } }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.lede { font-size: 20px; color: var(--muted); max-width: 62ch; }
@media (max-width: 639px) { .lede { font-size: 18px; } }
.muted { color: var(--muted); }
.caption, small { font-size: 15px; color: var(--muted); }
.measure { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--surface); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Layout */
.wrap {
  width: 100%; max-width: calc(1200px + 2 * 24px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
@media (max-width: 639px) { .section { padding-block: 64px; } .section.tight { padding-block: 48px; } }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 24px; }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 72ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--green); background: var(--green); color: var(--on-green);
  font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--on-green); }
.btn.secondary { background: transparent; color: var(--green); }
.btn.secondary:hover { background: var(--surface-2); color: var(--green-hover); border-color: var(--green-hover); }
.btn.small { min-height: 48px; padding: 0 16px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 48px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; min-height: 48px; flex: none; }
.brand img { height: 52px; width: auto; }
.brand .logo-l { display: var(--logo-light); }
.brand .logo-d { display: var(--logo-dark); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 0 12px; min-height: 48px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--navy-ink); box-shadow: inset 0 -3px 0 var(--navy-ink); border-radius: 0; }
.nav .btn { margin-left: 8px; color: var(--on-green); }
.nav .btn:hover { color: var(--on-green); background: var(--green-hover); }
.menu-btn { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--font); padding: 0 14px; }
@media (max-width: 1099px) { .nav a.opt { display: none; } }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 44px; }
}
.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--surface); display: none; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(16px, env(safe-area-inset-left, 0px));
  overflow-y: auto;
}
.sheet.open { display: flex; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--border); }
.sheet nav { display: grid; padding-block: 8px; }
.sheet nav a { min-height: 56px; display: flex; align-items: center; font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); }
.sheet nav a[aria-current="page"] { color: var(--navy-ink); }
.sheet .btn { margin-top: 24px; width: 100%; }
body.sheet-open { overflow: hidden; }

/* Pinned phone CTA */
.cta-bar { display: none; }
@media (max-width: 639px) {
  .cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface);
    border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .3s var(--ease);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .cta-bar.show { transform: none; }
  .cta-bar .btn { width: 100%; }
  body.has-cta-bar { padding-bottom: 80px; }
}

/* Footer */
.site-footer { background: #0A2463; color: #E6EBF7; padding-block: 64px 40px; margin-top: 0; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { color: #FFFFFF; font-size: 17px; margin-bottom: 8px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot-grid li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.foot-grid li a:hover { text-decoration: underline; }
.foot-brand img { height: 40px; width: auto; background: #FFFFFF; border-radius: 10px; padding: 6px 10px; box-sizing: content-box; }
.foot-brand p { margin-top: 16px; max-width: 36ch; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #CBD3EA; }
.foot-grid > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 799px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; } }

/* Device frames */
.shot { margin: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.shot img { border-radius: 6px; border: 1px solid var(--border); width: 100%; background: #FFFFFF; }
.shot figcaption { font-size: 15px; color: var(--muted); padding: 10px 4px 2px; }
.phone { margin: 0; width: 260px; max-width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 10px; box-shadow: var(--shadow); }
.phone img { border-radius: 22px; width: 100%; background: #FFFFFF; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards { grid-template-columns: 1fr; gap: 16px; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 639px) { .card { padding: 20px; } }
.card h3 a { color: var(--navy-ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.card:has(h3 a):hover { border-color: #C9CDD8; }
.card p { color: var(--muted); font-size: 17px; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--green); }
.badge { align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--red); color: #FFFFFF; }
.badge.quiet { background: var(--navy-tint); color: var(--navy-ink); }
.badge svg { width: 16px; height: 16px; }

/* Icons */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-tint); color: var(--navy-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ico-circle .ico { width: 22px; height: 22px; }

/* Good to know */
.note { background: var(--note-bg); color: var(--note-ink); border-radius: 12px; padding: 16px 20px; font-size: 17px; }
.note strong { font-weight: 600; }

/* Hero */
.hero { padding-block: 72px 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero-trial { font-size: 15px; color: var(--muted); }
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual { margin-right: 48px; }
.hero-visual .phone { position: absolute; right: -48px; bottom: -8px; width: 190px; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-visual .phone { width: 170px; right: -40px; } }
@media (max-width: 639px) { .hero-visual { margin-right: 0; } }
@media (max-width: 639px) { .hero { padding-block: 40px 64px; } .hero-visual { padding-bottom: 0; } .hero-visual .shot { display: none; } .hero-visual .phone { position: static; width: 240px; margin: 0 auto; } }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms .ico { width: 18px; height: 18px; color: var(--navy-ink); }

/* Season line (home) */
.season-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: stop; border-top: 2px solid var(--navy-ink); }
.season-line li { border-bottom: 1px solid var(--border); padding: 0; min-width: 0; }
.season-line li:nth-child(3n+1), .season-line li:nth-child(3n+2) { border-right: 1px solid var(--border); }
.season-line a { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 24px; text-decoration: none; color: var(--ink); height: 100%; min-height: 48px; }
.season-line a:hover { background: var(--surface); }
.season-line .num { grid-row: span 2; font-size: 36px; font-weight: 600; line-height: 1; color: var(--navy-ink); font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.season-line .t { font-weight: 600; font-size: 20px; color: var(--navy-ink); }
.season-line .p { color: var(--muted); font-size: 17px; }
@media (max-width: 1023px) { .season-line { grid-template-columns: 1fr 1fr; } .season-line li:nth-child(n) { border-right: 0; } .season-line li:nth-child(odd) { border-right: 1px solid var(--border); } }
@media (max-width: 639px) { .season-line { grid-template-columns: 1fr; } .season-line li:nth-child(n) { border-right: 0; } .season-line a { padding: 20px 4px; } }

/* Split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split + .split { margin-top: 96px; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } .split + .split { margin-top: 64px; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: 600 16px var(--font); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--navy-ink); color: var(--ink); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--on-navy); }
.chip.small { min-height: 36px; font-size: 15px; font-weight: 500; cursor: default; padding: 0 12px; }
.chip.small:hover { border-color: var(--border); }

/* Pricing teaser / big price */
.price-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 48px; }
.price-big { font-size: 56px; font-weight: 600; color: var(--navy-ink); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-big small { font-size: 20px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
@media (max-width: 799px) { .price-band { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; } .price-big { font-size: 44px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks .ico { color: var(--green); margin-top: 2px; }

/* Accordions */
.qa { border-top: 1px solid var(--border); }
.qa details { border-bottom: 1px solid var(--border); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-weight: 600; font-size: 19px; color: var(--navy-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { transition: transform .2s var(--ease); color: var(--muted); }
.qa details[open] summary .ico { transform: rotate(45deg); }
.qa .a { padding: 0 0 20px; color: var(--ink); max-width: 70ch; display: grid; gap: 12px; }
.qa .a p { color: var(--muted); }

/* Closing CTA */
.closing { background: var(--surface); border-top: 1px solid var(--border); }
.closing-inner { display: grid; gap: 20px; justify-items: start; }
.closing-inner > * { max-width: 64ch; }

/* Page intro */
.page-intro { padding-block: 64px 48px; display: grid; gap: 16px; }
@media (max-width: 639px) { .page-intro { padding-block: 40px 32px; } }

/* ---------- Features page ---------- */
.season-strip { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) - 1px); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.season-strip .rail { position: relative; }
.season-strip ol { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.season-strip ol::-webkit-scrollbar { display: none; }
.season-strip li { flex: none; scroll-snap-align: start; }
.season-strip a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.season-strip a .n { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy-tint); color: var(--navy-ink); font-variant-numeric: tabular-nums; transition: inherit; }
.season-strip a[aria-current="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--on-navy); }
.season-strip a[aria-current="true"] .n { background: rgba(255,255,255,.18); color: var(--on-navy); }
@media (min-width: 1200px) { .season-strip ol { justify-content: space-between; } .season-strip a { padding-right: 12px; } }
@media (max-width: 1199px) {
  .season-strip .rail::before, .season-strip .rail::after { content: ""; position: absolute; top: 0; bottom: 0; width: 24px; pointer-events: none; z-index: 1; }
  .season-strip .rail::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
  .season-strip .rail::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
}

.chapter { padding-block: 96px 0; }
.chapter:last-of-type { padding-bottom: 96px; }
@media (max-width: 639px) { .chapter { padding-block: 64px 0; } }
.chapter-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-bottom: 48px; }
.chapter.flip .chapter-top > .chapter-head { order: 2; }
@media (max-width: 1023px) { .chapter-top { grid-template-columns: 1fr; gap: 32px; } .chapter.flip .chapter-top > .chapter-head { order: 0; } }
.chapter-head { display: grid; gap: 16px; }
.chapter-head .row { display: flex; align-items: center; gap: 14px; }
.chapter-num { font-size: 17px; font-weight: 600; color: var(--navy-ink); font-variant-numeric: tabular-nums; }
.chapter-head .promise { font-size: 20px; color: var(--muted); max-width: 46ch; }
@media (max-width: 639px) { .chapter-head .promise { font-size: 18px; } }

/* Trust band */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.trust-list li { display: grid; gap: 10px; align-content: start; }
.trust-list h3 { font-size: 18px; }
.trust-list p { font-size: 16px; color: var(--muted); }
@media (max-width: 1023px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .trust-list { grid-template-columns: 1fr; } }

/* Sport picker / panels */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tabs.scroll::-webkit-scrollbar { display: none; }
.tabs.scroll .chip { flex: none; }
.panel { margin-top: 24px; }
.js .panel[hidden] { display: none !important; }
.sport-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; display: grid; gap: 28px; }
@media (max-width: 639px) { .sport-panel { padding: 20px; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--surface-2); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.facts dt { font-size: 15px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 799px) { .facts { grid-template-columns: 1fr 1fr; } }
.stat-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 799px) { .stat-groups { grid-template-columns: 1fr; } }
.stat-group h4 { font-size: 17px; margin-bottom: 10px; }
.stat-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stat-group li { font-size: 15px; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; background: var(--surface); }
.stat-group li b { font-weight: 600; color: var(--navy-ink); margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Who it's for */
.type-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.type-section { padding-block: 64px; border-top: 1px solid var(--border); }
.type-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 1023px) { .type-grid { grid-template-columns: 1fr; gap: 32px; } }
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.changes li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: grid; gap: 4px; }
.changes h3 { font-size: 18px; }
.changes p { color: var(--muted); font-size: 17px; }

/* Pricing calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.calc > div { padding: 40px; }
.calc .out { background: var(--surface-2); border-left: 1px solid var(--border); display: grid; gap: 16px; align-content: start; }
@media (max-width: 799px) { .calc { grid-template-columns: 1fr; } .calc > div { padding: 24px 20px; } .calc .out { border-left: 0; border-top: 1px solid var(--border); } }
.stepper { justify-self: start; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.stepper button { width: 56px; height: 56px; border: 0; background: transparent; color: var(--green); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.stepper button:hover { background: var(--surface-2); }
.stepper button:disabled { color: var(--muted); cursor: not-allowed; opacity: .5; }
.stepper input { width: 80px; height: 56px; border: 0; border-inline: 1px solid var(--border); background: transparent; text-align: center; font: 600 24px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.breakdown td { padding: 10px 0; border-bottom: 1px solid var(--border); }
.breakdown td:last-child { text-align: right; font-weight: 600; }
.breakdown tr.total td { border-bottom: 0; font-size: 20px; color: var(--navy-ink); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Walkthrough */
.walk { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 1023px) { .walk { grid-template-columns: 1fr; gap: 24px; } }
.walk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.walk-steps button { width: 100%; min-height: 52px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; text-align: left; padding: 6px 12px 6px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font: 600 17px var(--font); cursor: pointer; }
.walk-steps button:hover { background: var(--surface); border-color: var(--border); }
.walk-steps button .n { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-tint); color: var(--navy-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.walk-steps button .opt { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.walk-steps button[aria-selected="true"] { background: var(--surface); border-color: var(--border); }
.walk-steps button[aria-selected="true"] .n { background: var(--chip-on); color: var(--on-navy); }
.walk-steps button.done .n { background: var(--green); color: var(--on-green); }
@media (max-width: 1023px) {
  .walk-steps { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .walk-steps::-webkit-scrollbar { display: none; }
  .walk-steps li { flex: none; }
  .walk-steps button { grid-template-columns: 32px auto; border-color: var(--border); background: var(--surface); }
  .walk-steps button .opt { display: none; }
}
.walk-panel { display: grid; gap: 20px; }
.walk-panel ol.do { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.walk-progress { height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; }
.walk-progress span { display: block; height: 100%; background: var(--navy-ink); border-radius: inherit; transition: width .45s var(--ease); }
.walk-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.walk-meta { font-size: 15px; color: var(--muted); font-weight: 600; }
.no-js-walk .walk-panel + .walk-panel { margin-top: 48px; }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 899px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.way .btn { justify-self: start; }

/* FAQ search */
.search { position: relative; max-width: 560px; }
.search input { width: 100%; min-height: 56px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 18px var(--font); padding: 0 16px 0 48px; }
.search .ico { position: absolute; left: 16px; top: 16px; color: var(--muted); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 24px; margin-bottom: 12px; }
.no-results { padding: 24px 0; color: var(--muted); }
mark { background: var(--note-bg); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
@media (max-width: 639px) { .form { padding: 20px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field .hint { font-size: 15px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #C9CBD3; border-radius: 10px; background: var(--surface); color: var(--ink); font: 400 17px var(--font); padding: 10px 14px; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field .err { color: var(--red); font-size: 15px; font-weight: 600; }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { border-color: var(--border); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field input, :root:not([data-theme="light"]) .field select, :root:not([data-theme="light"]) .field textarea { border-color: #3A3A42; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 639px) { .two { grid-template-columns: 1fr; } }
.address { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.address code { font: 600 17px var(--font); color: var(--navy-ink); user-select: all; word-break: break-all; }
.composed { width: 100%; min-height: 200px; font: 400 15px/1.5 var(--font); border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: var(--surface-2); color: var(--ink); }

/* ---------- Motion ---------- */
.js .rv { opacity: 0; transform: translateY(var(--rise)); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.shotrv { transform: translateY(var(--rise)) scale(.96); transition-duration: .6s; }
.js .rv.in { opacity: 1; transform: none; }
.js .chapter-head .ico-circle { transform: scale(.9); opacity: 0; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.js .chapter-head h2 { opacity: 0; transform: translateX(-16px); transition: opacity .45s var(--ease) .12s, transform .45s var(--ease) .12s; }
.js .chapter-head.in .ico-circle { transform: none; opacity: 1; }
.js .chapter-head.in h2 { opacity: 1; transform: none; }
.js .badge.pop { transform: scale(.9); opacity: 0; transition: transform .25s var(--ease) .3s, opacity .25s var(--ease) .3s; }
.js .in .badge.pop, .js .badge.pop.in { transform: none; opacity: 1; }

/* Per-chapter cues (small illustrations inside cards) */
.cue { margin-top: 12px; border-radius: 10px; background: var(--surface-2); padding: 14px; font-size: 15px; color: var(--muted); }
.cue-steps { display: flex; gap: 6px; }
.cue-steps i { flex: 1; height: 8px; border-radius: 999px; background: var(--border); position: relative; overflow: hidden; }
.cue-steps i::after { content: ""; position: absolute; inset: 0; background: var(--navy-ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.cue-dots { display: flex; gap: 10px; align-items: center; }
.cue-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green); position: relative; }
.cue-dots i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .25s var(--ease); transition-delay: calc(var(--i) * 160ms + 250ms); }
.cue-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cue-balance .col { border: 1px dashed var(--border); border-radius: 8px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 96px; background: var(--surface); }
.cue-balance .col b { font-size: 15px; color: var(--navy-ink); }
.cue-balance span { display: block; font-size: 15px; padding: 2px 8px; border-radius: 999px; background: var(--navy-tint); color: var(--navy-ink); transition: transform .45s var(--ease), opacity .45s var(--ease); transition-delay: calc(var(--i) * 80ms + 200ms); }
.cue-clash { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.cue-clash .warn { color: var(--note-ink); background: var(--note-bg); border-radius: 6px; padding: 4px 8px; font-weight: 600; justify-self: start; }
.cue-clash .ask { display: flex; gap: 8px; align-items: center; opacity: 1; }
.cue-clash .ask em { font-style: normal; font-weight: 600; color: var(--ink); }
.cue-clash .ask span { font-weight: 600; color: var(--green); border: 1px solid var(--green); border-radius: 8px; padding: 2px 8px; }
.cue-score { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.cue-score .h { font-size: 15px; color: var(--muted); }
.cue-score b { font-weight: 600; text-align: right; }
.cue-frames { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.cue-frames i { height: 30px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font-style: normal; font-size: 15px; font-weight: 600; color: var(--navy-ink); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.cue-frames i span { transition: opacity .2s var(--ease); transition-delay: calc(var(--i) * 80ms + 200ms); }
.cue-phone { display: flex; justify-content: center; overflow: hidden; }
.cue-phone .mini { width: 170px; border: 1px solid var(--border); border-radius: 18px 18px 0 0; border-bottom: 0; background: var(--surface); padding: 12px 10px 14px; transition: transform .6s var(--ease); }
.cue-phone .bubble { background: var(--navy-tint); color: var(--ink); border-radius: 12px 12px 12px 4px; padding: 8px 10px; font-size: 15px; line-height: 1.35; transition: opacity .25s var(--ease) .55s, transform .25s var(--ease) .55s; }
.cue-drill svg { width: 100%; height: auto; display: block; }
.cue-drill .arrow { stroke-dasharray: 160; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) .2s; }
.cue-today { display: grid; gap: 8px; }
.cue-today div { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.cue-today .box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--green); position: relative; flex: none; }
.cue-today .box::after { content: ""; position: absolute; inset: 1px; border-radius: 2px; background: var(--green); transform: scale(0); transition: transform .25s var(--ease); transition-delay: calc(var(--i) * 200ms + 250ms); }
.lock .shackle { transition: transform .25s var(--ease) .35s; }

/* States before the cue plays (JS on, not yet seen) */
.js .cue-wait .cue-steps i::after { transform: scaleX(0); }
.js .in .cue-steps i::after, .no-motion .cue-steps i::after { transform: scaleX(1); }
.cue-steps i::after { transform: scaleX(1); }
.js .cue-wait .cue-steps i::after { transform: scaleX(0); }
.js .cue-wait.in .cue-steps i::after { transform: scaleX(1); }
.js .cue-wait .cue-dots i.paid::after { transform: scale(0); }
.cue-dots i.paid::after { transform: scale(1); }
.js .cue-wait.in .cue-dots i.paid::after { transform: scale(1); }
.js .cue-wait .cue-balance .pool span { transform: translateY(-8px); opacity: 0; }
.js .cue-wait.in .cue-balance .pool span { transform: none; opacity: 1; }
.js .cue-wait .cue-clash .ask { opacity: 0; transition: opacity .25s var(--ease) .9s; }
.js .cue-wait.in .cue-clash .ask { opacity: 1; }
.js .cue-wait .cue-frames i span { opacity: 0; }
.js .cue-wait.in .cue-frames i span { opacity: 1; }
.js .cue-wait .cue-phone .mini { transform: translateY(40px); }
.js .cue-wait.in .cue-phone .mini { transform: none; }
.js .cue-wait .cue-phone .bubble { opacity: 0; transform: translateY(8px); }
.js .cue-wait.in .cue-phone .bubble { opacity: 1; transform: none; }
.js .cue-wait .cue-drill .arrow { stroke-dashoffset: 160; }
.js .cue-wait.in .cue-drill .arrow { stroke-dashoffset: 0; }
.js .cue-wait .cue-today .box::after { transform: scale(0); }
.cue-today .box.on::after { transform: scale(1); }
.js .cue-wait.in .cue-today .box.on::after { transform: scale(1); }
.js .cue-wait .lock .shackle { transform: translateY(-3px); }
.js .cue-wait.in .lock .shackle { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv.shotrv { transform: none !important; transition: opacity .15s linear !important; transition-delay: 0ms !important; }
  .js .chapter-head .ico-circle, .js .chapter-head h2, .js .badge.pop { transform: none !important; transition: opacity .15s linear !important; }
  .js .cue-wait * , .js .cue-wait *::after { transition-duration: .15s !important; transition-delay: 0ms !important; }
  .js .cue-wait .cue-phone .mini, .js .cue-wait .cue-balance .pool span, .js .cue-wait .cue-phone .bubble, .js .cue-wait .lock .shackle { transform: none !important; }
  .js .cue-wait .cue-drill .arrow { stroke-dashoffset: 0 !important; }
  .cta-bar { transition: none; }
}

@media print { .site-header, .cta-bar, .season-strip { display: none; } }

.cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1199px) { .cards.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards.five { grid-template-columns: 1fr; } }
.chapter.flip .chapter-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 1023px) { .chapter.flip .chapter-top { grid-template-columns: 1fr; } }
.changes li { align-content: start; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; color: var(--green); border-color: var(--green); }
@media (max-width: 639px) {
  [data-tabs] > .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; }
  [data-tabs] > .tabs::-webkit-scrollbar { display: none; }
  [data-tabs] > .tabs .chip { flex: none; }
  .walk-nav { justify-content: space-between; }
  .walk-nav .walk-meta { order: -1; width: 100%; }
}

/* ---------- Sport motion ----------
   Roundels come from the logo's orbit mark. Only the hero orbit keeps moving (slowly, pausable,
   stops off screen); every other moment plays once or answers a hover, tap or focus. */
:root { --orbit-line: #D6DEEC; --field-line: rgba(10, 36, 99, .065); --sp-edge: transparent; }
:root[data-theme="dark"] { --orbit-line: #2B3456; --field-line: rgba(185, 200, 245, .045); --sp-edge: rgba(255, 255, 255, .22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --orbit-line: #2B3456; --field-line: rgba(185, 200, 245, .045); --sp-edge: rgba(255, 255, 255, .22); } }
.sp { width: 24px; height: 24px; flex: none; display: block; overflow: visible; }

/* Sport chips: a roundel, and a small move of its own on hover, focus or tap */
.chip.has-sp { padding-left: 8px; gap: 8px; }
.chip.has-sp .sp { width: 26px; height: 26px; }
.chip[aria-selected="true"] .sp { --sp-ring: #24418F; --sp-edge: rgba(255, 255, 255, .35); }
.sp[data-move] { transform-box: fill-box; transform-origin: 50% 50%; }
.sp[data-move="bounce"], .sp[data-move="dribble"], .sp[data-move="wobble"] { transform-origin: 50% 100%; }
.sp[data-move="wave"] { transform-origin: 20% 50%; }
.sp[data-move="swing"] { transform-origin: 70% 90%; }
@keyframes sp-bounce { 0%, 100% { transform: none; } 30% { transform: translateY(-6px); } 55% { transform: translateY(0) scale(1.06, .9); } 72% { transform: translateY(-2px); } }
@keyframes sp-dribble { 0%, 100% { transform: none; } 35% { transform: translateY(3px) scale(1.08, .88); } 65% { transform: translateY(-4px); } }
@keyframes sp-roll { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes sp-spiral { 0% { transform: none; } 50% { transform: translateX(3px) rotate(200deg); } 100% { transform: rotate(360deg); } }
@keyframes sp-wave { 0%, 100% { transform: none; } 25% { transform: skewY(-9deg); } 55% { transform: skewY(7deg); } 80% { transform: skewY(-3deg); } }
@keyframes sp-slide { 0%, 100% { transform: none; } 40% { transform: translateX(6px); } 70% { transform: translateX(-2px); } }
@keyframes sp-swing { 0%, 100% { transform: none; } 30% { transform: rotate(-32deg); } 60% { transform: rotate(10deg); } }
@keyframes sp-wobble { 0%, 100% { transform: none; } 20% { transform: rotate(-13deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-5deg); } }
@keyframes sp-pop { 0% { transform: scale(.4) rotate(-40deg); opacity: 0; } 60% { transform: scale(1.1) rotate(6deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="bounce"] { animation: sp-bounce .6s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="dribble"] { animation: sp-dribble .5s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="roll"] { animation: sp-roll .7s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="spiral"] { animation: sp-spiral .6s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="wave"] { animation: sp-wave .7s ease-in-out; }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="slide"] { animation: sp-slide .5s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="swing"] { animation: sp-swing .6s var(--ease); }
:is(.chip:hover, .chip:focus-visible, .chip:active, .chip[aria-selected="true"]) .sp[data-move="wobble"] { animation: sp-wobble .7s ease-in-out; }
.sport-panel h3 { display: flex; align-items: center; gap: 14px; }
.sport-panel h3 .sp { width: 44px; height: 44px; animation: sp-pop .5s var(--ease) both; transform-origin: 50% 50%; }

/* Hero orbit: the sports circle the product, like the orbit mark circles the N */
.hero { overflow-x: clip; }
.hero-visual { isolation: isolate; --ob: 40px; }
.hero-visual .shot { position: relative; z-index: 1; }
.hero-visual .phone { z-index: 2; }
@media (max-width: 639px) { .hero-visual .phone { position: relative; } }
.orbit { position: absolute; z-index: 0; left: -24px; right: -40px; top: -56px; bottom: -16px; pointer-events: none; }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring ellipse { fill: none; stroke: var(--orbit-line); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.ob { position: absolute; left: 0; top: 0; width: var(--ob); height: var(--ob); will-change: transform; }
.ob svg { width: 100%; height: 100%; display: block; }
.js .ob { opacity: 0; }
.js .orbit.ready .ob { opacity: 1; }
.orbit-btn { position: absolute; z-index: 3; left: 0; bottom: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.orbit-btn:hover { color: var(--navy-ink); border-color: var(--navy-ink); }
.orbit-btn .ico { width: 18px; height: 18px; }
.orbit-btn .i-play { display: none; fill: currentColor; }
.orbit-btn[aria-pressed="true"] .i-pause { display: none; }
.orbit-btn[aria-pressed="true"] .i-play { display: inline; }
@media (min-width: 640px) and (max-width: 1023px) { .hero-visual { --ob: 30px; } .orbit { top: -24px; bottom: 16px; left: -16px; } }
@media (max-width: 639px) {
  .hero-visual { --ob: 30px; }
  .orbit { left: 0; right: 0; top: -22px; bottom: -22px; }
  .orbit-btn { bottom: -18px; }
}

/* Sport moments: small drawings that play once when they scroll into view */
.moment { width: 220px; max-width: 100%; }
.moment svg { width: 100%; height: auto; display: block; overflow: visible; }
.lane-m { width: 320px; }
.m-line { fill: none; stroke: var(--border); stroke-width: 2; stroke-linecap: round; }
.m-arrows, .m-dash { fill: none; stroke: var(--navy-ink); stroke-width: 1.5; opacity: .3; stroke-linecap: round; stroke-linejoin: round; }
.m-path { fill: none; stroke: var(--navy-ink); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .45; }
.pin-body { fill: var(--surface); stroke: var(--navy-ink); stroke-width: 1.3; }
.pin-stripe { stroke: var(--red); stroke-width: 1.6; }
.ball-fill { fill: #D7263D; }
.ball-hole { fill: #0A2463; }
.m-box { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.m-xmark { stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.zone-line { fill: none; stroke: var(--navy-ink); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .55; }
.zone-fill { fill: var(--navy-tint); }
.plate { fill: var(--surface); stroke: var(--navy-ink); stroke-width: 1.2; stroke-linejoin: round; }
.net-frame { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.net-mesh { fill: none; stroke: var(--navy-ink); stroke-width: .8; opacity: .35; }
.puck-side { fill: #111111; }
.puck-top { fill: #3A3A3A; }
:root[data-theme="dark"] .puck-side { fill: #050505; stroke: #5A5A66; stroke-width: .8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .puck-side { fill: #050505; stroke: #5A5A66; stroke-width: .8; } }

/* Final states (what shows without script or with reduced motion) */
.lane-ball { transform: translate(296px, 0); opacity: 0; }
.lane-ball .roll { transform-box: fill-box; transform-origin: 50% 50%; }
.pin-in { transform-box: fill-box; transform-origin: 50% 100%; }
.pin-in { opacity: 0; }
.pin:nth-of-type(1) .pin-in { transform: translate(22px, -16px) rotate(118deg); }
.pin:nth-of-type(2) .pin-in { transform: translate(30px, -6px) rotate(84deg); }
.pin:nth-of-type(3) .pin-in { transform: translate(28px, -22px) rotate(150deg); }
.pin:nth-of-type(4) .pin-in { transform: translate(36px, -2px) rotate(72deg); }
.lane-x { transform-box: fill-box; transform-origin: 50% 50%; }
.m-puck { transform: translate(192px, 0); }
.net-mesh { transform-box: fill-box; transform-origin: 0 50%; }
.zone { transform-box: fill-box; transform-origin: 50% 50%; }
.m-ball { transform: translate(192px, 25px); }

@keyframes lane-ball { 0% { transform: translate(14px, 0); opacity: 1; } 72% { transform: translate(250px, 0); opacity: 1; } 100% { transform: translate(296px, 0); opacity: 0; } }
@keyframes lane-roll { from { transform: rotate(0); } to { transform: rotate(900deg); } }
@keyframes pin-fall { 0% { transform: none; opacity: 1; } 45% { opacity: 1; } }
@keyframes lane-x { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes puck-go { 0% { transform: translate(14px, 0); } 100% { transform: translate(192px, 0); } }
@keyframes net-hit { 0%, 100% { transform: none; } 40% { transform: scaleX(1.08); } 70% { transform: scaleX(.98); } }
@keyframes zone-pop { 0%, 100% { transform: none; } 40% { transform: scale(1.1); } }
.js [data-moment] .lane-ball { animation: lane-ball 1.15s cubic-bezier(.35, .05, .6, 1) .15s both paused; }
.js [data-moment] .lane-ball .roll { animation: lane-roll 1.15s linear .15s both paused; }
.js [data-moment] .pin-in { animation: pin-fall .55s var(--ease) both paused; animation-delay: calc(.95s + var(--i) * 70ms); }
.js [data-moment] .lane-x { animation: lane-x .4s var(--ease) 1.45s both paused; }
.js [data-moment] .m-puck { animation: puck-go 1s cubic-bezier(.2, .7, .3, 1) .15s both paused; }
.js [data-moment] .net-mesh { animation: net-hit .4s ease-out .95s both paused; }
.js [data-moment] .zone.caught { animation: zone-pop .35s var(--ease); }
.js [data-moment].in * { animation-play-state: running !important; }
.chapter-head .moment { margin-top: 4px; }
.split .lane-m { margin-bottom: -8px; }

/* Season strip: a ball rolls along the strip as you read through the chapters */
.season-strip ol { padding-bottom: 22px; }
.strip-ball { position: absolute; left: 0; bottom: 1px; width: 18px; height: 18px; pointer-events: none; z-index: 2; will-change: transform; display: none; }
.js .strip-ball { display: block; }
.strip-ball svg { width: 100%; height: 100%; display: block; }

/* Faint field and court lines */
.closing, .trust { position: relative; overflow: hidden; }
.closing > .wrap, .trust > .wrap { position: relative; z-index: 1; }
.field-lines { position: absolute; pointer-events: none; fill: none; stroke: var(--field-line); stroke-width: 2.5; z-index: 0; }
.field-lines.diamond { width: 500px; right: max(-60px, calc((100vw - 1248px) / 2 - 80px)); bottom: -24px; }
.field-lines.court { width: 520px; left: -150px; top: -60px; }
@media (max-width: 639px) { .field-lines.diamond { width: 340px; right: -130px; bottom: -20px; } .field-lines.court { width: 380px; left: -190px; } }

@media (prefers-reduced-motion: reduce) {
  .sp[data-move], .sport-panel h3 .sp, .js [data-moment] * { animation: none !important; }
  .js [data-moment] { opacity: 0; transition: opacity .15s linear; }
  .js [data-moment].in { opacity: 1; }
  .js .orbit .ob { transition: opacity .15s linear; }
  .js .strip-ball { display: none; }
}
