/* Local refinements. Keep original brand styles intact and editable separately. */
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: calc(var(--nav-h, 65px) + 1rem);
}
:focus-visible {
  outline: 3px solid #087daa;
  outline-offset: 4px;
}
.form-feedback {
  border-left: 4px solid #b42318;
  padding: 1rem;
  background: #fff4f2;
  color: #812219;
  margin-block: 1rem;
}
.form-feedback:empty {
  display: none;
}
.form-feedback ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.preview-note {
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  margin: 1rem auto;
  max-width: 800px;
  padding: 0 1.5rem;
  color: #475569;
}
.confirmation {
  padding-top: calc(var(--nav-h, 65px) + 4rem);
  padding-bottom: 5rem;
  min-height: 65vh;
}
.confirmation .button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: #0a4f8f;
  color: #fff;
  border-radius: 0.5rem;
}
.mobile-product-action {
  display: none;
}
@media (max-width: 767px) {
  body[data-product] {
    padding-bottom: var(
      --product-action-height,
      calc(112px + env(safe-area-inset-bottom, 0px))
    );
  }
  body[data-product] main > * + * {
    margin-block-start: 1.5rem;
  }
  body[data-product] main > .pad--2xl--nn {
    padding-block: 3rem;
  }
  body[data-product] main .gap--lg {
    gap: 1.75rem;
  }
  body[data-product] .pad--xl--nn {
    padding-top: 2.5rem;
  }
  body[data-product] .pgm-card {
    padding: 1.25rem;
  }
  body[data-product] .pgm-bullet {
    gap: 0.5rem;
  }
  body[data-product] .pgm-bullet__eyebrow {
    font-size: 0.875rem;
  }
  body[data-product] .pgm-card--special {
    order: -1;
  }
  body[data-product] details.pgm-card > summary {
    cursor: pointer;
    min-height: 44px;
    margin: 0;
  }
  body[data-product] details.pgm-card[open] > summary {
    margin-bottom: 1rem;
  }
  body[data-product] details.pgm-card summary::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: auto;
  }
  body[data-product] details.pgm-card[open] summary::after {
    content: '−';
  }
  body[data-product] main p {
    font-size: max(1rem, 1em);
  }
  .mobile-product-action {
    position: fixed;
    z-index: 90;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #d5e3ed;
    box-shadow: 0 -3px 16px #082d4b12;
  }
  .mobile-product-action > span {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.875rem;
  }
  .mobile-product-action .button {
    min-height: 44px;
    font-size: 0.875rem;
    white-space: normal;
    text-align: center;
    padding: 0.7rem 1rem;
    background: #0a4f8f;
    color: #fff;
    border-radius: 0.5rem;
  }
  body:has(.nav-mob.is-open) .mobile-product-action,
  body:has([role='dialog'][aria-hidden='false']) .mobile-product-action {
    visibility: hidden;
  }
}
/* Keep the directory action visible without crowding the desktop header. */
.modsa-dir .dir-definition {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}
.modsa-dir .dir-preview-note {
  color: #475569;
  font-size: 0.75rem;
  margin: 0.75rem 0;
}
.nav__desktop-shell .nav__menu-grid {
  --nav-menu-gap: clamp(0.4rem, 1.2vw, 1rem);
}
.site-nav .nav__menu-grid a.nav-collector,
.site-nav-mobile a.nav-collector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  border: 2px solid #2456a6;
  border-radius: var(--radius);
  background: #2456a6;
  color: #fff;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.site-nav .nav__menu-grid a.nav-collector {
  min-height: 0;
  padding: var(--space-xs) var(--space-md);
  line-height: inherit;
}
.site-nav .nav__menu-grid a.nav-collector:hover,
.site-nav-mobile a.nav-collector:hover,
a.nav-collector[aria-current="page"] {
  background: #19417f;
  border-color: #19417f;
}
.nav-collector__icon {
  flex: 0 0 18px;
}
.site-nav-mobile a.nav-collector {
  width: 100%;
  margin-block: 0.35rem;
}
/* Preserve the original 900px mobile breakpoint; compact the desktop row. */
@media (min-width: 901px) and (max-width: 1279px) {
  .nav__desktop-shell {
    inline-size: calc(100% - 24px);
    gap: 8px;
  }
  .nav__desktop-shell .site-nav--desktop__logo {
    display: flex;
    align-items: center;
    width: clamp(100px, 10vw, 128px);
  }
  .nav__desktop-shell .site-nav--desktop__logo img {
    width: 100%;
    height: auto;
  }
  .nav__desktop-shell .nav__menu-grid {
    --nav-menu-gap: clamp(4px, 0.7vw, 8px);
    --nav-menu-gap-button: 6px;
  }
  .site-nav .nav__menu-grid a {
    font-size: 0.7rem;
    padding-inline: 4px;
  }
  .site-nav .nav__menu-grid a.nav-collector,
  .site-nav .nav__menu-grid a.nav-outline-primary,
  .site-nav .nav__menu-grid a.nav-accent {
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  [data-anim],
  .anim-word,
  .anim-char {
    opacity: 1 !important;
    transform: none !important;
  }
}
