:root {
  color-scheme: dark;
  --navy: #071525;
  --navy-2: #0c2238;
  --panel: #102a44;
  --ice: #c5dceb;
  --muted: #8eabc0;
  --line: #5ec8ff;
  --accent: #ff7a2a;
  --ok: #3dce8b;
  --warn: #e8c04a;
  --text: #f4f7fa;
  --max: 980px;
  --surface: rgba(16, 42, 68, 0.72);
  --border: rgba(197, 220, 235, 0.12);
  --input-bg: #071525;
  --input-border: rgba(197, 220, 235, 0.2);
  --heading-strong: #fff;
  --link-hover: #fff;
  --ghost-border: rgba(197, 220, 235, 0.35);
  --checkbox-border: rgba(197, 220, 235, 0.65);
  --btn-text: #140b04;
  --glow-cyan: rgba(94, 200, 255, 0.16);
  --glow-orange: rgba(255, 122, 42, 0.08);
  --team-logo-bg: rgba(255, 255, 255, 0.94);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23071525' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --navy: #eef4f8;
    --navy-2: #dce8f2;
    --panel: #ffffff;
    --ice: #2a4458;
    --muted: #5a7388;
    --line: #0a6ea8;
    --accent: #e86a14;
    --ok: #1a8f5c;
    --warn: #9a7a12;
    --text: #0c2238;
    --surface: #ffffff;
    --border: rgba(12, 34, 56, 0.12);
    --input-bg: #ffffff;
    --input-border: rgba(12, 34, 56, 0.22);
    --heading-strong: #071525;
    --link-hover: #071525;
    --ghost-border: rgba(12, 34, 56, 0.28);
    --checkbox-border: rgba(12, 34, 56, 0.45);
    --glow-cyan: rgba(10, 110, 168, 0.1);
    --glow-orange: rgba(232, 106, 20, 0.1);
    --team-logo-bg: #ffffff;
    --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--glow-cyan), transparent 55%),
    radial-gradient(800px 400px at -10% 20%, var(--glow-orange), transparent 50%),
    var(--navy);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.5;
}

a { color: var(--line); }
a:hover { color: var(--link-hover); }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.brand strong { display: block; letter-spacing: 0.04em; }
.brand span { color: var(--muted); font-size: 13px; }

nav { display: flex; gap: 18px; font-size: 14px; }
nav a { color: var(--ice); text-decoration: none; }
nav a:hover { color: var(--link-hover); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--btn-text);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.08); color: var(--btn-text); }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.btn:disabled:hover {
  filter: none;
  color: var(--btn-text);
}

.btn-ghost {
  background: transparent;
  color: var(--ice);
  box-shadow: inset 0 0 0 1px var(--ghost-border);
}

.hero, .block { padding: 40px 0; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; }
h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 44px); }
h2 { margin: 0 0 14px; font-size: 28px; }
h3 { margin: 0 0 8px; font-size: 18px; }

.lead, .answer {
  max-width: 42rem;
  color: var(--ice);
  font-size: 18px;
}

.answer { margin-bottom: 22px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.fact, .card, .faq details, form, .note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.fact { padding: 16px; overflow: visible; }
.fact b { display: block; font-size: 26px; color: var(--heading-strong); }
.fact > span { color: var(--muted); font-size: 13px; }

.fact-teams .team-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.team-logo-wrap {
  position: relative;
  display: inline-flex;
}

.team-logo-wrap::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--navy-2);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
}

.team-logo-wrap:hover::after,
.team-logo-wrap:focus-within::after {
  opacity: 1;
  visibility: visible;
}

.fact-teams .team-logos img {
  width: 48px;
  height: 48px;
  display: block;
  padding: 6px;
  background: var(--team-logo-bg);
  border-radius: 10px;
}

.fact-teams .team-logos img.team-logo--blue {
  box-shadow: inset 0 0 0 1px rgba(0, 32, 91, 0.18);
}

.grid-2, .grid-3 {
  display: grid;
  gap: 14px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.card { padding: 18px; }
.card p {
  margin: 0;
  color: var(--ice);
  text-wrap: pretty;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th { color: var(--muted); font-weight: 600; }

.faq details { padding: 4px 16px; }
.faq details + details { margin-top: 8px; }
.faq summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
}
.faq p { margin: 0 0 14px; color: var(--ice); }

label { display: block; margin: 0 0 6px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

.choices {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.survey {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.survey legend {
  padding: 0;
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--heading-strong);
}

.hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.choices label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ice);
  cursor: pointer;
}

.choices input[type="checkbox"],
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid var(--checkbox-border);
  border-radius: 4px;
  background: var(--input-bg);
  cursor: pointer;
}

.choices input[type="checkbox"]:focus-visible,
.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--line);
  outline-offset: 2px;
}

.choices input[type="checkbox"]:checked,
.consent input[type="checkbox"]:checked {
  background: var(--line);
  border-color: var(--line);
  background-image: var(--check-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.consent a { color: var(--line); }

form { padding: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.note { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.updated { color: var(--line); }

@media (max-width: 800px) {
  nav { display: none; }
  .facts, .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
}
