:root {
  --bg: #F6F4EF; --surface: #FFFFFF; --text: #1B1D21; --muted: #6B6F76; --accent: #F0A922; --line: #E6E1D6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15171A; --surface: #1F2226; --text: #F1EEE8; --muted: #9AA0A8; --line: #2C3036; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header img { width: 44px; height: 44px; }
header a { color: inherit; text-decoration: none; font-weight: 800; font-size: 22px; }
nav.lang { margin-left: auto; font-size: 14px; }
nav.lang a { color: var(--muted); margin-left: 10px; }
nav.lang a.on { color: var(--text); font-weight: 700; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 120px; height: 120px; }
h1 { font-size: 34px; line-height: 1.2; margin: 18px 0 8px; }
h2 { font-size: 18px; margin: 28px 0 6px; }
p.lead { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 520px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 36px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card b { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 16px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); margin-right: 14px; }
a { color: var(--accent); }
[lang="ru"] .en, [lang="en"] .ru { display: none; }
.small { font-size: 13px; color: var(--muted); }
