/* ══════════════════════════════════════════════════════════════════════════
   Юридические страницы (оферта, политика).
   Те же токены, что и на лендинге, — документы не выбиваются из дизайна.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
  --bg:        #08090a;
  --bg-elev:   #0f1011;
  --surface-2: #1c1e21;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --text:      #e9eaee;
  --muted:     #8a8f98;
  --faint:     #62666d;
  --accent-text: #7fb8dc;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --dur: .16s;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── шапка ── */
.lp-top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(12,13,15,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.lp-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: -.01em;
}
.lp-brand svg {
  width: 30px; height: 30px; padding: 6px; flex: none;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--surface-2);
}
.lp-back {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.lp-back:hover { color: var(--text); }

/* ── текст документа ── */
.lp {
  width: min(760px, 100% - 48px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 96px;
}

.lp h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
}
.lp-lead {
  color: var(--faint); font-size: 13px;
  margin-top: 14px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lp h2 {
  font-size: 19px; font-weight: 600; letter-spacing: -.015em;
  margin: 44px 0 14px;
  padding-top: 4px;
}
.lp h3 {
  font-size: 15px; font-weight: 600;
  margin: 26px 0 10px;
}

.lp p  { color: var(--muted); margin-bottom: 12px; }
.lp b  { color: var(--text); font-weight: 600; }
.lp ul, .lp ol { color: var(--muted); margin: 0 0 14px 20px; }
.lp li { margin-bottom: 7px; }

.lp a { color: var(--accent-text); text-decoration: none; }
.lp a:hover { text-decoration: underline; }

.lp table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0 22px; font-size: 13px;
  display: block; overflow-x: auto;      /* широкие таблицы скроллятся внутри себя */
}
.lp th, .lp td {
  border: 1px solid var(--line);
  padding: 10px 12px; text-align: left;
  color: var(--muted);
}
.lp th { background: var(--bg-elev); color: var(--text); font-weight: 600; }

/* ── подвал ── */
.lp-foot {
  width: min(760px, 100% - 48px);
  margin: 0 auto; padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint); font-size: 12px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}
.lp-foot a {
  color: var(--faint); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.lp-foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .lp, .lp-foot { width: min(760px, 100% - 32px); }
  .lp-brand span { display: none; }   /* на узком экране оставляем только знак */
}
