:root {
  color-scheme: dark;
  --blue: #1479be;
  --blue-deep: #004a93;
  --blue-rgb: 20, 121, 190;
  --red: #ed1c24;
  --red-dark: #c9161d;
  --red-rgb: 237, 28, 36;
  --background: #090d13;
  --panel: #121923;
  --panel-strong: #171f2a;
  --text: #f8fafc;
  --muted: #9ca8b7;
  --line: rgba(255, 255, 255, 0.1);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(9, 13, 19, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

.brand {
  width: 196px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-highlight {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.site-nav .nav-highlight:hover,
.site-nav .nav-highlight:focus-visible {
  border-color: var(--red);
  background: rgba(var(--red-rgb), 0.1);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(var(--red-rgb), 0.12), transparent 34%),
    linear-gradient(245deg, rgba(var(--blue-rgb), 0.22), transparent 38%),
    var(--background);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -160px 42%;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 92px 86px;
}

.kicker,
.section-label {
  margin: 0;
  color: #bbc4cf;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker span {
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 18px 0 20px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(3.7rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-statement {
  max-width: 780px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue);
  background: rgba(var(--blue-rgb), 0.12);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 42px;
  color: #c4ccd5;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.12);
}

.section {
  padding-block: 92px;
}

.section-intro {
  background: #0c1118;
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.school-grid,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.section h2,
.policy-content h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lede {
  margin: 0;
  color: #c4ccd5;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
}

.section-features {
  background: var(--background);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -42px;
  bottom: -42px;
  border: 16px solid rgba(var(--blue-rgb), 0.13);
  border-radius: 50%;
}

.feature-card:nth-child(2)::after {
  border-color: rgba(var(--red-rgb), 0.14);
}

.feature-number {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 54px 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.school-band {
  border-block: 1px solid var(--line);
  background: var(--panel-strong);
}

.school-grid {
  align-items: center;
}

.sport-mark {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--blue-rgb), 0.34), transparent 52%),
    linear-gradient(315deg, rgba(var(--red-rgb), 0.24), transparent 48%),
    #0b1119;
}

.sport-mark::before,
.sport-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.sport-mark::before {
  width: 300px;
  height: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sport-mark::after {
  width: 90px;
  height: 90px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sport-mark-score {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.sport-mark-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.sport-mark-play::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--blue);
}

.sport-mark-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.school-grid > div:last-child > p:not(.section-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

.school-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.school-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: #d8dee6;
  font-weight: 700;
}

.school-list span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
}

.contact-section {
  background:
    linear-gradient(100deg, rgba(var(--blue-rgb), 0.18), transparent 42%),
    var(--background);
}

.contact-inner {
  align-items: end;
}

.contact-inner p:not(.section-label) {
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-email {
  justify-self: end;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070a0f;
}

.footer-inner {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  width: 150px;
}

.footer-inner > a:not(.footer-brand) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-inner p {
  grid-column: 1 / -1;
  margin: -18px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #717d8b;
  font-size: 0.75rem;
}

.policy-main {
  background: #0c1118;
}

.policy-shell {
  max-width: 820px;
}

.policy-hero {
  padding-block: 78px 56px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(var(--red-rgb), 0.12), transparent 40%),
    linear-gradient(245deg, rgba(var(--blue-rgb), 0.16), transparent 42%),
    var(--background);
}

.policy-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(3rem, 8vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.updated {
  margin: 0;
  color: var(--muted);
}

.policy-content {
  padding-block: 42px 92px;
}

.policy-content section {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.policy-content p,
.policy-content li {
  color: #bcc5cf;
}

.policy-content p {
  margin: 0 0 14px;
}

.policy-content ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.policy-content a:not(.button) {
  color: #6eb7e8;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.api-section {
  margin-block: 26px;
  padding: 30px !important;
  border: 1px solid rgba(var(--blue-rgb), 0.42) !important;
  border-left: 4px solid var(--blue) !important;
  border-radius: 8px;
  background: rgba(var(--blue-rgb), 0.08);
}

.api-section .section-label {
  margin-bottom: 8px;
  color: #75bde9;
}

.policy-back {
  margin: 38px 0 0 !important;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .brand {
    width: 168px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding-inline: 11px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    padding-block: 72px 64px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.1rem);
  }

  .hero-statement {
    font-size: 1.45rem;
  }

  .section {
    padding-block: 68px;
  }

  .intro-grid,
  .school-grid,
  .contact-inner,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .school-grid,
  .contact-inner {
    gap: 34px;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    min-height: 230px;
  }

  .feature-card h3 {
    margin-top: 38px;
  }

  .sport-mark {
    min-height: 280px;
  }

  .contact-email {
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 30px;
  }

  .footer-inner p {
    grid-column: auto;
    margin: 0;
  }

  .api-section {
    padding: 22px !important;
  }
}

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