/* Цвета повторяют токены Bastyon NextGen (--ui-primary, --ui-text, --ui-bg). */
:root {
  --bg: #ffffff; --text: #314158; --muted: #62748e; --accent: #155dfc; --line: #e2e8f0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0f172b; --text: #e2e8f0; --muted: #90a1b9; --accent: #00dc82; --line: #1d293d; }
}
:root[data-theme="dark"] { --bg: #0f172b; --text: #e2e8f0; --muted: #90a1b9; --accent: #00dc82; --line: #1d293d; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 56px 20px 24px; }
.logo { display: block; border-radius: 18px; margin-bottom: 20px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.status {
  display: inline-block; margin: 24px 0 0; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 600;
}
footer { text-align: center; padding: 20px; font-size: 13px; color: var(--muted); }

/* Один язык на экране: выбирает app.js (язык Bastyon или браузера). */
html[data-lang="en"] main > div[lang="ru"],
html:not([data-lang="en"]) main > div[lang="en"] { display: none; }
