/* Shared public header and footer shell used by every public page. */
.legacy-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #072f4a;
  transform: translateY(-150%);
}

.legacy-skip-link:focus {
  transform: translateY(0);
}

body > .topbar {
  color: #fff;
  background: #0a3d61;
  font-size: 13px;
}

body > .topbar .wrap,
body > .nav .wrap {
  display: flex;
  width: min(100% - 48px, 1180px);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

body > .topbar .wrap {
  min-height: 36px;
}

.topbar-label {
  color: rgb(255 255 255 / 68%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.topbar-links a {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.topbar-phone {
  font-variant-numeric: tabular-nums;
}

body > .nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(7 52 81 / 8%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

body > .nav .wrap {
  min-height: 88px;
}

body > .nav .brand img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

body > .nav .menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #31434e;
  font-size: 13px;
  font-weight: 700;
}

body > .nav .menu a {
  position: relative;
  padding: 35px 0;
}

body > .nav .menu a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  background: #08aeea;
  content: '';
  transform: scaleX(0);
  transition: transform .2s ease;
}

body > .nav .menu a:hover::after,
body > .nav .menu a[aria-current='page']::after {
  transform: scaleX(1);
}

body > .nav .menu-toggle,
body > .nav .menu-button {
  display: none;
}

body > footer {
  margin-top: 70px;
  color: #fff;
  background: #072f4a;
}

body > footer .footer {
  display: grid;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding: 62px 0;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 70px;
}

body > footer .footer h4 {
  margin: 0 0 16px;
}

body > footer .footer p,
body > footer .footer li,
body > footer .footer-menu a {
  color: #bec8ce;
  font-size: 13px;
  line-height: 1.65;
}

body > footer .footer ul {
  padding: 0;
  list-style: none;
}

body > footer .footer img {
  width: 110px;
  filter: brightness(0) invert(1);
}

body > footer .footer-menu {
  display: grid;
  margin-bottom: 25px;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}

body > footer .footer-menu a:hover {
  color: #08aeea;
}

body > footer .copyright {
  padding: 18px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  body > .nav .wrap {
    position: relative;
    flex-wrap: wrap;
  }

  body > .nav .menu-button {
    display: block;
    width: auto;
    height: auto;
    padding: 8px;
    color: #073451;
    font-size: 25px;
    cursor: pointer;
  }

  body > .nav .menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 0;
  }

  body > .nav .menu a {
    padding: 13px 0;
    border-top: 1px solid #e1e8ec;
  }

  body > .nav .menu a::after {
    display: none;
  }

  body > .nav .menu-toggle:checked ~ .menu {
    display: flex;
  }

  body > footer .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  body > .topbar {
    display: none;
  }

  body > footer .footer {
    grid-template-columns: 1fr;
  }
}
