.mobile-menu-button{
  display:none;
  width:44px;
  height:44px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  padding:0;
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  background:rgba(255,255,255,.065);
  cursor:pointer;
}

.mobile-menu-button span{
  width:19px;
  height:2px;
  border-radius:99px;
  background:#fff;
  transition:transform .2s ease,opacity .2s ease;
}

.mobile-menu-button.open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2){
  opacity:0;
}

.mobile-menu-button.open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:200;
  visibility:hidden;
  pointer-events:none;
}

.mobile-menu.open{
  visibility:visible;
  pointer-events:auto;
}

.mobile-menu-backdrop{
  position:absolute;
  inset:0;
  opacity:0;
  background:rgba(2,8,15,.72);
  backdrop-filter:blur(7px);
  transition:opacity .22s ease;
}

.mobile-menu.open .mobile-menu-backdrop{
  opacity:1;
}

.mobile-menu-panel{
  position:absolute;
  top:0;
  right:0;
  width:min(88vw,390px);
  height:100%;
  display:flex;
  flex-direction:column;
  padding:18px;
  border-left:1px solid rgba(255,255,255,.10);
  color:#fff;
  background:
    radial-gradient(
      circle at 85% 4%,
      rgba(45,115,255,.28),
      transparent 32%
    ),
    linear-gradient(180deg,#07121f,#0d243b);
  box-shadow:-25px 0 80px rgba(0,0,0,.38);
  transform:translateX(105%);
  transition:transform .25s ease;
}

.mobile-menu.open .mobile-menu-panel{
  transform:translateX(0);
}

.mobile-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:17px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.mobile-menu-head img{
  width:120px;
  max-height:43px;
  object-fit:contain;
}

.mobile-menu-close{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:11px;
  color:#fff;
  background:rgba(255,255,255,.055);
  cursor:pointer;
}

.mobile-menu-nav{
  display:grid;
  margin-top:20px;
}

.mobile-menu-nav a{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.085);
  color:#d2deec;
  font-size:16px;
  font-weight:750;
}

.mobile-menu-nav a::after{
  content:"→";
  color:#58e1cb;
}

.mobile-menu-actions{
  display:grid;
  gap:10px;
  margin-top:auto;
  padding-top:22px;
}

.mobile-menu-actions .btn{
  width:100%;
}

.mobile-menu-secondary,
.mobile-menu-phone{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  color:#cbd8e7;
  background:rgba(255,255,255,.045);
  font-weight:750;
}

.mobile-menu-phone{
  color:#72e2ce;
}

body.mobile-menu-open{
  overflow:hidden;
}

@media(max-width:680px){
  .nav{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:9px;
  }

  .nav nav{
    display:none!important;
  }

  .nav .brand img,
  .brand img{
    width:102px;
    height:37px;
  }

  .nav > .btn{
    justify-self:end;
    min-height:42px;
    padding:9px 12px;
    font-size:11px;
    white-space:nowrap;
  }

  .mobile-menu-button{
    display:flex;
  }
}

@media(max-width:430px){
  .nav{
    grid-template-columns:1fr auto;
  }

  .nav > .btn{
    display:none;
  }
}
