:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #5f6368;
  --line: #d2d2d7;
  --link: #0a58ca;
  --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #3a3a3c;
    --link: #6ea8fe;
    --bg: #111113;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main, footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  padding-top: 2.5rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
}

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

a {
  color: var(--link);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

code {
  font-size: 0.85em;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}
