/* Стили для юридических страниц. Наследуют переменные темы. */
:root {
  --bg: #ffffff; --text: #101828; --text-muted: #667085;
  --border: #e4e8f0; --accent: #0a84ff; --surface: #f5f7fb;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0f1a; --text: #eef2fb; --text-muted: #98a2b8;
    --border: #26304a; --accent: #3d9bff; --surface: #141a2b; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; }
.legal-back { display: inline-block; margin-bottom: 20px; color: var(--accent); text-decoration: none; font-size: .95rem; }
.legal-back:hover { text-decoration: underline; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal-meta { color: var(--text-muted); font-size: .9rem; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
p, li { color: var(--text); }
ol, ul { padding-left: 22px; }
li { margin: 6px 0; }
.ph { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .95em; }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; font-size: .9rem; color: var(--text-muted); margin: 24px 0; }
a { color: var(--accent); }
