@font-face {
  font-family: Geist;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f5f0;
  --ink: #0a0e17;
  --ink-soft: #5b6680;
  --line: #e4e7ee;
  --volt: #d4ff3f;
  --volt-deep: #4f6b00;
  --clay: #ff6a3d;
  --azure: #3d8bff;
  --white: #fff;
  --nav: 64px;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--volt); color: var(--ink); }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.06em;
  text-decoration: none;
  line-height: 1;
}
.wordmark i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  margin-bottom: 3px;
  box-shadow: inset -1px -1px 0 rgba(79, 107, 0, 0.35);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; }
.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-cta:hover { background: #1a2233; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - var(--nav));
  padding: 28px 0 72px;
}
.sports {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.clay { background: var(--clay); }
.dot.azure { background: var(--azure); margin-left: 8px; }
h1 {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 650;
  text-wrap: balance;
}
.period {
  display: inline-block;
  position: relative;
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.06em;
  vertical-align: 0.12em;
}
.period-ball {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #e8ff7a, #d4ff3f 55%, #b6e21a);
  box-shadow: inset -1px -2px 0 rgba(79, 107, 0, 0.28);
}
.ball-live .period-ball { opacity: 0; }
.lede {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 16px 8px 12px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid var(--ink);
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.72;
  line-height: 1.2;
}
.store b {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.store svg, .store img { width: 22px; height: 22px; flex: none; }
.store:hover { transform: translateY(-1px); }
.store:focus-visible, .nav-cta:focus-visible, .nav-links a:focus-visible, .wordmark:focus-visible {
  outline: 2px solid var(--volt-deep);
  outline-offset: 3px;
}
.cue {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.phone {
  justify-self: end;
  width: min(280px, 100%);
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3a4150, #12151c 40%, #2a303b);
  box-shadow:
    0 30px 70px rgba(10, 14, 23, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  line-height: 0;
}
.screen img {
  width: 100%;
  height: auto;
}

.scene { height: 230vh; position: relative; }
.scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav);
}
.scene-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  width: min(var(--wrap), calc(100% - 40px));
}
.kicker {
  margin: 0 0 14px;
  color: var(--volt-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.beat h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-weight: 650;
  color: #5b6680;
}
.beat p { margin: 6px 0 0; color: #5b6680; max-width: 360px; }
.beat.on h2 { color: var(--ink); }
.beat.on p { color: var(--ink-soft); }
.beat.on h2::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 8px;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--volt);
  vertical-align: 3px;
}

.stage {
  position: relative;
  height: 440px;
}
.court { width: 100%; height: 100%; }
.impact {
  position: absolute;
  top: 78%;
  width: 28px;
  height: 8px;
  margin: -4px 0 0 -14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--volt) 80%, var(--clay));
  opacity: 0;
  pointer-events: none;
  filter: blur(0.5px);
}

.band { padding: 96px 0; }
.score-grid, .rank-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
h2.display {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  text-wrap: balance;
}
.band .copy { color: var(--ink-soft); font-size: 18px; max-width: 460px; }
.score-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 60px rgba(10, 14, 23, 0.05);
}
.score-card .label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.score-card .num {
  margin: 8px 0 0;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 650;
}
.score-card .num span {
  font-size: 18px;
  letter-spacing: 0;
  margin-left: 6px;
  color: var(--volt-deep);
}
.meta { margin: 8px 0 0; color: var(--ink-soft); }
.spark-wrap { position: relative; margin-top: 18px; }
.spark { width: 100%; height: auto; }
#pin-score {
  position: absolute;
  left: 97.5%;
  top: 19%;
  width: 10px;
  height: 10px;
}

.rank-head { margin-bottom: 28px; align-items: end; }
.rank-head p { margin: 0; color: var(--ink-soft); max-width: 320px; }
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 20px;
  min-height: 210px;
}
.feat .n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.feat h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.feat p { margin: 0; color: var(--ink-soft); }
#pin-rank {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
}
.plus {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.cta {
  background: var(--ink);
  color: var(--white);
  padding: 112px 0 28px;
  margin-top: 40px;
}
.nest {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--volt) 70%, transparent);
  box-shadow: 0 0 0 10px rgba(212, 255, 63, 0.06);
  position: relative;
}
#pin-cta {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
}
.cta h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  font-weight: 650;
}
.cta .sub {
  text-align: center;
  color: #8a93a8;
  margin: 14px 0 0;
}
.cta .stores { justify-content: center; }
.cta .store {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.cta .store:hover { background: var(--white); }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid #1a2233;
  color: #8a93a8;
  font-size: 13px;
}
.foot .wordmark { color: var(--white); font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { color: #8a93a8; text-decoration: none; }
.foot-links a:hover { color: var(--white); }
.foot-links a:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

.legal {
  width: min(720px, calc(100% - 40px));
  margin: 28px auto 80px;
}
.legal h1 {
  margin: 8px 0 10px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
}
.legal .updated { margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.legal .intro { margin: 0; color: var(--ink-soft); font-size: 18px; }
.legal section { margin-top: 32px; }
.legal h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 650;
}
.legal section p { margin: 0; color: var(--ink-soft); }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.legal-nav a { color: var(--ink); }

.ball {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 15;
  width: 54px;
  height: 54px;
  pointer-events: none;
  transform: translate3d(-80px, -80px, 0);
}
.ball-svg { width: 54px; height: 54px; transform-origin: 50% 50%; }
.ball-shadow {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 28px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.28);
  filter: blur(1px);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 18px;
  }
  .phone { justify-self: center; }
  .scene { height: auto; }
  .scene-sticky {
    position: static;
    height: auto;
    display: block;
    padding: 64px 0;
  }
  .scene-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { height: 300px; }
  .score-grid, .rank-head, .feats { grid-template-columns: 1fr; }
  .feat { min-height: 0; }
  .band { padding: 64px 0; }
  .cta { padding-top: 80px; }
  .foot { flex-direction: column; }
  h1 { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene { height: auto; }
  .scene-sticky { position: static; height: auto; padding: 64px 0; }
  .beat h2, .beat p { color: var(--ink); }
  .beat p { color: var(--ink-soft); }
  .store:hover { transform: none; }
}
