@font-face {
  font-family: Manrope;
  src: url('./manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* Shared company identity: the institutional site and its legal information. */
.footer-company {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 28px clamp(28px, 5vw, 80px);
  padding-block: 28px 32px;
  border-top: 1px solid #102e4526;
  color: #244a6a;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.footer-company > *, .footer-company__details > div { min-width: 0; }
.footer-company__identity h2 {
  margin: 0 0 10px;
  color: #102e45;
  font-family: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.4;
}
.footer-company__identity p, .footer-company__identity address {
  margin: 0;
  color: #49677d;
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
}
.footer-company__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
}
.footer-company__details dt {
  margin: 0 0 3px;
  color: #4b657a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.footer-company__details dd {
  margin: 0;
  color: #173e5d;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.footer-company__details a { color: #0067c3; text-underline-offset: 4px; }
.footer-company__details a:hover { text-decoration: underline; }
.footer-legal, .footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  min-width: 0;
}
.footer-legal {
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #102e4526;
  color: #49677d;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
.footer-legal p, .footer-legal span { margin: 0; font-size: 14px; }
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 7px;
  color: #244a6a;
  font-size: 14px;
  text-decoration: none;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.footer-legal a:hover { color: #0067c3; text-decoration: underline; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.footer-social a {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 4px;
  border-radius: 8px;
  color: #173e5d;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.footer-social a:hover { color: #0067c3; background: #dce9f2; }
.footer-social svg, .footer-social img { display: block; width: 36px; height: 36px; }
.footer-company a:focus-visible, .footer-legal a:focus-visible, .footer-social a:focus-visible {
  outline: 2px solid #0067c3;
  outline-offset: 4px;
}

/* Standalone legal pages: no global changes to the presentation site. */
body.legal-page {
  margin: 0;
  color: #102e45;
  background: #f4f6f5;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: border-box; }
.legal-page a { color: #0067c3; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-page a:focus-visible, .legal-page [tabindex]:focus-visible {
  outline: 2px solid #0067c3;
  outline-offset: 4px;
}
.legal-page img { display: block; max-width: 100%; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid #102e451a;
  background: #fff;
}
.legal-header > a:first-child { display: block; flex: 0 1 236px; min-width: 0; }
.legal-header img { width: 236px; height: auto; }
.legal-header > a:last-child {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  color: #244a6a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.legal-header > a:last-child:hover { color: #0067c3; text-decoration: underline; }
.legal-main {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 4vw, 40px) 72px;
}
.legal-intro { margin-bottom: 42px; }
.legal-intro > p:first-child:not(.legal-lead):not(.lead),
.legal-intro .legal-label, .legal-intro__label {
  margin: 0 0 10px;
  color: #0067c3;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
}
.legal-intro h1 {
  margin: 0 0 18px;
  color: #102e45;
  font-family: inherit;
  font-size: clamp(32px, 4.8vw, 44px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.16;
}
.legal-intro > p:last-child, .legal-intro .legal-lead,
.legal-intro .lead, .legal-intro__lead {
  max-width: 66ch;
  margin: 0;
  color: #49677d;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.8;
}
.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
.legal-grid > * { min-width: 0; }
.legal-grid > nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 2px solid #0067c3;
  font-size: 14px;
}
.legal-grid > nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #49677d;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}
.legal-grid > nav a:hover, .legal-grid > nav a[aria-current] {
  color: #0067c3;
  background: #e7eff5;
}
.legal-grid > article { width: 100%; max-width: 66ch; }
.legal-section { margin: 0 0 38px; scroll-margin-top: 24px; overflow-wrap: anywhere; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  margin: 0 0 14px;
  color: #102e45;
  font-family: inherit;
  font-size: clamp(23px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.3;
}
.legal-section h3 {
  margin: 24px 0 10px;
  color: #173e5d;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}
.legal-section p { margin: 12px 0; font-size: 16px; line-height: 1.8; }
.legal-section ul, .legal-section ol { margin: 12px 0; padding-left: 1.35em; }
.legal-section li { margin-block: 7px; padding-left: 2px; font-size: 16px; line-height: 1.8; }
.legal-section dl { display: grid; gap: 16px; margin: 16px 0; }
.legal-section dt { color: #173e5d; font-size: 16px; font-weight: 650; }
.legal-section dd { margin: 4px 0 0; color: #49677d; font-size: 16px; line-height: 1.8; }
.legal-table-scroll {
  width: 100%;
  max-width: 100%;
  margin-block: 18px;
  overflow-x: auto;
  border: 1px solid #102e4526;
  border-radius: 8px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.legal-section table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.legal-table-scroll table { min-width: 460px; }
.legal-section th, .legal-section td {
  padding: 13px 15px;
  border-bottom: 1px solid #102e451a;
  color: #244a6a;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.legal-section th { color: #173e5d; background: #e7eef2; font-weight: 650; }
.legal-section tr:last-child td { border-bottom: 0; }
.legal-notice {
  margin-block: 22px;
  padding: 18px 20px;
  border-left: 3px solid #0067c3;
  background: #e7eff5;
  color: #244a6a;
  font-size: 16px;
  line-height: 1.8;
}
.legal-notice > :first-child { margin-top: 0; }
.legal-notice > :last-child { margin-bottom: 0; }
.legal-footer {
  padding: 30px clamp(22px, 5vw, 72px) 24px;
  border-top: 1px solid #102e451a;
  background: #eaf0f3;
  color: #244a6a;
}
.legal-footer > .footer-company, .legal-footer > .footer-legal,
.legal-footer > nav { max-width: 960px; margin-inline: auto; }
.legal-footer .footer-company { padding-top: 0; border-top: 0; }
.legal-footer .footer-legal { gap: 4px 24px; }
.legal-skip { position:absolute; left:16px; top:-100px; padding:12px 18px; z-index:10; background:#fff; }
.legal-skip:focus { top:12px; }
.legal-revision { margin-top:16px !important; font-size:14px !important; }
.legal-copyright { max-width:960px; margin:24px auto 0; font-size:12px; color:#49677d; }
.legal-grid > nav > span { width:100%; padding:4px 10px; font-weight:650; }
.legal-table-scroll caption { padding:12px 15px; color:#173e5d; font-weight:600; text-align:left; }
.legal-progress { position:fixed; inset:0 0 auto; height:3px; background:#0067c3; z-index:50; }
.social-links { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin:0 0 20px; }
.social-links__label { font-size:14px; line-height:1.6; font-weight:550; color:#244a6a; }
.social-links__list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.social-links__link { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #102e4526; border-radius:50%; color:#0067c3; }
.social-links__link:hover { background:#dce9f2; }
.social-links__link:focus-visible { outline:2px solid #0067c3; outline-offset:4px; }

@media (max-width: 820px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legal-grid > nav { position: static; display: flex; flex-wrap: wrap; gap: 3px 12px; }
  .legal-grid > article { max-width: 66ch; }
}
@media (max-width: 720px) {
  .footer-company { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 26px 28px; }
  .footer-company__details { gap: 18px 24px; }
  .footer-legal { align-items: flex-start; gap: 8px 20px; }
  .footer-legal nav { gap: 2px 20px; }
}
@media (max-width: 480px) {
  .footer-company__details { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer-legal { justify-content: flex-start; }
  .footer-legal nav { width: 100%; }
  .legal-header { gap: 16px; padding-block: 13px; }
  .legal-intro { margin-bottom: 30px; }
  .legal-main { padding-bottom: 48px; }
  .legal-grid { gap: 26px; }
  .legal-grid > nav a { padding-inline: 6px; }
  .legal-section { margin-bottom: 32px; }
  .legal-notice { padding: 16px; }
  .legal-footer { padding-block: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-social a { transition: none; }
}
