/* Shared landing header for legal pages. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 229, 239, 0.85);
}

.site-header .container.nav {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #07183f;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}

.site-header .brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #33415f;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-header .nav-links a {
  color: inherit;
}

.site-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .lang-link {
  color: #667085;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 12px;
}

.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-header .btn:hover {
  transform: translateY(-1px);
}

.site-header .btn-primary {
  color: #fff;
  background: #2354ff;
  box-shadow: 0 12px 24px rgba(35, 84, 255, 0.24);
}

.site-header .btn-primary:hover {
  background: #1737cf;
}

.site-header .mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #07183f;
  font-size: 1.7rem;
  line-height: 1;
  padding: 8px;
}

@media (max-width: 980px) {
  .site-header .nav-links,
  .site-header .nav-actions .btn {
    display: none;
  }

  .site-header .mobile-toggle {
    display: inline-flex;
  }

  .site-header .nav-links.open {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(7, 24, 63, 0.12);
  }
}

@media (max-width: 640px) {
  .site-header .container.nav {
    width: min(100% - 28px, 1120px);
  }
}
