@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Neon is reserved for the ball and for rating gains on the sample court. */
:root {
  --pine: #07483d;
  --optic: #dff42d;
  --chalk: #ffffff;
  --mist: #f2f6f3;
  --rule: #c9d8d1;
  --gutter: clamp(16px, 4vw, 56px);
  --line: 2px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--pine);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }

h1, h2 {
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 22ch; }
h3 { font-size: 1.25rem; font-weight: 720; line-height: 1.2; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.wrap { max-width: calc(1500px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.intro { max-width: 58ch; margin-top: 18px; font-size: 1.25rem; line-height: 1.45; }
.hook { margin-top: 28px; font-weight: 620; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--pine);
  color: var(--chalk);
}
.skip:focus { top: 12px; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  background: var(--chalk);
  border-bottom: 1px solid var(--rule);
}
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-stretch: 125%;
  font-weight: 850;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.nav-link { font-size: 1rem; font-weight: 560; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pine);
  color: var(--chalk);
  font-size: 1rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero: the two kitchens of a court, seen from above, meeting at the net */
.hero { padding: clamp(16px, 2.4vw, 32px) var(--gutter) 0; }
.hero-court {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto minmax(0, 1fr);
  max-width: 1500px;
  margin-inline: auto;
  border: var(--line) solid var(--pine);
  background: var(--mist);
}
.hero-kitchen { padding: clamp(32px, 5.5vw, 80px) clamp(20px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5.75rem); max-width: 13ch; }
.hero-lede { max-width: 48ch; margin-top: 26px; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-status { margin-top: 24px; font-size: 1.0625rem; }

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
}
.button-solid { background: var(--pine); color: var(--chalk); }
.button-line { box-shadow: inset 0 0 0 2px var(--pine); }
.button:hover { text-decoration: underline; }

.hero-net { width: 0; border-left: 3px dashed var(--pine); }
.hero-ball {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 64px);
}
.hero-ball svg { width: 100%; max-width: 420px; }

@media (prefers-reduced-motion: no-preference) {
  .emblem-ball, .emblem-ring { transform-box: fill-box; transform-origin: center; }
  .emblem-ball { animation: ball-land 780ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
  .emblem-ring { animation: ring-close 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both; }
}
@keyframes ball-land {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}
@keyframes ring-close {
  from { transform: rotate(-14deg); }
  to { transform: rotate(0); }
}

/* Why */
.why { padding-block: clamp(56px, 8vw, 112px); }
.why-statement {
  font-size: clamp(1.6rem, 3.3vw, 2.75rem);
  font-weight: 620;
  line-height: 1.18;
  letter-spacing: -0.012em;
  max-width: 34ch;
  text-wrap: pretty;
}
.why-rights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(36px, 4.5vw, 60px);
}
.why-rights strong { display: block; font-size: 1.375rem; font-weight: 720; line-height: 1.2; margin-bottom: 6px; }
.why-note { max-width: 62ch; margin-top: clamp(32px, 4vw, 52px); }

/* Bands */
.band { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); }

/* Rating sample: the page's interactive centerpiece and its one dark element */
.sketch { margin-top: clamp(32px, 4vw, 52px); }
.court {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  background: var(--pine);
  color: var(--chalk);
}
.court-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}
.court-team {
  grid-column: 1 / -1;
  padding: 12px 20px;
  border-bottom: var(--line) solid var(--chalk);
  font-weight: 650;
}
.box { padding: 20px; min-height: 196px; }
.box + .box { border-left: var(--line) solid var(--chalk); }
.player { display: flex; flex-direction: column; gap: 4px; }
.player-name { font-size: 1.3rem; font-weight: 700; }
.player-rating { font-variant-numeric: tabular-nums; }
.player-rating b { font-weight: 760; }
.player-change {
  align-self: flex-start;
  margin-top: 6px;
  padding: 1px 12px;
  border-radius: 999px;
  background: var(--optic);
  color: var(--pine);
  font-size: 1.5rem;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}
.player-change[data-down] { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 2px var(--chalk); }
.player-rel { margin-top: auto; padding-top: 10px; font-size: 1rem; }

.court-net {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 16px;
  border-inline: 3px dashed var(--chalk);
}
.score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-stretch: 80%;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.score-gap { font-size: 1.125rem; font-weight: 560; font-stretch: 100%; }

.slider { margin-top: 26px; }
.slider label { display: block; font-weight: 700; margin-bottom: 6px; }
.slider input { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--pine); cursor: pointer; }
.slider-ends { display: flex; justify-content: space-between; gap: 16px; font-size: 1rem; }

.ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: 32px;
  counter-reset: step;
}
.ledger li { counter-increment: step; font-size: 1.0625rem; line-height: 1.45; }
.ledger li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border: var(--line) solid var(--pine);
  border-radius: 50%;
  font-weight: 700;
}
.ledger strong { display: block; font-size: 1.1875rem; font-weight: 700; }

.sketch figcaption {
  max-width: 76ch;
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--mist);
  font-size: 1.0625rem;
}

.factors-title { margin-top: clamp(52px, 7vw, 92px); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 720; }
.factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 44px);
  margin-top: 24px;
}
.factors dt { font-weight: 700; font-size: 1.1875rem; }
.reliability { max-width: 62ch; margin-top: 32px; }

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  margin-top: clamp(56px, 8vw, 112px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}
.proof-statement {
  position: sticky;
  top: 100px;
  align-self: start;
  font-stretch: 112%;
  font-weight: 760;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.proof-body ul { margin-top: 20px; }
.proof-body li { padding: 12px 0; border-top: 1px solid var(--rule); }

/* Promises */
.promises { background: var(--mist); padding-block: clamp(56px, 8vw, 112px); }
.charter { margin-top: clamp(32px, 4vw, 52px); border-top: var(--line) solid var(--pine); }
.charter > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  align-items: baseline;
  gap: 8px 32px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}
.charter dt { font-weight: 720; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
.promises-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(44px, 6vw, 80px);
}
.promises-pair h3 { font-size: 1.5rem; font-weight: 720; margin-bottom: 14px; }
.promises-pair li { padding: 8px 0; border-top: 1px solid var(--rule); }
.honest p + p { margin-top: 14px; }

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 52px);
  border-top: var(--line) solid var(--pine);
}
.roadmap > li { padding: 22px clamp(14px, 1.8vw, 24px) 24px; }
.roadmap > li:first-child { padding-left: 0; }
.roadmap h3 { font-size: 1.375rem; font-weight: 720; margin-bottom: 12px; }
.roadmap li li { padding: 7px 0; font-size: 1.0625rem; line-height: 1.4; }
.roadmap-gate { background: var(--mist); }
.roadmap > li.roadmap-gate { padding-left: clamp(14px, 1.8vw, 24px); }

/* Help */
.help { background: var(--mist); padding-block: clamp(56px, 8vw, 112px); }
.help-lede { max-width: 58ch; margin-top: 18px; font-size: 1.25rem; line-height: 1.45; }
.roles { margin-top: clamp(32px, 4vw, 52px); border-top: var(--line) solid var(--pine); }
.roles li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(250px, 0.55fr);
  align-items: center;
  gap: 10px clamp(20px, 3vw, 44px);
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
}
.roles h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 720; }
.roles a {
  justify-self: end;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--pine);
  font-weight: 660;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.roles a:hover { background: var(--pine); color: var(--chalk); }
.help-foot { max-width: 66ch; margin-top: 30px; }

/* Footer */
.footer { padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--rule); font-size: 1.0625rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
}
.footer-logo { width: 240px; margin-bottom: 18px; }
.footer p { max-width: 54ch; }
.footer h2 { font-size: 1.125rem; font-stretch: 100%; letter-spacing: 0; font-weight: 700; margin-bottom: 6px; }
.footer li a { display: inline-block; padding-block: 6px; }

@media (max-width: 920px) {
  .nav-link { display: none; }
  .hero-court { grid-template-columns: minmax(0, 1fr); }
  .hero-net { width: auto; height: 0; border-left: 0; border-top: 3px dashed var(--pine); }
  .hero-ball svg { max-width: 260px; }
  .why-rights, .proof, .promises-pair { grid-template-columns: minmax(0, 1fr); }
  .proof-statement { position: static; }
  .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap > li:first-child { padding-left: clamp(14px, 1.8vw, 24px); }
  .court { grid-template-columns: minmax(0, 1fr); }
  .court-net { border-inline: 0; border-block: 3px dashed var(--chalk); }
  .roles li { grid-template-columns: minmax(0, 1fr); }
  .roles a { justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .factors, .ledger, .roadmap { grid-template-columns: minmax(0, 1fr); }
  .charter > div { grid-template-columns: minmax(0, 1fr); }
  .box { padding: 14px; min-height: 176px; }
  .player-change { font-size: 1.25rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .button { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
