/* One stylesheet, no fonts or scripts from anywhere else — the site sets no
   cookies and loads no third-party resources, which is also what the privacy
   policy claims. Keep it that way. */
:root {
  --bg: #fbfaf8;
  --fg: #1c1b19;
  --muted: #5f5c56;
  --rule: #e3e0da;
  --link: #8a5a2b;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f;
    --fg: #ece9e3;
    --muted: #a09c94;
    --rule: #2c2a25;
    --link: #e0a86a;
    --card: #1b1a16;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 1.5rem 5rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 42rem; margin: 0 auto; }
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
.brand {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
nav a { margin-left: 1.25rem; font-size: 0.9rem; color: var(--muted); text-decoration: none; }
nav a:hover, a:hover { text-decoration: underline; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; }
p, li { color: var(--fg); }
.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
a { color: var(--link); }
ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.card h2 { margin-top: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  word-break: break-all;
}
.meta { color: var(--muted); font-size: 0.9rem; }
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.875rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
footer a { color: var(--muted); }
