.legal-header { height: 76px; padding: 0 20px; }
.legal-header .brand-wordmark { width: 185px; height: auto; }
.legal-header nav { gap: 0; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-weight: 650; }
.legal-page { max-width: 780px; min-height: calc(100dvh - 150px); padding: 44px 24px 72px; }
.legal-eyebrow { color: #607651; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-page h1 { margin: 8px 0 10px; font: 500 clamp(36px, 7vw, 55px)/1.12 var(--serif); letter-spacing: -.04em; }
.legal-lede { max-width: 650px; margin: 0 0 16px; color: #52644c; font-size: 15px; line-height: 1.6; }
.legal-date { margin: 0 0 26px; color: #75836e; font-size: 11px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid #cbd6c1; border-radius: 9px; background: #edf1e7; font-size: 11px; font-weight: 650; }
.legal-tabs a[aria-current="page"] { color: #fff; background: var(--green); border-color: var(--green); }
.legal-note { margin: 0 0 28px; padding: 16px 18px; border: 1px solid #cbd9c0; border-radius: 11px; background: #ecf2e5; }
.legal-note p { margin: 0; font-size: 13px; line-height: 1.6; }
.legal-section { padding: 23px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 11px; font: 600 20px/1.25 var(--sans); letter-spacing: -.02em; }
.legal-section h3 { margin: 15px 0 6px; font-size: 14px; }
.legal-section p, .legal-section li { margin: 0 0 10px; color: #4c5d4a; font-size: 13px; line-height: 1.7; }
.legal-section ul { padding-left: 19px; margin: 0; }
.legal-section a, .legal-note a { color: #28523f; text-decoration: underline; text-underline-offset: 3px; }
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; text-align: left; }
.legal-table th, .legal-table td { border-bottom: 1px solid #d7dfd0; padding: 11px 10px; vertical-align: top; font-size: 12px; line-height: 1.55; }
.legal-table th { color: #38553c; background: #edf2e7; }
.legal-table td { color: #4c5d4a; }
.legal-table code { white-space: nowrap; font-size: 11px; }
.legal-contact { padding: 22px; border: 1px solid #cbd9c0; border-radius: 11px; background: #edf2e5; }
.legal-contact h2 { margin: 0 0 8px; }
.legal-contact p { margin: 0; }
.legal-footer { padding: 18px 24px 22px; align-items: center; gap: 12px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal-footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .legal-header { height: calc(58px + env(safe-area-inset-top)); margin: 0 14px; padding: env(safe-area-inset-top) 0 0; }
  .legal-header .brand-wordmark { width: 130px; height: 35px; object-fit: contain; }
  .legal-header nav { font-size: 11px; }
  .legal-page { padding: 25px 18px max(42px, env(safe-area-inset-bottom)); }
  .legal-page h1 { font-size: 38px; }
  .legal-lede { font-size: 14px; }
  .legal-section { padding: 20px 0; }
  .legal-section h2 { font-size: 18px; }
  .legal-footer { display: block; margin: 0 18px; padding: 18px 0 max(24px, env(safe-area-inset-bottom)); }
  .legal-footer nav { margin-top: 8px; }
}
