@layer components {
  .language-switcher { position: relative; flex: 0 0 auto; color: #b2c6d0; margin-left: auto; }
  .language-switcher summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 4px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; }
  .language-switcher summary::-webkit-details-marker { display: none; }
  .language-switcher summary:hover, .language-switcher[open] summary { background: #ffffff0a; color: #fff; }
  .language-switcher summary:focus-visible, .language-options a:focus-visible { outline: 3px solid #16c6e7; outline-offset: 3px; }
  .language-switcher summary svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .language-switcher[open] summary svg { transform: rotate(180deg); }
  .language-options { position: absolute; right: 0; top: calc(100% + 10px); width: min(252px, calc(100vw - 40px)); padding: 16px; border: 1px solid #c9dce2; border-radius: 8px; background: #fff; color: #09293b; box-shadow: 0 14px 35px #021a2e26; z-index: 25; }
  .language-heading { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .language-availability { margin: 0 0 8px; color: #4b6470; font-size: 13px; line-height: 1.5; }
  .language-options ul { list-style: none; padding: 0; margin: 0; }
  .language-options a { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 44px; padding: 10px 8px; border-radius: 4px; font-size: 15px; }
  .language-options a:hover, .language-options a[aria-current] { background: #edf7f9; color: #006d88; }
  .language-note { display: inline; font-size: .8em; font-weight: 400; white-space: nowrap; }
  .illustration-language-note { margin: 0 0 16px; padding: 12px 16px; color: #3d5866; background: #edf7f9; border-radius: 6px; font-size: 13px; line-height: 1.6; }
}
@layer responsive {
  /* Keep both languages' longer labels clear of the logo and language control. */
  .site-header .header-inner { gap: 20px; }
  .site-header .wordmark { flex-shrink: 0; }
  .site-header .main-nav { order: 2; }
  .site-header .language-switcher { order: 3; }
  .site-header .menu-toggle { order: 4; }
  @media (min-width: 1441px) {
    /* Align primary navigation to the content edge; language is a quiet utility at the viewport edge. */
    .site-header .main-nav { margin-left: auto; padding-left: 32px; padding-right: 20px; gap: 18px; font-size: 13px; }
    .site-header .language-switcher { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin-left: 0; }
    .site-header .nav-cta { margin-left: 0; padding-inline: 12px; font-size: 13px; }
    html[lang="fr"] .site-header .main-nav > a:not(.button) { display: block; }
    html[lang="fr"] .site-header .main-nav .language-note { display: block; }
  }
  @media (max-width: 1440px) {
    .site-header .menu-toggle { display: inline-flex; }
    .site-header .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; padding: 16px 28px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-top: 1px solid #ffffff25; box-shadow: 0 14px 24px #021a2e20; }
    .site-header .main-nav.is-open { display: flex; }
    .site-header .main-nav > a:not(.button) { min-height: 45px; padding: 12px 4px; font-size: 16px; white-space: normal; }
    .site-header .main-nav > .nav-cta { justify-content: center; margin: 10px 0 0; font-size: 16px; }
  }
  @media (max-width: 820px) {
    .illustration-language-note { grid-column: auto; }
  }
  @media (max-width: 480px) {
    .site-header .header-inner { gap: 8px; }
    .site-header .brand-logo { width: 126px; }
    .site-header .brand-risk { font-size: 8px; margin-left: 6px; padding-left: 6px; }
    .site-header .menu-toggle { min-width: 44px; padding-inline: 10px; }
    .site-header .menu-label { display: none; }
    .language-options { right: -52px; }
  }
}
