.legal-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; }
.legal-main { padding: 42px 0 64px; }
.legal-card { padding: clamp(20px, 4vw, 34px); }
.legal-card h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; }
.legal-card h2 { margin: 30px 0 10px; font-size: 20px; }
.legal-card p, .legal-card li { line-height: 1.75; }
.legal-lead { margin: 0 0 24px; color: var(--muted); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.legal-table th, .legal-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-table th { width: 220px; background: #eef2ef; }
.legal-list { padding-left: 1.25rem; }
.legal-note { color: var(--muted); font-size: var(--ui-support-size); }
.legal-back { margin-top: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin: 0; text-align: center; }

@media (max-width: 640px) {
  .legal-shell { width: min(100% - 22px, 920px); }
  .legal-main { padding-top: 24px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; padding-bottom: 5px; }
  .legal-table td { padding-top: 5px; }
}
