.vf-header-menu {
  position: fixed;
  top: var(--header-menu-top, 64px);
  left: var(--header-menu-left, 16px);
  z-index: 40;
  width: min(256px, calc(100vw - 48px));
  filter: drop-shadow(0 34px 58px rgba(30, 68, 135, 0)) blur(8px);
  transform: translate3d(0, -14px, 0) scale(0.965);
  transform-origin: var(--header-menu-pointer-x, 68px) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, filter;
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0ms linear 320ms;
}

.vf-header-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: drop-shadow(0 54px 84px rgba(30, 68, 135, 0.32)) blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0ms;
}

.vf-header-menu.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  filter: drop-shadow(0 38px 64px rgba(30, 68, 135, 0.08)) blur(5px);
  transform: translate3d(0, -10px, 0) scale(0.975);
  transition-duration: 180ms, 220ms, 220ms, 0ms;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.vf-header-menu__pointer {
  position: absolute;
  top: -17px;
  left: calc(var(--header-menu-pointer-x, 68px) - 68px);
  z-index: 1;
  width: 96px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.vf-header-menu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 470px;
  padding: 54px 14px 14px 40px;
  border-radius: 46px;
  background: #ffffff;
  z-index: 2;
}

.vf-header-menu__link,
.vf-header-menu__cta {
  position: relative;
  z-index: 1;
  font-family: var(--font-main, "Inter", sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vf-header-menu.is-open .vf-header-menu__link,
.vf-header-menu.is-open .vf-header-menu__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.vf-header-menu.is-open .vf-header-menu__link:nth-of-type(1) {
  transition-delay: 42ms;
}

.vf-header-menu.is-open .vf-header-menu__link:nth-of-type(2) {
  transition-delay: 62ms;
}

.vf-header-menu.is-open .vf-header-menu__link:nth-of-type(3) {
  transition-delay: 82ms;
}

.vf-header-menu.is-open .vf-header-menu__link:nth-of-type(4) {
  transition-delay: 102ms;
}

.vf-header-menu.is-open .vf-header-menu__link:nth-of-type(5) {
  transition-delay: 122ms;
}

.vf-header-menu.is-open .vf-header-menu__cta {
  transition-delay: 144ms;
}

.vf-header-menu.is-closing .vf-header-menu__link,
.vf-header-menu.is-closing .vf-header-menu__cta {
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  transition-delay: 0ms;
  transition-duration: 90ms, 140ms;
}

.vf-header-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 24px;
  margin-bottom: 45px;
  color: var(--primary-color, #1e4487);
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.vf-header-menu__link:focus-visible,
.vf-header-menu__cta:focus-visible {
  outline: 2px solid var(--primary-color, #1e4487);
  outline-offset: 4px;
}

.vf-header-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 26px);
  margin-left: -26px;
  min-height: 68px;
  margin-top: auto;
  border: 0;
  border-radius: 100px;
  background: var(--primary-color, #1e4487);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .vf-header-menu,
  .vf-header-menu__link,
  .vf-header-menu__cta {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }
}
