/* Документ (Privacy, Terms; основа и для Security) — design/Site Privacy.dc.html: серый фон, слева липкое оглавление,
   справа текст 720px. Содержимое — блоки редактора: H2 разделяют разделы, списки — с длинным тире. */
.doc-pad { padding-top: 96px; padding-bottom: 120px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.doc-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-active { color: var(--accent); }
.doc-body { max-width: 720px; font-size: 17px; line-height: 1.6; color: oklch(0.3 0.012 280); }
.doc-body > * { margin: 14px 0 0; }
.doc-body > :first-child { margin-top: 0; }
.doc-body h2 { margin: 56px 0 0; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; color: var(--ink); scroll-margin-top: 110px; }
.doc-body > h2:first-child { margin-top: 0; }
.doc-body h2 + * { margin-top: 14px; }
.doc-body h3 { margin: 28px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; color: var(--ink); }
.doc-body p { margin: 14px 0 0; }
.doc-body b, .doc-body strong { font-weight: 600; color: var(--ink); }
.doc-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* список — строки с фиолетовым длинным тире, 16px */
.doc-body ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.doc-body ul li { display: flex; gap: 12px; }
.doc-body ul li::before { content: "—"; flex: none; color: var(--accent); }
.doc-body ol { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
/* стили блоков для текстовых страниц: галочки, крестики, две коробки, врезка «private» (Security; доступны и в Privacy/Terms) */
.doc-body ul.is-style-checks, .doc-body ul.is-style-crosses { gap: 10px; }
.doc-body ul.is-style-checks li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc-body ul.is-style-crosses li::before { content: "✕"; color: var(--danger); font-weight: 600; }
.doc-body .wp-block-columns.is-style-boxes { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14.5px; }
.doc-body .is-style-boxes > .wp-block-column { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.doc-body .is-style-boxes p { margin: 0; line-height: 1.5; color: var(--ink-3); }
.doc-body .is-style-boxes p:first-child { margin-bottom: 4px; }
.doc-body .is-style-boxes strong { color: var(--ink); }
.doc-body p.is-style-private { position: relative; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 15px; line-height: 1.55; }
.doc-body p.is-style-private::before, .doc-body p.is-style-private::after { content: ""; position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; }
.doc-body p.is-style-private::before { border-radius: 9px; background: var(--accent-soft); }
.doc-body p.is-style-private::after { background: var(--accent);   /* перечёркнутый глаз */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8s-2.5 4.5-6.5 4.5S1.5 8 1.5 8z'/%3E%3Cpath d='M3 13L13 3'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8s-2.5 4.5-6.5 4.5S1.5 8 1.5 8z'/%3E%3Cpath d='M3 13L13 3'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 900px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; padding-left: 0; border-left: 0; }
  .doc-body .wp-block-columns.is-style-boxes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) { .doc-pad { padding: 72px 20px; } }
