/* Shared closing band and footer. Same on every page. */
.site-cta {
  background: var(--bg);
  color: var(--ink);
  padding: 3.5rem 0 1.25rem;
}
.site-cta-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.site-cta-inner h2,
.site-cta-inner p,
.site-cta-inner .site-cta-action {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 36rem;
}
.site-cta-inner h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  color: var(--ink);
}
.site-cta-inner > p {
  margin-top: 0;
  margin-bottom: 1.15rem;
  color: var(--muted);
}
.site-cta-action { margin: 0; }
.site-cta .btn,
.site-cta .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1B8AFB, #6A21C9);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.6rem;
}
.site-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.site-footer .brand .mark,
.site-footer .brand .icon-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  color: #1d4ed8;
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

html[data-theme="dark"] .site-cta,
html[data-theme="dark"] .site-footer {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .site-cta-inner > p { color: var(--muted); }
html[data-theme="dark"] .site-footer .brand .mark,
html[data-theme="dark"] .site-footer .brand .icon-mark { color: #93c5fd; }
html[data-theme="dark"] .site-cta .btn,
html[data-theme="dark"] .site-cta .cta {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 720px) {
  .site-footer .brand { font-size: 1.15rem; }
  .site-footer .brand .mark,
  .site-footer .brand .icon-mark { width: 1.85rem; height: 1.85rem; }
}
