.legal-wrap { max-width: 820px; }
.legal-doc { line-height: 1.65; }
.legal-title { font-size: 25px; margin: 0 0 10px; font-weight: 800; letter-spacing: -.01em; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--text-secondary);
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--border-soft);
}
.status-active { color: var(--success); font-weight: 700; }
.status-archived { color: var(--warning); font-weight: 700; }
.legal-content h2 { font-size: 15.5px; margin: 24px 0 8px; color: var(--brand-blue-dark); font-weight: 700; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 14px; color: var(--text-primary); }
.legal-content ul { padding-left: 20px; }
.legal-history { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.legal-history h3 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.legal-history ul { list-style: none; padding: 0; font-size: 13px; }
.legal-history li { padding: 5px 0; }

.legal-footer { max-width: 820px; margin: 32px auto 10px; padding: 18px 0; border-top: 1px solid var(--border); }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 8px; }
.legal-footer-links a { font-size: 12.5px; color: var(--text-secondary); text-decoration: none; font-weight: 500; }
.legal-footer-links a:hover { color: var(--brand-blue); text-decoration: underline; }
.legal-footer-copy { text-align: center; font-size: 11.5px; color: var(--text-muted); }

.accept-box { max-width: 640px; margin: 32px auto; }
.accept-doc-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.accept-doc-row input[type=checkbox] { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand-blue); }
.accept-doc-row label { font-size: 14px; }
.accept-doc-row a { color: var(--brand-blue); font-weight: 600; }
.accept-note { font-size: 13px; color: var(--text-secondary); background: var(--brand-blue-soft); padding: 13px 14px; border-radius: var(--radius-sm); margin: 16px 0; }

@media (max-width: 600px) {
  .legal-meta { flex-direction: column; gap: 6px; }
  .legal-footer-links { gap: 10px 14px; }
}
