/* Site header — shared with index.html */
:root {
  --primary: #0b5fff;
  --primary-dark: #0846bd;
  --dark: #0f1a2e;
  --muted: #6b7a99;
}

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6ecf5;
}

#siteHeader .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

#siteHeader .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

#siteHeader .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

#siteHeader .logo-wordmark {
  height: 40px;
  width: auto;
  max-width: min(260px, 50vw);
  object-fit: contain;
  display: block;
}

#siteHeader .logo .mark-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

#siteHeader .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

#siteHeader .nav-links a {
  text-decoration: none;
  color: inherit;
}

#siteHeader .nav-links a:hover {
  color: var(--primary);
}

#siteHeader .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

#siteHeader .lang-switch {
  display: flex;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
}

#siteHeader .lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

#siteHeader .lang-switch button.active {
  background: var(--primary);
  color: #fff;
}

#siteHeader .menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--dark);
}

@media (max-width: 960px) {
  #siteHeader .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #e6ecf5;
    display: none;
  }

  #siteHeader .nav-links.open {
    display: flex;
  }

  #siteHeader .logo-wordmark {
    height: 32px;
    max-width: min(200px, 45vw);
  }

  #siteHeader .menu-btn {
    display: block;
  }
}
