body > header.site-masthead {
  display: block;
  position: relative;
  z-index: 20;
  width: 100%;
  height: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.masthead-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .45rem;
  min-height: 66px;
  max-width: 1180px;
  padding: 0 clamp(16px, 3vw, 32px);
  margin: auto;
}
.site-masthead[data-home] .masthead-top { min-height: 100px; }
.site-masthead .masthead-brand {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  color: #193958;
  font-size: clamp(1rem, 3.5vw, 1.75rem);
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
}
.site-masthead[data-home] .masthead-brand { font-size: clamp(1rem, 4.4vw, 2.5rem); }
.site-masthead .masthead-brand strong { font-weight: 800; letter-spacing: -.07em; }
.site-masthead .masthead-brand > span { display: inline; }
.masthead-overview, .masthead-account, .masthead-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.masthead-overview { grid-column: 1; grid-row: 1; justify-self: start; }
.masthead-account {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.masthead-account:hover, .masthead-account[aria-current], .masthead-toggle:hover { background: #f0f4f9; }
.masthead-overview:hover { text-decoration: underline; text-underline-offset: 4px; }
.masthead-toggle {
  grid-column: 1;
  grid-row: 1;
  display: none;
  justify-self: start;
  background: transparent;
  padding: 0 .45rem;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.masthead-grid-icon, .masthead-account-icon, .masthead-menu-icon {
  position: relative;
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}
.masthead-grid-icon {
  background: linear-gradient(currentColor 0 0) 0 0 / 6px 6px,
    linear-gradient(currentColor 0 0) 9px 0 / 6px 6px,
    linear-gradient(currentColor 0 0) 0 9px / 6px 6px,
    linear-gradient(currentColor 0 0) 9px 9px / 6px 6px;
  background-repeat: no-repeat;
}
.masthead-menu-icon { height: 12px; border-block: 2px solid currentColor; }
.masthead-menu-icon::after { content: ''; position: absolute; inset: 3px 0 auto; border-top: 2px solid currentColor; }
.masthead-account-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.masthead-account-icon::after {
  content: '';
  position: absolute;
  inset: 8px 1px 0;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.masthead-categories { border-top: 1px solid var(--line); }
.masthead-category-list {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1280px;
  margin: auto;
  padding: 0 12px;
}
.masthead-product, .masthead-mobile-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: .45rem clamp(8px, 1vw, 16px);
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.35;
}
.masthead-product:hover, .masthead-product[aria-current], .masthead-mobile-home:hover {
  background: #eef4fb;
  color: #244f85;
}
.masthead-product[aria-current] { box-shadow: inset 0 -2px #244f85; }
.masthead-category { position: relative; }
.masthead-category-row { display: flex; align-items: stretch; }
.masthead-category-row:has([aria-current]) { background: #eef4fb; color: #244f85; }
.masthead-product { flex: 1; padding-right: .15rem; white-space: nowrap; }
.masthead-disclosure {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.site-masthead[data-ready] .masthead-disclosure { display: inline-flex; }
.masthead-disclosure:hover, .masthead-disclosure[aria-expanded="true"] { background: #eaf0f8; color: #244f85; }
.masthead-disclosure > span {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.masthead-disclosure[aria-expanded="true"] > span { margin-top: 3px; transform: rotate(225deg); }
.masthead-submenu {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 218px;
  max-width: min(320px, calc(100vw - 32px));
  max-height: min(65vh, 34rem);
  overflow-y: auto;
  margin: 0;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: white;
  box-shadow: 0 12px 25px #182d401e;
}
.masthead-category:nth-last-child(-n+3) .masthead-submenu { left: auto; right: 0; }
.masthead-submenu, .masthead-submenu ul { list-style: none; }
.masthead-submenu ul { margin: 0; padding: 0 0 .2rem .7rem; }
.masthead-submenu details { margin: 0; padding: 0; border: 0; }
.masthead-submenu a, .masthead-submenu summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem .65rem;
  border-radius: 5px;
  font-size: .875rem;
  line-height: 1.35;
}
.masthead-submenu summary { cursor: pointer; font-weight: 620; gap: .5rem; }
.masthead-submenu summary::-webkit-details-marker { display: none; }
.masthead-submenu summary::before { content: '+'; order: 1; margin-left: auto; }
.masthead-submenu details[open] > summary::before { content: '−'; }
.masthead-submenu a:hover, .masthead-submenu a[aria-current], .masthead-submenu summary:hover {
  background: #eef4fb;
  color: #244f85;
}
@media (min-width: 1240px) {
  .masthead-product { padding-left: .35rem; font-size: clamp(.73rem, .96vw, .82rem); }
}
.masthead-mobile-home { display: none; }
.site-masthead :focus-visible { outline-offset: -2px; }

#section-navigation:not(:empty) {
  border-bottom: 1px solid var(--line);
  background: #f6f8fb;
}
#section-navigation > nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  overflow-x: auto;
  border: 0;
}
#section-navigation > nav a {
  display: flex;
  flex: none;
  align-items: center;
  padding: .5rem .8rem;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  font-size: .875rem;
  font-weight: 640;
  white-space: nowrap;
}
#section-navigation > nav a:hover { background: #eaf0f8; }
#section-navigation > nav a[aria-current] { box-shadow: inset 0 -2px #244f85; background: #eaf0f8; color: #244f85; }
#section-navigation > nav a:focus-visible { outline-offset: -2px; }

@media (width < 1240px) {
  .site-masthead[data-home] .masthead-top { min-height: 76px; }
  .site-masthead[data-ready] .masthead-overview { display: none; }
  .site-masthead[data-ready] .masthead-toggle { display: inline-flex; }
  .site-masthead[data-ready]:has(.masthead-toggle[aria-expanded="false"]) .masthead-categories { display: none; }
  .masthead-category-list {
    display: block;
    max-width: 720px;
    padding: .35rem clamp(16px, 3vw, 32px) .8rem;
  }
  .site-masthead[data-ready] .masthead-categories {
    position: absolute;
    top: 100%;
    width: 100%;
    max-height: calc(100dvh - 100px);
    overflow: auto;
    background: white;
    box-shadow: 0 12px 25px #182d401e;
  }
  .masthead-mobile-home { display: flex; color: #244f85; font-weight: 650; }
  .masthead-category + .masthead-category { border-top: 1px solid var(--line); }
  .masthead-disclosure { min-width: 44px; }
  .masthead-submenu {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 0 .25rem .35rem .8rem;
    border: 0;
    box-shadow: none;
  }
  .masthead-product { padding-inline: .7rem; font-size: .93rem; }
}

@media (max-width: 500px) {
  .site-masthead .masthead-brand, .site-masthead[data-home] .masthead-brand {
    font-size: clamp(.9375rem, 4.45vw, 1.3rem);
  }
  .masthead-top { padding-inline: 12px; }
  .masthead-account { padding: 0 .4rem; font-size: .8rem; }
  .masthead-account-icon { display: none; }
  .masthead-toggle { font-size: .8rem; }
  #section-navigation > nav { padding-inline: 12px; }
  #section-navigation > nav a { padding-inline: .7rem; font-size: .81rem; }
}
@media (max-width: 390px) {
  .masthead-top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .masthead-account { padding-inline: .2rem; font-size: .76rem; }
  .masthead-toggle { justify-content: center; min-width: 44px; }
  .masthead-toggle > :last-child, .masthead-overview > :last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media print {
  .masthead-categories, .masthead-overview, .masthead-account, .masthead-toggle, #section-navigation { display: none !important; }
}
