.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: #111827;
  color: #fff;
  font-weight: 750;
  transform: translateY(-160%);
}

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

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
}

.privacy-note {
  color: #596271;
  font-size: 12px;
  margin-top: 14px;
}

.privacy-note a {
  color: #0b3b91;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cfd5dd;
  background: #fff;
  color: #111827;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-contact-link {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-bar {
    min-height: 64px;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-bar > .nav-cta {
    display: none;
  }

  .nav-bar nav {
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    display: none;
    background: #fff;
    border-top: 1px solid #d9dee5;
    border-bottom: 1px solid #d9dee5;
    box-shadow: 0 18px 32px rgba(17, 24, 39, 0.16);
    padding: 10px 20px 18px;
    z-index: 20;
  }

  .nav-bar nav.is-open {
    display: grid;
    gap: 0;
  }

  .nav-bar nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e9ee;
    font-size: 15px;
  }

  .nav-bar nav a:last-child {
    border-bottom: 0;
  }

  .nav-bar nav .mobile-contact-link {
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
    font-weight: 750;
  }
}

@media (max-width: 640px) {
  .nav-bar nav {
    left: -14px;
    right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand img {
    width: 72px;
  }
}
