/* Legal documents (privacy policy, terms, consent) in Russian and English. Brand: brand/README.md */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f5f8;
  --text: #12233d;
  --muted: #4f5b70;
  --accent: #f26b1d;
  --link: #c4500f;
  --border: #dfe3ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1626;
    --bg-soft: #12233d;
    --text: #e6eaf2;
    --muted: #a3adc0;
    --link: #ff8a47;
    --border: #24344f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand span { color: var(--accent); }
.lang { display: flex; gap: 6px; font-size: 14px; }
.lang a, .lang b { padding: 4px 8px; border-radius: 6px; text-decoration: none; }
.lang b { background: var(--bg-soft); color: var(--text); }

main { padding: 36px 0 56px; }
h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.summary { background: var(--bg-soft); border-radius: 12px; padding: 18px 20px; margin: 0 0 32px; }
.summary p { margin: 0 0 8px; }
.summary ul { margin: 0; padding-left: 20px; }
h2 { font-size: 20px; margin: 36px 0 10px; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { max-width: 70ch; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; }
.docs { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }

footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 14px; }
