:root {
  --bg: #0b0e14;
  --surface: #141925;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #4ade80;
  --border: #232a39;
  --maxw: 720px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f5f7fa;
    --text: #14181f;
    --muted: #5b6472;
    --accent: #16a34a;
    --border: #e4e8ee;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.site {
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.brand .dot { color: var(--accent); }

nav.site { margin-left: auto; display: flex; gap: 18px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--text); }

h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 4px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.lede { color: var(--muted); font-size: 18px; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
}

ul { padding-left: 20px; }
li { margin: 6px 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

.pill {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 16px;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { padding-top: 20px; padding-bottom: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
.spacer { margin-left: auto; }
