:root {
  color-scheme: dark;
  --bg: #03122b;
  --bg-2: #051d44;
  --panel: #08295f;
  --panel-2: #0b397d;
  --text: #eef8ff;
  --muted: #aac7e6;
  --line: rgba(89, 190, 255, 0.28);
  --cyan: #22d9ff;
  --green: #11d66b;
  --gold: #ffd05c;
  --shadow: 0 24px 80px rgba(0, 9, 30, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 217, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(17, 214, 107, 0.13), transparent 28rem),
    linear-gradient(180deg, #020a18 0%, var(--bg) 42%, #020815 100%);
}

a {
  color: #75e6ff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 13, 35, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner,
.breadcrumbs,
.page-content,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 172px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(34, 217, 255, 0.25));
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: #062455;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: var(--text);
  content: "";
}

.burger span::before {
  transform: translateY(-7px);
}

.burger span::after {
  transform: translateY(5px);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #d7efff;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  background: rgba(34, 217, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 217, 255, 0.35);
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(34, 217, 255, 0.55);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(180deg, #0d57ba, #083778);
  box-shadow: 0 0 22px rgba(34, 217, 255, 0.18);
}

.btn--register {
  border-color: rgba(17, 214, 107, 0.8);
  background: linear-gradient(180deg, #16d96c, #0b8c49);
}

.breadcrumbs {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #5fa4d6;
}

.page-content {
  padding: 22px 0 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  align-content: end;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(34, 217, 255, 0.32);
  border-radius: 8px;
  background: #061a3f var(--hero-image) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 8, 22, 0.92) 0%, rgba(2, 15, 40, 0.72) 38%, rgba(1, 8, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(1, 8, 22, 0.82), transparent 52%);
}

.hero > * {
  position: relative;
  min-width: 0;
  width: min(100%, 760px);
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  max-width: 840px;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 36px);
}

h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

p {
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero__links a {
  padding: 10px 14px;
  border: 1px solid rgba(34, 217, 255, 0.45);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  background: rgba(4, 34, 82, 0.72);
}

.toc {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 46, 105, 0.92), rgba(4, 21, 52, 0.92));
  box-shadow: 0 12px 38px rgba(0, 9, 30, 0.35);
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
}

.toc summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(34, 217, 255, 0.14);
  color: #ffffff;
  font-size: 24px;
}

.toc[open] summary::after {
  content: "-";
}

.toc h2 {
  margin: 0;
  font-size: 24px;
}

.toc ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 18px;
  padding: 0 20px 20px;
  margin: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(117, 230, 255, 0.14);
}

section:not(.hero) {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(89, 190, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 22, 52, 0.74);
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 12, 30, 0.46);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(89, 190, 255, 0.18);
  text-align: left;
  vertical-align: top;
}

th {
  width: 34%;
  color: #ffffff;
  background: rgba(34, 217, 255, 0.08);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

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

.pros-cons > div {
  padding: 20px;
  border: 1px solid rgba(89, 190, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 32, 77, 0.74);
}

.faq details {
  margin: 12px 0;
  border: 1px solid rgba(89, 190, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 13, 35, 0.48);
}

.faq summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

.faq details p {
  padding: 0 18px 18px;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 32px 0;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.age-note {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .header-inner {
    width: calc(100vw - 22px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    position: relative;
    padding-right: 42px;
  }

  .site-header .logo {
    grid-column: 1;
  }

  .burger {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    border-color: rgba(117, 230, 255, 0.9);
    background: #0d57ba;
  }

  .burger span,
  .burger span::before,
  .burger span::after {
    width: 18px;
  }

  .burger span::before {
    transform: translateY(-6px);
  }

  .burger span::after {
    transform: translateY(4px);
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 13px 14px;
    background: rgba(7, 35, 82, 0.8);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .header-actions > * {
    min-width: 0;
  }

  .main-nav {
    grid-column: 1 / -1;
  }

  .btn {
    min-width: 0;
    min-height: 36px;
    padding-inline: 4px;
    font-size: 11px;
  }

  .hero {
    min-height: 520px;
    background-position: 62% center;
  }

  .pros-cons,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .breadcrumbs,
  .page-content,
  .footer-inner {
    width: calc(100% - 22px);
  }

  .logo img {
    width: 72px;
    height: 38px;
  }

  .hero {
    min-height: 560px;
    padding: 24px 18px;
  }

  .hero > * {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 28px;
    word-break: break-word;
  }

  .hero__links {
    flex-direction: column;
  }

  .hero__links a {
    width: 100%;
  }

  section:not(.hero) {
    padding: 20px 16px;
  }
}

@media (max-width: 360px) {
  .logo img {
    width: 72px;
  }

  .btn {
    font-size: 10px;
  }
}
