:root {
  --text: #1f2328;
  --muted: #59636e;
  --background: #ffffff;
  --link: #0b57d0;
  --rule: #d1d9e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6edf3;
    --muted: #9198a1;
    --background: #0d1117;
    --link: #6ea8fe;
    --rule: #3d444d;
  }
}

* {
  box-sizing: border-box;
}

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

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

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

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

.meta,
footer {
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

button {
  font: inherit;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  background: var(--background);
  color: var(--text);
  cursor: pointer;
}

#outcome {
  font-weight: 600;
}
