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

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

h1,
h2 {
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1;
}

h2 {
  margin: 36px 0 8px;
  font-size: 1.25rem;
}

p,
li {
  line-height: 1.65;
}

.updated {
  color: #6f6b63;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #15171a;
    color: #eef2f1;
  }

  .updated {
    color: #aeb6b9;
  }
}
