body { font-size: 17px; line-height: 1.7; }
.legal-shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.legal-header { padding: 28px 0; border-bottom: 1px solid #e8e8e8; }
.legal-header img { width: 150px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 14px; }
.legal-nav a[aria-current="page"] { font-weight: 800; }
a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.legal-content { padding: 50px 0 65px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.18; margin-bottom: 20px; }
.legal-content h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 15px; }
.legal-content p { margin: 0 0 18px; }
.legal-content > p:first-of-type { color: #777; font-size: 14px; }
.legal-content > p:nth-of-type(2) { padding: 14px 18px; background: var(--soft); border-radius: 10px; font-size: 14px; }
.legal-table-scroll { overflow-x: auto; margin: 24px 0; }
.legal-table-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
table { width: 100%; border-collapse: collapse; min-width: 580px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 14px; border: 1px solid #ddd; }
th { background: var(--soft); }
.legal-footer { border-top: 1px solid #e8e8e8; padding: 28px 0 45px; color: #666; font-size: 13px; }
.legal-footer p + p { margin-top: 10px; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .legal-content { padding-top: 30px; }
  .legal-content h2 { font-size: 21px; }
}
@media print {
  body { font: 11pt/1.5 Arial, sans-serif; }
  .legal-shell { width: auto; }
  .legal-header, .legal-footer { display: none; }
  .legal-content { padding: 0; }
  .legal-content h1 { font-size: 22pt; }
  .legal-content h2 { font-size: 15pt; break-after: avoid; }
  .legal-table-scroll { overflow: visible; }
  table { min-width: 0; font-size: 9pt; }
  tr { break-inside: avoid; }
  a { text-decoration: none; }
}
