:root {
  --bg: #1b1d21;
  --card: #23262b;
  --text: #eceef1;
  --muted: #9aa0a8;
  --line: #33373e;
  --amber: #ffb020;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f1e7;
    --card: #fffdf8;
    --text: #23262b;
    --muted: #6b6458;
    --line: #e2d9c6;
    --amber: #e08a00;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--amber); text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { padding: 28px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand svg { width: 40px; height: 40px; border-radius: 9px; }
.brand span { font-weight: 700; letter-spacing: 0.22em; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
main { padding: 24px 0 64px; }
.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0; }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 36px 0 8px; }
.links a {
  display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  color: var(--text); text-decoration: none; font-weight: 600;
}
.links a small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.links a:hover { border-color: var(--amber); }
section { margin-top: 48px; }
h2 { font-size: 22px; margin: 40px 0 8px; }
.doc h1 { font-size: 36px; margin: 24px 0 4px; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.doc li { margin: 6px 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
