:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
}

body {
  margin: 0;
}

.container {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
  margin-bottom: 40px;
}

.site-title {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.document,
.home {
  padding-bottom: 64px;
}

h1, h2, h3 {
  line-height: 1.4;
}

h2 {
  margin-top: 2.2em;
}

a {
  color: inherit;
}

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

.legal-links {
  padding-left: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #eee;
    background: #151515;
  }

  .site-header {
    border-bottom-color: #333;
  }

  .updated {
    color: #aaa;
  }
}
