:root {
  color-scheme: light dark;
  --background: #eeeeee;
  --foreground: #011209;
  --accent: #6E3E0E;
  --muted: #6E4E2F;
  --border: #3d2207;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #010A05;
    --foreground: #ebebef;
    --accent: #c46d18;
    --muted: #6E4E2F;
    --border: #3d2207;
  }
}

html {
  background: var(--background);
  color: var(--foreground);
  font-family: "Doto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 2rem 1rem 4rem;
}

body > header,
body > footer {
  color: var(--muted);
}

body > header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

body > footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1rem;
}

body > header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
}

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

h1,
h2,
h3 {
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
}

[role="doc-subtitle"] {
  display: block;
  font-size: 0.65em;
  font-weight: 500;
  margin-top: 0.25rem;
}

article + article {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.updated,
time {
  color: var(--muted);
}

code {
  font-family: "Jersey 25 Charted", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 1em;
  font-weight: 400;
}
