/* Стили для юридических страниц — наследуют переменные тем с главного лендинга. */
:root[data-theme="dark"] {
  --bg: #0a0a0f; --bg-soft: #11111a; --bg-elev: #16161f; --border: #1f1f2c;
  --border-bright: #2a2a3d; --text: #e9e9f1; --text-dim: #8a8aa0; --text-muted: #5a5a72;
  --accent: #00ffa3; --accent-on: #0a0a0f;
}
:root[data-theme="light"] {
  --bg: #ffffff; --bg-soft: #f5f6f9; --bg-elev: #ffffff; --border: #e6e8ef;
  --border-bright: #d3d6e0; --text: #0a0e1a; --text-dim: #56607a; --text-muted: #8b94a8;
  --accent: #00b478; --accent-on: #ffffff;
}
* { box-sizing: border-box; }
html, body {
  background: var(--bg); color: var(--text); margin: 0;
  font-family: 'Manrope', system-ui, sans-serif; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--border-bright); border-radius: 8px; color: var(--text-dim);
  text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 32px;
}
.back-link:hover { color: var(--text); border-color: var(--text-dim); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
.legal-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
h3 { font-size: 16px; margin: 24px 0 8px; }
p, li { color: var(--text-dim); font-size: 15px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 4px; }
.notice {
  background: var(--bg-soft); border: 1px solid var(--border-bright); border-radius: 12px;
  padding: 16px 20px; margin: 16px 0; font-size: 14px; color: var(--text-dim);
}
.notice strong { color: var(--text); }
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.contact-block { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.contact-block a { color: var(--accent); text-decoration: none; font-weight: 600; }
