
:root {
  --paper: #faf9f5;
  --card: #ffffff;
  --ink: #22261f;
  --muted: #68705f;
  --line: #e4e2d8;
  --turf: #2c6e3f;
  --turf-deep: #225732;
  --on-turf: #ffffff;
  --alert: #93382b;
  --banner-bg: #fdf1dc;
  --banner-line: #b06900;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191b17;
    --card: #20231e;
    --ink: #e8e6dd;
    --muted: #9aa18f;
    --line: #343830;
    --turf: #6cb97f;
    --turf-deep: #85c795;
    --on-turf: #141711;
    --alert: #d98a76;
    --banner-bg: #2e2617;
    --banner-line: #c98d33;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  background: var(--paper);
  color: var(--ink);
}
header.site {
  display: flex;
  align-items: baseline;
  padding: 1.1rem 0 0.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
a.wordmark {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
a.wordmark::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.45em;
  background: var(--turf);
  border-radius: 2px;
}
h1 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 0 0 0.25rem; }
p { margin: 0.55rem 0; }
ol, ul { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }
a { color: var(--turf); }
a:hover { color: var(--turf-deep); }
code {
  background: var(--line);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
s { color: var(--muted); }
.muted { color: var(--muted); }
.error { color: var(--alert); }
.ok { color: var(--turf); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}
.card h2, .card h3 { margin-top: 0; }
nav.links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 1rem 0; }
label { display: block; margin: 0.9rem 0 0.25rem; font-weight: 600; font-size: 0.92rem; }
label:has(input[type="checkbox"]) { font-weight: 400; margin: 0.4rem 0; }
input, select, button { font: inherit; }
input:not([type="checkbox"]):not([type="hidden"]), select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--turf);
  outline-offset: 1px;
}
form { margin: 1rem 0; }
button, a.button {
  display: inline-block;
  background: var(--turf);
  border: 1px solid var(--turf);
  color: var(--on-turf);
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.6rem;
}
button:hover, a.button:hover { background: var(--turf-deep); border-color: var(--turf-deep); }
button.quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 400;
}
button.quiet:hover { background: var(--line); }
.banner {
  border: 1px solid var(--banner-line);
  background: var(--banner-bg);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
body.wide { max-width: 66rem; }
.placeholder { text-align: center; padding: 2rem 1rem; }
.placeholder img { width: 88px; height: auto; }
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  column-gap: 2.5rem;
  align-items: start;
}
.cols h2:first-child { margin-top: 0.5rem; }
