:root {
  --bg: #0c1117;
  --surface: #1a2129;
  --elevated: #232b35;
  --line: #2e3844;
  --court: #2a323c;
  --green: #c1ff2c;
  --text: #ffffff;
  --muted: #8b939e;
  --orange: #ff6b4a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
}

.court {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--court), var(--court)) 78% 8% / 1px 58vh no-repeat,
    linear-gradient(var(--court), var(--court)) 78% 36% / min(34vw, 420px) 1px no-repeat,
    radial-gradient(ellipse at 82% -8%, rgba(193, 255, 44, 0.16), transparent 42%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero,
.features,
.steps,
.site-footer {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.site-header nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--text);
}

.logo {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.lede {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.soon {
  display: inline-block;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 33, 41, 0.8);
  color: var(--text);
  font-size: 0.92rem;
}

.phone {
  justify-self: end;
  width: min(100%, 340px);
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  background: #070b10;
  box-shadow: var(--shadow);
}

.phone-screen {
  display: grid;
  gap: 12px;
  padding: 18px 14px 16px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(42, 50, 60, 0.55), rgba(42, 50, 60, 0.55)) 50% 0 / 1px 100% no-repeat,
    var(--bg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-logo {
  font-size: 1rem;
}

.pill,
.match header strong {
  border-radius: 999px;
  background: rgba(193, 255, 44, 0.14);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.pill {
  padding: 4px 8px;
}

.match {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.match.dim {
  opacity: 0.72;
}

.match header,
.match footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.match header strong,
.match header strong.wait {
  padding: 2px 8px;
}

.match header strong.wait {
  background: rgba(255, 107, 74, 0.16);
  color: var(--orange);
}

.teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.teams div {
  padding: 8px;
  border-radius: 12px;
  background: var(--elevated);
}

.teams p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.teams b {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.teams .losing b {
  color: #8b939e;
}

.features,
.steps {
  padding-bottom: 72px;
}

.features h2,
.steps h2 {
  max-width: 16ch;
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.features ul,
.steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps ol {
  grid-template-columns: repeat(3, 1fr);
}

.features li,
.steps li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(26, 33, 41, 0.86);
}

.features h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.features p,
.steps p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer .logo {
  margin-right: auto;
}

.fine {
  display: flex;
  gap: 16px;
}

.fine a:hover {
  color: var(--text);
}

.page {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin: 12px auto 64px;
}

.page h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page h2 {
  margin: 28px 0 8px;
  font-size: 1.25rem;
}

.page p,
.page li {
  color: var(--muted);
}

.page a {
  color: var(--green);
}

@media (max-width: 860px) {
  .court {
    background: radial-gradient(ellipse at 50% -10%, rgba(193, 255, 44, 0.14), transparent 46%);
  }

  .hero,
  .features ul,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .phone {
    justify-self: start;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header nav {
    gap: 14px;
  }
}
