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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(43, 217, 242, 0.12), transparent 34rem),
    #08090b;
  line-height: 1.7;
}

a {
  color: #2bd9f2;
}

a:focus-visible {
  outline: 3px solid #2bd9f2;
  outline-offset: 4px;
}

.site-header,
.site-footer,
main {
  width: min(100% - 32px, 800px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 20px;
}

.site-header img {
  display: block;
  width: 150px;
  height: auto;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-header a,
.site-footer a {
  font-weight: 700;
}

main {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #242a2e;
  border-radius: 18px;
  background: rgba(20, 23, 27, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

h1,
h2 {
  line-height: 1.25;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 6vw, 3rem);
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.3rem;
}

p,
li {
  color: #d1d5db;
}

.updated {
  margin-top: 0;
  color: #9ca3af;
}

.site-footer {
  padding-block: 24px 40px;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
  }
}

@media print {
  :root,
  body,
  main {
    background: #fff;
    color: #000;
  }

  p,
  li,
  .updated,
  .site-footer {
    color: #222;
  }

  main {
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .site-header nav {
    display: none;
  }
}
