:root {
  --bg: #141517; --text: #ECE8DF; --muted: #A3A6AB; --line: #34383D; --accent: #F2C94C;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #F3F1EC; --text: #1A1B1E; --muted: #5F6268; --line: #DAD7D0; --accent: #8A6100; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; padding: 32px 22px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header img { width: 44px; height: 44px; border-radius: 10px; }
header a { color: inherit; text-decoration: none; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
h2 { font-size: 19px; margin: 30px 0 6px; }
p, li { margin: 0 0 10px; }
ul { padding-left: 22px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--muted); font-size: 15px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; font-size: 15px; }
