/* Строгое оформление юридических страниц: тёмная тема в стиле сайта */
:root { --text: #ecebf3; --muted: #8d8c98; --accent: #8b7bff; --warn: #e8b84e; --line: #25252d; color-scheme: dark;
  --ambient: radial-gradient(900px 520px at 85% -5%, rgba(139, 123, 255, .16), transparent 70%), radial-gradient(700px 480px at 0% 40%, rgba(139, 123, 255, .07), transparent 70%), #0d0d10; }
html { background: var(--ambient) fixed; }
header.top .wrap { background: rgba(20, 20, 26, .85); border-color: #2a2a33; box-shadow: none; }
.doc { max-width: 820px; margin: 56px auto 80px; padding: 48px 56px 52px; border: 1px solid #2a2a33; border-radius: 22px; position: relative;
  background: linear-gradient(180deg, #17171c, #111115); counter-reset: sec; }
.doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(185, 174, 255, .55), transparent); }
.doc h1 { margin: 0 0 8px; font-size: 40px; font-weight: 500; letter-spacing: -.035em; }
.doc > .muted:first-of-type, .doc h1 + .muted { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; font-size: 14.5px; }
.doc h2 { margin: 0; padding: 30px 0 14px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: #fff; border-top: 1px solid var(--line); }
.doc h1 + .muted + h2 { border-top: 0; }
.doc p, .doc li { color: #c9c8d6; opacity: 1; font-size: 15.5px; line-height: 1.65; }
.doc ul { margin: 0 0 6px; padding: 0; list-style: none; }
.doc li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid #1d1d24; }
.doc li:last-child { border-bottom: 0; }
.doc li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: #8b7bff; }
.doc a { color: #b9aeff; text-underline-offset: 3px; }
.doc .draft { border: 1px solid rgba(232, 184, 78, .4); background: rgba(232, 184, 78, .06); border-radius: 12px; }
@media (max-width: 700px) { .doc { margin: 24px auto 48px; padding: 30px 22px 34px; border-radius: 16px; } .doc h1 { font-size: 30px; } }
.doc .draft { margin-bottom: 26px; }
