.site-nav {
  background: var(--card, #ffffff);
  border-bottom: 1px solid var(--border, #d9dee5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.site-brand {
  color: var(--text, #1f2933);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand:hover {
  color: var(--accent, #2563eb);
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.site-nav-links a {
  color: var(--muted, #5f6b7a);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav-links a:hover {
  color: var(--accent, #2563eb);
  background: rgba(37, 99, 235, 0.08);
}

.site-nav-links a[aria-current="page"] {
  color: var(--accent, #2563eb);
  background: rgba(37, 99, 235, 0.12);
}

@media (max-width: 640px) {
  .site-nav-inner {
    width: min(100% - 20px, 1100px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    min-height: auto;
  }

  .site-nav-links {
    justify-content: flex-start;
  }
}
