.mobile-nav-arrow {
  display: none;
}

@media (max-width: 800px) {
  .web-header,
  .web-header.is-open {
    min-height: 3.8rem;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    padding: 0.5rem 0.625rem;
  }

  .web-header .menu-button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .web-header.is-open {
    border-radius: 999px;
    background: rgba(3, 31, 44, 0.76);
    box-shadow:
      0 0.75rem 2rem rgba(0, 0, 0, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.12);
  }

  .web-header.is-open .web-nav {
    position: absolute;
    z-index: 2;
    top: calc(100% + 0.6rem);
    left: 0;
    display: grid;
    width: 100%;
    max-height: calc(100svh - 6rem);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    border: 1px solid rgba(204, 222, 255, 0.2);
    border-radius: 1.25rem;
    background: rgba(5, 13, 24, 0.96);
    box-shadow:
      0 1.25rem 3rem rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    animation: websites-menu-arrive 180ms ease-out both;
  }

  .web-header.is-open .web-nav > a {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0.9rem 1.1rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
    transition:
      color 160ms ease,
      background-color 160ms ease;
  }

  .web-header.is-open .web-nav > a .mobile-nav-arrow {
    position: relative;
    display: block;
    flex: 0 0 auto;
    margin-left: 1rem;
    color: rgba(220, 230, 248, 0.65);
    font-size: 1rem;
    line-height: 1;
  }

  .web-header.is-open .web-nav > a:hover,
  .web-header.is-open .web-nav > a:focus-visible {
    background: rgba(182, 202, 255, 0.07);
    color: #fff;
  }

  .web-header.is-open .web-nav > .automation-link {
    color: rgba(255, 255, 255, 0.78);
  }

  .web-header.is-open .web-nav > .automation-link:last-of-type {
    border-bottom: 0;
  }

  .web-header.is-open .web-nav .nav-cta-glass {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .web-header.is-open .web-nav .nav-cta-glass .canvasui-glass-content {
    width: 100%;
  }

  .web-header.is-open .web-nav .nav-cta {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    text-align: left;
  }

  .web-header.is-open .web-nav .nav-cta::before {
    display: none;
  }

  .web-header.is-open .web-nav .nav-cta::after {
    display: none;
    content: none;
  }

  .web-header.is-open .web-nav .nav-cta .mobile-nav-arrow {
    display: block;
    color: rgba(220, 230, 248, 0.65);
  }

  .web-header.is-open .web-nav .nav-cta:hover,
  .web-header.is-open .web-nav .nav-cta:focus-visible {
    background: rgba(182, 202, 255, 0.07);
    color: #fff;
    transform: none;
  }
}

@keyframes websites-menu-arrive {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-header.is-open .web-nav {
    animation: none;
  }
}
