:root {
  color-scheme: dark;
  --night: #090914;
  --panel: #171a2b;
  --text: #f7f8ff;
  --muted: #b9bfd8;
  --cyan: #42d9ff;
  --pink: #ff4fa3;
  --gold: #ffd05a;
  --green: #48d597;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 18%, #1b2042 0, var(--night) 54%);
  color: var(--text);
  font-family: Avenir, Avenir Next, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

nav,
footer {
  color: var(--muted);
}

nav {
  display: flex;
  gap: 18px;
}

nav a,
footer a,
.panel a {
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover,
footer a:hover,
.panel a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100vh - 80px));
  overflow: hidden;
  padding: 80px max(24px, calc((100vw - 1120px) / 2)) 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(9, 9, 20, 0.9));
}

.hero > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(3rem, 5.6rem, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  color: var(--cyan);
  font-size: 1.45rem;
}

h3 {
  color: var(--gold);
}

.lede {
  color: var(--text);
  font-size: 1.35rem;
}

.section,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

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

article,
.panel {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(23, 26, 43, 0.78);
  padding: 24px;
}

article:nth-child(2) h2 {
  color: var(--pink);
}

article:nth-child(3) h2 {
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.panel {
  display: grid;
  gap: 10px;
}

.panel a {
  display: block;
  color: var(--text);
}

.page {
  max-width: 860px;
}

.page h1 {
  font-size: 3rem;
}

.page section {
  padding: 18px 0;
}

li + li {
  margin-top: 10px;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.burst {
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.85;
  background:
    radial-gradient(circle, currentColor 0 3px, transparent 4px),
    repeating-conic-gradient(from 0deg, transparent 0 8deg, currentColor 9deg 10deg, transparent 11deg 20deg);
  -webkit-mask: radial-gradient(circle, transparent 0 14%, #000 15% 62%, transparent 63%);
  mask: radial-gradient(circle, transparent 0 14%, #000 15% 62%, transparent 63%);
}

.burst-one {
  top: 15%;
  right: 10%;
  color: var(--pink);
}

.burst-two {
  top: 38%;
  right: 27%;
  width: 180px;
  color: var(--cyan);
}

.burst-three {
  bottom: 14%;
  right: 5%;
  width: 220px;
  color: var(--gold);
}

@media (max-width: 760px) {
  .site-header,
  footer,
  .grid,
  .split {
    display: grid;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 640px;
    padding-top: 70px;
  }

  h1 {
    font-size: 3.7rem;
  }

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

  .burst {
    opacity: 0.35;
  }
}
