:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #30994f;
  --accent-strong: #1f7a3d;
  --border: #e3e3e6;
  --radius: 16px;
  --maxw: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #98989d;
    --accent: #30d158;
    --accent-strong: #34c759;
    --border: #2c2c2e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 24px 20px 80px; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lang button.active { background: var(--accent); color: #fff; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 12px; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; margin: 16px 0;
}
.pill { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--muted); margin: 0 6px 6px 0; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; margin-top: 8px;
}
.btn:hover { background: var(--accent-strong); text-decoration: none; }
.mail { font-weight: 600; }
footer.site { max-width: var(--maxw); margin: 0 auto; padding: 32px 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
.en { display: none; }
body.lang-en .ru { display: none; }
body.lang-en .en { display: block; }
body.lang-en span.en, body.lang-en a.en { display: inline; }
