/* Shared presentation for website policy documents. */
.legal-page { color: #202a35; background: #fff; }
.legal-container { width: min(1100px, calc(100% - 96px)); margin-inline: auto; }
.legal-header { border-bottom: 1px solid #e6ebf0; }
.legal-header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-brand { display: inline-block; flex-shrink: 0; }
.legal-brand img { width: 170px; height: auto; }
.legal-home { display: inline-flex; align-items: center; gap: 12px; color: #425367; font-size: 14px; font-weight: 500; }
.legal-home:hover { color: #073b78; }
.legal-title { padding: 64px 0 44px; border-bottom: 1px solid #e6ebf0; }
.legal-eyebrow { margin-bottom: 12px; color: #526478; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.legal-title h1 { margin: 0 0 16px; color: #073b78; font-size: clamp(36px, 4vw, 48px); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.legal-intro { color: #526070; font-size: 18px; line-height: 1.6; }
.legal-date { margin-top: 24px; color: #647184; font-size: 13px; }
.legal-date time { margin-left: 12px; color: #35475a; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; padding: 48px 0 80px; }
.legal-toc { position: sticky; top: 32px; }
.legal-toc-title { margin-bottom: 16px; color: #263d56; font-size: 13px; font-weight: 650; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; }
.legal-toc li + li { margin-top: 3px; }
.legal-toc a { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; color: #526070; font-size: 13px; line-height: 1.5; }
.legal-toc a span { color: #7a8797; font-size: 11px; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: #073b78; text-decoration: underline; text-underline-offset: 4px; }
.legal-content { max-width: 720px; min-width: 0; }
.legal-content section { scroll-margin-top: 32px; }
.legal-content section + section { margin-top: 30px; padding-top: 30px; border-top: 1px solid #edf0f3; }
.legal-content h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; color: #172d46; font-size: 20px; font-weight: 650; letter-spacing: -.015em; line-height: 1.4; }
.legal-number { flex-shrink: 0; color: #7a8797; font-size: 12px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.legal-content p { color: #455160; font-size: 15px; line-height: 1.8; }
.legal-content p + p { margin-top: 12px; }
.legal-content a { color: #0759a8; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-page a:focus-visible { outline: 2px solid #0759a8; outline-offset: 5px; border-radius: 2px; }
@media (max-width: 800px) {
  .legal-container { width: calc(100% - 48px); }
  .legal-header-inner { min-height: 80px; }
  .legal-brand img { width: 145px; }
  .legal-title { padding: 40px 0 32px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 48px; }
  .legal-toc { position: static; padding-bottom: 24px; border-bottom: 1px solid #e6ebf0; }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .legal-toc a { padding: 6px 0; }
}
@media (max-width: 420px) {
  .legal-home { font-size: 12px; gap: 6px; }
  .legal-intro { font-size: 16px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-toc a { padding: 5px 0; }
  .legal-content h2 { font-size: 19px; gap: 10px; }
}
/* Header stays at the top; the contents list and section links sit below it. */
.legal-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html:has(.legal-page) { scroll-padding-top: 101px; }
.legal-toc { top: 133px; }
@media (max-width: 800px) { html:has(.legal-page) { scroll-padding-top: 81px; } }
