/* Site-wide chrome: unified nav, legacy notice, global footer */

.site-header .header-inner {
  position: relative;
}

.site-header .nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: #0f172a;
}

@media (max-width: 960px) {
  .site-header .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header nav.primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    z-index: 100;
  }

  .site-header nav.primary-nav.is-open {
    display: flex;
  }

  .site-header nav.primary-nav a,
  .site-header nav.primary-nav .btn {
    padding: 0.75rem 0;
  }
}

.legacy-notice {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.5;
}

.legacy-notice p {
  margin: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.legacy-notice a {
  color: #0369a1;
  font-weight: 600;
}

.site-footer--global {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer--global a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer--global a:hover,
.site-footer--global a:focus {
  color: #fff;
}

.site-footer--global .footer-credentials {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer--global h4 {
  font-family: "Lexend", "Poppins", system-ui, sans-serif;
  color: #fff;
  margin: 0 0 0.75rem;
}
