/* Site-wide contrast fixes for contact CTAs, cards, navigation and chat affordances. */
.topbar {
  background: #0f5f42 !important;
  color: #ffffff !important;
}

.topbar,
.topbar a,
.topbar span,
.topbar .container {
  color: #ffffff !important;
}

header,
.nav {
  background: #ffffff !important;
  color: #10251f !important;
}

.brand,
.brand span,
header a,
.nav a {
  color: #10251f !important;
}

.brand img {
  width: 260px !important;
  height: auto !important;
  max-width: min(260px, 64vw) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal;
}

header .brand img,
.nav .brand img {
  width: 260px !important;
  height: auto !important;
  max-width: min(260px, 64vw) !important;
  max-height: none !important;
}

footer .brand img {
  width: 260px !important;
  height: auto !important;
  max-width: min(260px, 64vw) !important;
  max-height: none !important;
  filter: none !important;
}

.brand {
  gap: 0 !important;
}

.brand > span,
.brand > span span {
  color: #0f5f42 !important;
}

.toggle {
  background: #ffffff !important;
  color: #10251f !important;
  border-color: #cfe2d9 !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
header .btn-primary,
.nav .btn-primary,
.actions .btn-primary,
.mini-cta .btn-primary {
  background: #0f7a4f !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background: #0e5f3e !important;
  color: #ffffff !important;
}

.ndis-trust-card,
.trust-card,
.panel,
.card {
  background: #ffffff;
  color: #10251f;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card p,
.card li,
.card strong,
.card .muted,
.panel h1,
.panel h2,
.panel h3,
.panel h4,
.panel p,
.panel li,
.panel strong,
.panel .muted,
.trust-card h1,
.trust-card h2,
.trust-card h3,
.trust-card h4,
.trust-card p,
.trust-card li,
.trust-card strong,
.trust-card .muted {
  color: #10251f !important;
}

.ndis-trust-card {
  background: #f4fbf7 !important;
  color: #10251f !important;
}

.ndis-trust-card h1,
.ndis-trust-card h2,
.ndis-trust-card h3,
.ndis-trust-card p,
.ndis-trust-card .muted,
.ndis-trust-card .eyebrow {
  color: #10251f !important;
}

.ndis-trust-card .eyebrow {
  color: #0f5f42 !important;
}

.card .eyebrow,
.panel .eyebrow,
.trust-card .eyebrow {
  color: #0f5f42 !important;
}

.photo-note {
  background: #f4fbf7 !important;
  color: #10251f !important;
}

.photo-note strong,
.photo-note p {
  color: #10251f !important;
}

.tag-row span,
.local-strip span {
  background: #e7f5ed !important;
  color: #10251f !important;
}

.cta-panel {
  background: linear-gradient(135deg, #0f5f42, #176f8a) !important;
  color: #ffffff !important;
}

.cta-panel h1,
.cta-panel h2,
.cta-panel h3,
.cta-panel p,
.cta-panel .eyebrow {
  color: #ffffff !important;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.cta-panel .btn-secondary,
.cta-panel .hero-actions .btn {
  background: #fff !important;
  color: #0f2a22 !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.cta-panel .btn-secondary:hover,
.cta-panel .hero-actions .btn:hover {
  background: #eaf7f1 !important;
  color: #0b241d !important;
}

.cta-panel .formbricks-gateway,
.formbricks-gateway.compact {
  background: #f4fbf7 !important;
  color: #10251f !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
}

.cta-panel .formbricks-gateway h3,
.formbricks-gateway.compact h3 {
  color: #10251f !important;
}

.cta-panel .formbricks-gateway p,
.cta-panel .formbricks-gateway .muted,
.formbricks-gateway.compact p,
.formbricks-gateway.compact .muted {
  color: #415d53 !important;
}

.cta-panel .formbricks-badge,
.formbricks-gateway.compact .formbricks-badge {
  background: #dff3ea !important;
  color: #0d5f3d !important;
}

.cta-panel .formbricks-actions .btn:not(.btn-primary),
.formbricks-gateway.compact .formbricks-actions .btn:not(.btn-primary) {
  background: #fff !important;
  color: #10251f !important;
  border-color: #cfe2d9 !important;
}

.cta-panel .formbricks-actions .btn:not(.btn-primary):hover,
.formbricks-gateway.compact .formbricks-actions .btn:not(.btn-primary):hover {
  background: #eaf7f1 !important;
  color: #0b241d !important;
}

.cta-panel .formbricks-actions .btn-primary,
.formbricks-gateway.compact .formbricks-actions .btn-primary {
  background: var(--green, #168152) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.cta-panel .formbricks-actions .btn-primary:hover,
.formbricks-gateway.compact .formbricks-actions .btn-primary:hover {
  background: var(--green-dark, #0e5f3e) !important;
  color: #fff !important;
}

footer .brand span,
footer .brand span span,
footer .brand > span,
footer .brand > span span {
  color: #e9f7f1 !important;
}

.nogap-assistant-button,
.nogap-assistant-button span {
  color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  .topbar {
    background: #0f5f42 !important;
    color: #ffffff !important;
  }

  header,
  .nav {
    background: #ffffff !important;
    color: #10251f !important;
  }

  .brand,
  .brand span,
  header a,
  .nav a {
    color: #10251f !important;
  }

  .brand img {
    width: 260px !important;
    height: auto !important;
    max-width: min(260px, 64vw) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .brand > span,
  .brand > span span {
    color: #0f5f42 !important;
  }

  .toggle {
    background: #ffffff !important;
    color: #10251f !important;
    border-color: #cfe2d9 !important;
  }

  .btn-primary,
  a.btn-primary,
  button.btn-primary,
  header .btn-primary,
  .nav .btn-primary,
  .actions .btn-primary,
  .mini-cta .btn-primary {
    background: #0f7a4f !important;
    color: #ffffff !important;
    border-color: transparent !important;
  }

  .btn-primary:hover,
  a.btn-primary:hover,
  button.btn-primary:hover {
    background: #0e5f3e !important;
    color: #ffffff !important;
  }

  .card,
  .panel,
  .trust-card {
    background: #f4fbf7 !important;
    color: #10251f !important;
  }

  .card h1,
  .card h2,
  .card h3,
  .card h4,
  .card p,
  .card li,
  .card strong,
  .card .muted,
  .panel h1,
  .panel h2,
  .panel h3,
  .panel h4,
  .panel p,
  .panel li,
  .panel strong,
  .panel .muted,
  .trust-card h1,
  .trust-card h2,
  .trust-card h3,
  .trust-card h4,
  .trust-card p,
  .trust-card li,
  .trust-card strong,
  .trust-card .muted {
    color: #10251f !important;
  }

  .ndis-trust-card {
    background: #f4fbf7 !important;
    color: #10251f !important;
  }

  .ndis-trust-card h1,
  .ndis-trust-card h2,
  .ndis-trust-card h3,
  .ndis-trust-card p,
  .ndis-trust-card .muted {
    color: #10251f !important;
  }

  .ndis-trust-card .eyebrow {
    color: #0f5f42 !important;
  }

  .card .eyebrow,
  .panel .eyebrow,
  .trust-card .eyebrow {
    color: #0f5f42 !important;
  }

  .photo-note {
    background: #f4fbf7 !important;
    color: #10251f !important;
  }

  .photo-note strong,
  .photo-note p {
    color: #10251f !important;
  }

  .tag-row span,
  .local-strip span {
    background: #e7f5ed !important;
    color: #10251f !important;
  }

  .cta-panel {
    background: linear-gradient(135deg, #0f5f42, #176f8a) !important;
    color: #ffffff !important;
  }

  .cta-panel h1,
  .cta-panel h2,
  .cta-panel h3,
  .cta-panel p,
  .cta-panel .eyebrow {
    color: #ffffff !important;
  }

  .cta-panel .formbricks-gateway,
  .formbricks-gateway.compact {
    background: #f4fbf7 !important;
    color: #10251f !important;
  }

  .cta-panel .formbricks-gateway h3,
  .formbricks-gateway.compact h3 {
    color: #10251f !important;
  }

  .cta-panel .formbricks-gateway p,
  .cta-panel .formbricks-gateway .muted,
  .formbricks-gateway.compact p,
  .formbricks-gateway.compact .muted {
    color: #415d53 !important;
  }

  .cta-panel .btn-secondary,
  .cta-panel .hero-actions .btn,
  .cta-panel .formbricks-actions .btn:not(.btn-primary),
  .formbricks-gateway.compact .formbricks-actions .btn:not(.btn-primary) {
    background: #fff !important;
    color: #0f2a22 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
  }
}
