/* Legal and company pages share the landing page's fonts and brand palette. */
.legal-page { min-height: 100vh; background: #f0f2f5; line-height: 1.75; }
.legal-header { color: #fff; background: radial-gradient(circle at 12% 14%,rgba(254,96,170,.4),transparent 32%),linear-gradient(125deg,#001d51 0%,#0a2a66 61%,#0a2a66 100%); }
.legal-header .brand-nav { flex-wrap: wrap; padding: 20px 0; gap: 20px 32px; }
.legal-header .brand-wordmark { width: 154px; height: auto; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 700; }
.legal-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.legal-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.legal-page .wrap { max-width: 1040px; margin: 0 auto; padding: 36px 20px 56px; }
.legal-page .doc { padding: clamp(24px,5vw,60px); border: 1px solid #e5e7eb; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(0,29,81,.08); }
.legal-page h1 { max-width: none; margin: 0 0 24px; font-size: clamp(2rem,4.4vw,3.6rem); line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
.legal-page h2 { margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid #e5e7eb; font-size: clamp(1.2rem,2.5vw,1.5rem); line-height: 1.4; letter-spacing: -.025em; }
.legal-page h3 { margin: 24px 0 10px; font-size: 1.05rem; line-height: 1.5; }
.legal-page .doc p,.legal-page .doc li { color: #4b5563; }
.legal-page .doc strong { color: var(--navy); }
.legal-page .doc p { margin: 12px 0; }
.legal-page .doc ul { margin: 12px 0; padding-left: 24px; }
.legal-page .doc li { margin: 8px 0; }
.legal-page .doc a { color: #0a2a66; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-page .meta { display: inline-block; margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #f0f2f5; color: var(--navy); font-size: .85rem; font-weight: 700; }
.legal-page .note,.legal-page .panel { margin: 24px 0; padding: 16px 20px; border: 1px solid #f5c9df; border-left: 5px solid #c91870; border-radius: 14px; background: #fff4f9; }
.legal-page .doc .footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: .9rem; }
.legal-footer { padding: 32px 0; color: #fff; background: #001540; }
.legal-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.legal-footer p { margin: 0; font-size: .85rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links a,.legal-links button { display: inline-flex; align-items: center; min-height: 44px; font: inherit; font-size: .85rem; }
.legal-links a:hover,.legal-links button:hover { text-decoration: underline; }
.legal-links button { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.legal-page :is(a,button):focus-visible { outline: 3px solid #c91870; outline-offset: 4px; }
.legal-header a:focus-visible,.legal-footer :is(a,button):focus-visible { outline-color: var(--green); }
.legal-page .skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border: 2px solid var(--navy); border-radius: 8px; color: var(--navy); background: #fff; font-weight: 700; transform: translateY(-180%); }
.legal-page .skip-link:focus { transform: translateY(0); }
.legal-page .measurement-choice { width: min(680px,calc(100% - 32px)); font-family: inherit; }
@media (max-width: 600px) {
  .legal-header .brand-nav { padding: 16px 0; gap: 10px; }
  .legal-nav { width: 100%; gap: 4px 16px; }
  .legal-nav a { font-size: .8rem; }
  .legal-page .wrap { padding: 20px 16px 32px; }
  .legal-page .doc { padding: 24px 20px; border-radius: 18px; }
  .legal-page .doc p,.legal-page .doc li { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.legal-page .button{display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;border-radius:14px;background:#cef564;color:#001d51;font-weight:700;text-decoration:none}

/* Home-page look: the navy header becomes a hero band and the document card overlaps it. */
.legal-page .site-shell.site-shell-header { padding-bottom: clamp(88px,12vw,140px); }
.legal-page .wrap { position: relative; margin-top: calc(-1 * clamp(64px,9vw,108px)); padding-top: 0; }
.legal-page .doc { box-shadow: 0 24px 60px rgba(0,29,81,.18); }
.legal-page h1 { color: var(--navy); }
.legal-page h1::after { display: block; width: 72px; height: 6px; margin-top: 18px; border-radius: 3px; background: var(--pink); content: ""; }
.legal-page .meta { background: #ffe3f0; }
.legal-page .doc a { color: #c2307a; }
.legal-page .doc li::marker { color: #c2307a; }
.legal-page .note,.legal-page .panel { border-color: #f5c9df; border-left-color: #c2307a; }
.legal-page :is(a,button):focus-visible { outline-color: #c2307a; }
@media (max-width: 600px) { .legal-page .wrap { padding-top: 0; } }
.legal-page .site-shell.site-shell-header + .measurement-choice:not([hidden]) { position: relative; z-index: 3; margin-top: calc(-1 * clamp(64px,9vw,108px)); box-shadow: 0 16px 40px rgba(0,29,81,.18); }
.legal-page .measurement-choice:not([hidden]) + .wrap { margin-top: 24px; }
