/* ==========================================================================
   ACCESSIBILITY CONTRAST FIX
   Final public-site overrides for the light Buddy rebrand and dark legacy panels.
   ========================================================================== */
:root {
  --buddy-electric: #144fc4;
  --buddy-muted: #b9c6cf;
  --buddy-dim: #8ea3b3;
  --buddy-cyan: #006b7d;
}

/* Light rebrand surfaces: keep body copy and controls comfortably readable. */
body {
  color: #101a2b;
}
.section-intro,
.lead,
.muted {
  color: #405474;
}
.eyebrow,
.project-link,
.card-index,
.project-index,
.technical-meta,
.footer-direct-reach a {
  color: #144fc4;
}
.brand-copy small,
.nav-links a,
.nav-search {
  color: #304566;
}
.flow-node small,
.project-copy p {
  color: #4c6281;
}
.capability-tab {
  color: #405474;
}
.site-footer .muted,
.footer-links a,
.footer-bottom {
  color: #465b79;
}

/* Preserve strong text in low-emphasis light controls and links. */
.button-secondary {
  color: #08132b;
}
.button-secondary:hover {
  color: #144fc4;
}

/* Dark panels still used by hosting, architect, calculator, and demo sections. */
.hosting-hero,
.hosting-plans-section,
.compare-section,
.domain-section,
.maintenance-section,
.hosting-architecture-section,
.hosting-final-cta,
.architect-section,
.calculator-hero,
.dashboard-demo,
.command-dialog {
  --buddy-muted: #b9c6cf;
  --buddy-dim: #8ea3b3;
  --buddy-cyan: #00a8c2;
}

/* Native form controls should match the now-light public theme. */
input,
textarea,
select {
  color-scheme: light;
}
