/* Site header — the same slim bar app.xstreamify.com uses, so the marketing
   site and the product read as one. Every value here is the app's Tailwind
   class resolved to CSS (xstreamify-ui/v2/src/components/Navbar.jsx):
   sticky 64px bar on #0b0b0f with a hairline bottom border, the wordmark on
   the left, actions on the right. Shared by index.html and the legal pages;
   each page's own <style> keeps styling everything below the bar. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0b0b0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header__inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: -2px;
  text-decoration: none;
}

/* 218x58 source, rendered 150x40 (135x36 on small screens) like the app. */
.site-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Plain text links next to the button (the legal pages' "Home"). */
.site-header__link {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.site-header__link:hover { color: #fff; }

/* Language select, styled like the app's LanguageSelect trigger. Used by the
   header and footer selects on index.html. */
.site-header__lang {
  background: #111;
  color: #fff;
  border: 3px solid #555;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

/* The red pill the app uses for Sign In / Create Account. */
.site-cta {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  padding: 6px 16px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.site-cta:hover { background: #b91c1c; }

@media (max-width: 640px) {
  .site-header__inner { padding: 0 8px; }
  .site-header__logo img { height: 36px; }
}
