/* Mobile nav drawer — partner-scoped marketing HTML pages */
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-menu-toggle svg {
  width: 22px;
  height: 22px;
}

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

.nav-mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-mobile-drawer.is-open .nav-mobile-backdrop {
  opacity: 1;
}

.nav-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 72px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-mobile-drawer.is-open .nav-mobile-panel {
  transform: translateX(0);
}

.nav-mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-secondary);
  cursor: pointer;
}

.nav-mobile-close svg {
  width: 20px;
  height: 20px;
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.nav-mobile-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.nav-mobile-cta .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-menu-toggle {
    display: flex;
  }

  .nav-right {
    display: none !important;
  }
}
