:root {
  color-scheme: dark;
  --bg: #101412;
  --bg-2: #151b18;
  --surface: #1d2420;
  --surface-2: #242d28;
  --line: #354039;
  --text: #f1f6f2;
  --muted: #b6c4ba;
  --subtle: #8fa096;
  --green: #45d17a;
  --green-2: #9cf0b8;
  --green-3: #173f29;
  --blue: #7ab8ff;
  --amber: #ffd47a;
  --danger: #ff8f8f;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(69, 209, 122, 0.07), transparent 390px),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.045), transparent 340px),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  color: #06110a;
  background: var(--green);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 20, 18, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(5px);
}

main {
  min-height: 60vh;
}

.hero,
.page-hero,
.section,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.hero {
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 40px;
  padding: 64px 0 42px;
}

.hero-content {
  max-width: 790px;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--green-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 5vw, 5.6rem);
}

h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-lead,
.page-hero p,
.section-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #06110a;
  background: var(--green);
}

.button-primary:hover {
  color: #06110a;
  background: var(--green-2);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.platform-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(156, 240, 184, 0.18);
  background:
    linear-gradient(90deg, rgba(156, 240, 184, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(156, 240, 184, 0.1) 1px, transparent 1px),
    linear-gradient(140deg, rgba(69, 209, 122, 0.11), rgba(122, 184, 255, 0.07));
  background-size: 46px 46px, 46px 46px, auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.platform-visual::before,
.platform-visual::after {
  position: absolute;
  inset: 54px 36px;
  border: 2px solid rgba(156, 240, 184, 0.28);
  border-radius: var(--radius);
  content: "";
}

.platform-visual::after {
  inset: 112px 86px;
  border-color: rgba(122, 184, 255, 0.22);
}

.visual-phone {
  position: relative;
  z-index: 1;
  width: min(76%, 310px);
  min-height: 256px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(16, 20, 18, 0.86);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.visual-phone img {
  border-radius: 8px;
}

.visual-phone span {
  font-size: 1.45rem;
  font-weight: 900;
}

.visual-phone small {
  color: var(--muted);
}

.court-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, 0.18) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(180deg, transparent 28%, rgba(255, 255, 255, 0.14) 28% 29%, transparent 29% 71%, rgba(255, 255, 255, 0.14) 71% 72%, transparent 72%);
  opacity: 0.55;
}

.page-hero {
  padding: 72px 0 38px;
}

.compact-hero {
  max-width: 900px;
  margin-left: max(16px, calc((100% - var(--max)) / 2));
}

.legal-hero {
  max-width: 900px;
  margin-left: max(16px, calc((100% - 860px) / 2));
}

.section {
  padding: 46px 0;
}

.section-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.section-header {
  margin-bottom: 1.5rem;
}

.feature-grid,
.club-grid,
.info-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-grid li {
  min-height: 104px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.feature-grid li span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 3px;
  background: var(--green);
}

.club-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-grid.full {
  align-items: start;
}

.club-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}

.club-card {
  min-height: 100%;
  padding: 1.15rem;
}

.club-card-top {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.club-card p,
.info-card p,
.legal-document p {
  color: var(--muted);
}

.club-sport {
  margin: 0 0 0.35rem;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 0.34rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.badge-ok {
  color: var(--green-2);
  background: rgba(69, 209, 122, 0.11);
  border-color: rgba(69, 209, 122, 0.36);
}

.badge-warn {
  color: var(--amber);
  background: rgba(255, 212, 122, 0.1);
  border-color: rgba(255, 212, 122, 0.32);
}

.badge-neutral {
  color: var(--muted);
}

.fact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.fact-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact-list div {
  min-width: 0;
}

.fact-list dt {
  color: var(--subtle);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0.15rem 0 0;
  color: var(--text);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.feature-pills li {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(156, 240, 184, 0.25);
  border-radius: var(--radius);
  color: var(--green-2);
  background: rgba(69, 209, 122, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.provider-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.provider-contacts span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
}

.status-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.status-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.status-row span {
  color: var(--subtle);
}

.status-row strong {
  text-align: right;
}

.plain-list {
  display: grid;
  gap: 0.75rem;
  max-width: 920px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plain-list li {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.045);
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 1.15rem;
}

.legal-document {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-document h2 {
  margin-top: 2.2rem;
  font-size: 1.45rem;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.not-found {
  min-height: 55vh;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1rem;
}

.site-footer p,
.footer-note {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-note {
  margin: 2rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .platform-visual {
    min-height: 340px;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.menu-open .site-nav {
    display: grid;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #101412;
    box-shadow: var(--shadow);
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 46px;
  }

  .hero,
  .page-hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .club-grid,
  .feature-grid,
  .info-grid,
  .fact-list.wide {
    grid-template-columns: 1fr;
  }

  .club-card-top,
  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-row strong {
    text-align: left;
  }

  .platform-visual {
    min-height: 300px;
  }

  .visual-phone {
    width: min(86%, 300px);
  }
}

@media (max-width: 420px) {
  .hero,
  .page-hero,
  .section,
  .site-footer,
  .legal-document {
    width: min(100% - 24px, var(--max));
  }

  .section-band {
    padding-inline: 12px;
  }

  .button {
    width: 100%;
  }

  .platform-visual::before,
  .platform-visual::after {
    inset-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
