*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* A class rule setting `display` (e.g. `.sidebar { display: flex }`) has the
   same specificity as the UA stylesheet's `[hidden] { display: none }` and
   comes later in the cascade, so it silently wins and the element stays
   visible. This restores `hidden` as the final word regardless of what any
   component's own `display` rule says. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(45, 212, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(45, 212, 255, 0.05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.mono {
  font-family: var(--font-mono);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

:focus-visible {
  outline: 2px solid var(--radar);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--radar);
  color: #061019;
}

@media (max-width: 860px) {
  section {
    padding: 64px 0;
  }
}
