.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.brand img{ width:40px; height:40px; border-radius:8px; }
.brand span{
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 52vw;
}

.menu-toggle{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:18px;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.menu{
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 76px 16px 16px;
  display: flex;
  flex-direction: column;
  gap:10px;
  transform: translateX(100%);
  transition: transform .22s ease;
}
.menu.is-open{ transform: translateX(0); }

.menu a{
  padding:14px;
  border-radius:14px;
  background:#f3f3f5;
  font-weight:800;
}
.menu .menu-cta{
  background: var(--accent);
  color:#fff;
  text-align:center;
}

.menu-btn{
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  border-radius:12px;
}

.menu-btn:hover{
  background:rgba(109,76,255,.08);
}


@media (min-width: 860px){
  .menu-toggle{ display:none; }

  .menu{
    position: static;
    inset: auto;
    transform: none;
    padding: 0;
    flex-direction: row;
    gap: 16px;
    background: transparent;
  }

  .menu a{
    padding: 8px 0;
    background: transparent;
    font-weight:700;
    color:#2a2a2a;
  }

  .menu .menu-cta{
    padding:10px 14px;
    border-radius:999px;
    background: var(--accent);
    color:#fff;
  }
}
