:root {
  color-scheme: light dark;
  --background: #f4f1ec;
  --foreground: #1e1c1a;
  --muted: #3f5468;
  --ember: #c5602e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #17181a;
    --foreground: #edeae3;
    --muted: #8a9cad;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

h1 {
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 .up { color: var(--ember); }

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

.muted { color: var(--muted); }

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  background: var(--ember);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ember);
  font-size: 0.875rem;
}

footer a { margin-right: 1rem; }

/* Review markers in drafts. Every one is resolved and removed before publishing:
   `grep -r 'class="todo"' public` must find nothing. */
.todo {
  background: #fff3b0;
  color: #1e1c1a;
  padding: 0 0.25rem;
  font-size: 0.9em;
}

h2 { margin-top: 2rem; font-size: 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.4rem 0.5rem; border-bottom: 1px solid color-mix(in srgb, var(--muted) 30%, transparent); }
