/* Shared site header for legal and trust pages — matches /about */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 4, 10, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0f4ff;
  text-decoration: none;
  font-family: var(--font-display, 'Oxanium', sans-serif);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-logo .logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-teal, #00f5d4), var(--neon-purple, #c77dff));
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.2);
  font-size: 0.9rem;
}

.site-logo .logo-name {
  background: linear-gradient(90deg, var(--neon-teal, #00f5d4), var(--neon-blue, #4cc9f0));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f0f4ff;
}

.site-logo .ai-tag {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 17px;
  padding: 0 5px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--neon-pink, #ff2d78), var(--neon-purple, #c77dff));
  color: #fff;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  color: rgba(240, 244, 255, 0.64);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.site-nav-links a:hover {
  color: var(--neon-teal, #00f5d4);
  background: rgba(0, 245, 212, 0.08);
}

.site-nav-links a.all-cities {
  background: linear-gradient(135deg, #7dd8f8, #5ab4ff);
  color: #02060c;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(125, 216, 248, 0.28);
}

.site-nav-links a.all-cities:hover {
  background: linear-gradient(135deg, #7dd8f8, #5ab4ff);
  color: #02060c;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(125, 216, 248, 0.5);
}

.site-nav-links a.home {
  background: linear-gradient(135deg, var(--neon-blue, #4cc9f0), var(--neon-teal, #00f5d4));
  color: #000;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(76, 201, 240, 0.25);
}

.site-nav-links a.home:hover {
  background: linear-gradient(135deg, var(--neon-blue, #4cc9f0), var(--neon-teal, #00f5d4));
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(76, 201, 240, 0.45);
}

.site-nav-links a.ai {
  background: linear-gradient(135deg, var(--neon-pink, #ff2d78), var(--neon-purple, #c77dff));
  color: #000;
  font-weight: 600;
}

.site-nav-links a.ai:hover {
  background: linear-gradient(135deg, var(--neon-pink, #ff2d78), var(--neon-purple, #c77dff));
  color: #000;
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .site-header-inner {
    width: calc(100% - 28px);
    min-height: 58px;
    gap: 8px;
  }

  .site-logo {
    font-size: 1rem;
    gap: 7px;
  }

  .site-logo .logo-mark {
    width: 28px;
    height: 28px;
  }

  .site-nav-links {
    gap: 6px;
  }

  .site-nav-links a {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .site-nav-links a.home {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-logo {
    font-size: 0.9rem;
  }

  .site-nav-links a {
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .site-logo .ai-tag {
    display: none;
  }
}
