:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #f4f6f8;
  color: #1b2430;
}

body {
  margin: 0;
  padding: 3rem 1.25rem;
}

main {
  box-sizing: border-box;
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d8dee6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.08);
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

p,
ul {
  max-width: 66ch;
}

a {
  color: #075cc9;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid #075cc9;
  outline-offset: 3px;
}

.eyebrow {
  margin: 0;
  color: #516070;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.15rem;
}

.updated {
  color: #516070;
  font-size: 0.9rem;
}

.back {
  margin-top: 2.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0f1720;
    color: #e6edf5;
  }

  main {
    border-color: #334155;
    background: #18222f;
    box-shadow: none;
  }

  a {
    color: #8fc3ff;
  }

  a:focus-visible {
    outline-color: #8fc3ff;
  }

  .eyebrow,
  .updated {
    color: #aab8c8;
  }
}
