/* Текстовые страницы сайта: политика конфиденциальности, поддержка. Цвета — как на лендинге. */
:root {
  --bg: #f7f4ee;
  --card: #ffffff;
  --ink: #1c2758;
  --muted: #5c6584;
  --line: #e4dfd2;
  --gold: #f2a93b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1226;
    --card: #181c38;
    --ink: #eef0fb;
    --muted: #9aa2c8;
    --line: #262b52;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: inherit;
  text-decoration: none;
}
.brand svg {
  width: 32px;
  height: 32px;
}
.lang {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
}
.lang button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
h1 {
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
}
h2 {
  font-size: 19px;
  margin: 28px 0 6px;
}
p {
  margin: 0 0 12px;
}
a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
footer {
  padding: 40px 0 max(28px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 13px;
}
[lang-only] {
  display: none;
}
html[lang='en'] [lang-only='en'],
html[lang='ru'] [lang-only='ru'],
html[lang='tr'] [lang-only='tr'] {
  display: block;
}
