:root {
  color-scheme: light dark;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #17241f;
  --muted: #66736d;
  --accent: #174d3f;
  --line: #dce3de;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
header, main, footer { width: min(820px, calc(100% - 32px)); margin: auto; }
header { padding: 36px 0 18px; border-bottom: 1px solid var(--line); }
header a { color: var(--accent); text-decoration: none; margin-right: 18px; }
main { padding: 28px 0 48px; }
h1 { margin: 0 0 8px; letter-spacing: 0; }
h2 { margin-top: 32px; }
h3 { margin-top: 24px; }
p, li { color: var(--muted); }
a { color: var(--accent); }
.language { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.notice { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
footer { padding: 22px 0 40px; color: var(--muted); border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) {
  :root { --bg: #111714; --surface: #18201c; --text: #edf3ef; --muted: #b3beb8; --accent: #74c6a8; --line: #33413a; }
}
