/* Light "Linea" theme shared with the homepage. Loaded after each page's inline <style>,
   so it re-points the old dark tokens and patches the few hard-coded dark colors. */
:root {
  --bg: #faf5f0;
  --surface: #f3ece4;
  --surface-2: #eee5dc;
  --border: #e2d7cc;
  --text: #1b1411;
  --muted: #66574f;
  --green: #1f9e5c;
  --green-dim: rgba(51, 204, 122, 0.14);
  --green-border: rgba(31, 158, 92, 0.3);
}
body { background: var(--bg); color: var(--text); }

/* Body copy that was hard-coded light grey */
.article p, .article li, details p, .content, .result-detail, .download-cta p, .why p { color: #3d322c !important; }
[style*="color:#ccc"], [style*="color: #ccc"], [style*="color:#ddd"], [style*="color: #ddd"] { color: #3d322c !important; }
table.data tbody td { color: #3d322c !important; }

/* Buttons: dark ones were "text color" bg with #000 text, which now collides */
.nav-store-btn, .download-cta a.btn-store, .btn-store { background: var(--text) !important; color: var(--bg) !important; }
.cta-btn, .calc-btn, .result-cta a, .inline-cta a { background: #33cc7a !important; color: #1b1411 !important; }

/* Outlined cover numbers and rings */
.cover .num, .blog-card-cover .num { -webkit-text-stroke-color: rgba(31, 158, 92, 0.55) !important; }
.cover .ring, .blog-card-cover .ring { border-color: rgba(31, 158, 92, 0.55) !important; border-right-color: transparent !important; }

/* Result colors the calculator scripts set inline, darkened for the cream background */
[style*="color:#00e676"], [style*="color: #00e676"], [style*="color: rgb(0, 230, 118)"] { color: #1f9e5c !important; }
[style*="color:#ffa500"], [style*="color: #ffa500"], [style*="color: rgb(255, 165, 0)"] { color: #b86200 !important; }
[style*="color:#ff6b6b"], [style*="color: #ff6b6b"], [style*="color: rgb(255, 107, 107)"] { color: #cf3f3f !important; }
[style*="color:#3b9eff"], [style*="color: #3b9eff"], [style*="color: rgb(59, 158, 255)"] { color: #2468c0 !important; }
[style*="color:#ff4444"], [style*="color: #ff4444"], [style*="color: rgb(255, 68, 68)"] { color: #c93030 !important; }
