/* Global header + footer (all pages) */
.site-topbar {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.site-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.site-brand-wordmark {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.site-brand-accent {
  font-weight: 600;
  color: #38bdf8;
}

/* CTA strips on Nicepage pages — do NOT reuse u-section-N (page CSS targets those) */
.site-inline-cta {
  clear: both;
  position: relative;
  z-index: 0;
  background: #e2e8f0;
  color: #0f172a;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.site-inline-cta--dark {
  background: linear-gradient(120deg, #1e3a8a 0%, #0f172a 55%);
  color: #f8fafc;
  border: none;
}
.site-inline-cta .u-sheet-1 {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2.5rem 1.25rem !important;
  box-sizing: border-box;
}
.site-inline-cta .u-text-1 {
  margin-top: 0 !important;
  margin-bottom: 0.65rem !important;
}
.site-inline-cta p.u-text,
.site-inline-cta .u-align-center.u-text:not(.u-btn) {
  max-width: 38rem;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.55 !important;
}
.site-inline-cta--dark .u-text-1,
.site-inline-cta--dark p.u-text {
  color: #f8fafc !important;
}
.site-inline-cta .u-align-center > .u-btn-1,
.site-inline-cta a.u-btn {
  margin-top: 0.75rem !important;
}
.site-inline-cta .u-align-left.u-text,
.site-inline-cta p.u-align-left {
  max-width: 38rem;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.site-inline-cta .u-align-left .u-btn-1,
.site-inline-cta .u-align-left a.u-btn {
  margin-top: 0.75rem !important;
  margin-left: 0 !important;
}
.site-topnav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}
.site-topnav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-topnav a:hover {
  color: #f8fafc;
}
.site-topnav a[aria-current="page"] {
  color: #38bdf8;
  border-color: #38bdf8;
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 2rem 1.25rem 2.25rem;
  margin-top: 0;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.site-footer-grid a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}
.site-footer-grid a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.site-footer-legal a {
  color: #64748b;
  font-size: 0.8125rem;
  text-decoration: none;
}
.site-footer-legal a:hover {
  color: #cbd5e1;
  text-decoration: underline;
}
.site-footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* Nicepage templates: many hero paragraphs use fixed px width — prevent overflow on small screens */
@media (max-width: 767px) {
  .u-body .u-sheet-1 .u-align-center.u-text-2 {
    width: auto !important;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}
