/* legal-pages.css: shared add-on for the legal pages (terms, acceptable use, report,
   complaints, accessibility, AI transparency, legal info). Loads after terms1.css and
   only adds what terms1.css lacks (h2/h4, summary box, contents list, tables, notes). */
.terms-content h2 {
  color: var(--text-headings);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  scroll-margin-top: 1.5rem;
}
.terms-content h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.terms-content h4 { color: var(--text-headings); font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
.terms-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.terms-content ol li { margin-bottom: .6rem; line-height: 1.7; }
.terms-content a { color: #C4B5FD; text-decoration: underline; text-underline-offset: 2px; }
.terms-content a:hover, .terms-content a:focus { color: #fff; }
.terms-content a:focus-visible, .footer a:focus-visible, .footer button:focus-visible { outline: 2px solid #A78BFA; outline-offset: 2px; }
.legal-summary {
  border: 1px solid rgba(167, 139, 250, .45);
  background: rgba(79, 70, 229, .12);
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.legal-summary h2 { margin-top: 0 !important; font-size: 1.25rem !important; }
.legal-summary ul { margin-bottom: .5rem; }
.legal-summary p:last-child { margin-bottom: 0; }
.legal-toc { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--border-glass); border-radius: .75rem; }
.legal-toc h2 { margin-top: 0 !important; font-size: 1.1rem !important; }
.legal-toc ol { columns: 2; column-gap: 2rem; margin-bottom: 0; }
.legal-toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } .terms-content { padding: 1.5rem; } }
.legal-note {
  border-left: 4px solid #F59E0B;
  background: rgba(245, 158, 11, .08);
  padding: .9rem 1.1rem;
  border-radius: .4rem;
  margin: 0 0 1.5rem;
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table caption { caption-side: top; text-align: left; color: var(--text-secondary); padding-bottom: .5rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border-glass); padding: .6rem .75rem; text-align: left; vertical-align: top; color: var(--text-primary); }
.legal-table th { background: rgba(255,255,255,.06); color: var(--text-headings); font-weight: 600; }
.legal-form-box { border: 1px dashed var(--border-glass-hover); border-radius: .6rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.legal-meta { color: var(--text-secondary); font-size: .95rem; }
.footer-bottom-links { flex-wrap: wrap; }
