.nav-inner {
  position: relative;
  column-gap: clamp(.75rem, 2vw, 1.5rem);
}

.nav-destinations {
  display: flex;
  align-items: center;
  margin-inline-start: auto;
}

.nav-destinations::after {
  content: "";
  width: 1px;
  height: 1.125rem;
  margin-inline-start: clamp(.75rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, .24);
}

.nav-shortcuts {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 1.75rem);
}

.nav-destinations a,
.nav-menu summary,
.nav-inner .nav-cta {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.nav-destinations a,
.nav-menu summary {
  color: #c4cbd3;
}

.nav-destinations :is(a:hover, a[aria-current], summary:hover) {
  color: #fff;
}

.nav-destinations :focus-visible {
  outline: 2px solid #87bfff;
  outline-offset: 3px;
  border-radius: .25rem;
}

.nav-menu {
  display: none;
}

.nav-inner .nav-cta,
.button.download-cta {
  border-radius: 999px;
  background-color: #f5f7fa;
  color: #131925;
}

.nav-inner .nav-cta {
  justify-content: center;
  gap: .375rem;
  padding: .25rem .75rem;
  /* Keep the 32px pill on the content rail and its full 44px area clickable. */
  border: 6px solid transparent;
  margin-inline: -6px;
  background-clip: padding-box;
  cursor: pointer;
  transition: background-color .2s ease;
}

.nav-cta svg {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

.nav-inner .nav-cta:hover,
.button.download-cta:hover {
  background-color: #e5e9ee;
}

.nav-inner .nav-cta:hover {
  transform: none;
}

.nav-inner .nav-cta:focus-visible,
.button.download-cta:focus-visible {
  outline: 2px solid #87bfff;
  outline-offset: 3px;
}

.nav-inner .nav-cta:focus-visible {
  outline-offset: -3px;
}

.nav-brand .brand-name { display: inline; }

@media (width < 22rem) {
  .nav-brand .brand-name { display: none; }
}

@media (max-width: 38rem) {
  .nav-inner { flex-wrap: wrap; justify-content: flex-end; row-gap: .25rem; }
  .nav-brand { margin-inline-end: auto; }
  .nav-destinations { margin-inline-start: 0; }
  .nav-shortcuts { display: none; }
  .nav-menu { display: block; }

  .nav-menu summary {
    gap: .5rem;
    cursor: pointer;
    list-style: none;
  }

  .nav-menu summary::-webkit-details-marker { display: none; }

  .nav-menu summary::after {
    content: "";
    width: .375rem;
    height: .375rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.1rem) rotate(45deg);
  }

  .nav-menu[open] summary::after {
    transform: translateY(.1rem) rotate(-135deg);
  }

  .nav-menu-panel {
    position: absolute;
    z-index: 1;
    inset-block-start: calc(100% + .375rem);
    inset-inline-end: 0;
    width: min(12rem, 100%);
    padding: .3rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .75rem;
    background: #20252c;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .3);
  }

  .nav-menu-panel a {
    padding-inline: .8rem;
    border-radius: .45rem;
  }

  .nav-menu-panel a:is(:hover, :focus-visible) { background: #303740; }
}
