/* ============================================================
   nav.css — ANNOUNCEMENT BAR + NAVBAR (clean)
   ============================================================ */

/* ── Announcement bar: slim, one line ── */
.announce-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.announce-bar strong { color: #fff; font-weight: 600; }
.announce-bar a {
  color: #a5b4fc;
  font-weight: 500;
  margin-left: 6px;
  transition: color 0.2s;
}
.announce-bar a:hover { color: #fff; }

/* ── Navbar: single clean bar ── */
.nav {
   
    top: 0;
    left: 0;
    width: 100%; /* 🔥 key fix */
    z-index: 200;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.nav.scrolled {
  box-shadow: var(--sh-sm);
}

.nav-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 12px; /* reduce side pressure */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
}

.nav-center {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.nav-right {
    flex-shrink: 0;
}
/* Logo: aligned and balanced ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logomark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-wordmark span { color: var(--accent); }

/* Center links: clearer spacing and typography ── */
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-center a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-center a:hover {
  color: var(--ink);
  background: var(--border-lt);
}

/* Right: Sign in + CTA ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-login:hover {
  color: var(--accent);
  background: var(--accent-bg);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--accent-h);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-inner { padding: 0 16px; height: 56px; }
}





@media (max-width:768px){

  .nav-right .nav-login{
    display:none;
  }

  .nav-right .nav-cta{
    padding:6px 12px;
    font-size:13px;
  }

}

