:root {
  --pitch: #0d6b3a;
  --pitch-deep: #094d29;
  --chalk: #f4f1e4;
  --chalk-dim: #e9e4d0;
  --pink: #ff3d7f;
  --yolk: #ffd23f;
  --ink: #0a0f0c;
  --ink-soft: #1a221c;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 4px 0 0 var(--ink);
  --shadow-2: 0 8px 24px rgba(10, 15, 12, 0.18);

  --maxw: 1100px;
  --gutter: clamp(24px, 5vw, 48px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "VT323", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- TOPBAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(244, 241, 228, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--chalk);
  font-size: 14px;
}
.topbar__cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: var(--pink);
  color: var(--ink);
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.topbar__cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.topbar__cta:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% -15%, rgba(255, 210, 63, 0.28), transparent 55%),
    radial-gradient(ellipse at 12% -10%, rgba(255, 210, 63, 0.18), transparent 45%),
    radial-gradient(ellipse at 0% 110%, rgba(255, 61, 127, 0.22), transparent 55%),
    var(--pitch);
  color: var(--chalk);
  border-bottom: 2px solid var(--ink);
}
/* Mowed-grass horizontal stripes */
.hero__stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(244, 241, 228, 0.045) 0 90px,
      transparent 90px 180px
    );
}
.hero__halftone {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(244, 241, 228, 0.6) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mask-image: linear-gradient(to bottom, black 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  pointer-events: none;
}
/* Football pitch lines (SVG) */
.hero__pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(244, 241, 228, 0.22);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  /* Use padding-block only — horizontal padding comes from .container's gutter. */
  padding-top: clamp(56px, 10vw, 120px);
  padding-bottom: clamp(72px, 12vw, 140px);
  display: grid;
  gap: 24px;
  justify-items: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 6px 14px;
  border: 2px solid var(--chalk);
  border-radius: 999px;
  background: rgba(244, 241, 228, 0.08);
}
.kicker__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.05s; }
.hero__line:nth-child(2) { animation-delay: 0.18s; }
.hero__line:nth-child(3) { animation-delay: 0.31s; }
.hero__line--accent {
  color: var(--yolk);
  font-style: italic;
  position: relative;
  padding-right: 0.2em;
}
.hero__line--accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.12em;
  background: var(--pink);
  transform: skewX(-8deg);
  z-index: -1;
  opacity: 0.85;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 20px);
  margin: 0;
  color: rgba(244, 241, 228, 0.92);
  opacity: 0;
  animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.45s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.6s forwards;
}

.scoreline {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.1em;
  padding: 8px 14px 8px 10px;
  background: var(--ink);
  color: var(--yolk);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 0 var(--pink);
  opacity: 0;
  animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.75s forwards;
}
.scoreline__team { color: var(--chalk); }
.scoreline__score { color: var(--yolk); }
.scoreline__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--ink);
  background: var(--pink);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.scoreline__livedot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.2s ease-in-out infinite;
}
.scoreline__time {
  font-size: 16px;
  color: rgba(244, 241, 228, 0.55);
  border-left: 2px solid rgba(244, 241, 228, 0.2);
  padding-left: 10px;
}

/* ---------- BUTTONS ---------- */
.btn {
  --btn-bg: var(--pink);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--ink);
}
.btn__arrow {
  transition: transform 0.2s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary { --btn-bg: var(--pink); --btn-fg: var(--ink); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--chalk);
  border-color: var(--chalk);
  box-shadow: 4px 4px 0 0 rgba(244, 241, 228, 0.4);
}
.btn--ghost:hover {
  box-shadow: 6px 6px 0 0 rgba(244, 241, 228, 0.5);
  background: rgba(244, 241, 228, 0.1);
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--ink);
  color: var(--yolk);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: 0.05em;
}
.ticker__track > span { flex-shrink: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
  border-bottom: 2px solid var(--ink);
}
.section--signup {
  background: var(--chalk-dim);
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}
.section__num {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--pink);
  letter-spacing: 0.05em;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 700;
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 22px; }
}

.card {
  position: relative;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translate(-2px, -3px) rotate(-0.4deg);
  box-shadow: 6px 7px 0 0 var(--ink);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 8px 0 8px;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-soft); }
.card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--yolk);
  padding: 2px 10px;
  border-radius: 6px;
}

.card--pink  { background: var(--pink); }
.card--yolk  { background: var(--yolk); }
.card--chalk { background: var(--chalk); }
.card--pitch {
  background: var(--pitch);
  color: var(--chalk);
}
.card--pitch p { color: rgba(244, 241, 228, 0.9); }
.card--pitch .card__tag { background: var(--yolk); color: var(--ink); }

/* ---------- CHIPS ---------- */
.chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--chalk);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.chip__label {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
  border: 2px solid var(--ink);
}
.chip:nth-child(2) .chip__label { background: var(--yolk); }
.chip:nth-child(3) .chip__label { background: var(--pitch); color: var(--chalk); }
.chip:nth-child(4) .chip__label { background: var(--ink); color: var(--yolk); }

.note {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- SIGN-UP ---------- */
.signup__lead {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 0 28px;
}

.waitlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 560px;
}
@media (min-width: 560px) {
  .waitlist { grid-template-columns: 1fr auto; }
  .waitlist__error { grid-column: 1 / -1; }
}

.waitlist__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--chalk);
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.2s ease;
  box-shadow: 4px 4px 0 0 var(--ink);
}
.waitlist__input::placeholder { color: rgba(10,15,12,0.45); }
.waitlist__input:focus {
  background: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 var(--pink);
}
.waitlist__input[aria-invalid="true"] {
  box-shadow: 4px 4px 0 0 var(--pink);
  border-color: var(--pink);
}

.waitlist__error {
  margin: 4px 4px 0;
  color: #b3174e;
  font-size: 14px;
  font-weight: 500;
}

.waitlist__success {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--yolk);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  max-width: 560px;
}
.waitlist__success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 4px;
}
.waitlist__success p { margin: 0; }

.signup__fineprint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--chalk);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer p { margin: 0; }
.footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--yolk);
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Hero is reveal but we want it visible immediately */
.hero { opacity: 1; transform: none; transition: none; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero__line, .hero__sub, .hero__cta, .scoreline { opacity: 1; transform: none; }
  .scoreline__livedot, .kicker__dot { animation: none; }
}
