/* ── Shared legal page styles ── */
/* Used by: tos.html, privacy.html, aup.html, dmca.html */

.legal-body { max-width: 720px; }
.legal-body h2 { font-size: 1rem; color: var(--cyan); margin: 2.5rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.legal-body h2::before { content: '// '; color: var(--border-bright); }
.legal-body h2.danger { color: var(--danger); }
.legal-body p { color: var(--text); line-height: 1.8; margin: 0.75rem 0; font-size: 0.9rem; }
.legal-body ul { margin: 0.5rem 0 0.75rem 1.25rem; }
.legal-body li { color: var(--text); line-height: 1.8; font-size: 0.9rem; }
.legal-body li::marker { color: var(--cyan); }
.legal-body li.bad::marker { color: var(--danger); }
.legal-meta { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 2rem; }
.legal-contact { background: var(--surface); border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin-top: 2rem; font-size: 0.875rem; }
.legal-contact p { margin: 0.25rem 0; }
.legal-contact__label { color: var(--text-dim); font-size: 0.75rem; margin-bottom: 0.5rem; }

/* privacy.html highlight box */
.highlight-box { background: var(--surface); border-left: 2px solid var(--cyan); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.highlight-box p { margin: 0; font-size: 0.875rem; }

/* dmca.html notice box */
.notice-box { background: var(--surface); border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin: 1.25rem 0; }
.notice-box p { margin: 0.35rem 0; font-size: 0.875rem; }
.notice-box ol { margin: 0.5rem 0 0 1.25rem; }
.notice-box li { font-size: 0.875rem; line-height: 1.8; }
.notice-box li::marker { color: var(--cyan); }

@media print {
  body { background: #fff !important; color: #111 !important; }
  .nav, .nav__mobile, .footer, .btn { display: none !important; }
  .page-hero { background: none !important; border: none !important; padding: 1rem 0 0.5rem !important; }
  .page-hero__title { color: #000 !important; font-size: 1.4rem !important; }
  .page-hero__subtitle { color: #444 !important; }
  .breadcrumb { color: #666 !important; }
  .legal-body { max-width: 100% !important; }
  .legal-body h2 { color: #000 !important; border-bottom: 1px solid #ccc; padding-bottom: 0.2rem; }
  .legal-body h2::before { color: #666 !important; }
  .legal-body p, .legal-body li { color: #111 !important; }
  .legal-body li::marker { color: #111 !important; }
  .legal-meta { color: #666 !important; }
  .legal-contact { border: 1px solid #ccc !important; background: none !important; }
  .legal-contact p { color: #111 !important; }
  .highlight-box { border-left: 2px solid #999 !important; background: none !important; }
  .notice-box { border: 1px solid #ccc !important; background: none !important; }
  .notice-box p, .notice-box li { color: #111 !important; }
  .section { padding: 0.5rem 0 !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
  a[href^="#"]::after { content: ""; }
}
