/* QR Forge — legal page styling.
 *
 * Used by /faq, /terms, /privacy, /disclaimer, /dmca, /contact. Light
 * theme on purpose so legal text reads like a printed document, not a
 * dark-mode app surface. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.legal-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #2563eb;
  color: #fff;
  z-index: 1000;
  border-radius: 4px;
}
main { flex: 1; }
.legal-inner {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal-page h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-page p,
.legal-page li { font-size: 1rem; margin-bottom: 12px; }
.legal-page ul,
.legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page a { color: #2563eb; }
.legal-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 4px;
}
.legal-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 32px;
}
.agent-box {
  background: #f0f4f8;
  border-left: 4px solid #2563eb;
  padding: 20px;
  border-radius: 6px;
  margin: 16px 0 24px;
}
.agent-box p { margin-bottom: 4px; }

.site-footer-light {
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
  color: #888;
  background: #f4f4f4;
  border-top: 1px solid #e5e5e5;
}
.site-footer-light .container {
  max-width: 720px;
  margin: 0 auto;
}
.site-footer-light .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.site-footer-light .footer-links a { color: #666; }
.site-footer-light .footer-meta { margin-bottom: 8px; }
.site-footer-light .footer-badge {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .legal-inner { margin: 32px auto; }
  .legal-page h1 { font-size: 1.5rem; }
}
