/* ===== Navbar ===== */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
}

.nav-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.nav-brand:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===== Footer ===== */
.footer-bar {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Make sure the old .footer class inside pages still works */
.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}