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

  .bg-light {
    background-color: var(--bg2) !important;
    color: var(--fg) !important;
  }

  .table {
    color: var(--fg);
    border-color: var(--c3);
  }

  .table thead {
    background: var(--bg2);
    border-bottom: 2px solid var(--c3);
  }

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

  .terms-section {
    border-bottom: 1px solid var(--c3);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }

  .terms-section:last-of-type {
    border-bottom: none;
  }

  .terms-index {
    background: var(--bg2);
    border-left: 4px solid var(--acc);
    padding: 1.25rem 1.5rem;
    border-radius: var(--rad2);
    margin-bottom: 2.5rem;
  }

  .terms-index ol {
    margin-bottom: 0;
    padding-left: 1.25rem;
  }

  .terms-index li {
    margin-bottom: 0.35rem;
    color: var(--fg2);
    font-size: 0.95rem;
  }

  .terms-index a {
    color: var(--acc);
    text-decoration: none;
  }

  .terms-index a:hover {
    text-decoration: underline;
  }

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

  h2.terms-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.85rem;
  }

  h3.terms-sub {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fg2);
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
  }

  .meta-bar {
    font-size: 0.875rem;
    color: var(--fg2);
    margin-bottom: 2rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--c3);
    border-bottom: 1px solid var(--c3);
  }

  .meta-bar span {
    margin-right: 2rem;
  }

  p, li {
    line-height: 1.75;
    color: var(--fg2);
  }

  ul.terms-list {
    padding-left: 1.25rem;
  }

  ul.terms-list li {
    margin-bottom: 0.45rem;
  }

  ol.terms-ol {
    padding-left: 1.4rem;
  }

  ol.terms-ol li {
    margin-bottom: 0.55rem;
  }