/* Shared landing header — keep in sync with shared/nav.js */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 64px;
}

.nav-logo {
  flex: 0 0 auto;
}

.nav-logo img,
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black, var(--ink, #0a0a0a));
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue, var(--brand, #0d10fe));
}

.nav-cta {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--blue, var(--brand, #0d10fe));
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-mid, #4143fe) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black, var(--ink, #0a0a0a));
  transition: all 0.3s;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  flex-direction: column;
  padding: 40px clamp(20px, 5vw, 64px);
  gap: 0;
}

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

.mobile-menu a,
.mobile-menu button.mob-link {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black, var(--ink, #0a0a0a));
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mobile-cta-btn {
  margin-top: 28px !important;
  text-align: center !important;
  font-weight: 700 !important;
  background: var(--blue, var(--brand, #0d10fe)) !important;
  color: #fff !important;
  padding: 16px !important;
  border: none !important;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
