.nav {
  position:       fixed;
  top:            0; left: 0; right: 0;
  z-index:        100;
  background:     rgba(247,248,250,0.94);
  backdrop-filter: blur(12px);
  border-bottom:  1px solid var(--rule);
  height:         60px;
  display:        flex;
  align-items:    center;
  transition:     box-shadow .2s;
}
.nav-inner {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 40px;
  width:     100%;
  display:   flex;
  align-items: center;
  justify-content: space-between;
  gap:       32px;
}
.nav-logo {
  display:         flex;
  align-items:     center;
  gap:             10px;
  text-decoration: none;
  flex-shrink:     0;
}
.nav-logomark {
  width:         32px;
  height:        32px;
  background:    var(--teal);
  border-radius: 6px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  flex-shrink:   0;
}
.nav-wordmark {
  font-family:    var(--font-serif);
  font-size:      1.2rem;
  color:          var(--teal);
  letter-spacing: -0.01em;
}
.nav-links {
  display:     flex;
  align-items: center;
  gap:         28px;
  list-style:  none;
  flex:        1;
}
.nav-links a {
  font-size:       13px;
  font-weight:     400;
  color:           var(--ink-3);
  text-decoration: none;
  transition:      color .15s;
  white-space:     nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.nav-right {
  display:     flex;
  align-items: center;
  gap:         10px;
  flex-shrink: 0;
}
.nav-login {
  font-size:       13px;
  font-weight:     500;
  color:           var(--teal);
  text-decoration: none;
  padding:         6px 14px;
  border:          1px solid var(--teal);
  border-radius:   var(--radius);
  white-space:     nowrap;
  transition:      background .15s, color .15s;
}
.nav-login:hover { background: var(--teal); color: var(--white); }

.nav-register {
  font-size:       13px;
  font-weight:     500;
  color:           var(--white);
  background:      var(--teal);
  text-decoration: none;
  padding:         7px 16px;
  border-radius:   var(--radius);
  white-space:     nowrap;
  transition:      background .15s;
}
.nav-register:hover { background: var(--teal-md); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 28px; }
  .nav-links  { display: none; }
}
@media (max-width: 768px) {
  .nav-inner  { padding: 0 16px; }
  .nav-login  { display: none; }
  .nav-register { font-size: 12px; padding: 7px 12px; }
}
