:root {
  color-scheme: dark;
  --bg: #0a080c;
  --panel: #151018;
  --panel-2: #1d1520;
  --text: #f7eff7;
  --muted: #c9b7c6;
  --accent: #ff66cc;
  --accent-2: #58d5ff;
  --line: rgba(255, 102, 204, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 102, 204, 0.14), transparent 28rem),
    linear-gradient(180deg, #0a080c 0%, #100b12 50%, #0a080c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(10, 8, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 102, 204, 0.14);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.section {
  padding: 6rem 5vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-copy,
.section-head,
.levels,
.timeline,
.item-list,
.cards {
  max-width: 1180px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  color: #fff;
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

strong {
  color: var(--text);
}

.visual {
  margin: 0;
}

.visual img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 102, 204, 0.28), rgba(88, 213, 255, 0.16)),
    #18101b;
  box-shadow: 0 22px 70px rgba(255, 102, 204, 0.16);
}

figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 0.75rem;
}

.section-head {
  margin: 0 auto 2rem;
}

.inline-visual {
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.card,
.levels article,
.item-list article,
.timeline article,
.legal-card {
  background: rgba(21, 16, 24, 0.78);
  border: 1px solid rgba(255, 102, 204, 0.18);
  border-radius: 8px;
  padding: 1.25rem;
}

.dark-band {
  background: linear-gradient(180deg, rgba(255, 102, 204, 0.08), rgba(88, 213, 255, 0.05));
  border-block: 1px solid var(--line);
}

.levels {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

time {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.footer {
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer a {
  color: var(--accent);
  font-weight: 800;
}

.legal-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 5vw 2rem;
}

.legal-grid {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 5vw 6rem;
}

@media (max-width: 980px) {
  .hero,
  .grid,
  .item-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 4.5rem;
  }
}

@media (max-width: 760px) {
  .burger {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: #120d15;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

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

  .nav a {
    padding: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .visual img {
    min-height: 240px;
  }
}
