/* ========== FundedDesk light theme — high-contrast homepage/chrome ========== */

/* Promo banner */
html.light .fp-promo {
  background: linear-gradient(90deg, #d1fae5, #a7f3d0, #d1fae5);
  border-bottom: 1px solid rgba(5, 150, 105, 0.35);
}

html.light .fp-promo__inner {
  color: #064e3b;
  font-weight: 500;
}

html.light .fp-promo__inner strong {
  color: #047857;
  font-weight: 700;
}

html.light .fp-promo__close {
  color: #065f46;
}

/* Live ticker */
html.light .fp-ticker.glass {
  background: #ffffff;
  border-color: rgba(15, 60, 45, 0.14);
  box-shadow: 0 12px 28px -12px rgba(15, 60, 45, 0.14);
}

html.light .fp-ticker__live {
  color: #047857 !important;
}

html.light .fp-ticker__label,
html.light .fp-ticker__dot {
  color: #3d5248 !important;
}

html.light .fp-ticker__item {
  color: #0b1f19 !important;
}

/* Feature cards under ticker */
html.light .fp-feature-card.glass {
  background: #ffffff;
  border-color: rgba(15, 60, 45, 0.12);
}

html.light .fp-feature-card h3 {
  color: #0b1f19;
}

html.light .fp-feature-card .text-\[\#8f9ab5\] {
  color: #4b6358 !important;
}

/* Glass cards — readable surfaces */
html.light .glass {
  background: #ffffff;
  border-color: rgba(15, 60, 45, 0.12);
  box-shadow: 0 16px 36px -18px rgba(15, 60, 45, 0.14);
}

/* --- Gradient / clipped headlines (white gradients become ink) --- */
html.light .text-transparent.bg-clip-text {
  background-image: none !important;
  color: #0b1f19 !important;
  -webkit-text-fill-color: #0b1f19 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

/* Emerald accent headlines stay green (not white-on-mint) */
html.light .text-transparent.bg-clip-text[class*="emerald"],
html.light span.text-transparent[class*="emerald"],
html.light h2.text-transparent[class*="emerald"] {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
  background-image: none !important;
}

/* --- Body / UI text --- */
html.light .text-\[\#8f9ab5\],
html.light .placeholder\:text-\[\#8f9ab5\]::placeholder {
  color: #4b6358 !important;
}

html.light .text-emerald-200,
html.light .text-emerald-300,
html.light .text-emerald-300\/80,
html.light .text-emerald-400 {
  color: #047857 !important;
}

/* White text → ink, but keep white on solid green CTAs */
html.light .text-white,
html.light .text-white\/90,
html.light .text-white\/80,
html.light .text-white\/70,
html.light .text-white\/50 {
  color: #0b1f19 !important;
}

html.light a[class*="from-emerald"].text-white,
html.light button[class*="from-emerald"].text-white,
html.light a[class*="10b981"].text-white,
html.light button[class*="10b981"].text-white,
html.light .fp-btn--primary,
html.light .fp-btn--primary.text-white {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Icons inside content cards */
html.light main i[data-lucide].text-white {
  color: #0b1f19 !important;
}

html.light a[class*="10b981"] i,
html.light a[class*="from-emerald"] i,
html.light .fp-btn--primary i {
  color: #ffffff !important;
}

/* Solid white CTAs (Discord / Subscribe style) stay inverted for contrast */
html.light a.bg-white,
html.light button.bg-white {
  background-color: #0b1f19 !important;
  color: #ffffff !important;
}

html.light .text-\[\#011c15\] {
  color: #ffffff !important;
}

/* Soft surfaces */
html.light .bg-\[\#000806\],
html.light .bg-\[\#000806\]\/70,
html.light .bg-\[\#000806\]\/80,
html.light .bg-black\/20,
html.light .bg-black\/25,
html.light .bg-black\/30,
html.light .bg-black\/40,
html.light .bg-emerald-900\/30,
html.light .bg-emerald-900\/40 {
  background-color: rgba(255, 255, 255, 0.92) !important;
}

html.light .border-white\/5,
html.light .border-white\/10,
html.light .border-white\/20,
html.light .border-t-white\/10,
html.light .border-t-white\/20,
html.light .border-t-emerald-500\/20 {
  border-color: rgba(15, 60, 45, 0.14) !important;
}

html.light .bg-white\/5,
html.light .bg-white\/10,
html.light .hover\:bg-white\/10:hover,
html.light .hover\:bg-white\/\[0\.07\]:hover {
  background-color: rgba(15, 60, 45, 0.05) !important;
}

html.light .selection\:text-white::selection {
  color: #fff !important;
}

html.light .drop-shadow-\[0_20px_60px_rgba\(0\,0\,0\,0\.8\)\] {
  filter: none;
}

/* Risk / platform / pricing section copy */
html.light main .text-lg.text-\[\#8f9ab5\],
html.light main p.text-\[\#8f9ab5\],
html.light main .text-base.text-\[\#8f9ab5\] {
  color: #3d5248 !important;
}

html.light main ul.text-white\/90,
html.light main ul.text-white\/90 li {
  color: #0b1f19 !important;
}

html.light main h2,
html.light main h3 {
  color: #0b1f19;
}

/* Pill badges like “Risk controls built-in” */
html.light .inline-flex.text-emerald-200,
html.light span.text-emerald-200 {
  color: #047857 !important;
}

/* Inputs on light cards */
html.light input.text-white,
html.light input[type="email"].text-white {
  color: #0b1f19 !important;
  border-color: rgba(15, 60, 45, 0.2) !important;
}

html.light input.text-white::placeholder {
  color: #6b7f74 !important;
}
