/* Защита от горизонтального скролла */
  html, body { overflow-x: hidden; max-width: 100vw; }

  .legal-section {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .legal-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  .bg-light {
    background-color: color-mix(in srgb, var(--bg) 80%, white 20%) !important;
    color: var(--fg) !important;
  }

  .bg-dark {
    background-color: color-mix(in srgb, var(--bg) 60%, black 40%) !important;
    color: var(--fg) !important;
  }

  .table {
    color: var(--fg);
    border-color: rgba(255,255,255,0.1);
  }

  .table thead {
    background: var(--c1);
    border-bottom: 2px solid rgba(255,255,255,0.15);
  }

  .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.04);
  }

  .legal-highlight {
    border-left: 3px solid var(--c1);
    padding-left: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0.92;
  }

  .section-number {
    color: var(--c1);
    font-weight: 700;
    margin-right: 0.4rem;
  }

  h2 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
  }

  h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
  }

  p, li {
    line-height: 1.75;
    opacity: 0.88;
  }

  ul, ol {
    padding-left: 1.4rem;
  }

  li {
    margin-bottom: 0.35rem;
  }

  .last-updated {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 2rem;
    display: block;
  }