:root {
  --bg: #fafaf9;
  --card: #ffffff;
  --text: #18181b;
  --muted: #52525b;
  --rule: #e4e4e7;
  --accent: #d9542b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --card: #141417;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --rule: #27272a;
    --accent: #ff6b3d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
header.site {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
header.site a { color: var(--text); text-decoration: none; font-weight: 700; }
header.site nav a { color: var(--muted); font-weight: 400; margin-left: 1rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, li { color: var(--text); }
.meta { color: var(--muted); margin: 0 0 1.5rem; }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; margin: 0.75rem 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
.note {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
}
footer { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); }
@media (max-width: 480px) {
  body { font-size: 16px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 0.15rem 0; }
  td + td { color: var(--muted); }
  tr { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
}
