/* Shuttls website - built on the app's design system (ShuttlsDesign.swift).
   Warm near-black ground, one antique-gold accent, serif numerals, hairline borders, tight radii.
   True red is reserved for LIVE / loss, exactly as in the app. */

:root {
  --gold: #C9A961;
  --gold-deep: #8F7134;
  --gold-wash: rgba(201, 169, 97, .14);
  --true-red: #FF4B4B;

  --ground: #0A0908;
  --surface: #16140F;
  --surface-high: #201D16;
  --line: #36311F;

  --text: #F4F1EA;
  --text-dim: #AEB3BA;
  --text-faint: #727983;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --serif: "Newsreader", "New York", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* the app's ground: a pool of elevation top-left, a whisper of gold bottom-right */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at 0% 0%, rgba(32, 29, 22, .75), transparent 70%),
    radial-gradient(700px 520px at 100% 100%, rgba(201, 169, 97, .06), transparent 70%);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.gold { color: var(--gold); }
.dim { color: var(--text-dim); }

/* ── Type ───────────────────────────────────────────── */
.label {
  font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .7px; color: var(--text-dim);
}
.label.gold { color: var(--gold); }
.display {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.04;
}
h1.display { font-size: clamp(42px, 6.2vw, 78px); }
h2.display { font-size: clamp(32px, 4.2vw, 52px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-dim); max-width: 56ch; }
.num { font-family: var(--serif); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-md);
  font: 600 15px/1 var(--sans); letter-spacing: .4px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, opacity .15s, border-color .15s, background .15s;
}
.btn:active { transform: translateY(1px); opacity: .88; }
.btn-gold {
  color: var(--ground); background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border-color: rgba(10, 9, 8, .25);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { color: var(--text); background: transparent; border-color: var(--line); }
.btn-line:hover { border-color: var(--gold-deep); background: var(--gold-wash); }
.btn svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .3px;
  background: var(--gold-wash); color: var(--gold);
}
.chip.red { background: rgba(255, 75, 75, .14); color: var(--true-red); }
.chip.mute { background: var(--surface-high); color: var(--text-dim); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.live .dot { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ── Nav ────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 9, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font: 500 14px var(--sans); color: var(--text-dim); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 13px; }

/* ── Sections ───────────────────────────────────────── */
section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.head.center { text-align: center; justify-items: center; }
.rule { border-top: 1px solid var(--line); }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding-top: clamp(120px, 14vw, 168px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy h1 em { font-style: italic; color: var(--gold); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13px; color: var(--text-faint); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; font-size: 14px; color: var(--text-dim); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--gold); }

/* ── Phone mockup ───────────────────────────────────── */
.stage { position: relative; display: grid; place-items: center; }
.stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 169, 97, .17), transparent);
}
.phone {
  position: relative; width: 300px; height: 612px; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2a261b, #0f0d09); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(244, 241, 234, .04);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--ground); }
.screen::before { /* dynamic island */
  content: ""; position: absolute; top: 9px; left: 50%; width: 84px; height: 24px; margin-left: -42px;
  border-radius: 20px; background: #000; z-index: 5;
}
.state { position: absolute; inset: 0; padding: 52px 18px 18px; display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; pointer-events: none; }
.state.on { opacity: 1; transform: none; }
.stepper { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; position: relative; max-width: 420px; }
.stepper button {
  font: 600 12px var(--sans); letter-spacing: .3px; color: var(--text-dim); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; height: 32px; padding: 0 14px; transition: all .2s;
}
.stepper button.on { color: var(--ground); background: var(--gold); border-color: var(--gold); }

/* inside the phone */
.scan { flex: 1; border-radius: var(--r-lg); background: #050505; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.scan .qr { width: 150px; height: 150px; background: #fff; border-radius: 10px; padding: 10px; }
.scan .corner { position: absolute; width: 36px; height: 36px; border: 3px solid var(--gold); }
.scan .c1 { top: 44px; left: 44px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.scan .c2 { top: 44px; right: 44px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.scan .c3 { bottom: 44px; left: 44px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.scan .c4 { bottom: 44px; right: 44px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scan .beam { position: absolute; left: 40px; right: 40px; height: 2px; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 0%, 100% { top: 22%; } 50% { top: 74%; } }
.pbanner { margin-top: 14px; border-radius: var(--r-md); background: var(--surface-high); border: 1px solid var(--line); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.pbanner b { display: block; font-size: 13px; }
.pbanner .ic { width: 30px; height: 30px; border-radius: 7px; background: var(--gold-wash); color: var(--gold); display: grid; place-items: center; flex: none; }
.pbanner .ic svg { width: 16px; height: 16px; }

.sheet-head { height: 84px; margin: 0 -18px; margin-top: -12px; display: grid; place-items: center; font-size: 44px; position: relative;
  background: linear-gradient(180deg, rgba(201, 169, 97, .16), transparent); }
.sheet-body { display: grid; gap: 12px; text-align: center; justify-items: center; margin-top: 4px; }
.sheet-body h3 { font-family: var(--serif); font-size: 25px; line-height: 1.1; letter-spacing: -.01em; }
.sheet-body .when { font-size: 12.5px; color: var(--text-dim); }
.price { font-family: var(--serif); font-weight: 700; font-size: 40px; color: var(--gold); line-height: 1; margin-top: 4px; }
.price-sub { font-size: 12px; color: var(--text-dim); margin-top: -6px; }
.pbtn { width: 100%; height: 48px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px var(--sans); color: var(--ground); background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.pbtn svg { width: 16px; height: 16px; }
.plink { font: 600 12.5px var(--sans); color: var(--text-dim); }
/* "Memberships available" - the offer under the pay options */
.mbtn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-top: 2px; border-radius: var(--r-md);
  background: var(--gold-wash); border: 1px solid rgba(201, 169, 97, .5); color: var(--text); font: 600 13px var(--sans); text-align: left; }
.mbtn svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.mbtn span { flex: 1; }
.mbtn i { font-style: normal; font-size: 20px; line-height: 1; color: var(--gold); }
.mem-title { font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -.01em; margin-bottom: 8px; }
.mem-sub { font-size: 13px; color: var(--text-dim); }
.pmini { margin-top: auto; text-align: center; font-size: 11.5px; color: var(--text-faint); }
.done { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.done .tick { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold); border: 1px solid var(--gold-deep); }
.done .tick svg { width: 36px; height: 36px; }
.done h3 { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.done p { color: var(--text-dim); font-size: 14px; }
.state.on .tick { animation: pop .55s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

/* ── Flow strip ─────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.flow li { list-style: none; counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 24px; }
.flow li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--gold); display: block; line-height: 1; margin-bottom: 18px; }
.flow h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.flow p { font-size: 14.5px; color: var(--text-dim); }
.flow-wrap { margin: 0; padding: 0; }
.flow.flow-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Bento (organiser tools) ────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b { grid-column: span 2; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.b.w3 { grid-column: span 3; }
.b.w4 { grid-column: span 4; }
.b h3 { font-size: 18px; font-weight: 600; letter-spacing: -.1px; }
.b p { font-size: 14.5px; color: var(--text-dim); margin-top: 6px; }
.b .viz { margin-top: auto; }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface-high); font-size: 13.5px; }
.row .av { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-wash); color: var(--gold); display: grid; place-items: center; font: 700 11px var(--sans); flex: none; }
.row .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .amt { min-width: 3.6em; text-align: right; font-family: var(--serif); font-weight: 700; color: var(--text); }
.meter { height: 8px; border-radius: 99px; background: var(--surface-high); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.meter-cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-dim); margin-top: 8px; }
.plan { border: 1px solid var(--gold-deep); border-radius: var(--r-md); padding: 16px; background: linear-gradient(160deg, var(--gold-wash), transparent 70%); display: grid; gap: 6px; }
.plan .num { font-size: 30px; color: var(--gold); line-height: 1; }
.plan small { color: var(--text-dim); font-size: 12.5px; }
.courts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.court { border-radius: var(--r-sm); background: var(--surface-high); padding: 10px 12px; display: grid; gap: 6px; }
.court .sc { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.court .sc b { font-family: var(--serif); font-size: 22px; color: var(--text); }
.court .sc b.lead { color: var(--gold); }
.court .t { display: flex; justify-content: space-between; align-items: center; }
.pay-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-mini { width: 92px; height: 92px; background: #fff; border-radius: 8px; padding: 7px; flex: none; }
.poster { display: flex; gap: 16px; align-items: center; }
.poster .t { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.1; }

/* ── Split feature ──────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip .copy { order: 2; }
.split > * { min-width: 0; }
.copy { display: grid; gap: 20px; justify-items: start; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: 15.5px; }
.ticks svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.ticks b { color: var(--text); font-weight: 600; }

/* ── Discovery mock ─────────────────────────────────── */
.map {
  position: relative; height: 230px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #0d0c09;
  background-image:
    linear-gradient(rgba(54, 49, 31, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(54, 49, 31, .55) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(10, 9, 8, .7)); }
.map .road { position: absolute; background: rgba(201, 169, 97, .12); }
.pin { position: absolute; z-index: 2; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .8); }
.pin span { transform: rotate(45deg); font-size: 15px; }
.pin.dim { background: var(--surface-high); border: 1px solid var(--line); }
.me { position: absolute; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 10px rgba(201, 169, 97, .18); }
.clubrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-high); }
.clubrow .em { width: 38px; height: 38px; border-radius: 9px; background: var(--gold-wash); display: grid; place-items: center; font-size: 19px; flex: none; }
.clubrow b { display: block; font-size: 14.5px; }
.clubrow small { color: var(--text-dim); font-size: 12.5px; }
.clubrow .chip { margin-left: auto; }
.mockcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.mockcard > .top { display: flex; align-items: center; justify-content: space-between; }

/* ── Match / stats ──────────────────────────────────── */
.scoreboard { display: grid; gap: 14px; }
.sb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 8px; padding: 6px 0 2px; }
.sb-main .n { font-family: var(--serif); font-weight: 700; font-size: 76px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sb-main .n.win { color: var(--gold); }
.sb-main .sep { color: var(--text-faint); font-family: var(--serif); font-size: 34px; }
.sb-main small { display: block; font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .7px; color: var(--text-dim); margin-top: 6px; }
.spark { width: 100%; height: 120px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--surface-high); border-radius: var(--r-md); padding: 12px 12px 10px; }
.tile .num { font-size: 26px; line-height: 1.1; display: block; }
.tile small { font: 600 10.5px var(--sans); text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); }
.watchbox { display: flex; align-items: center; gap: 22px; }
.watch { width: 124px; flex: none; aspect-ratio: 1 / 1.18; border-radius: 34px; background: linear-gradient(160deg, #2a261b, #0f0d09); border: 1px solid var(--line); padding: 7px; position: relative; }
.watch::before, .watch::after { content: ""; position: absolute; left: 22%; right: 22%; height: 26px; background: var(--surface-high); border: 1px solid var(--line); }
.watch::before { top: -24px; border-radius: 10px 10px 0 0; border-bottom: 0; }
.watch::after { bottom: -24px; border-radius: 0 0 10px 10px; border-top: 0; }
.watch .face { height: 100%; border-radius: 28px; background: #000; display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; text-align: center; }
.watch .face > div { display: grid; place-content: center; }
.watch .face .num { font-size: 34px; line-height: 1; }
.watch .face small { font: 600 8px var(--sans); letter-spacing: .6px; color: var(--text-dim); text-transform: uppercase; }
.watch .face .them { background: rgba(255, 75, 75, .16); }
.watch .face .me { background: var(--gold-wash); position: static; width: auto; height: auto; border: 0; box-shadow: none; border-radius: 0; }
.watch .face .me .num { color: var(--gold); }

/* ── Divisions ──────────────────────────────────────── */
.ladder { display: flex; flex-wrap: wrap; gap: 10px; }
.tier { padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-family: var(--serif); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; transition: transform .2s, border-color .2s; }
.tier:hover { transform: translateY(-3px); border-color: var(--gold-deep); }
.tier i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold)); box-shadow: 0 0 12px var(--c, var(--gold)); opacity: var(--o, 1); }
.tier.top { border-color: var(--gold-deep); background: linear-gradient(160deg, var(--gold-wash), var(--surface) 70%); color: var(--gold); }
.lb { display: grid; gap: 8px; }
.lb .row .pos { width: 26px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--text-faint); text-align: center; flex: none; }
.lb .row:first-child { border: 1px solid var(--gold-deep); background: linear-gradient(90deg, var(--gold-wash), var(--surface-high)); }
.lb .row:first-child .pos { color: var(--gold); }

/* ── Stats band ─────────────────────────────────────── */
.band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.band > div { padding: 30px 26px; border-right: 1px solid var(--line); display: grid; gap: 8px; }
.band > div:last-child { border-right: 0; }
.band .num { font-size: clamp(34px, 4vw, 48px); color: var(--gold); line-height: 1; }
.band span { font-size: 14px; color: var(--text-dim); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-deep); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--serif); color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--text-dim); font-size: 15.5px; }

/* ── CTA + contact ──────────────────────────────────── */
.final { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); text-align: center; display: grid; gap: 22px; justify-items: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(201, 169, 97, .14), transparent 70%), var(--surface); }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
form { display: grid; gap: 14px; }
label { font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .7px; color: var(--text-dim); display: grid; gap: 8px; }
input, textarea, select {
  font: 400 16px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; width: 100%; transition: border-color .15s; text-transform: none; letter-spacing: 0;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
::placeholder { color: var(--text-faint); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text-dim); text-decoration: none; transition: all .15s; }
.socials a:hover { color: var(--text); border-color: var(--gold-deep); }
.socials svg { width: 16px; height: 16px; }

footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
footer img { height: 20px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
footer nav a { font-size: 14px; color: var(--text-dim); text-decoration: none; }
footer nav a:hover { color: var(--gold); }
footer small { color: var(--text-faint); font-size: 13px; width: 100%; }

/* ── Legal pages ────────────────────────────────────── */
.legal { max-width: 760px; padding: 150px 0 100px; }
.legal h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 56px); letter-spacing: -.02em; margin-bottom: 8px; }
.legal h2 { font-family: var(--serif); font-size: 24px; margin: 38px 0 10px; color: var(--gold); }
.legal p { color: var(--text-dim); margin-bottom: 14px; }
.legal a.back { display: inline-block; margin-top: 30px; color: var(--gold); text-decoration: none; font-weight: 600; }

/* ── Reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan .beam, .live .dot, .state.on .tick { animation: none; }
  .state { transition: none; }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; }
  .split.flip .copy { order: 0; }
  .hero-copy { justify-items: start; }
  .flow, .flow.flow-3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b, .b.w3, .b.w4 { grid-column: span 2; }
  .band { grid-template-columns: repeat(2, 1fr); }
  .band > div:nth-child(2) { border-right: 0; }
  .band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .flow, .flow.flow-3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .sb-main .n { font-size: 60px; }
  .watchbox { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }
  .phone { transform: scale(.94); }
}

/* ═══════════ Audience split + newer blocks ═══════════ */
.tag { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gold-deep); background: var(--gold-wash);
  color: var(--gold); font: 600 12px/1 var(--sans); letter-spacing: .7px; text-transform: uppercase; justify-self: start; }
.zone { scroll-margin-top: 60px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 520px; }
.audience a { display: grid; gap: 3px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: border-color .15s, background .15s; }
.audience a:hover { border-color: var(--gold-deep); background: var(--gold-wash); }
.audience b { font-size: 14px; }
.audience span { font-size: 12.5px; color: var(--text-dim); line-height: 1.4; }

.roster-top { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.roster-top .poster { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-high); }
.roster-top .qr-mini { width: 84px; height: 84px; }
.roster-top .poster .t { font-size: 21px; }

.plans { display: grid; gap: 8px; }
.pl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-high); border: 1px solid transparent; }
.pl-row b { display: block; font-size: 14.5px; }
.pl-row small { color: var(--text-dim); font-size: 12.5px; }
.pl-row .num { font-size: 22px; white-space: nowrap; }
.pl-row .num small { font: 500 12px var(--sans); }
.pl-row.hot { border-color: var(--gold-deep); background: linear-gradient(160deg, var(--gold-wash), var(--surface-high) 70%); }
.pl-row.hot .num { color: var(--gold); }

.night, .rank-block, .nf-block { margin-top: clamp(72px, 9vw, 120px); }
.reports { margin-top: clamp(72px, 9vw, 120px); }

/* Club night animation */
.cn { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; --pw: 92px; --ph: 34px; }
.cn-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cn-stage { position: relative; display: grid; gap: 12px; transition: opacity .5s; }
.cn-stage.fade { opacity: 0; }
.cn-courts { display: grid; gap: 10px; }
.cn-court { background: var(--surface-high); border-radius: var(--r-md); padding: 12px 14px 14px; }
.cn-ct { margin-bottom: 10px; }
.cn-match { display: grid; grid-template-columns: var(--pw) 1fr var(--pw); align-items: center; gap: 8px; }
.team { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 4px; margin: -4px; border-radius: 10px; transition: background .3s, box-shadow .3s; }
.team.win { background: var(--gold-wash); box-shadow: 0 0 0 1px var(--gold-deep); }
.slot, .wslot { display: block; width: var(--pw); height: var(--ph); border-radius: 8px; border: 1px dashed var(--line); }
.crown { position: absolute; left: 50%; top: -17px; width: 24px; height: 24px; margin-left: -12px; z-index: 5; color: var(--gold);
  transform: scale(0) translateY(10px); transition: transform .45s cubic-bezier(.2, 1.5, .4, 1); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.crown svg { width: 100%; height: 100%; }
.team.win .crown { transform: none; }
.cn-score { display: flex; justify-content: center; align-items: baseline; gap: 6px; font-family: var(--serif); font-weight: 700; font-size: 32px; font-variant-numeric: tabular-nums; line-height: 1; }
.cn-score b { min-width: 1.1em; text-align: center; font-weight: 700; }
.cn-score em { font-style: normal; color: var(--text-faint); font-size: 22px; }
.cn-wait { background: var(--surface-high); border-radius: var(--r-md); padding: 12px 14px 14px; }
.cn-wt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.cn-caption { font: 600 12px var(--sans); color: var(--gold); text-align: right; }
.cn-wgrid { display: grid; grid-template-columns: repeat(4, var(--pw)); justify-content: space-between; gap: 8px; }
.pl { position: absolute; left: 0; top: 0; z-index: 2; width: var(--pw); height: var(--ph); display: flex; align-items: center; gap: 7px; padding: 0 8px 0 5px;
  border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); font: 600 12.5px var(--sans);
  transition: transform .95s cubic-bezier(.55, 0, .2, 1), background .4s, border-color .4s, color .4s; will-change: transform; }
.pl i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold); font: 700 11px var(--sans); }
.pl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl.on { background: #26221a; border-color: var(--gold-deep); color: var(--text); }

/* Reports */
.rep-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.rep-money { grid-row: span 3; display: flex; flex-direction: column; gap: 14px; }
.rep-col { display: grid; gap: 12px; align-content: start; }
.num.big { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.mini-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rep-money .mini-tiles { grid-template-columns: repeat(4, 1fr); }
.mini-tiles.three { grid-template-columns: repeat(3, 1fr); }
.mini-tiles > div { background: var(--surface-high); border-radius: var(--r-md); padding: 11px 12px; display: grid; gap: 2px; }
.mini-tiles b { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mini-tiles small { font: 500 11.5px var(--sans); color: var(--text-dim); }
.bars { margin-top: auto; flex: 1; min-height: 170px; display: flex; align-items: flex-end; gap: 12px; padding-top: 8px; }
.bars i { flex: 1; border-radius: 5px; background: rgba(201, 169, 97, .38); }
.bars i.on { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.bars-x { display: flex; gap: 12px; margin-top: -6px; }
.bars-x span { flex: 1; text-align: center; font-size: 11.5px; color: var(--text-faint); }
.split-bar { height: 8px; border-radius: 99px; background: var(--surface-high); overflow: hidden; }
.split-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.note { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--gold-wash); color: var(--text); font-size: 13px; }
.note svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.owed { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.owed b { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--true-red); }
.owed small { color: var(--text-dim); font-size: 12.5px; }

/* Notice board */
.board { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; margin-top: 6px; }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.post { display: flex; gap: 10px; padding: 12px; margin-top: 8px; border-radius: var(--r-md); background: var(--surface-high);
  opacity: 0; transform: translateY(14px); transition: opacity .55s, transform .55s; }
.post.in { opacity: 1; transform: none; }
.post .av { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-wash); color: var(--gold); display: grid; place-items: center; font: 700 11px var(--sans); flex: none; }
.post b { font-size: 13.5px; }
.post small { margin-left: 8px; color: var(--text-faint); font-size: 12px; }
.post p { margin: 3px 0 8px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.reacts { display: flex; gap: 6px; min-height: 26px; }
.rx { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13px;
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.rx u { text-decoration: none; font: 700 12px var(--sans); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rx.has { opacity: 1; transform: none; border-color: var(--gold-deep); background: var(--gold-wash); }
.rx.has u { color: var(--gold); }
.rx.pop { animation: rxpop .3s ease; }
@keyframes rxpop { 50% { transform: scale(1.18); } }

.appshot { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #1f1f24; }

@media (prefers-reduced-motion: reduce) {
  .pl, .post, .rx { transition: none; }
}
@media (max-width: 960px) {
  .rep-grid { grid-template-columns: 1fr; }
  .rep-money { grid-row: auto; }
  .roster-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cn { --pw: min(92px, calc((100vw - 120px) / 4)); padding: 14px; }
  .cn .pl { font-size: 11.5px; padding: 0 6px; justify-content: center; }
  .cn .pl i { display: none; }
  .audience { grid-template-columns: 1fr; }
  .rep-money .mini-tiles { grid-template-columns: repeat(2, 1fr); }
  .cn-score { font-size: 26px; }
  .payrow { grid-template-columns: repeat(2, 1fr); }
}

/* Hero feature pills */
.feats { display: flex; flex-wrap: wrap; gap: 8px; }
.feats span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 13px/1 var(--sans); color: var(--text-dim); }

/* Hero is text-only for now: centred */
.hero .wrap { grid-template-columns: 1fr; }
.hero-copy { justify-items: center; text-align: center; max-width: 880px; margin-inline: auto; }
.hero-copy .cta, .hero-copy .feats { justify-content: center; }
.hero-copy .lede { margin-inline: auto; }
.hero-copy .audience { max-width: 560px; text-align: left; }

/* Grand centred section heading */
.head.grand { margin-bottom: clamp(32px, 4vw, 48px); gap: 20px; }
.head.grand h2.display { font-size: clamp(40px, 6.4vw, 84px); }
.head.grand h2 em { font-style: italic; color: var(--gold); font-weight: 600; }
.head.grand .lede { font-size: clamp(18px, 1.9vw, 22px); max-width: 60ch; }
.stage.demo { margin-bottom: 0; }
/* Phone demo and the club tools share one row */
.club-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.club-top .bento { grid-template-columns: 1.3fr 1fr; align-self: stretch; }
.club-top .bento .b, .club-top .bento .b.w4 { grid-column: auto; }
.club-top .roster-top { grid-template-columns: 1fr; }
.club-top .roster-top .poster { justify-self: start; }
@media (max-width: 1080px) {
  .club-top { grid-template-columns: 1fr; }
  .club-top .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) { .club-top .bento { grid-template-columns: 1fr; } }

/* Apple Pay sheet */
.state.ap { padding: 0; }
.ap-dim { padding: 52px 18px 18px; filter: brightness(.45); }
.asheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px 22px; border-radius: 22px 22px 0 0;
  background: #1c1c1e; color: #fff; transform: translateY(105%); transition: transform .6s cubic-bezier(.2, .9, .25, 1); z-index: 6;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, .5); }
.state.ap.on .asheet { transform: none; transition-delay: .25s; }
.as-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.as-title { display: inline-flex; align-items: center; gap: 4px; font: 600 17px var(--sans); }
.as-title svg { width: 17px; height: 17px; }
.as-x { width: 26px; height: 26px; border-radius: 50%; background: #3a3a3c; display: grid; place-items: center; color: #aeaeb2; font-size: 18px; line-height: 1; }
.as-row { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid #38383a; font-size: 13px; }
.as-row span { color: #98989f; }
.as-row b { font-weight: 600; }
.as-amt { font-size: 15px; }
.as-id { display: grid; justify-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #38383a; }
.faceid { position: relative; width: 46px; height: 46px; color: #0a84ff; }
.faceid svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fid { animation: fidscan 1.6s ease-in-out infinite; }
.fok { color: #30d158; opacity: 0; transform: scale(.4); }
.as-msg { position: relative; display: block; height: 16px; width: 150px; text-align: center; font-size: 12.5px; color: #98989f; }
.as-msg i { position: absolute; inset: 0; font-style: normal; }
.as-msg .m2 { opacity: 0; color: #30d158; font-weight: 600; }
.state.ap.on .fid { animation: fidscan 1.6s ease-in-out 1 forwards, fidhide .2s 1.9s forwards; }
.state.ap.on .fok { animation: fokin .4s cubic-bezier(.2, 1.5, .4, 1) 2s forwards; }
.state.ap.on .as-msg .m1 { animation: fidhide .2s 1.9s forwards; }
.state.ap.on .as-msg .m2 { animation: fokshow .3s 2s forwards; }
@keyframes fidscan { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fidhide { to { opacity: 0; } }
@keyframes fokin { to { opacity: 1; transform: none; } }
@keyframes fokshow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .asheet { transition: none; } .fid, .state.ap.on .fid { animation: none; } }

.how-block { margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 90px; }
.how-head { display: grid; gap: 14px; margin-bottom: 28px; }
.how-head h3.display { font-size: clamp(26px, 3.2vw, 40px); }
/* Roster: tap a player to see their account */
.rwrap { display: grid; gap: 18px; }
.rv { display: grid; gap: 18px; align-content: start; }
.pd { display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.row.sel { background: var(--gold-wash); box-shadow: 0 0 0 1px var(--gold-deep); }
.row[data-u] { cursor: pointer; transition: background .2s, box-shadow .2s; }
.row[data-u]:hover:not(.sel) { background: #26221a; }
.row[data-u]:focus-visible { outline-offset: 2px; }
.pd.swap > * { animation: pdswap .35s both; }
.pd.swap > *:nth-child(2) { animation-delay: .05s; } .pd.swap > *:nth-child(3) { animation-delay: .1s; }
@keyframes pdswap { from { opacity: 0; transform: translateY(6px); } }
.pd-tiles b.owe { color: var(--true-red); }
.pd-pass.owe { border-color: rgba(255, 75, 75, .45); background: rgba(255, 75, 75, .06); }
.pd-pass.owe span { color: var(--true-red); }
@media (prefers-reduced-motion: reduce) { .pd.swap > * { animation: none; } }
.cur { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 5; pointer-events: none; opacity: 0; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6));
  transition: transform .9s cubic-bezier(.4, 0, .2, 1), opacity .3s; }
.cur.show { opacity: 1; }
.pd-back { color: var(--gold); font: 600 13px var(--sans); }
.pd-head { display: flex; align-items: center; gap: 12px; }
.pd-head b { display: block; font-size: 16px; }
.pd-head small { color: var(--text-dim); font-size: 12.5px; }
.pd-head .chip { margin-left: auto; }
.av.big { width: 42px; height: 42px; font-size: 14px; border-radius: 50%; background: var(--gold-wash); color: var(--gold); display: grid; place-items: center; font-weight: 700; flex: none; }
.pd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pd-tiles > div { background: var(--surface-high); border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 2px; }
.pd-tiles b { font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.pd-tiles small { font: 500 11.5px var(--sans); color: var(--text-dim); }
.pd-sec { display: grid; gap: 8px; }
.pd-pass { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 11px 12px; border-radius: var(--r-md); background: var(--surface-high); border: 1px solid var(--gold-deep); font-size: 13.5px; }
.pd-pass span { color: var(--text-dim); font-size: 12.5px; }
.pd-pass .meter { grid-column: 1 / -1; }
.pd-act { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface-high); font-size: 13px; }
.pd-act em { font-style: normal; color: var(--text-dim); font-size: 12.5px; white-space: nowrap; }
.pd-act em.gold { color: var(--gold); }
.pd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-acts span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font: 600 12.5px var(--sans); color: var(--text-dim); }
.rwrap.detail .pd > * { animation: pdin .5s both; }
.rwrap.detail .pd > *:nth-child(2) { animation-delay: .08s; } .rwrap.detail .pd > *:nth-child(3) { animation-delay: .16s; }
.rwrap.detail .pd > *:nth-child(4) { animation-delay: .24s; } .rwrap.detail .pd > *:nth-child(5) { animation-delay: .32s; } .rwrap.detail .pd > *:nth-child(6) { animation-delay: .4s; }
@keyframes pdin { from { opacity: 0; transform: translateY(8px); } }
.b.w4 .viz { margin-top: 0; }
.b.w4 .cap { margin-top: 0; }
/* Capacity inside the roster card */
.cap { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.cap-top { display: flex; justify-content: space-between; align-items: center; font: 600 13px var(--sans); }

/* Payments inside the memberships card */
.paywrap { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.paywrap h3 { font-size: 16px; font-weight: 600; }
.payrow.compact { grid-template-columns: 1fr; gap: 6px; }
.payrow.compact .payopt { display: flex; align-items: center; gap: 12px; padding: 7px 10px; }
.payrow.compact .logos { min-height: 0; margin: 0; gap: 6px; flex-wrap: nowrap; }
.payrow.compact .logo { height: 28px; padding: 0 7px; font-size: 12.5px; }
.payrow.compact .ico { width: 28px; height: 28px; border-radius: 8px; }
.payrow.compact .ico svg { width: 16px; height: 16px; }
.payrow.compact strong { font-size: 13.5px; }

/* Payment options row */
.payrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.payopt { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: var(--r-md); background: var(--surface-high); border: 1px solid transparent; transition: border-color .2s; }
.payopt:hover { border-color: var(--gold-deep); }
.payopt .logos { display: flex; gap: 8px; align-items: center; min-height: 34px; margin-bottom: 6px; flex-wrap: wrap; }
.payopt strong { font-size: 14.5px; }
.payopt small { color: var(--text-dim); font-size: 12.5px; line-height: 1.4; }
.logo { display: inline-flex; align-items: center; gap: 3px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--ground); border: 1px solid var(--line); font: 600 14px var(--sans); color: var(--text); white-space: nowrap; }
.logo svg { width: 14px; height: 14px; }
.logo .g { font: 700 15px var(--sans); background: linear-gradient(90deg, #4285F4, #34A853 40%, #FBBC05 70%, #EA4335); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold); }
.ico svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .payrow { grid-template-columns: repeat(2, 1fr); } }
.pl.long i { display: none; }
.pl.long { justify-content: center; }
.pd-list { display: grid; gap: 8px; }
.pd-list .pd-pass.owe { border-color: rgba(255, 75, 75, .45); background: rgba(255, 75, 75, .06); }
.pd-list .pd-pass:not(:first-child):not(.owe) { border-color: transparent; }
.pd-pass.member span { color: var(--gold); font-weight: 700; font-size: 11.5px; letter-spacing: .7px; }
.b .tryit { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 5px 11px; border-radius: 999px; background: var(--gold-wash); color: var(--gold); font: 600 12px var(--sans); }
.b .tryit svg { width: 12px; height: 12px; }
.lbl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.roster-top > div { width: 100%; }
.b .lbl-row .tryit { margin: 0; }

/* ── Nicer QR scan ── */
.scan { background: radial-gradient(120% 90% at 50% 40%, #241f15 0%, #0c0b08 55%, #050505 100%); }
.scan::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(circle at 22% 24%, rgba(201, 169, 97, .12), transparent 28%), radial-gradient(circle at 80% 78%, rgba(244, 241, 234, .06), transparent 30%); }
.scan .qr { border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); position: relative; z-index: 2; }
.scan .corner { z-index: 3; border-color: rgba(244, 241, 234, .75); width: 38px; height: 38px; transition: none; }
.state.on .scan .c1 { animation: lock1 1.2s cubic-bezier(.2, .9, .3, 1) .2s both; }
.state.on .scan .c2 { animation: lock2 1.2s cubic-bezier(.2, .9, .3, 1) .2s both; }
.state.on .scan .c3 { animation: lock3 1.2s cubic-bezier(.2, .9, .3, 1) .2s both; }
.state.on .scan .c4 { animation: lock4 1.2s cubic-bezier(.2, .9, .3, 1) .2s both; }
@keyframes lock1 { from { transform: translate(-22px, -22px); opacity: .35; } 70% { border-color: rgba(244, 241, 234, .9); } to { transform: none; opacity: 1; border-color: var(--gold); filter: drop-shadow(0 0 6px rgba(201, 169, 97, .8)); } }
@keyframes lock2 { from { transform: translate(22px, -22px); opacity: .35; } 70% { border-color: rgba(244, 241, 234, .9); } to { transform: none; opacity: 1; border-color: var(--gold); filter: drop-shadow(0 0 6px rgba(201, 169, 97, .8)); } }
@keyframes lock3 { from { transform: translate(-22px, 22px); opacity: .35; } 70% { border-color: rgba(244, 241, 234, .9); } to { transform: none; opacity: 1; border-color: var(--gold); filter: drop-shadow(0 0 6px rgba(201, 169, 97, .8)); } }
@keyframes lock4 { from { transform: translate(22px, 22px); opacity: .35; } 70% { border-color: rgba(244, 241, 234, .9); } to { transform: none; opacity: 1; border-color: var(--gold); filter: drop-shadow(0 0 6px rgba(201, 169, 97, .8)); } }
.scan .beam { left: 40px; right: 40px; height: 64px; z-index: 4; border: 0; border-bottom: 2px solid var(--gold); box-shadow: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, .32)); animation: none; }
.state.on .scan .beam { animation: sweep 1.1s ease-in-out .5s 2 both; }
@keyframes sweep { 0% { top: 16%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 70%; opacity: 0; } }
.scan .ring { position: absolute; z-index: 3; width: 150px; height: 150px; border-radius: 16px; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.state.on .scan .ring { animation: ping 1s ease-out 2.3s both; }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.scan .detected { position: absolute; z-index: 5; bottom: 14px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(201, 169, 97, .18); border: 1px solid var(--gold-deep); color: var(--gold); font: 600 12px var(--sans); white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); }
.state.on .scan .detected { animation: detected .5s cubic-bezier(.2, 1.4, .4, 1) 2.3s both; }
@keyframes detected { to { opacity: 1; transform: translate(-50%, 0); } }
.state.on .pbanner { animation: bannerup .6s cubic-bezier(.2, .9, .3, 1) 2.5s both; }
.state[data-s="0"] .pbanner { opacity: 0; transform: translateY(14px); }
@keyframes bannerup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .state[data-s="0"] .pbanner { opacity: 1; transform: none; }
  .scan .beam { display: none; } .scan .detected { opacity: 1; transform: translate(-50%, 0); }
}

/* Centred, letter-spaced section tag */
.head.center .tag { justify-self: center; }
.head.grand .tag { letter-spacing: .34em; padding: 10px 24px 10px 26px; font-size: 12.5px; }

/* Shuttlecock divider between For players and For clubs */
.shuttle-divider { height: 64px; margin: 8px 0; background: url("shuttle-divider.svg") center / 170px 64px repeat-x; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
@media (max-width: 560px) { .shuttle-divider { height: 52px; background-size: 138px 52px; } }
/* Tighter spacing around the shuttlecock divider */
#players { padding-bottom: clamp(20px, 3vw, 36px); }
#clubs { padding-top: clamp(20px, 3vw, 36px); }
.shuttle-divider { margin: 0; }
.hero { padding-bottom: clamp(20px, 3vw, 36px); }
#players { padding-top: clamp(20px, 3vw, 36px); }

/* ── Nicer FAQ ── */
.faq details { transition: border-color .25s, background .25s, transform .2s; }
.faq details:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.faq details[open] { background: linear-gradient(160deg, var(--gold-wash), var(--surface) 55%); }
.faq summary { padding: 20px 22px; font-size: 16.5px; user-select: none; -webkit-tap-highlight-color: transparent; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  font: 400 22px/1 var(--sans); color: var(--gold); background: var(--surface-high); padding-bottom: 2px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .25s, color .25s, border-color .25s; }
.faq summary:hover::after { border-color: var(--gold-deep); }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--gold); color: var(--ground); border-color: var(--gold); }
.faq details[open] p { animation: faqin .45s ease both; }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .faq details, .faq summary::after { transition: none; } .faq details[open] p { animation: none; } }

/* ── Court maker animation (ratings, picks, balance) ── */
.cn { --ph: 42px; }
.cn-ct { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cn-bal { font: 600 11.5px var(--sans); color: var(--gold); }
.cn-wgrid { grid-template-rows: repeat(4, var(--ph)); }
.cn .pl { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 0 9px; }
.cn .pl .nm { font: 600 12.5px/1.2 var(--sans); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn .pl .rt { display: flex; align-items: center; gap: 5px; font: 500 10.5px/1.2 var(--sans); color: var(--text-faint); white-space: nowrap; }
.cn .pl .rt u { text-decoration: none; color: var(--gold); font-size: 7px; letter-spacing: 1px; }
.cn .pl.on .rt { color: var(--text-dim); }
.cn .pl.cand { border-color: var(--gold-deep); color: var(--text); }
.cn .pl.pick { border-color: var(--gold); background: #2c2616; color: var(--text); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(201, 169, 97, .35); z-index: 3; }
.cn .pl.pick .rt { color: var(--gold); }
.cn .pl.dim { opacity: .38; }
.cn .pl { transition: transform .6s cubic-bezier(.55, 0, .2, 1), background .4s, border-color .4s, color .4s, opacity .4s, box-shadow .4s; }
.cn-caption { max-width: 62%; line-height: 1.3; }
@media (max-width: 560px) {
  .cn .pl { padding: 0 6px; }
  .cn .pl .nm { font-size: 11.5px; }
  .cn .pl .rt { font-size: 9.5px; }
}
.cn-wt { min-height: 34px; align-items: flex-start; }
.cn-caption { min-height: 2.6em; }

/* Rating change chips at the crown */
.cn .pl .dlt { position: absolute; right: -6px; top: -11px; z-index: 6; padding: 2px 7px; border-radius: 999px; font: 700 11px/1.3 var(--sans); font-style: normal; pointer-events: none;
  animation: dlt 3.2s ease-out both; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.cn .pl .dlt.up { background: var(--gold); color: var(--ground); }
.cn .pl .dlt.down { background: #3a1818; color: var(--true-red); border: 1px solid rgba(255, 75, 75, .5); }
@keyframes dlt { 0% { opacity: 0; transform: translateY(8px) scale(.7); } 12% { opacity: 1; transform: none; } 78% { opacity: 1; transform: translateY(-4px); } 100% { opacity: 0; transform: translateY(-12px); } }
.cn .pl .lv { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .cn .pl .dlt { animation: none; } }

/* Rank badges and team pairing in the court maker */
.cn .pl[data-rank]::before { content: "#" attr(data-rank); position: absolute; left: -7px; top: -8px; z-index: 6; min-width: 20px; padding: 1px 5px; border-radius: 999px;
  background: var(--ground); border: 1px solid var(--gold-deep); color: var(--gold); font: 700 10.5px/1.4 var(--sans); text-align: center; }
.cn .pl[data-team="A"] { border-color: var(--gold); background: #33291a; box-shadow: 0 0 0 1px var(--gold), 0 0 16px rgba(201, 169, 97, .35); }
.cn .pl[data-team="B"] { border-color: #d8d4c9; background: #26262a; box-shadow: 0 0 0 1px #d8d4c9, 0 0 16px rgba(216, 212, 201, .22); }
.cn .pl[data-team="A"] .rt { color: var(--gold); }

/* Rating change chip now sits inside the pill, on the right */
.cn .pl .dlt { right: 6px; top: 50%; padding: 1px 6px; font-size: 10.5px; animation: dlt2 3.2s ease-out both; box-shadow: none; }
@keyframes dlt2 { 0% { opacity: 0; transform: translateY(-30%) scale(.7); } 12% { opacity: 1; transform: translateY(-50%); } 80% { opacity: 1; transform: translateY(-50%); } 100% { opacity: 0; transform: translateY(-60%); } }
/* nudge the rating chip in from the pill edge */
.cn .pl .dlt { right: 14px; padding: 2px 8px; line-height: 1.2; white-space: nowrap; }
@media (max-width: 560px) { .cn .pl .dlt { right: 8px; padding: 2px 6px; } }
.cn .pl em.dlt { font-style: normal; width: auto; height: auto; display: block; border-radius: 999px; }
/* rating chip: bottom-right of the pill, beside the Lv number, clear of the name */
.cn .pl em.dlt { top: auto; bottom: 5px; right: 8px; padding: 1px 6px; font-size: 10px; line-height: 1.3; animation: dlt3 1.8s ease-out both; }
@keyframes dlt3 { 0% { opacity: 0; transform: translateY(6px) scale(.7); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 560px) { .cn .pl em.dlt { right: 5px; padding: 1px 5px; } }
.cn .pl em.dlt { right: 6px; bottom: 4px; padding: 0 5px; font-size: 9.5px; line-height: 1.45; }
.cn .pl:has(.dlt) .rt u { display: none; }
.display em.goldem { font-style: italic; color: var(--gold); font-weight: 600; }
.split.intro { margin: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 72px); }
.cn .pl em.dlt { animation-duration: 1.8s; }

/* Leaderboard rows in the app's style: name + record, club level on the right */
.lb .row .grow b { display: block; font-size: 14.5px; }
.lb .row .rec { display: block; color: var(--text-dim); font-size: 12px; margin-top: 1px; }
.lb .row .lvl { text-align: right; line-height: 1.1; }
.lb .row .lvl b { display: block; font-family: var(--serif); font-size: 22px; color: var(--text); }
.lb .row:first-child .lvl b, .lb .row .lvl b { color: var(--gold); }
.lb .row .lvl small { font: 800 9px var(--sans); letter-spacing: 1px; color: var(--text-faint); }
.cn-head { gap: 10px; flex-wrap: wrap; }
.cn-legend { margin-right: auto; margin-left: 4px; font: 500 11px var(--sans); color: var(--text-faint); }

/* QR landing pages (check-in, friend, join, billing return) */
.land { min-height: 100svh; display: grid; place-items: center; padding: 28px; }
.land main { width: min(100%, 420px); text-align: center; display: grid; gap: 20px; justify-items: center; }
.land .logo-img { height: 26px; width: auto; margin-bottom: 8px; }
.land .badge { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 40px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(201, 169, 97, .08); }
.land h1 { font-size: clamp(34px, 9vw, 46px); }
.land .lede { max-width: 34ch; margin-inline: auto; }
.land .stack { display: grid; gap: 12px; width: 100%; margin-top: 6px; }
.land .btn { width: 100%; }
.land .btn svg { width: 18px; height: 18px; }
.land .note { color: var(--text-dim); font-size: 14.5px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.land .hint { font-size: 13.5px; color: var(--text-faint); max-width: 34ch; }
.land [hidden] { display: none !important; }

/* ── Never miss a thing: animated push notifications ─────────────── */
.nf { display: grid; place-items: center; }
.nf-phone { width: min(100%, 400px); background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 26px 16px 18px; position: relative; overflow: hidden;
  background-image: radial-gradient(320px 220px at 50% 0%, var(--gold-wash), transparent 75%); }
.nf-time { text-align: center; margin-bottom: 18px; }
.nf-time b { display: block; font: 700 54px/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.nf-time span { display: block; margin-top: 6px; font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .7px; color: var(--gold); }
.nf-list { height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.nf-item { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-14px) scale(.96); transition: grid-template-rows .55s cubic-bezier(.2, .8, .2, 1), opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.nf-item.in { grid-template-rows: 1fr; opacity: 1; transform: none; }
.nf-item.in:nth-child(2) { opacity: .85; }
.nf-item.in:nth-child(3) { opacity: .65; }
.nf-item.in:nth-child(4) { opacity: .4; }
.nf-item.out { opacity: 0; }
.nf-inner { overflow: hidden; min-height: 0; padding-bottom: 8px; }
.nf-card { display: flex; gap: 11px; align-items: flex-start; padding: 12px 13px; background: var(--surface-high); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9); }
.nf-app { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.nf-txt { min-width: 0; flex: 1; }
.nf-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nf-top b { font: 600 13px/1.3 var(--sans); }
.nf-top small { font: 500 11px var(--sans); color: var(--text-faint); flex: none; }
.nf-txt p { font: 400 13px/1.4 var(--sans); color: var(--text-dim); margin-top: 2px; }
@media (max-width: 560px) { .nf-time b { font-size: 44px; } .nf-list { height: 350px; } }
@media (prefers-reduced-motion: reduce) { .nf-item { transition: none; } .nf-list { height: auto; -webkit-mask-image: none; mask-image: none; } }

/* Shared by the Tap racket page (404.html) and the friend QR page: racket specs + player card. */
/* Shuttls Tap racket page. Only active once a /t/<token> resolves to a public racket. */
.land main.tap { width: min(100%, 460px); gap: 12px; }
.tap-top { display: grid; gap: 10px; justify-items: center; }
.tap-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--sans); letter-spacing: .7px; text-transform: uppercase; color: var(--gold); background: var(--gold-wash); padding: 7px 12px; border-radius: 999px; }
.tap-chip svg { width: 13px; height: 13px; }
.tap-make { font-size: 17px; color: var(--text-dim); margin: -4px 0 0; }
.tap-card { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.tap-card > .label { display: block; margin-bottom: 12px; }
.specs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec { padding: 12px 10px; text-align: center; min-width: 0; border-left: 1px solid var(--line); }
.spec:first-child { border-left: 0; }
.spec .label { display: block; margin-bottom: 5px; font-size: 10px; }
.spec b { display: block; font: 700 16px/1.15 var(--sans); overflow-wrap: anywhere; }
@media (max-width: 380px) { .specs { grid-template-columns: 1fr 1fr; } .spec:nth-child(3) { border-left: 0; } .spec:nth-child(n+3) { border-top: 1px solid var(--line); } }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--surface-high); border: 1px solid var(--line); color: var(--gold); font: 700 22px var(--sans); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who-name { font: 700 20px/1.2 var(--sans); }
.who-sub { color: var(--text-dim); font-size: 13.5px; }
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat b { display: block; font: 700 22px/1 var(--serif); color: var(--gold); overflow-wrap: anywhere; }
.stat .label { display: block; margin-top: 6px; font-size: 10px; }
.tap-card .btn { width: 100%; margin-top: 14px; height: 44px; font-size: 14px; }
.tap-ios { width: 100%; }
.tap-foot { font-size: 13px; color: var(--text-faint); max-width: 36ch; }

/* Club check-in page: club identity + the session being checked in to. */
.club-logo { margin-bottom: 6px; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--surface-high); border: 1px solid var(--line); color: var(--gold); font: 700 28px var(--serif); }
.club-logo img { width: 100%; height: 100%; object-fit: cover; }
.sess .when { color: var(--text-dim); font-size: 14.5px; margin-top: 2px; }
.sess .name { font: 700 20px/1.2 var(--sans); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--sans); letter-spacing: .7px; text-transform: uppercase; color: var(--true-red); margin-bottom: 10px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--true-red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* Android waitlist */
.android-bar-sec { padding: clamp(8px, 2vw, 24px) 0 clamp(40px, 6vw, 72px); }
.android-bar {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1.1fr 1fr; align-items: center;
  gap: clamp(20px, 4vw, 48px); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--gold-deep); border-radius: var(--r-lg);
  background: radial-gradient(120% 220% at 0% 0%, rgba(201,169,97,.20), transparent 55%), linear-gradient(180deg, var(--surface-high), var(--surface));
  box-shadow: 0 24px 60px -30px rgba(201,169,97,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.android-bar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ab-icon { width: clamp(64px, 8vw, 92px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: var(--gold-wash); border: 1px solid var(--gold-deep); }
.ab-icon svg { width: 52%; height: 52%; }
.ab-copy .display { font-size: clamp(28px, 3.6vw, 44px); margin: 6px 0 8px; }
.ab-copy p { margin: 0; color: var(--text-dim); }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input { flex: 1 1 200px; min-width: 0; }
.waitlist-msg { margin: 10px 0 0; min-height: 1.3em; font-size: 14px; color: var(--text-dim); }
.waitlist-msg.err { color: var(--true-red); }
@media (max-width: 900px) {
  .android-bar { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ab-form { width: 100%; }
  .waitlist { justify-content: center; }
}
@media (max-width: 600px) { .waitlist .btn { width: 100%; } }
