:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #101114;
  color: #f4f5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 229, 255, 0.11), transparent 32rem),
    #101114;
  color: #f4f5f7;
  line-height: 1.65;
}

a {
  color: #5ce7f7;
}

a:hover,
a:focus-visible {
  color: #a7f5ff;
}

.site-header,
.site-footer {
  border-color: #292c33;
  background: rgba(16, 17, 20, 0.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #292c33;
  backdrop-filter: blur(14px);
}

.nav,
.footer-inner,
main {
  width: min(100% - 32px, 880px);
  margin-inline: auto;
}

.nav,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  min-height: 60px;
}

.brand {
  margin-right: auto;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav a:not(.brand),
.footer-inner a {
  color: #c2c5cc;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: #5ce7f7;
}

main {
  padding-block: 64px 80px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #5ce7f7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.lede {
  max-width: 720px;
  margin: 18px 0 30px;
  color: #c2c5cc;
  font-size: 1.05rem;
}

.meta,
.note {
  color: #a9adb6;
  font-size: 0.9rem;
}

.note {
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid #343842;
  border-radius: 12px;
  background: #191b20;
}

section {
  scroll-margin-top: 76px;
}

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

.site-footer {
  border-top: 1px solid #292c33;
}

.footer-inner {
  min-height: 76px;
  color: #a9adb6;
  font-size: 0.84rem;
}

@media (max-width: 620px) {
  .nav {
    gap: 11px;
    padding-block: 12px;
  }

  .brand {
    width: 100%;
  }

  main {
    padding-top: 42px;
  }
}

@media (prefers-color-scheme: light) {
  :root,
  body {
    background: #f6f7f9;
    color: #17191d;
  }

  body {
    background:
      radial-gradient(circle at top right, rgba(0, 184, 212, 0.1), transparent 32rem),
      #f6f7f9;
  }

  .site-header,
  .site-footer {
    border-color: #dfe2e8;
    background: rgba(246, 247, 249, 0.92);
  }

  .brand {
    color: #17191d;
  }

  .nav a:not(.brand),
  .footer-inner a,
  .lede,
  .meta,
  .footer-inner {
    color: #535965;
  }

  .note {
    border-color: #d7dbe3;
    background: #fff;
    color: #535965;
  }
}
