:root {
  --bg: #fbfaf7;
  --text: #1c1b19;
  --muted: #66625b;
  --line: #dedad2;
  --surface: #f1efe9;
  --accent: #1f5f4a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151513;
    --text: #e9e6df;
    --muted: #9c978d;
    --line: #33312c;
    --surface: #1e1d1a;
    --accent: #7cc4a8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

.kicker {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.6rem 0 0.7rem;
  font-size: 1.2rem;
}

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

.lead { font-size: 1.12rem; }

.note {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

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

code {
  font: 0.88em/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
}

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

td:first-child { white-space: nowrap; }

@media (max-width: 34rem) {
  main { padding-top: 2.5rem; }
  h1 { font-size: 1.7rem; }
  td { display: block; padding-right: 0; }
  td:first-child { padding-bottom: 0; border-bottom: 0; white-space: normal; }
}
