/* ============================================================
   Sportybot landing — color tokens
   REPLACE colors here if the brand shifts; every rule below
   references these variables instead of raw hex values.
   ============================================================ */
:root {
  --accent: #F2F2F2; /* primary accent — type, lines, light chrome */
  --bg: #CC0000;     /* page background */
  --ink: #1A1A1A;    /* dark surfaces, type on light, device frames */

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;

  --page: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --header-h: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--accent);
  background-color: var(--bg);
  /* stadium hash — repeating motif */
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0 22px,
      rgb(26 26 26 / 0.08) 22px 23px
    );
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* --- Layout helpers --- */
.wrap {
  width: min(var(--page), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--accent);
}

.skip:focus {
  top: 12px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid rgb(242 242 242 / 0.18);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, var(--ink));
}

.header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.82;
}

.nav a:hover,
.nav a.is-current {
  opacity: 1;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(242 242 242 / 0.35);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  margin: 11px auto;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-light {
  background: var(--accent);
  color: var(--ink);
}

.btn-light:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgb(242 242 242 / 0.45);
}

.btn-ghost:hover {
  background: rgb(242 242 242 / 0.08);
}

.btn-ink {
  background: var(--ink);
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  padding: 36px 0 20px;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 13vw, 9.4rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-sub {
  margin-top: 14px;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lead {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.02rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

/* Readiness dial */
.dial {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  position: relative;
}

.dial svg {
  width: 100%;
  height: 100%;
}

.dial-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.dial-score {
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 0.9;
}

.dial-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgb(242 242 242 / 0.28);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip svg {
  width: 14px;
  height: 14px;
}

/* --- Ticker (repeating motif) --- */
.ticker {
  overflow: hidden;
  border-block: 1px solid rgb(242 242 242 / 0.2);
  background: var(--ink);
  color: var(--accent);
  margin: 28px 0 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 36s linear infinite;
}

.ticker span {
  flex: none;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 28px;
  background: var(--bg);
  transform: rotate(45deg);
  vertical-align: 2px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --- Sections --- */
.section {
  padding: 72px 0;
}

.section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.section-lead {
  margin-top: 16px;
  max-width: 62ch;
  opacity: 0.92;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.prose p + p {
  margin-top: 14px;
}

/* --- Dark panel --- */
.panel {
  background: var(--ink);
  color: var(--accent);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
}

.panel-light {
  background: var(--accent);
  color: var(--ink);
}

/* --- Devices / screenshots --- */
.shots-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 20px 4px 36px;
}

.device {
  background: var(--ink);
  border-radius: 28px;
  padding: 9px;
  box-shadow: 0 18px 40px rgb(26 26 26 / 0.28);
}

.device img {
  width: 100%;
  border-radius: 20px;
  background: var(--accent);
}

.phones .device:nth-child(1) { transform: rotate(-5deg) translateY(18px); }
.phones .device:nth-child(2) { transform: rotate(-1.5deg) translateY(0); }
.phones .device:nth-child(3) { transform: rotate(2deg) translateY(14px); }
.phones .device:nth-child(4) { transform: rotate(5.5deg) translateY(26px); }

.shot-caption {
  margin-top: 10px;
  padding: 0 6px 4px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

/* --- Sample readiness card --- */
.card-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.ready-card {
  background: var(--ink);
  color: var(--accent);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.ready-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border: 18px solid rgb(204 0 0 / 0.35);
  border-radius: 50%;
}

.ready-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  position: relative;
}

.ready-score {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.8;
}

.ready-stars svg {
  width: 22px;
  height: 22px;
}

.ready-verdict {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1;
}

.ready-rows {
  display: grid;
  gap: 10px;
}

.ready-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgb(242 242 242 / 0.14);
  font-size: 0.92rem;
}

.ready-row span:first-child {
  opacity: 0.65;
}

.stamp {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.stamp svg {
  width: 36px;
  height: 36px;
}

/* --- Loop steps --- */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.loop-item {
  border: 1px solid rgb(242 242 242 / 0.22);
  border-radius: 18px;
  padding: 20px 18px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loop-item svg {
  width: 36px;
  height: 36px;
}

.loop-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.loop-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loop-item p {
  font-size: 0.92rem;
  opacity: 0.88;
}

/* --- Feature wall --- */
.wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgb(242 242 242 / 0.18);
  border: 1px solid rgb(242 242 242 / 0.18);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
}

.wall article {
  background: var(--bg);
  padding: 22px 22px 24px;
  min-height: 150px;
}

.wall article svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}

.wall h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wall p {
  font-size: 0.92rem;
  opacity: 0.88;
}

/* --- League track --- */
.league {
  margin-top: 28px;
  background: var(--ink);
  border-radius: 20px;
  padding: 22px 22px 26px;
}

.league-bar {
  height: 8px;
  border-radius: 999px;
  background: rgb(242 242 242 / 0.12);
  overflow: hidden;
  margin: 18px 0 22px;
}

.league-bar i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--bg);
}

.league-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.league-steps li {
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.league-steps {
  margin: 0;
  padding: 0;
}

.league-steps li.is-now {
  color: var(--bg);
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq details {
  background: var(--ink);
  border-radius: 16px;
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  padding-bottom: 16px;
  opacity: 0.88;
}

/* --- CTA band --- */
.cta {
  padding: 20px 0 80px;
}

.cta-box {
  background: var(--accent);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.cta-box p {
  margin-top: 12px;
  max-width: 48ch;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: var(--accent);
  padding: 36px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.fineprint {
  margin-top: 22px;
  font-size: 0.78rem;
  opacity: 0.62;
}

/* --- Legal / inner pages --- */
.page-hero {
  padding: 48px 0 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  text-transform: uppercase;
  line-height: 0.9;
}

.doc {
  background: var(--accent);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  margin: 12px 0 72px;
}

.doc h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 28px 0 10px;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  padding-left: 1.15em;
}

.doc li + li {
  margin-top: 8px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 22px;
}

/* --- Contacts --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  margin: 12px 0 80px;
}

.contact-card {
  background: var(--ink);
  border-radius: 24px;
  padding: 26px;
}

.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 16px;
}

.contact-card dt:first-child {
  margin-top: 0;
}

.contact-card dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgb(26 26 26 / 0.18);
  background: var(--accent);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  display: none;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.92rem;
}

.form-note.is-on {
  display: block;
}

/* --- Mobile --- */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
    background: var(--bg);
    border-bottom: 1px solid rgb(242 242 242 / 0.18);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px var(--pad);
    border-top: 1px solid rgb(242 242 242 / 0.12);
  }

  .hero-grid,
  .split,
  .card-stage,
  .cta-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-content: flex-start;
  }

  .loop {
    grid-template-columns: 1fr 1fr;
  }

  .phones {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
  }

  .phones .device {
    flex: 0 0 min(72vw, 280px);
    transform: none;
    scroll-snap-align: start;
  }

  .shots-head {
    flex-direction: column;
    align-items: start;
  }

  .league-steps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
  }

  .league-steps li {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .loop,
  .wall {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .dial-score {
    font-size: 3.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }
}
