/* Shared site header, guide strip, and footer. */

.topbar,
.site-header,
.site-breadcrumbs,
.guide-benefits,
.site-footer {
  --shell-navy: #021d3c;
  --shell-teal: #008b97;
  --shell-teal-dark: #006b75;
  --shell-cyan: #22bdd0;
  --shell-green: #2f7d5a;
  --shell-muted: #5b6970;
  --shell-line: #dce5e6;
  --shell-line-strong: #c4d1d3;
  width: 100%;
  color: #17232b;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
}

.topbar *,
.topbar *::before,
.topbar *::after,
.site-header *,
.site-header *::before,
.site-header *::after,
.site-breadcrumbs *,
.site-breadcrumbs *::before,
.site-breadcrumbs *::after,
.guide-benefits *,
.guide-benefits *::before,
.guide-benefits *::after,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.topbar .container,
.site-header .container,
.guide-benefits .container,
.site-footer .container {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.topbar svg,
.site-header svg,
.guide-benefits svg {
  display: block;
  max-width: 100%;
}

.site-header img,
.site-footer img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 4px;
  background: #021d3c;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header :focus-visible,
.site-breadcrumbs :focus-visible,
.site-footer :focus-visible,
.guide-benefits :focus-visible {
  outline: 3px solid #22bdd0;
  outline-offset: 3px;
}

.site-header .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  min-height: 40px;
  display: flex;
  align-items: center;
  background: #021d3c;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.topbar__item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.topbar__item:first-child {
  justify-content: flex-start;
  text-align: left;
}

.topbar__item:last-child {
  justify-content: flex-end;
  text-align: right;
}

.topbar__item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #22bdd0;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid #dce5e6;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 18px rgba(2, 29, 60, 0.04);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header .brand {
  min-height: 44px;
  display: inline-flex;
  flex: 0 1 310px;
  align-items: center;
  color: #021d3c;
  text-decoration: none;
}

.site-header .brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav[hidden] {
  display: none !important;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list li {
  padding: 0;
  margin: 0;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #021d3c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: #008b97;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #006b75;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__item--dropdown {
  position: relative;
}

.site-nav__link-row {
  display: flex;
  align-items: center;
}

.site-nav__dropdown-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #021d3c;
  cursor: pointer;
  margin-left: -10px;
}

.site-nav__dropdown-toggle:hover {
  background: transparent;
  color: #006b75;
}

.site-nav__dropdown-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.site-nav__item--dropdown[data-dropdown-open] .site-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.site-nav__item--dropdown[data-section-current] > .site-nav__link-row > a {
  color: #006b75;
}

.site-nav__item--dropdown[data-section-current] > .site-nav__link-row > a::after {
  transform: scaleX(1);
}

.site-nav__dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  display: none;
  gap: 2px;
  padding: 8px;
  margin: 0;
  border: 1px solid #dce5e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(2, 29, 60, 0.13);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav__dropdown::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 9px;
  content: "";
}

.site-nav__item--dropdown[data-dropdown-open] .site-nav__dropdown {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 981px) and (hover: hover) {
  .site-nav__item--dropdown:hover .site-nav__dropdown {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__item--dropdown:hover .site-nav__dropdown-toggle svg {
    transform: rotate(180deg);
  }
}

.site-nav__dropdown li {
  width: 100%;
}

.site-nav .site-nav__dropdown a {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 4px;
  color: #344a54;
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
}

.site-nav .site-nav__dropdown a::after {
  display: none;
}

.site-nav .site-nav__dropdown a:hover,
.site-nav .site-nav__dropdown a:focus-visible,
.site-nav .site-nav__dropdown a[aria-current="page"] {
  background: #f3f8f8;
  color: #006b75;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #021d3c;
  cursor: pointer;
}

.menu-toggle:hover {
  color: #008b97;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-header .menu-toggle__close,
.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.site-menu-backdrop {
  display: none;
}

.site-breadcrumbs {
  margin: 0 0 16px;
  border: 0;
  background: transparent;
}

.site-breadcrumbs .site-breadcrumbs__list {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-breadcrumbs .site-breadcrumbs__item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.site-breadcrumbs .site-breadcrumbs__item + .site-breadcrumbs__item::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: 0 15px 0 13px;
  border-top: 1.5px solid #2f7d5a;
  border-right: 1.5px solid #2f7d5a;
  content: "";
  transform: rotate(45deg);
}

.site-breadcrumbs a,
.site-breadcrumbs span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: #2f7d5a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.site-breadcrumbs a:hover {
  color: #006b75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-breadcrumbs [aria-current="page"] {
  color: #021d3c;
  font-weight: 700;
}

.guide-benefits {
  border-block: 1px solid #dce5e6;
  background: #f3f8f8;
}

.guide-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-benefit {
  min-height: 126px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid #c4d1d3;
}

.guide-benefit:last-child {
  border-right: 0;
}

.guide-benefit > svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #2f7d5a;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-benefit strong,
.guide-benefit span {
  display: block;
}

.guide-benefit strong {
  color: #021d3c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.guide-benefit span {
  margin-top: 5px;
  color: #5b6970;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  border-top: 1px solid #dce5e6;
  background: #edf5f5;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.75fr 0.82fr 0.92fr 1.05fr;
  gap: 56px;
  padding-block: 62px;
}

.site-footer__brand img {
  width: 310px;
  height: auto;
}

.site-footer__brand > p {
  max-width: 460px;
  margin: 22px 0 0;
  color: #53646c;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__brand .site-footer__disclosure {
  max-width: 430px;
  padding-left: 12px;
  margin-top: 15px;
  border-left: 3px solid #008b97;
  color: #021d3c;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__column h2 {
  margin: 0;
  color: #021d3c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer__column ul {
  padding: 0;
  margin: 17px 0 0;
  list-style: none;
}

.site-footer__column li,
.site-footer__column li + li {
  padding: 0;
  margin: 0;
}

.site-footer__column li + li {
  margin-top: 9px;
}

.site-footer__column a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  color: #41545d;
  font-size: 14px;
  text-decoration: none;
}

.site-footer__column a:hover {
  color: #006b75;
  text-decoration: underline;
}

.site-footer__status {
  margin: 22px 0 0;
  color: #68777e;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__bottom {
  background: #021d3c;
  color: #d5e0e8;
}

.site-footer__bottom-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

@media (max-width: 1160px) {
  .site-nav__list {
    gap: 18px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-header .brand {
    flex-basis: 275px;
  }
}

@media (max-width: 980px) {
  .site-header {
    backdrop-filter: none;
  }

  .topbar__inner {
    display: flex;
    justify-content: center;
  }

  .topbar__item:first-child {
    justify-content: center;
    text-align: center;
  }

  .topbar__item:nth-child(n + 2) {
    display: none;
  }

  .site-header__inner {
    min-height: 74px;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .site-header .brand {
    flex-basis: 270px;
  }

  .menu-toggle {
    position: relative;
    z-index: 4;
    display: inline-flex;
    margin-left: auto;
  }

  .site-menu-backdrop {
    position: fixed;
    z-index: 1;
    top: var(--mobile-nav-top, 114px);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(2, 29, 60, 0.38);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
  }

  .site-header[data-menu-open] .site-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    top: var(--mobile-nav-top, 114px);
    bottom: 0;
    left: 0;
    width: min(88vw, 360px);
    display: block;
    padding: 16px 24px 28px;
    margin: 0;
    border: 0;
    background: #fff;
    box-shadow: 18px 0 40px rgba(2, 29, 60, 0.16);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-102%);
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 300ms ease;
  }

  .site-header[data-menu-open] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .site-nav a {
    width: 100%;
    min-height: 52px;
    padding-inline: 4px;
    font-size: 15px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav__item--dropdown,
  .site-nav__link-row {
    width: 100%;
  }

  .site-nav__link-row > a {
    width: auto;
    flex: 0 1 auto;
  }

  .site-nav__dropdown-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    margin-left: -10px;
  }

  .site-nav__dropdown {
    position: static;
    width: auto;
    max-height: 0;
    display: grid;
    gap: 0;
    padding: 0 0 0 14px;
    margin: 0;
    border: 0;
    border-left: 0;
    border-radius: 0;
    background: #f3f8f8;
    box-shadow: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height 240ms ease, padding 240ms ease, margin 240ms ease, opacity 180ms ease, visibility 240ms ease;
  }

  .site-nav__dropdown::before {
    display: none;
  }

  .site-nav__item--dropdown[data-dropdown-open] .site-nav__dropdown {
    max-height: 300px;
    padding: 4px 0 8px 14px;
    margin: 0 0 5px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav .site-nav__dropdown a {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 14px;
  }

  body.site-menu-open {
    overflow: hidden;
  }

  .guide-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-benefit:nth-child(2) {
    border-right: 0;
  }

  .guide-benefit:nth-child(-n + 2) {
    border-bottom: 1px solid #c4d1d3;
  }

  .site-footer__main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 44px;
    padding-block: 54px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .guide-benefit {
    min-height: 112px;
    padding: 20px;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 28px;
    padding-block: 50px;
  }

  .site-footer__column:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__bottom-inner {
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .topbar .container,
  .site-header .container,
  .guide-benefits .container,
  .site-footer .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .site-header .brand {
    flex-basis: 218px;
  }

  .site-breadcrumbs .site-breadcrumbs__item + .site-breadcrumbs__item::before {
    margin-inline: 10px 9px;
  }

  .site-breadcrumbs a,
  .site-breadcrumbs span {
    min-height: 30px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .site-nav {
    width: min(90vw, 340px);
    padding-inline: 20px;
  }

  .guide-benefits__grid,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .guide-benefit {
    border-right: 0;
    border-bottom: 1px solid #c4d1d3;
  }

  .guide-benefit:last-child {
    border-bottom: 0;
  }

  .site-footer__brand,
  .site-footer__column:last-child {
    grid-column: auto;
  }

  .site-footer__brand img {
    width: 275px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition-duration: 0.01ms !important;
  }
}
