/* Shared legal-document pages: aligned with the Contact Us visual system. */
.legal-page { background: #f7f9f8; color: #082e45; }
.legal-page .legal-hero {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  overflow: hidden;
  background: #032337 url("/assets/phase-4a/14-contact-discuss-your-application.webp") center/cover no-repeat;
  color: #fff;
}
.legal-page .legal-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3,35,55,.94), rgba(3,35,55,.73) 49%, rgba(3,35,55,.28)), linear-gradient(0deg, rgba(3,35,55,.56), transparent 58%);
}
.legal-page .legal-hero .wrap { display: flex; width: min(900px, calc(100% - 48px)); min-height: 510px; margin-inline: auto; flex-direction: column; align-items: center; justify-content: center; padding-top: 2px; padding-bottom: 0; text-align: center; }
.legal-hero__eyebrow { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); color: #b8e5e2; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(12px); }
.legal-page .legal-hero h1 { max-width: 830px; margin: 0 0 20px; color: #fff; font-family: "Avenir Next", Inter, "Segoe UI", Arial, sans-serif; font-size: clamp(54px, 6vw, 82px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.legal-page .legal-hero p { max-width: 670px; margin: 0 0 20px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.6; }
.legal-breadcrumb { display: flex; gap: 9px; color: rgba(255,255,255,.72); font-size: 13px; }
.legal-breadcrumb a { color: #b8e5e2; text-decoration: none; }
.legal-breadcrumb a:hover { color: #fff; }
.legal-content { padding: 96px 0 118px; }
.legal-layout { display: block; }
.legal-summary { position: sticky; top: 112px; padding: 28px; border: 1px solid #dce6e7; border-radius: 22px; background: #eaf4f3; }
.legal-summary strong { color: #087d7a; font-family: "Avenir Next", Inter, "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.legal-summary p { margin: 16px 0 0; color: #43616e; font-size: 14px; line-height: 1.62; }
.legal-summary a { color: #063754; text-decoration: none; }
.legal-document { max-width: 800px; margin-inline: auto; }
.legal-document > section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid #dce6e7; }
.legal-document h2 { margin: 0 0 14px; color: #082e45; font-family: "Avenir Next", Inter, "Segoe UI", Arial, sans-serif; font-size: clamp(23px, 2.1vw, 31px); font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }
.legal-document p { margin: 0; color: #4e6874; font-size: 16px; line-height: 1.75; }
.legal-document p + p { margin-top: 16px; }
.legal-document a { color: #087d7a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-updated { color: #70848c !important; font-size: 13px !important; }
@media (max-width: 860px) {
  .legal-page .legal-hero, .legal-page .legal-hero .wrap { min-height: 420px; }
  .legal-page .legal-hero .wrap { padding-top: 2px; padding-bottom: 0; }
  .legal-content { padding: 64px 0 82px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-summary { position: static; }
}
@media (max-width: 560px) {
  .legal-page .legal-hero, .legal-page .legal-hero .wrap { min-height: 370px; }
  .legal-page .legal-hero .wrap { padding-top: 2px; padding-bottom: 0; }
  .legal-page .legal-hero h1 { font-size: 46px; }
  .legal-page .legal-hero p { font-size: 15px; }
  .legal-content { padding-top: 48px; }
  .legal-summary { padding: 22px; }
  .legal-document > section { padding-bottom: 27px; margin-bottom: 27px; }
}
