:root {
  --bg: #10081c;
  --bg-2: #1b1030;
  --line: #3d2862;
  --text: #f4effc;
  --muted: #c4b7dc;
  --cyan: #3ad7ff;
  --pink: #ff4fbf;
  --gold: #ffc857;
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-underline-offset: 3px; }

a:hover { color: #fff; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(16, 8, 28, 0.94);
  border-bottom: 1px solid var(--line);
}

.header__inner,
.footer__inner,
.band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header__inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img { display: block; width: 168px; height: auto; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  padding: 8px 12px;
}

.panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.nav a[aria-current="page"] { color: var(--gold); }

.actions { display: flex; gap: 8px; }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.2;
}

.btn--pink { background: var(--pink); color: #1a0614; }

.btn--pink:hover { background: #ffd0f1; color: #1a0614; }

.btn--line { border: 1px solid var(--cyan); color: var(--cyan); }

.btn--line:hover { background: var(--cyan); color: #071018; }

main { padding: 28px 0 64px; }

.band { width: min(var(--max), calc(100% - 32px)); }

h1, h2, h3 { line-height: 1.2; font-weight: 750; }

h1 { font-size: 40px; margin: 12px 0 16px; }

h2 { font-size: 28px; margin: 40px 0 12px; }

h3 { font-size: 21px; margin: 26px 0 8px; }

.lead { font-size: 20px; color: var(--muted); }

.hero-visual {
  margin: 20px 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.crumbs { color: var(--muted); font-size: 14px; margin: 0; }

.crumbs a { color: var(--muted); }

.facts, .sheet {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
}

.facts th,
.facts td,
.sheet th,
.sheet td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.facts th,
.sheet th { color: var(--gold); font-weight: 650; }

ul, ol { padding-left: 22px; }

li + li { margin-top: 6px; }

.note {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
  color: var(--muted);
}

.related { margin-top: 28px; }

.updated { color: var(--muted); font-size: 14px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 15px;
}

.footer a { color: var(--text); }

.footer img { width: 168px; height: auto; }

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }

.footer li { margin: 6px 0; }

.age {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  h1 { font-size: 32px; }
  .nav-btn { display: inline-block; }
  .panel { display: none; }
  .nav-toggle:checked ~ .panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #160b28;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    gap: 12px;
  }
  .footer__cols { grid-template-columns: 1fr; }
}
