/* ============================================================
   CourtSide marketing site
   Bold / sporty. Charcoal canvas, brand red accent, Anton + Inter.
   Mirrors the live-stats and scoreboard apps' visual language.
   ============================================================ */

:root {
  --bg:           #0a0a0a;
  --bg-elev:      #131313;
  --bg-soft:      #1a1a1a;
  --line:         rgba(255,255,255,0.10);
  --line-strong:  rgba(255,255,255,0.18);
  --ink:          #f5f5f5;
  --ink-dim:      rgba(245,245,245,0.72);
  --ink-mute:     rgba(245,245,245,0.50);

  --brand:        #ed1c24;
  --brand-dark:   #be161d;
  --brand-soft:   rgba(237,28,36,0.12);
  --brand-glow:   rgba(237,28,36,0.35);

  --up:           #91cc75;
  --up-bg:        rgba(145,204,117,0.12);
  --level:        #f0b945;
  --level-bg:     rgba(250,200,80,0.13);
  --down:         #e07a7a;
  --down-bg:      rgba(220,90,90,0.12);

  --display:      'Anton', 'Bebas Neue', Impact, sans-serif;
  --body:         'Inter', system-ui, sans-serif;

  --rad-sm:       6px;
  --rad-md:       12px;
  --rad-lg:       20px;

  --maxw:         1180px;
  --pad-x:        clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; }

html { background: var(--bg); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 110% -10%, rgba(237,28,36,0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 100%, rgba(145,204,117,0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }

/* ─────────────────────────── Typography ─────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.005em;
}
h2 {
  font-size: clamp(34px, 4.4vw, 60px);
}
h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.02em;
}
h4 {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brand);
  padding: 4px 10px;
  border: 1px solid var(--brand-glow);
  border-radius: 999px;
  background: var(--brand-soft);
  margin-bottom: 22px;
}

p { margin: 0 0 1em; color: var(--ink-dim); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: normal; color: var(--ink-mute); }

/* ─────────────────────────── Buttons ─────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 22px;
  border-radius: var(--rad-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 14px; padding: 18px 30px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 0 var(--brand-dark), 0 12px 28px -10px var(--brand-glow);
}
.btn-primary:hover { background: #ff2a32; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.32); }

/* ─────────────────────────── Nav ─────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: rgba(10,10,10,0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-brand img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 16px;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: var(--rad-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-cta:hover { background: var(--brand); color: #fff; }

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

/* ─────────────────────────── Hero ─────────────────────────── */

.hero {
  padding: clamp(60px, 9vw, 120px) var(--pad-x) clamp(80px, 11vw, 140px);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy h1 span {
  display: block;
}
.hero-copy h1 .accent { color: var(--brand); }
.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 540px;
  color: var(--ink-dim);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-trial {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-dim);
}
.hero-bullets {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-bullets li {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-bullets span {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 4px;
}

/* hero visual: the CP Receive · Phase 2 panel from the live-stats app,
   recreated section-for-section so visitors see the actual product
   without needing a screenshot. */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}

/* ── panel chrome (mirrors .bcc-panel in live-stats) ── */
.bcc-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bcc-panel-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.bcc-tag {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--brand);
}
.bcc-panel-title {
  margin: 0;
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.bcc-meta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.bcc-meta-num { color: var(--up); font-feature-settings: 'tnum' 1; }

/* ── filter tabs ── */
.bcc-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcc-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.bcc-tabs-lab {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-right: 4px;
}
.bcc-tabs-divider {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: var(--line);
  margin: 0 4px;
}
.bcc-tab {
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  text-transform: uppercase;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.bcc-tab:hover { color: var(--ink); border-color: rgba(255,255,255,0.2); }
.bcc-tab.is-active {
  color: var(--up);
  border-color: rgba(145,204,117,0.55);
  background: rgba(145,204,117,0.08);
}

/* ── court ── */
.bcc-panel-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bcc-court-card { margin: 0; }
.bcc-court {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
/* Court styles scoped to the live-stats panel so they don't override
   the dark-green court used in the Capture section's full-court SVG. */
.bcc-panel .court-bg { fill: rgba(255,255,255,0.012); }
.bcc-panel .court-outline {
  fill: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 2;
}
.bcc-panel .court-third {
  stroke: rgba(255,255,255,0.16);
  stroke-width: 1.4;
}
.bcc-panel .court-ring {
  fill: none;
  stroke: rgba(255,255,255,0.2);
  stroke-width: 1.6;
}
.bcc-panel .court-goal {
  stroke: var(--up);
  stroke-width: 4;
  stroke-linecap: round;
}
.bcc-panel .court-goal-muted {
  stroke: rgba(255,255,255,0.22);
  stroke-width: 2.5;
}
.bcc-panel .court-attack-tint { fill: rgba(145,204,117,0.06); }

/* ── markers + arcs ── */
.dot-cp {
  fill: var(--up);
  stroke: rgba(0,0,0,0.5);
  stroke-width: 0.6;
}
.dot-p2 line { stroke: #e7eaef; stroke-width: 2.2; stroke-linecap: round; }
.dot-p2.dot-p2-attack line { stroke: #f87171; }
.arc-cp-p2 {
  fill: none;
  stroke: rgba(145,204,117,0.6);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

/* ── legend ── */
.bcc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}
.bcc-legend-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Roboto Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.bcc-legend .dot { width: 10px; height: 10px; display: inline-block; }
.dot-cp-sample {
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 6px rgba(145,204,117,0.7);
}
.dot-p2-sample {
  color: #e7eaef;
  font-size: 14px;
  line-height: 10px;
  text-align: center;
  background: transparent !important;
}
.dot-arc-sample {
  width: 18px !important;
  height: 2px !important;
  background: linear-gradient(90deg, rgba(145,204,117,0.7), transparent, rgba(145,204,117,0.7)) !important;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 24px auto 0; }
  .hero-bullets { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* ─────────────────────────── Banner (one-liner) ─────────────────────────── */

.banner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.banner p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--pad-x);
  text-align: center;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.banner em { color: var(--brand); font-style: normal; }
.banner strong { color: var(--brand); font-weight: 400; }

/* Free-trial callout (pricing) — amber accent, matching the in-app trial badge */
.trial-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto 36px;
  padding: 22px 26px;
  background: rgba(240, 185, 69, 0.08);
  border: 1px solid rgba(240, 185, 69, 0.38);
  border-radius: 16px;
  text-align: left;
}
.trial-pill {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #f0b945;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.trial-callout-text { flex: 1 1 280px; }
.trial-callout-text h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.trial-callout-text p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.55; }
.trial-callout-text strong { color: #f0b945; font-weight: 600; }
.trial-callout .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .trial-callout { flex-direction: column; align-items: flex-start; }
}

/* ─────────────────────────── Pillars ─────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}
.pillar {
  padding: 60px var(--pad-x);
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; }
.pillar-num {
  font-family: var(--display);
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 0.32em;
  display: block;
  margin-bottom: 18px;
}
.pillar h2 {
  font-size: 26px;
  margin-bottom: 14px;
}
.pillar p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; }
.pillar-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid var(--brand);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  border-radius: 0 6px 6px 0;
}
.pillar-note strong { color: var(--brand); font-weight: 500; }
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* ─────────────────────────── Scoring levels ───────────────────────────
   Three per-game scoring modes rendered as an escalating ladder. The
   3-segment meter at the top of each card is the "levels" cue: one bar
   lit on Level 1, all three on Level 3. Level 3 gets the featured
   treatment (brand border + lift) mirroring .price-card-featured. */

.section-levels { text-align: center; }
.section-levels h2 { margin-top: 6px; }
.section-levels .section-lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--ink-dim);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  text-align: left;
}
.level-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.level-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.level-card-top {
  border-color: var(--brand-glow);
  background: linear-gradient(180deg, rgba(237,28,36,0.08) 0%, var(--bg-elev) 60%);
}
.level-card-top:hover { border-color: var(--brand); }

.level-meter {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.level-meter i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}
.level-meter i.on { background: var(--brand); }

.level-num {
  font-family: var(--display);
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.level-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.level-blurb {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.level-plus {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-bottom: 14px;
}
.level-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.level-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.level-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--brand);
}

.level-foot {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-mute);
}
@media (max-width: 880px) {
  .level-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────── Section shell ─────────────────────────── */

.section {
  padding: clamp(70px, 10vw, 130px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.section-grid-reverse .section-copy { order: 2; }
.section-grid-reverse .section-visual { order: 1; }
@media (max-width: 880px) {
  .section-grid { grid-template-columns: 1fr; }
  .section-grid-reverse .section-copy,
  .section-grid-reverse .section-visual { order: initial; }
}

.section h2 + p,
.section-copy h2 + p {
  margin-top: 22px;
  font-size: 17px;
  max-width: 520px;
}

.feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.55;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--brand);
}
.footnote {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.footnote strong { color: var(--brand); font-weight: 500; }

.section-visual {
  position: relative;
}

/* Live-capture landscape tablet — wraps the real webstats screenshot
   (assets/webstats.png) in a charcoal bezel matching the iPhone frame
   in the Buddy section. The frame has no fixed aspect ratio: the
   image's intrinsic dimensions drive the height (width:100% +
   height:auto), and `object-fit: contain` guarantees the whole
   screenshot is visible — no cropping if the source ever changes. */
.capture-tablet {
  width: 100%;
  display: flex;
  justify-content: center;
}
.capture-tablet-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #232323 0%, #0c0c0c 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 14px 12px;
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.capture-tablet-cam {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #050505;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
}
.capture-tablet-screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* ─────────────────────────── Role list + Buddy phone ─────────────────────────── */

/* Just the phone now — centred in the visual column. */
.buddy-mock {
  display: flex;
  justify-content: center;
}

/* Role list (Stat taker · Caller · Buddy) sits in the copy column. Each
   item has a display-font role name + a small required/optional tag and
   a short paragraph. Visual hierarchy mirrors the feature lists used
   elsewhere on the page. */
.role-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}
.role-item {
  position: relative;
  padding-left: 22px;
}
.role-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--brand);
}
.role-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.role-name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.role-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: 'Roboto Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
}
.role-tag-req {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand-soft);
}
.role-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ── iPhone-style Buddy preview ── */
.buddy-phone {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.buddy-phone-frame {
  position: relative;
  width: 210px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #232323 0%, #0c0c0c 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 34px;
  padding: 8px 4px 10px;
  box-shadow:
    0 30px 60px -25px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.buddy-phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 14px;
  background: #050505;
  border-radius: 999px;
  z-index: 3;
}
.buddy-phone-home {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 4px;
  background: rgba(255,255,255,0.40);
  border-radius: 999px;
}
.buddy-phone-screen {
  width: 100%;
  height: 100%;
  background: #050505;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 24px;          /* room for the dynamic island */
  color: #f1f1f1;
  font-family: 'Inter', sans-serif;
}

/* top app bar */
.bp-topbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.bp-back {
  font-size: 14px;
  line-height: 1;
  color: rgba(255,255,255,0.45);
  width: 12px;
  text-align: center;
}
.bp-brand {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--brand);
}
.bp-section {
  font-size: 7.5px;
  color: rgba(255,255,255,0.45);
}
.bp-prog {
  margin-left: auto;
  font-family: 'Roboto Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.55);
}
.bp-prog em { color: rgba(255,255,255,0.25); font-style: normal; }
.bp-status {
  width: 6px;
  height: 6px;
  background: var(--up);
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(145,204,117,0.6);
}

/* period tabs + todo/all */
.bp-period {
  display: flex;
  align-items: stretch;
  padding: 0 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.bp-period .bp-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.40);
  border-bottom: 2px solid transparent;
}
.bp-period .bp-tab.is-active {
  color: var(--up);
  border-bottom-color: var(--up);
}
.bp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10px;
  height: 9px;
  padding: 0 3px;
  margin-left: 2px;
  background: #e11d48;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 6.5px;
  font-weight: 700;
  border-radius: 999px;
}
.bp-seg {
  margin-left: auto;
  align-self: center;
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.bp-seg span {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
}
.bp-seg .is-active {
  background: rgba(255,255,255,0.10);
  color: #f1f1f1;
}

/* event panel — main body */
.bp-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 8px;
  overflow: hidden;
}
/* Compact court inside the panel, matching enrich-panel.component.ts:
   fills the panel width, capped in height so it doesn't push the chip
   sections off-screen on the narrow phone canvas. */
.bp-court {
  width: 100%;
  max-height: 92px;
  height: auto;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}
.bp-panel-head {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bp-event-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 999px;
}
.bp-event-type {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #f1f1f1;
}
.bp-when {
  margin-left: auto;
  font-family: 'Roboto Mono', monospace;
  font-size: 7px;
  color: rgba(255,255,255,0.40);
}
.bp-sec-h {
  margin: 1px 0 0;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}
.bp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.bp-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
/* Active states mirror the enrich-panel selection colours: indigo for
   Position selection, rose for Reason selection. Inactive chips share
   the same muted white/5 base. */
.bp-chip.is-active {
  color: #fff;
  border-color: rgba(99,102,241,0.55);
  background: rgba(79,70,229,0.55);
}
.bp-chip.is-active-rose {
  color: #fff;
  border-color: rgba(244,63,94,0.55);
  background: rgba(225,29,72,0.65);
}
.bp-chip-more {
  border-style: dashed;
  color: rgba(255,255,255,0.30);
}

/* bottom event chip strip */
.bp-strip {
  display: flex;
  align-items: stretch;
  padding: 4px 2px 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  gap: 2px;
  flex-shrink: 0;
}
.bp-strip-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  font-size: 10px;
  color: rgba(255,255,255,0.40);
}
.bp-strip-chips {
  flex: 1;
  display: flex;
  gap: 3px;
  overflow: hidden;
}
.bp-strip-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 26px;
  padding: 2px 0;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
}
.bp-strip-chip b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
}
.bp-strip-chip i {
  font-style: normal;
  font-family: 'Roboto Mono', monospace;
  font-size: 6px;
  color: rgba(255,255,255,0.30);
  margin-top: 1px;
}
.bp-strip-chip.is-current {
  background: rgba(237,28,36,0.18);
  border: 1px solid rgba(237,28,36,0.45);
}
.bp-strip-chip.is-current b { color: var(--brand); }
.bp-strip-chip.is-current i { color: rgba(237,28,36,0.85); }

/* ─────────────────────────── Mock stats table ─────────────────────────── */

.mock-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 18px;
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.7);
}
.mock-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.mock-panel-title {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}
.mock-panel-meta {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--up);
}
.mock-panel-meta b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--up);
}

/* Wrapper allows horizontal scroll on narrow viewports without
   distorting the dense per-quarter / per-position grid. */
.mock-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  scrollbar-width: thin;
}

.mock-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-feature-settings: 'tnum' 1;
}
.mock-table thead th {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-align: center;
  padding: 7px 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.mock-table thead th.hd-name {
  text-align: left;
  padding-left: 12px;
}
.mock-table thead th.hd-match { color: var(--up); }
.mock-table thead tr.hd-sub th {
  font-size: 9.5px;
  color: rgba(255,255,255,0.45);
  padding-top: 4px;
  padding-bottom: 6px;
  letter-spacing: 0.16em;
}
.mock-table tbody td {
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  vertical-align: middle;
  font-size: 11.5px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.mock-table td.name {
  text-align: left;
  padding-left: 12px;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.15;
  min-width: 92px;
}
.mock-table td.name .last { display: block; font-weight: 600; }
.mock-table td.name .first {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
}
/* Pos cell — the live-stats app puts a tiny GS/GA marker in the
   top-left corner of the cell (no background, just coloured text)
   with the fraction sitting in the centre below. Mirror that. */
.mock-table .cell-pos {
  position: relative;
  color: var(--ink-dim);
  padding-top: 14px;
  padding-bottom: 6px;
}
.mock-table .cell-pos .tag {
  position: absolute;
  top: 3px;
  left: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.12em;
}
.mock-table .cell-pos .tag.gs { color: rgba(145,204,117,0.7); }
.mock-table .cell-pos .tag.ga { color: rgba(250,200,88,0.7); }
.mock-table .cell-total {
  background: rgba(145,204,117,0.04);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.mock-table .cell-total .pct {
  display: block;
  font-family: var(--display);
  font-size: 10.5px;
  margin-top: 2px;
  color: var(--up);
  letter-spacing: 0.04em;
}

/* GS row has a slightly tinted background to visually pair with its GA
   row below — matches the live-stats panel's player row stacking. */
.mock-table .row-gs td:not(.name):not(.cell-total) {
  background: rgba(237,28,36,0.025);
}

/* Totals row — green/amber/red tinted per-quarter cells. */
.mock-table .row-totals td {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--line-strong);
  padding-top: 11px;
  padding-bottom: 11px;
  color: var(--ink);
}
.mock-table .row-totals td.cell .pct {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  margin-top: 2px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.mock-table .row-totals td.cell.up    { background: var(--up-bg); }
.mock-table .row-totals td.cell.up .pct    { color: var(--up); }
.mock-table .row-totals td.cell.level { background: var(--level-bg); }
.mock-table .row-totals td.cell.level .pct { color: var(--level); }
.mock-table .row-totals td.cell.down  { background: var(--down-bg); }
.mock-table .row-totals td.cell.down .pct  { color: var(--down); }

/* Opposition row — smaller, muted, no per-position breakdown. */
.mock-table .row-opp td {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
  padding-bottom: 9px;
  color: rgba(255,255,255,0.55);
}
.mock-table .row-opp td.name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.06em;
}
.mock-table .row-opp td .pct {
  display: block;
  font-size: 10px;
  margin-top: 2px;
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────── Scoreboard mockup ─────────────────────────── */

.mock-access {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
@media (max-width: 540px) { .mock-access { grid-template-columns: 1fr; } }

.mock-access-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-access-card-private {
  border-color: rgba(237,28,36,0.35);
  background:
    linear-gradient(180deg, rgba(237,28,36,0.06) 0%, var(--bg-elev) 70%);
}
.mock-access-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.mock-access-eyebrow {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
}
.mock-access-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(145,204,117,0.10);
  color: rgba(145,204,117,0.85);
  border: 1px solid rgba(145,204,117,0.25);
}
.mock-access-pill-lock {
  background: rgba(237,28,36,0.10);
  color: var(--brand);
  border-color: rgba(237,28,36,0.30);
}
.mock-access-pill-lock svg {
  width: 11px;
  height: 11px;
}
.mock-access-url {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-access-host { color: var(--ink-mute); }
.mock-access-code { color: var(--ink); font-weight: 600; }

.mock-access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mock-access-socials {
  display: flex;
  gap: 8px;
}
.mock-sa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mock-sa svg { width: 14px; height: 14px; }
.mock-sa-fb:hover   { background: #1877f2; color: #fff; border-color: #1877f2; }
.mock-sa-ig:hover   { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: #fff; border-color: transparent; }
.mock-sa-x:hover    { background: #fff; color: #000; border-color: #fff; }
.mock-sa-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.mock-access-qr svg {
  width: 60px;
  height: 60px;
  border-radius: 4px;
}

/* PIN-gated dashboard card */
.mock-access-pin {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 4px 0;
}
.mock-pin-digit {
  width: 36px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(237,28,36,0.30);
  border-radius: 6px;
  letter-spacing: 0;
}
.mock-access-foot {
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* ─────────────────────────── Outputs ─────────────────────────── */

.section-outputs {
  text-align: center;
  padding-top: clamp(60px, 8vw, 100px);
}
.section-outputs h2 { margin-top: 6px; }
.section-outputs > p { max-width: 620px; margin: 22px auto 0; }
.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.output-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 28px;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}
.output-card:hover {
  border-color: var(--brand-glow);
  transform: translateY(-3px);
}
.output-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}
.output-card p { font-size: 14px; line-height: 1.6; }
.output-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-glow);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.output-link:hover { border-bottom-color: var(--brand); }
.output-link span { display: inline-block; transition: transform .2s ease; }
.output-link:hover span { transform: translateX(3px); }
@media (max-width: 720px) { .output-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────── Pricing ─────────────────────────── */

.section-pricing { text-align: center; }
.section-pricing h2 { margin-top: 6px; }
.section-pricing .section-lede {
  max-width: 600px;
  margin: 22px auto 0;
  color: var(--ink-dim);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  text-align: left;
}
.price-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--brand-glow);
  background: linear-gradient(180deg, rgba(237,28,36,0.08) 0%, var(--bg-elev) 60%);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(237,28,36,0.45);
}
.price-tag {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 6px 12px;
  border-radius: 4px;
}
.price-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 6px;
}
.price .dollars {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
}
.price .aud {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.price-blurb {
  color: var(--ink-dim);
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 22px;
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-dim);
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--brand);
}

.price-foot {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-mute);
}
@media (max-width: 880px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card-featured { transform: none; }
}

/* ─────────────────────────── Final CTA ─────────────────────────── */

.cta {
  text-align: center;
  padding: clamp(80px, 11vw, 140px) var(--pad-x);
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(600px 400px at 50% 0%, rgba(237,28,36,0.14), transparent 70%),
    var(--bg-elev);
}
.cta h2 {
  font-size: clamp(40px, 6vw, 80px);
}
.cta p {
  margin: 20px auto 36px;
  font-size: 18px;
  max-width: 540px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────── Footer ─────────────────────────── */

.foot {
  padding: 60px var(--pad-x) 30px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: flex-start;
}
.foot-brand img {
  height: 28px;
  margin-bottom: 16px;
}
.foot-brand p {
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 320px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.foot-cols h4 {
  color: var(--ink-mute);
}
.foot-cols ul { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a {
  font-size: 14px;
  color: var(--ink-dim);
  transition: color .15s ease;
}
.foot-cols a:hover { color: var(--brand); }
.foot-fine {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────── Sign-in nav button + dialog ─────────────────────────── */

.nav-signin {
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin-right: 18px;
  transition: color .15s ease;
}
.nav-signin:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav-signin { margin-right: 12px; font-size: 11px; }
}

.signin-dialog {
  width: min(420px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--rad-lg);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7);
  font-family: var(--body);
}
.signin-dialog::backdrop {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.signin-dialog[open] {
  display: flex;
  flex-direction: column;
}

.signin-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: 0;
  color: var(--ink-mute);
  font-size: 28px; line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color .15s ease;
}
.signin-close:hover { color: var(--ink); }

.signin-head {
  padding: 28px 32px 0;
  display: flex; align-items: center; gap: 14px;
}
.signin-brand {
  height: 26px; width: auto;
}
.signin-eyebrow {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.signin-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

.signin-title {
  font-family: var(--display);
  font-size: 32px; line-height: 1; letter-spacing: 0.01em;
  margin: 18px 32px 8px;
  color: var(--ink);
}
.signin-lead {
  margin: 0 32px 22px;
  font-size: 13px; color: var(--ink-dim); line-height: 1.55;
}

.signin-form {
  padding: 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.signin-field { display: flex; flex-direction: column; gap: 6px; }
.signin-field > span {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.signin-field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.signin-field input:focus { border-bottom-color: var(--brand); }

.signin-submit {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 0 18px;
  height: 46px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: var(--rad-sm);
  font-family: var(--display);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}
.signin-submit:hover:not(:disabled) { background: var(--brand-dark); }
.signin-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.signin-arrow { font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: 0; }

.signin-error {
  margin: 4px 0 0;
  padding: 10px 12px;
  background: var(--brand-soft);
  border-left: 2px solid var(--brand);
  color: var(--brand);
  font-size: 12px;
}

.signin-foot {
  padding: 18px 32px 24px;
  display: flex; justify-content: space-between;
  font-size: 12px;
}
.signin-foot a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color .15s ease;
}
.signin-foot a:hover { color: var(--brand); }

/* ─────────────────────────── Policy pages (terms, privacy) ─────────────────────────── */

.policy {
  max-width: 740px;
  margin: 0 auto;
  padding: 120px var(--pad-x) 80px;
}
.policy-header {
  margin-bottom: 48px;
}
.policy-header .eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.policy-header h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 16px;
}
.policy-updated {
  font-size: 13px;
  color: var(--ink-mute);
}

.policy-body h2 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.policy-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.policy-body h3 {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 24px 0 8px;
}
.policy-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin: 0 0 12px;
}
.policy-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.policy-body ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 4px;
}
.policy-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--brand);
}
.policy-body a {
  color: var(--brand);
  text-decoration: none;
  transition: color .15s ease;
}
.policy-body a:hover {
  color: var(--ink);
}
.policy-body strong {
  color: var(--ink);
  font-weight: 600;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
}
.policy-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-soft);
}
.policy-table td {
  padding: 10px 14px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.policy-table td strong {
  color: var(--ink);
}

.policy-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.policy-nav a {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  transition: color .15s ease;
}
.policy-nav a:hover {
  color: var(--ink);
}

/* ===== Scoreboard skin gallery (Watch section) ===== */
.skin-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skin-gallery figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #101010;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
.skin-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.skin-gallery figcaption {
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.skin-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .skin-pair { grid-template-columns: 1fr; }
}

/* Secondary sign-in line under the featured price card CTA */
.price-signin {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.price-signin a {
  color: inherit;
  text-decoration: underline;
}
.price-signin a:hover { color: #fff; }
