/* Isolated legal-document layout. Shared site files remain untouched. */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.legal-page .legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 88px; flex: 1; }
.legal-breadcrumb { display: flex; align-items: center; gap: 10px; margin: 0 0 34px; color: #708098; font-size: 13px; }
.legal-breadcrumb a { color: #31547f; }
.legal-breadcrumb a:hover { color: #155fe8; }
.legal-breadcrumb [aria-current="page"] { color: #155fe8; font-weight: 650; }
.legal-document { max-width: 760px; margin: 0 auto; }
.legal-heading { margin-bottom: 40px; }
.legal-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: #155fe8; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.legal-eyebrow::before { width: 22px; height: 2px; background: #f0b52f; content: ""; }
.legal-heading h1 { max-width: 740px; margin: 0; color: #0c2345; font-size: clamp(38px, 6vw, 58px); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.legal-section { padding: 28px 0 30px; border-top: 1px solid #dce3ec; scroll-margin-top: 100px; }
.legal-section h2 { margin: 0 0 16px; color: #0c2345; font-size: clamp(21px, 3vw, 25px); font-weight: 750; letter-spacing: -.035em; line-height: 1.3; }
.legal-section p, .legal-section li { color: #415572; font-size: 16px; line-height: 1.8; }
.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.legal-section li::marker { color: #155fe8; }
.legal-section a { color: #155fe8; text-decoration: underline; text-decoration-color: #b9cdf1; text-underline-offset: 3px; }
.legal-section a:hover { color: #0b4fc8; text-decoration-color: currentColor; }
.legal-source-copyright { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid #dce3ec; color: #708098; font-size: 13px; }
.legal-footer { border-top: 1px solid #dce3ec; background: #fff; }
.legal-footer-inner { display: flex; width: min(1200px, calc(100% - 48px)); min-height: 86px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 22px; }
.legal-footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #0c2345; font-size: 13px; font-weight: 750; white-space: nowrap; }
.legal-footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.legal-footer nav a, .legal-home-link { color: #52627a; font-size: 12px; }
.legal-footer nav a:hover, .legal-footer nav a[aria-current="page"], .legal-home-link:hover { color: #155fe8; }
.legal-home-link { white-space: nowrap; }
@media (max-width: 720px) {
  .legal-page .legal-main { width: min(100% - 36px, 620px); padding: 23px 0 62px; }
  .legal-breadcrumb { margin-bottom: 28px; }
  .legal-heading { margin-bottom: 30px; }
  .legal-section { padding: 24px 0 26px; }
  .legal-section p, .legal-section li { font-size: 15px; line-height: 1.75; }
  .legal-footer-inner { width: min(100% - 36px, 620px); align-items: flex-start; flex-direction: column; padding: 22px 0; gap: 18px; }
  .legal-footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .legal-page { scroll-behavior: auto; } }
