:root {
  --bg: #eef0ee; --surface: #f8f9f7; --ink: #17201d; --muted: #56625d; --line: #d3d9d5; --accent: #23574a;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #111614; --surface: #171e1b; --ink: #e8ece9; --muted: #9aa8a1; --line: #2a3430; --accent: #6fb39c; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #111614; --surface: #171e1b; --ink: #e8ece9; --muted: #9aa8a1; --line: #2a3430; --accent: #6fb39c; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding-block: 28px; border-bottom: 1px solid var(--line); }
header a { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
main { padding-block: 40px 64px; }
h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; margin: 0 0 8px; }
h2 { font-family: var(--display); font-size: 1.3rem; margin: 36px 0 8px; }
p, li { color: var(--ink); }
.upd { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
a { color: var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; }
footer { padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: inherit; }
@media (max-width: 560px) { table, tbody, tr, th, td { display: block; } tr { padding: 8px 0; border-bottom: 1px solid var(--line); } th, td { border: 0; padding: 2px 0; } tr:first-child { display: none; } td::before { content: attr(data-label); display: block; color: var(--muted); font-weight: 600; font-size: .85rem; } }
