.site-header #main-nav a[aria-current="page"] { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 5px; }
.header-tools { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.language-switcher { display: inline-flex; align-items: center; padding: 2px; border: 1px solid var(--line); border-radius: 8px; gap: 2px; background: var(--white); }
.language-switcher a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1; }
.language-switcher a:hover { background: var(--download-band); }
.language-switcher a[aria-current="true"] { color: var(--white); background: var(--navy); }
.site-header #main-nav { top: 100%; }
@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner { height: 72px; gap: 16px; }
  .brand { padding: 5px 8px; }
  .brand-logo { width: 140px; }
  .header-cta { font-size: 11px; padding: 12px; gap: 8px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; width: 40px; height: 44px; flex-shrink: 0; border: 0; background: transparent; order: 3; color: var(--ink); }
  .menu-toggle span { width: 18px; height: 2px; background: currentColor; }
  .site-header #main-nav { display: none; position: absolute; left: 0; right: 0; padding: 18px 28px 24px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 15px; flex-direction: column; gap: 0; }
  .site-header #main-nav.is-open { display: flex; }
  .site-header #main-nav a { padding: 14px 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 140px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 16px; height: auto; padding-block: 8px; }
  .header-inner .brand { justify-self: start; margin: 0; }
  .header-inner .menu-toggle { grid-column: 2; grid-row: 1; width: 44px; height: 44px; order: initial; }
  .header-tools { grid-column: 1 / -1; justify-content: space-between; gap: 12px; }
  .header-tools .header-cta { min-height: 44px; padding: 12px 16px; font-size: 12px; }
}
/* Keep every destination available when scripts are disabled or fail to load. */
@media (max-width: 1100px) {
  .site-header:not(.navigation-ready) { position: relative; }
  .site-header:not(.navigation-ready) .header-inner { height: auto; flex-wrap: wrap; padding-block: 8px; }
  .site-header:not(.navigation-ready) .menu-toggle { display: none; }
  .site-header:not(.navigation-ready) #main-nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; width: 100%; grid-column: 1 / -1; grid-row: 3; order: 3; padding: 4px 0; gap: 4px 20px; border: 0; }
  .site-header:not(.navigation-ready) #main-nav a { min-height: 44px; padding: 12px 0; }
}
.product-footer { padding-top: 42px; background: #0f233f; color: #fff; }
.footer-product-top { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 60px; padding-bottom: 28px; }
.footer-product-brand .footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
.footer-product-brand img { width: 210px; height: auto; }
.product-footer a { color: #e0eafa; font-size: 14px; line-height: 1.5; }
.product-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-footer .footer-signature { display: flex; align-items: center; width: fit-content; min-height: 44px; font-size: 14px; color: #b9dfff; }
.footer-product-brand p { margin-top: 8px; max-width: 310px; font-size: 15px; line-height: 1.6; color: #d5e3f5; }
.footer-link-group h3 { margin-bottom: 14px; font-size: 15px; letter-spacing: 0; }
.footer-link-group > a { display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
.footer-product-tools { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; border-top: 1px solid #ffffff20; padding-block: 20px; }
.product-footer nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; background: transparent; gap: 8px; font-weight: 400; }
.footer-social-links a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; background: #ffffff06; }
.footer-social-links a:hover { background: #ffffff10; }
.footer-resources summary { display: flex; list-style: none; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 10px 12px; color: #e0eafa; font-size: 14px; border-radius: 6px; }
.footer-resources summary::-webkit-details-marker { display: none; }
.footer-resources summary:hover { background: #ffffff08; }
.footer-resource-toggle { width: 18px; height: 18px; flex-shrink: 0; }
.footer-resources[open] .footer-resource-toggle { transform: rotate(45deg); }
.product-footer .footer-resources nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px; }
.footer-resources a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; overflow-wrap: anywhere; }
.footer-product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff20; padding-block: 22px; }
.footer-legal-copy { color: #c1d2e8; }
.footer-legal-copy > div { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 6px; }
.footer-legal-copy p { font-size: 12px; line-height: 1.7; }
.product-footer .footer-product-bottom nav { gap: 8px 24px; }
.footer-product-bottom a { display: flex; align-items: center; min-height: 44px; padding-block: 10px; }
@media (max-width: 1050px) {
  .footer-product-top { grid-template-columns: 1fr 1fr; gap: 32px 42px; }
  .footer-product-brand { grid-column: 1 / -1; }
  .footer-product-tools { grid-template-columns: 1fr; gap: 16px; }
  .footer-resources { max-width: 400px; }
}
@media (max-width: 760px) {
  .product-footer { padding-top: 32px; }
  .footer-product-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 26px; }
  .footer-product-brand { grid-column: auto; }
  .footer-product-brand img { width: 200px; }
  .footer-product-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-footer .footer-product-bottom nav { gap: 12px 24px; }
}
