/* Общие стили правовых страниц: privacy.html, consent.html, cookies.html */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #f5f4f1;
    --dark: #111110;
    --mid: #3a3935;
    --muted: #7a7870;
    --accent: oklch(62% 0.14 50);
    --white: #fefefe;
    --border: rgba(0,0,0,0.10);
    --sans: 'Inter', Helvetica, Arial, sans-serif;
    --display: 'Unbounded', Helvetica, sans-serif;
  }

  html { scroll-behavior: smooth; background: var(--bg); }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); }
  .nav-logo-icon {
    width: 34px; height: 34px; background: var(--dark); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
  }
  .nav-logo-icon svg { width: 18px; height: 18px; fill: var(--white); }
  .nav-logo-text { font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 1.05; letter-spacing: 0.04em; }
  .nav-phone { color: var(--dark); text-decoration: none; font-weight: 600; font-size: 15px; }

  /* DOC */
  .doc {
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 40px 96px;
  }
  .doc-label {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
  }
  .doc h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    text-wrap: balance;
  }
  .doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 48px; }

  .doc h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 21px;
    margin: 44px 0 14px;
    line-height: 1.25;
  }
  .doc h2 .num { color: var(--accent); margin-right: 10px; }
  .doc p { color: var(--mid); margin-bottom: 14px; text-wrap: pretty; }
  .doc ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
  .doc li {
    color: var(--mid);
    margin-bottom: 10px;
    padding-left: 26px;
    position: relative;
  }
  .doc li::before {
    content: '';
    position: absolute;
    left: 4px; top: 11px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  .doc a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
  .doc strong { color: var(--dark); font-weight: 600; }

  .callout {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 28px 0;
  }
  .callout p { margin: 0; color: var(--mid); }

  .doc-contacts {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--mid);
  }
  .doc-contacts strong { display: block; margin-bottom: 6px; color: var(--dark); }
  .back-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 40px;
    font-weight: 600; color: var(--dark); text-decoration: none;
    font-size: 15px;
  }
  .back-link:hover { color: var(--accent); }

  /* FOOTER */
  footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 28px 40px; }
  footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
  footer a:hover { color: rgba(255,255,255,0.8); }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

  @media (max-width: 600px) {
    nav { padding: 0 18px; }
    .nav-phone { display: none; }
    .doc { padding: 48px 20px 72px; }
    footer { padding: 24px 18px; }
  }

  /* Таблицы (обработчики, цели) */
  .table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
  .doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
  .doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--mid); }
  .doc th { font-weight: 600; color: var(--dark); background: rgba(0,0,0,0.025); white-space: nowrap; }
  .doc tr:last-child td { border-bottom: 0; }
  .doc h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 26px 0 10px; }
  .doc ol { margin: 0 0 14px 22px; color: var(--mid); }
  .doc ol li { padding-left: 4px; }
  .doc ol li::before { display: none; }

  .doc-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -28px 0 40px; font-size: 14px; }
  .doc-nav a { color: var(--mid); }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 14px;
    font: 600 14px/1 var(--sans); padding: 12px 18px; border-radius: 10px;
    border: 1px solid var(--dark); background: transparent; color: var(--dark); cursor: pointer;
  }
  .btn-outline:hover { background: var(--dark); color: var(--white); }

  @media (max-width: 600px) {
    .doc th, .doc td { padding: 10px 12px; font-size: 13.5px; }
    .doc th { white-space: normal; }
  }
