/* Страницы условий и политики конфиденциальности.
 *
 * Отдельный файл, а не style.css сайта: здесь только системные шрифты, без
 * загрузки с серверов Google, — страница о данных не должна сама отправлять
 * адрес посетителя третьей стороне. Цвета — те же, что у остального сайта. */

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-soft: #eef2f6;
  --accent: #15803d;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111827;
    --text: #e5e9f0;
    --text-muted: #9aa5b8;
    --border: #243045;
    --border-soft: #1c2638;
    --accent: #4ade80;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
.doc { max-width: 820px; margin: 0 auto; padding: 32px 16px 80px; line-height: 1.65; font-size: 16px; }
.doc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.doc-top a { color: var(--text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.doc-top img { width: 28px; height: 28px; border-radius: 7px; }
.langs, .langs a { font-size: 14px; font-weight: 500; color: var(--accent); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.lede { color: var(--text-muted); font-size: 17px; margin: 0 0 28px; }
h2 { font-size: 21px; margin: 40px 0 12px; padding-top: 12px; border-top: 1px solid var(--border); }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.muted { color: var(--text-muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 12px 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); }
th { font-size: 13px; color: var(--text-muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; min-width: 9em; }
article + article { margin-top: 64px; }
.foot { margin-top: 56px; font-size: 14px; border-top: 1px solid var(--border); padding-top: 16px; }

/* Скрипт оставляет одну языковую версию; без скрипта видны обе. */
.lang-hidden { display: none; }
