.site-menu-toggle {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  z-index: 120;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 18, 36, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0, 35, 60, 0.24);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.site-menu-toggle.is-open {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.site-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.site-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(1, 13, 28, 0.56);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.site-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 115;
  width: min(86vw, 430px);
  height: 100svh;
  padding:
    max(22px, env(safe-area-inset-top))
    22px
    max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(69, 223, 255, 0.14) 0%,
      rgba(69, 223, 255, 0.045) 34%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(3, 41, 70, 0.96) 0%,
      rgba(1, 22, 42, 0.98) 52%,
      rgba(1, 13, 28, 0.99) 100%
    );
  border-left: 1px solid rgba(69, 223, 255, 0.14);
  box-shadow: -28px 0 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateX(104%);
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
}

.site-menu-panel.is-open {
  transform: translateX(0);
}

.site-menu-panel-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.site-menu-close {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(69, 223, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-menu-close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(69, 223, 255, 0.34);
  box-shadow: 0 0 28px rgba(69, 223, 255, 0.12);
}

.site-menu-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 7svh, 76px) 0 clamp(22px, 5svh, 54px);
}

.site-menu-section {
  display: flex;
  flex-direction: column;
}

.site-menu-section--anchors {
  gap: clamp(4px, 1.1svh, 12px);
}

.site-menu-section--anchors a,
.site-menu-section--promo a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(48px, 7.2svh, 66px);
  padding: 0 2px 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(22px, 5.2vw, 31px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.045em;
  transition:
    color 220ms ease,
    transform 220ms ease,
    padding-left 220ms ease;
}

.site-menu-section--anchors a::before,
.site-menu-section--promo a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45dfff;
  box-shadow: 0 0 16px rgba(69, 223, 255, 0.72);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.site-menu-section--anchors a::after,
.site-menu-section--promo a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 0;
  bottom: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(69, 223, 255, 0.3) 0%,
      rgba(69, 223, 255, 0.12) 48%,
      transparent 100%
    );
  opacity: 0.55;
}

.site-menu-section--anchors a:hover,
.site-menu-section--promo a:hover {
  color: #ffffff;
  padding-left: 24px;
}

.site-menu-section--anchors a:hover::before,
.site-menu-section--promo a:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.site-menu-section--promo {
  gap: clamp(4px, 1.1svh, 12px);
  padding-top: clamp(28px, 5svh, 52px);
}

.site-menu-section--promo a {
  color: #8feaff;
}

.site-menu-section--promo a::after {
  background:
    linear-gradient(
      90deg,
      rgba(42, 171, 238, 0.42) 0%,
      rgba(42, 171, 238, 0.16) 48%,
      transparent 100%
    );
  opacity: 0.7;
}

.site-menu-section--promo a::before {
  background: #8feaff;
  box-shadow: 0 0 18px rgba(143, 234, 255, 0.78);
  opacity: 0.65;
}

.site-menu-section--promo a:hover {
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(42, 171, 238, 0.12) 0%,
      rgba(42, 171, 238, 0.045) 54%,
      transparent 100%
    );
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 981px) {
  .site-menu-toggle {
    top: 28px;
    right: 28px;
  }

  .site-menu-panel {
    width: min(430px, 34vw);
  }

  .site-menu-section--anchors a,
  .site-menu-section--promo a {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .site-menu-toggle {
    width: 50px;
    height: 50px;
    right: 14px;
  }

  .site-menu-panel {
    width: 88vw;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-menu-close {
    width: 50px;
    height: 50px;
  }

  .site-menu-body {
    padding-top: clamp(28px, 6svh, 52px);
    padding-bottom: clamp(18px, 4svh, 36px);
  }

  .site-menu-section--anchors,
  .site-menu-section--promo {
    gap: 4px;
  }

  .site-menu-section--anchors a,
  .site-menu-section--promo a {
    min-height: clamp(44px, 6.7svh, 58px);
    font-size: 23px;
  }

  .site-menu-section--promo {
    padding-top: clamp(24px, 4.5svh, 42px);
  }
}