/* Site chrome on unified marketing pages */
body.site-marketing {
  margin: 0;
  background: var(--mkt-bg);
  color: var(--mkt-text);
  font-family: var(--mkt-font);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mkt-border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--mkt-text);
  text-decoration: none;
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand--mark {
  gap: 0.65rem;
}

.brand-logo-mark {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand-logo-text {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mkt-text);
  white-space: nowrap;
  line-height: 1;
}

.footer-brand.brand--mark .brand-logo-mark {
  height: 40px;
  width: 40px;
}

.footer-brand .brand-logo-text {
  font-size: 1.15rem;
}

.footer-brand .brand-logo {
  height: 40px;
  max-width: 240px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.primary-nav a {
  color: var(--mkt-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--mkt-text);
}

.site-nav-btn {
  padding: 0.55rem 0.95rem !important;
  font-size: 0.85rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--mkt-text);
  margin: 0 auto;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 8, 13, 0.98);
    border-bottom: 1px solid var(--mkt-border);
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--mkt-border);
  }

  .primary-nav a:last-child {
    border-bottom: none;
    margin-top: 0.35rem;
  }
}

.site-footer {
  border-top: 1px solid var(--mkt-border);
  background: var(--mkt-bg-muted);
  padding: 2.5rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-tagline {
  margin: 0.75rem 0 0;
  color: var(--mkt-text-muted);
  font-size: 0.92rem;
  max-width: 28rem;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mkt-text-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0.35rem 0;
}

.footer-links a {
  color: var(--mkt-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--mkt-gold);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--mkt-border);
  color: var(--mkt-text-muted);
  font-size: 0.82rem;
}

.admin-login-link {
  color: var(--mkt-text-muted);
  text-decoration: none;
}

.admin-login-link:hover {
  color: var(--mkt-gold);
}

.mkt-portal-link {
  color: var(--mkt-gold);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
