:root {
  --bg: #0b0b0d;
  --surface: #17161a;
  --surface-raised: #201e22;
  --border: #332a24;
  --border-soft: #241f1c;

  --accent: #ff7a29;
  --accent-dim: #c1501d;
  --accent-soft: rgba(255, 122, 41, 0.14);

  --text: #f2efea;
  --text-muted: #a39a92;
  --text-faint: #6b625b;

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 780px; margin: 0 auto; padding: 0 28px; }

header.top {
  display: flex; align-items: center; justify-content: space-between; padding: 28px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; display: block; }
.brand span { font-weight: 600; font-size: 15px; }
nav.top a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
nav.top a:hover { color: var(--text); }

main { padding: 20px 0 100px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}

p.lede { font-size: 16px; color: var(--text-muted); margin: 0 0 8px; }
p.updated { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin: 0 0 40px; }

h2.section {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin: 44px 0 16px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 12px;
}
section:first-of-type h2.section { margin-top: 0; }

p, li { font-size: 15px; color: var(--text-muted); }

.tablewrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; }
tr:last-child td { border-bottom: none; }
td { color: var(--text-muted); }
td strong, li strong, p strong { color: var(--text); }

footer {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0 40px;
  color: var(--text-faint);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav a { color: var(--text-faint); text-decoration: none; margin-left: 18px; }
footer nav a:hover { color: var(--text); }

@media (max-width: 640px) {
  footer { flex-direction: column; gap: 8px; }
  footer nav a { margin: 0 14px 0 0; }
}
