/* PIXKIT landing — night-pitch palette matched to the iOS app */
:root {
  --pitch: #060910;
  --ink: #0a1020;
  --card: #12182a;
  --card-2: #171e32;
  --line: #1c2640;
  --line-soft: rgba(255, 255, 255, 0.08);
  --lime: #d4ff00;
  --lime-dim: rgba(212, 255, 0, 0.14);
  --blue: #0a5cff;
  --blue-deep: #0846c2;
  --text: #f4f6fb;
  --muted: #8b93a7;
  --draw: #f5a524;
  --loss: #f4728a;
  --win: #d4ff00;
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1120px;
  --header: 72px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--pitch);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--lime);
  color: #061008;
  padding: 8px 14px;
  border-radius: 999px;
}

/* Pitch grain + floodlights */
.pitch-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pitch-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(10, 92, 255, 0.28), transparent 60%),
    radial-gradient(700px 380px at 92% -8%, rgba(212, 255, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #08101c 0%, var(--pitch) 48%, #05070e 100%);
  z-index: -2;
}

.pitch-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(50% - 1px), rgba(212, 255, 0, 0.12) 50%, transparent calc(50% + 1px)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(255, 255, 255, 0.025) 80px
    );
}

/* Header — LED board */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 16, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-name span {
  color: var(--lime);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--card);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #061008;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav .header-cta {
  display: none;
}

.header-cta:hover {
  filter: brightness(1.05);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Stadium ribbon */
.ribbon {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080d18;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon 28s linear infinite;
}

.ribbon-track span {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  word-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ribbon-track b {
  color: var(--lime);
  font-weight: 700;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

@keyframes ribbon {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Minute badge */
.minute {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.minute small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.minute strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  line-height: 1;
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.kicker i {
  width: 18px;
  height: 2px;
  background: var(--lime);
  display: inline-block;
}

.display {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(72px, 12vw, 128px);
  margin: 8px 0 18px;
}

.hero .lede {
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-lime {
  background: var(--lime);
  color: #061008;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.chip.on {
  background: var(--lime);
  color: #061008;
  border-color: var(--lime);
}

.chip svg {
  width: 14px;
  height: 14px;
}

.hero-phones {
  position: relative;
  height: 520px;
}

.device {
  position: absolute;
  width: 230px;
  padding: 8px;
  border-radius: 34px;
  background: #0b101c;
  border: 1px solid #2a3558;
  box-shadow: var(--shadow), 0 0 0 8px rgba(10, 92, 255, 0.08);
}

.device img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #070b14;
}

.device-a {
  left: 18px;
  top: 36px;
  z-index: 2;
  transform: rotate(-6deg);
}

.device-b {
  right: 8px;
  top: 92px;
  z-index: 3;
  transform: rotate(7deg);
  width: 248px;
}

.device-c {
  display: none;
}

/* Conditions console */
.console {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}

.console-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.console-head p {
  color: var(--muted);
  font-size: 14px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #1c2438;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.pill[aria-pressed="true"] {
  background: var(--lime);
  color: #061008;
}

.console-out {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #0c1220;
  border: 1px solid var(--line);
  min-height: 72px;
}

.console-out strong {
  display: block;
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Pitch map */
.pitch-map {
  position: relative;
  border-radius: 32px;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 92, 255, 0.16), transparent 42%),
    linear-gradient(180deg, #0b1530, #08101f);
  border: 2px solid rgba(212, 255, 0, 0.22);
  overflow: hidden;
}

.pitch-map svg.pitch-outline {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
}

.zones {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 36px;
  min-height: 520px;
}

.zone {
  background: rgba(6, 9, 16, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.zone.center {
  grid-column: 2;
  grid-row: 2;
  background: var(--lime);
  color: #061008;
  border-color: var(--lime);
}

.zone .ico {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.zone h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.zone p {
  font-size: 13px;
  color: var(--muted);
}

.zone.center p {
  color: #31420a;
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .copy { order: 2; }
.split.reverse .visual { order: 1; }

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.feature-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--muted);
}

.feature-list ul {
  margin: 0;
  padding: 0;
}

.feature-list .tick {
  width: 28px;
  height: 28px;
}

/* Packing shelves */
.shelves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.shelf {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 220px;
}

.shelf:nth-child(2) {
  background: var(--blue);
  border-color: var(--blue);
}

.shelf:nth-child(2) p,
.shelf:nth-child(2) li {
  color: rgba(255, 255, 255, 0.86);
}

.shelf h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 10px 0 12px;
}

.shelf ol,
.shelf ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.shelf li + li {
  margin-top: 6px;
}

/* League table */
.league {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.league-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  background: var(--blue);
}

.league-head span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.row {
  display: grid;
  grid-template-columns: 36px 1fr 70px 90px 100px;
  gap: 12px;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.row.lead {
  background: var(--lime-dim);
}

.pos {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #061008;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.wdl {
  display: flex;
  gap: 6px;
}

.wdl i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
}

.w { background: var(--lime); color: #061008; }
.d { background: var(--draw); color: #2a1600; }
.l { background: var(--loss); color: #3a0712; }

.stars {
  color: var(--lime);
  letter-spacing: 1px;
}

/* Screenshot rail */
.rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
}

.rail .device {
  position: static;
  flex: 0 0 240px;
  scroll-snap-align: start;
  transform: none;
}

.rail::-webkit-scrollbar {
  height: 6px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}

/* Match cards */
.matches {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.match {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
}

.match.up {
  background: var(--blue);
  border-color: var(--blue);
}

.match .score {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
}

.match .tag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.match small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.match.up small {
  color: rgba(255, 255, 255, 0.75);
}

/* Disclaimer */
.note {
  background: var(--card);
  border-left: 4px solid var(--lime);
  border-radius: 0 20px 20px 0;
  padding: 20px 22px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: #05070e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--lime);
}

.legal-bar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Legal pages */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: clamp(48px, 8vw, 80px);
  margin: 8px 0 12px;
}

.legal .meta {
  color: var(--muted);
  margin-bottom: 36px;
}

.legal-body {
  max-width: 72ch;
}

.legal-body h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 36px 0 10px;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
}

.legal-body strong {
  color: var(--text);
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-top: 32px;
}

.vcard,
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.vcard dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 16px;
}

.vcard dd {
  margin: 4px 0 0;
  font-size: 18px;
}

.vcard a:hover {
  color: var(--lime);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  background: #0c1220;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--lime);
}

.form-status {
  min-height: 24px;
  margin-top: 10px;
  color: var(--lime);
  font-size: 14px;
}

/* Stud wallpaper */
.studs {
  position: relative;
}

.studs::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23d4ff00'/%3E%3Ccircle cx='36' cy='28' r='3' fill='%23d4ff00'/%3E%3Ccircle cx='60' cy='12' r='3' fill='%23d4ff00'/%3E%3Ccircle cx='12' cy='52' r='3' fill='%23d4ff00'/%3E%3Ccircle cx='60' cy='52' r='3' fill='%23d4ff00'/%3E%3C/svg%3E");
}

/* Page inner header */
.page-hero {
  padding: 48px 0 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy,
  .split.reverse .visual {
    order: unset;
  }

  .hero-phones {
    height: auto;
    min-height: 0;
    display: flex;
    justify-content: center;
    padding: 8px 0 12px;
  }

  .device-a,
  .device-b {
    position: static;
    width: 230px;
    transform: none;
  }

  .device-b {
    display: none;
  }

  .zones {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .zone.center {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .row {
    grid-template-columns: 28px 1fr 64px;
  }

  .row .wdl,
  .row .hide-sm {
    display: none;
  }

  .shelves {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    top: 80px;
    z-index: 60;
    background: #171e32;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav .header-cta {
    display: inline-flex;
    margin: 8px 6px 4px;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .match {
    grid-template-columns: 1fr auto;
  }

  .minute {
    width: 54px;
    height: 54px;
    right: 12px;
    bottom: 12px;
  }

  .legal-bar {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
}
