/* Promoto site-specific overrides.
   Brand color variables come from base.html <style> (driven by config.py). */

body { line-height: 1.55; }

.hero-band {
  background: linear-gradient(135deg, var(--brand-light, #F5F3FF) 0%, #ECFDF5 100%);
}

/* Cards with a hint of lift */
.card {
  border: 1px solid var(--border-color, rgba(0,0,0,0.08));
}
.card.shadow-sm { box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important; }

/* Headings: display font for large, body font for small helpers */
.h-display { font-family: var(--font-display, Merriweather, serif); font-weight: 800; }

/* Navbar tweaks — works with HCWF shared navbar */
.hcwf-navbar .navbar-brand img {
  max-height: 48px !important;
}

/* Pricing cards */
.pricing-card-highlight {
  border: 2px solid var(--primary-color);
  position: relative;
}

/* Loading overlay — shown when a form submits to a long-running endpoint
   (AI draft, launch, regenerate image). Attach by adding `data-loading="…"`
   to the form; the message comes from that attribute. */
.promoto-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-body, system-ui);
}
.promoto-overlay.show { display: flex; }
.promoto-overlay__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 36px 44px;
  max-width: 460px;
  text-align: center;
}
.promoto-overlay__spinner {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--secondary-color, #10B981);
  border-radius: 50%;
  animation: promoto-spin 0.9s linear infinite;
}
@keyframes promoto-spin { to { transform: rotate(360deg); } }
.promoto-overlay__title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.promoto-overlay__sub   { font-size: 14px; opacity: 0.78; margin: 0; }

/* HCWF core footer template provides no background — sites must apply their own.
   Without this, --mm-footer-text (light) sits on white and disappears. */
.site-footer {
  background: var(--mm-footer-bg);
  color: var(--mm-footer-text);
}
.site-footer h4,
.site-footer p,
.site-footer li,
.site-footer span { color: var(--mm-footer-text); }
.site-footer a { color: var(--mm-footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--secondary-color); }
.site-footer hr { border-color: rgba(255, 255, 255, 0.15); }
