/**
 * Landing light-mode: dark text on milky bg · white cards
 * Loads after Tailwind CDN
 */

html.light .ec-land-page {
  color: #0f172a;
}

/* Force dark readable text (beats Tailwind text-white utilities) */
html.light .ec-land-page [class*="text-white"] {
  color: #0f172a !important;
}

html.light .ec-land-page [class*="text-white/90"],
html.light .ec-land-page [class*="text-white/85"],
html.light .ec-land-page [class*="text-white/80"] {
  color: #1e293b !important;
}

html.light .ec-land-page [class*="text-white/75"],
html.light .ec-land-page [class*="text-white/70"],
html.light .ec-land-page [class*="text-white/65"] {
  color: #334155 !important;
}

html.light .ec-land-page [class*="text-white/60"],
html.light .ec-land-page [class*="text-white/55"],
html.light .ec-land-page [class*="text-white/50"],
html.light .ec-land-page [class*="text-white/45"] {
  color: #475569 !important;
}

html.light .ec-land-page :is(h1, h2, h3, h4, h5, h6) {
  color: #0f172a !important;
}

html.light .ec-land-page p,
html.light .ec-land-page li,
html.light .ec-land-page summary {
  color: #334155;
}

html.light .ec-land-hero-title-glow {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}

html.light .ec-land-glass,
html.light .ec-land-glass p,
html.light .ec-land-glass span,
html.light .ec-land-glass h3 {
  color: inherit;
}

html.light .ec-land-page .text-apc-gold {
  color: #0369a1 !important;
}

html.light .ec-land-page .text-emerald-400 {
  color: #15803d !important;
}

/* White text only on solid brand buttons */
html.light .ec-land-page [class*="bg-apc-green"][class*="text-white"],
html.light .ec-land-page button[class*="bg-apc-green"],
html.light .ec-land-page a[class*="bg-apc-green"][class*="text-white"],
html.light .ec-land-page button[type="submit"] {
  color: #ffffff !important;
}

html.light .ec-land-page .ec-ana-heatmap-cell[class*="text-white"] {
  color: #ffffff !important;
}

html.light .ec-land-page input,
html.light .ec-land-page textarea,
html.light .ec-land-page select {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html.light .ec-land-page .bg-black\/20,
html.light .ec-land-page .bg-black\/30 {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html.light .ec-land-header {
  color: #0f172a;
}

html.light .ec-land-header nav a {
  color: #475569 !important;
}

html.light .ec-land-header nav a:hover {
  color: #0369a1 !important;
}

html.light .ec-land-header a[class*="bg-apc-green"] {
  color: #ffffff !important;
}

html.light .ec-modal-dialog,
html.light .ec-modal-dialog [class*="text-white"] {
  color: #0f172a !important;
}

html.light .ec-modal-dialog [class*="text-white/"] {
  color: #475569 !important;
}

html.light .ec-globe-left,
html.light .ec-globe-right {
  background: #ffffff !important;
  color: #0f172a !important;
}

html.light .ec-globe-left [class*="text-white"],
html.light .ec-globe-right [class*="text-white"] {
  color: #0f172a !important;
}

html.light .ec-globe-left [class*="text-white/"],
html.light .ec-globe-right [class*="text-white/"] {
  color: #475569 !important;
}
