/* Public form contrast safeguards.
   Keeps light cards readable after the futuristic black/gold theme layer loads. */
body:not(.technology-page):not(.marketplace-page) main .portal-card,
body:not(.technology-page):not(.marketplace-page) main .quote-panel,
body:not(.technology-page):not(.marketplace-page) main form.portal-card,
body:not(.technology-page):not(.marketplace-page) main form.inline-form {
  color: #111820 !important;
  background: linear-gradient(180deg, #ffffff, #f5f7f7) !important;
  border: 1px solid rgba(17, 24, 32, 0.14) !important;
  box-shadow: 0 18px 54px rgba(12, 18, 27, 0.16) !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .portal-card h2,
body:not(.technology-page):not(.marketplace-page) main .portal-card h3,
body:not(.technology-page):not(.marketplace-page) main .portal-card p,
body:not(.technology-page):not(.marketplace-page) main .portal-card label,
body:not(.technology-page):not(.marketplace-page) main .portal-card span,
body:not(.technology-page):not(.marketplace-page) main .quote-panel h2,
body:not(.technology-page):not(.marketplace-page) main .quote-panel h3,
body:not(.technology-page):not(.marketplace-page) main .quote-panel p,
body:not(.technology-page):not(.marketplace-page) main .quote-panel label,
body:not(.technology-page):not(.marketplace-page) main .inline-form label {
  color: #111820 !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .portal-card .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .quote-panel .eyebrow {
  color: #087044 !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .portal-card input,
body:not(.technology-page):not(.marketplace-page) main .portal-card select,
body:not(.technology-page):not(.marketplace-page) main .portal-card textarea,
body:not(.technology-page):not(.marketplace-page) main .quote-panel input,
body:not(.technology-page):not(.marketplace-page) main .quote-panel select,
body:not(.technology-page):not(.marketplace-page) main .quote-panel textarea,
body:not(.technology-page):not(.marketplace-page) main .inline-form input,
body:not(.technology-page):not(.marketplace-page) main .inline-form select,
body:not(.technology-page):not(.marketplace-page) main .inline-form textarea {
  color: #0f1720 !important;
  background: #ffffff !important;
  border: 1px solid rgba(17, 24, 32, 0.24) !important;
}

body:not(.technology-page):not(.marketplace-page) main .portal-card input::placeholder,
body:not(.technology-page):not(.marketplace-page) main .portal-card textarea::placeholder,
body:not(.technology-page):not(.marketplace-page) main .quote-panel input::placeholder,
body:not(.technology-page):not(.marketplace-page) main .quote-panel textarea::placeholder,
body:not(.technology-page):not(.marketplace-page) main .inline-form input::placeholder,
body:not(.technology-page):not(.marketplace-page) main .inline-form textarea::placeholder {
  color: #65727d !important;
}

body:not(.technology-page):not(.marketplace-page) main .portal-card .btn-primary,
body:not(.technology-page):not(.marketplace-page) main .quote-panel .btn-primary,
body:not(.technology-page):not(.marketplace-page) main .inline-form .btn-primary {
  color: #06100b !important;
  background: linear-gradient(135deg, #fff0ad 0%, #e5bd5a 45%, #a86f2e 100%) !important;
  border-color: rgba(145, 92, 24, 0.34) !important;
  text-shadow: none !important;
}

/* Site-wide light-surface contrast safeguards.
   Gold remains for dark hero/footer accents, but readable text on white cards uses dark ink. */
body:not(.technology-page):not(.marketplace-page) main .contact-form,
body:not(.technology-page):not(.marketplace-page) main .contact-card,
body:not(.technology-page):not(.marketplace-page) main .empty-apon,
body:not(.technology-page):not(.marketplace-page) main .apon-response-panel {
  color: #111820 !important;
  background: linear-gradient(180deg, #ffffff, #f5f7f7) !important;
  border: 1px solid rgba(17, 24, 32, 0.14) !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .section:not(.page-hero) .section-heading .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .section:not(.page-hero) .split .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .contact-form .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .contact-card .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .quote-panel .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .portal-card .eyebrow,
body:not(.technology-page):not(.marketplace-page) main .empty-apon .eyebrow {
  color: #075c3b !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .contact-form h2,
body:not(.technology-page):not(.marketplace-page) main .contact-form h3,
body:not(.technology-page):not(.marketplace-page) main .contact-form h4,
body:not(.technology-page):not(.marketplace-page) main .contact-form p,
body:not(.technology-page):not(.marketplace-page) main .contact-form label,
body:not(.technology-page):not(.marketplace-page) main .contact-form span,
body:not(.technology-page):not(.marketplace-page) main .contact-card h2,
body:not(.technology-page):not(.marketplace-page) main .contact-card h3,
body:not(.technology-page):not(.marketplace-page) main .contact-card h4,
body:not(.technology-page):not(.marketplace-page) main .contact-card p,
body:not(.technology-page):not(.marketplace-page) main .contact-card dt,
body:not(.technology-page):not(.marketplace-page) main .contact-card dd,
body:not(.technology-page):not(.marketplace-page) main .empty-apon h3,
body:not(.technology-page):not(.marketplace-page) main .empty-apon p,
body:not(.technology-page):not(.marketplace-page) main .empty-apon span,
body:not(.technology-page):not(.marketplace-page) main .quote-panel .inline-form label {
  color: #111820 !important;
  text-shadow: none !important;
}

body:not(.technology-page):not(.marketplace-page) main .contact-form input,
body:not(.technology-page):not(.marketplace-page) main .contact-form select,
body:not(.technology-page):not(.marketplace-page) main .contact-form textarea,
body:not(.technology-page):not(.marketplace-page) main .contact-card input,
body:not(.technology-page):not(.marketplace-page) main .contact-card select,
body:not(.technology-page):not(.marketplace-page) main .contact-card textarea {
  color: #0f1720 !important;
  background: #ffffff !important;
  border: 1px solid rgba(17, 24, 32, 0.24) !important;
}

body:not(.technology-page):not(.marketplace-page) main .section:not(.page-hero) a:not(.btn),
body:not(.technology-page):not(.marketplace-page) main .contact-card a:not(.btn),
body:not(.technology-page):not(.marketplace-page) main .contact-form a:not(.btn) {
  color: #4f3306 !important;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
