/* ============================================================
   Apex Logic — "Meridian"
   Four colours: paper, white, navy, amber. Two greys. Nothing else.
   Loaded AFTER style.css/components.css/pages.css so it wins.
   Rollback: drop the apex-2026.css link from header.ejs.
   ============================================================ */

/* 1. Tokens.
   Navy is the only structural colour — headings, buttons, footer, dark
   panels. Amber is the only accent and is rationed. Everything the old dark
   design introduced (lime, cyan, violet, gold, green) collapses onto these. */
:root{
  --paper:#EDEAE3; --paper-2:#E4E1D9; --paper-3:#F6F4EF; --white:#FFFFFF;
  --navy:#12314F; --navy-deep:#0B2138; --navy-tint:#E6E9ED;
  --amber:#FF7A1A; --amber-tint:#FBEEE3;
  --body:#2A2D33; --muted:#6B6E76;
  --line:rgba(18,49,79,.13); --line-strong:rgba(18,49,79,.24);
  --danger:#B23B2E;

  --bg:#EDEAE3 !important; --bg-2:#E4E1D9 !important;
  --bg-card:#FFFFFF !important; --bg-card-solid:#FFFFFF !important; --bg-card-hover:#F6F4EF !important;
  --bg-elevated:#FFFFFF !important; --bg-ink:#12314F !important;

  --accent:#12314F !important; --accent-strong:#0B2138 !important; --accent-dark:#0B2138 !important;
  --accent2:#FF7A1A !important; --accent2-dark:#E56200 !important;
  --violet:#12314F !important; --sky:#12314F !important;
  --gradient:#12314F !important; --gradient-cool:#12314F !important; --gradient-text:#12314F !important;
  --accent-cyan:#12314F !important; --accent-purple:#12314F !important; --accent-gold:#FF7A1A !important;

  --text:#2A2D33 !important; --text-strong:#12314F !important;
  --text-muted:#6B6E76 !important; --text-soft:#8A8D95 !important;

  --border:rgba(18,49,79,.13) !important; --border-strong:rgba(18,49,79,.24) !important;
  --border-hover:rgba(18,49,79,.5) !important; --hairline:rgba(18,49,79,.09) !important;
  --glass-bg:#FFFFFF !important; --glass-border:rgba(18,49,79,.13) !important;

  --shadow-card:0 1px 2px rgba(18,49,79,.04) !important;
  --shadow-pop:0 24px 56px -34px rgba(18,49,79,.34) !important;
  --shadow-ink:0 24px 56px -38px rgba(18,49,79,.36) !important;
  --glow-gold:none !important; --glow-soft:none !important; --shadow-glow:none !important;

  --success:#12314F !important; --error:#B23B2E !important; --warning:#FF7A1A !important;

  --radius:14px !important; --radius-sm:10px !important; --radius-lg:20px !important; --radius-pill:300px !important;

  --font-display:'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  --font-body:'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif !important;

  --shell:1160px; --gut:26px; --sec:104px;
}

/* 2. Canvas */
html{background:var(--paper)}
body{
  background:var(--paper) !important; color:var(--body) !important;
  font-family:'Poppins', system-ui, -apple-system, sans-serif !important;
  font-weight:400 !important; letter-spacing:0 !important; font-size:16.5px;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
.hd-grid,.hd-grain,.hd-note,.hd-scene{display:none !important}

/* 3. Layout rhythm — one container width and one section step, everywhere. */
.container{max-width:var(--shell) !important; padding-left:var(--gut) !important; padding-right:var(--gut) !important}
.section,section.section{padding:var(--sec) 0 !important}
.section--border{border-top:1px solid var(--line) !important}
main > section:first-child{padding-top:120px}
hr,.divider{border-color:var(--line) !important}

/* 4. Type — Poppins 500 does the display work. 600+ reads cheap at these sizes. */
h1,h2,h3,h4,h5,h6,
.hero-x-title,.section-title,.sec-title,.display,[class*="-title"]{
  font-family:'Poppins', system-ui, sans-serif !important;
  font-weight:500 !important; letter-spacing:-.018em !important;
  color:var(--navy) !important; text-transform:none !important;
}
h1,.hero-x-title{font-size:clamp(2.3rem,4.9vw,3.7rem) !important; line-height:1.13 !important}
h2,.section-title,.sec-title{font-size:clamp(1.85rem,3.4vw,2.6rem) !important; line-height:1.19 !important}
h3{font-size:clamp(1.28rem,1.9vw,1.6rem) !important; line-height:1.3 !important}
h4{font-size:1.1rem !important; line-height:1.38 !important}
h5{font-size:1rem !important} h6{font-size:.92rem !important}
p,li,td,th,dd,dt,blockquote,figcaption,label{font-family:'Poppins', system-ui, sans-serif; line-height:1.68}
p{color:var(--body)}
strong,b{font-weight:600; color:var(--navy)}
a{color:var(--navy)}
em.italic-accent,.italic-accent{font-style:normal !important; color:var(--amber) !important; font-weight:500}
[class*="gradient"],.lime,[style*="background-clip"]{
  background:none !important; -webkit-text-fill-color:var(--navy) !important; color:var(--navy) !important}
.hero-x-title .lime,.section-title .lime,.mx-hero-title .amber{
  color:var(--amber) !important; -webkit-text-fill-color:var(--amber) !important}
.mx-lead{font-size:1.115rem; line-height:1.7; color:var(--muted); max-width:42em}
.mx-center{text-align:center; margin-left:auto; margin-right:auto}

/* 5. Eyebrows */
.eyebrow,.kicker,.overline,[class*="eyebrow"],[class*="kicker"]{
  font-family:'Poppins', sans-serif !important; font-weight:600 !important;
  font-size:.735rem !important; letter-spacing:.2em !important;
  text-transform:uppercase !important; color:var(--amber) !important;
}
.eyebrow-pill{
  display:inline-flex; align-items:center; gap:9px; padding:7px 16px !important;
  border-radius:300px !important; border:1px solid var(--line-strong) !important;
  background:transparent !important; font-family:'Poppins',sans-serif !important;
  font-size:.735rem !important; font-weight:500 !important; letter-spacing:.13em !important;
  text-transform:uppercase !important; color:var(--navy) !important; box-shadow:none !important;
}
.eyebrow-pill .ep-dot{width:6px;height:6px;border-radius:50%;background:var(--amber) !important;box-shadow:none !important}

/* 6. Buttons — navy fill, navy outline, and amber for one call to action. */
.btn,.button,.btn-primary,.btn-lime,.cta-btn,.btn-cta,
a[class*="btn-"]:not(.btn-ghost-x):not(.btn-secondary):not(.btn-outline){
  border-radius:300px !important; font-family:'Poppins',sans-serif !important;
  font-weight:500 !important; letter-spacing:0 !important; text-transform:none !important;
}
.btn-lime,.btn-primary,.cta-btn,.btn--primary{
  background:var(--navy) !important; color:#fff !important; border:1px solid var(--navy) !important;
  padding:15px 32px !important; font-size:.99rem !important; box-shadow:none !important;
  transition:background .18s ease, transform .18s ease !important;
}
.btn-lime:hover,.btn-primary:hover,.cta-btn:hover,.btn--primary:hover{
  background:var(--navy-deep) !important; color:#fff !important; transform:translateY(-1px)}
.btn-ghost-x,.btn-secondary,.btn-outline,.btn--ghost{
  border-radius:300px !important; background:transparent !important;
  border:1px solid var(--line-strong) !important; color:var(--navy) !important;
  padding:14px 28px !important; font-weight:500 !important; box-shadow:none !important;
  transition:background .18s ease, color .18s ease, border-color .18s ease !important;
}
.btn-ghost-x:hover,.btn-secondary:hover,.btn-outline:hover,.btn--ghost:hover{
  background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important}
.btn-amber{background:var(--amber) !important; color:var(--navy-deep) !important;
  border:1px solid var(--amber) !important; border-radius:300px !important;
  padding:15px 32px !important; font-weight:600 !important; box-shadow:none !important}
.btn-amber:hover{background:#E56200 !important; color:#fff !important}

/* 7. Surfaces — a hairline and a lot of air. No coloured borders, no glow. */
.card,.panel,.glass,.service-item,.tile,.feature-card,.pricing-card,
[class*="-card"]:not([class*="news-card-meta"]){
  background:#fff !important; border:1px solid var(--line) !important;
  border-radius:14px !important; box-shadow:none !important; backdrop-filter:none !important;
}
.card:hover,.service-item:hover,.feature-card:hover,[class*="-card"]:hover{
  border-color:var(--line-strong) !important;
  box-shadow:0 18px 40px -30px rgba(18,49,79,.4) !important; transform:translateY(-2px)}

/* 8. Header */
header,.site-header,.navbar,.nav-wrap{
  background:rgba(237,234,227,.9) !important; backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line) !important; box-shadow:none !important}
header a,.site-header a,.navbar a,.nav-link{color:var(--navy) !important; font-weight:500 !important}
header a:hover,.nav-link:hover,.nav-link.active,.nav-link[aria-current="page"]{color:var(--amber) !important}

/* 9. Footer */
footer,.site-footer{background:var(--navy-deep) !important; color:#C3CFDB !important; border-top:none !important}
footer h1,footer h2,footer h3,footer h4,footer h5,footer .footer-title{color:#fff !important}
footer a{color:#C3CFDB !important}
footer a:hover{color:var(--amber) !important}
footer p,footer li,footer span,footer small{color:#A2B2C2 !important}
footer .eyebrow,footer .kicker{color:var(--amber) !important}

/* 10. Stat band */
.mx-stats{display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-top:64px}
.mx-stat{padding:32px 26px; border-left:1px solid var(--line)}
.mx-stat:first-child{border-left:none; padding-left:0}
.mx-stat-label{display:block; font-size:.7rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--amber); margin-bottom:12px}
.mx-stat-value{display:block; font-size:clamp(1.6rem,2.5vw,1.95rem) !important; font-weight:500 !important;
  color:var(--navy) !important; line-height:1.2 !important; margin:0 !important}
@media(max-width:760px){
  .mx-stats{grid-template-columns:1fr; margin-top:44px}
  .mx-stat{border-left:none; border-top:1px solid var(--line); padding:22px 0}
  .mx-stat:first-child{border-top:none}
}

/* 11. Process steps */
.mx-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gut); margin-top:56px}
.mx-step{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden;
  transition:border-color .2s ease, transform .2s ease}
.mx-step:hover{border-color:var(--line-strong); transform:translateY(-2px)}
.mx-step-img{display:block; width:100%; height:188px; object-fit:cover; background:var(--paper-2)}
.mx-step-body{padding:26px 26px 30px}
.mx-step-tag{display:block; font-size:.7rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--amber); margin-bottom:12px}
.mx-step-body h3{font-size:1.24rem !important; margin:0 0 10px !important}
.mx-step-body p{color:var(--muted); font-size:.97rem; line-height:1.66; margin:0}
@media(max-width:900px){.mx-steps{grid-template-columns:1fr}}

/* 12. Forms */
input,textarea,select{
  background:#fff !important; border:1px solid var(--line-strong) !important;
  border-radius:10px !important; color:var(--body) !important;
  font-family:'Poppins',sans-serif !important; padding:13px 15px !important}
input:focus,textarea:focus,select:focus{
  border-color:var(--navy) !important; outline:none !important;
  box-shadow:0 0 0 3px rgba(18,49,79,.1) !important}
::placeholder{color:#9C9FA6 !important}

/* 13. Tables, code */
table{border-color:var(--line) !important}
th{background:var(--paper-3) !important; color:var(--navy) !important; font-weight:600 !important}
td,th{border-color:var(--line) !important}
code,pre,kbd{font-family:'JetBrains Mono','SF Mono',ui-monospace,Menlo,monospace !important}
code{background:var(--navy-tint) !important; color:var(--navy) !important; border-radius:5px}
pre{background:var(--navy-deep) !important; color:#D3DEEA !important; border-radius:12px !important}
pre code{background:none !important; color:#D3DEEA !important}
::selection{background:rgba(255,122,26,.26); color:var(--navy-deep)}

/* 14. Tags */
.tag,.badge,.chip,.pill{
  border-radius:300px !important; background:transparent !important;
  color:var(--muted) !important; border:1px solid var(--line-strong) !important;
  font-family:'Poppins',sans-serif !important; font-weight:500 !important;
  font-size:.76rem !important; padding:5px 13px !important}
.tag--amber,.badge--amber{background:var(--amber-tint) !important; color:#8A3D00 !important;
  border-color:rgba(255,122,26,.3) !important}

/* 15. FAQ */
.faq-item,details.faq-item{background:#fff !important; border:1px solid var(--line) !important;
  border-radius:12px !important; margin-bottom:12px; overflow:hidden}
.faq-item summary,.faq-q{cursor:pointer; padding:22px 26px; font-weight:500; color:var(--navy) !important;
  font-size:1.04rem; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:18px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+"; font-size:1.4rem; color:var(--amber); font-weight:400; line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item .faq-a,.faq-item > div{padding:0 26px 24px; color:var(--muted); line-height:1.72}

/* 16. Long-form. Poppins is a display face and tires over a few thousand
   words, and these pages carry the SEO and AdSense weight. */
.news-detail-content,.article-content,.article-body,.post-content,.prose,.cms-content,.entry-content,.rich-text,
.news-detail-content p,.article-content p,.prose p,.cms-content p,.news-detail-content li,.prose li,
.article-content li,.article-content span,.article-content td,.article-content th,.article-content blockquote,
.article-content div{font-family:'Inter', system-ui, -apple-system, sans-serif !important; letter-spacing:0 !important}
.article-content,.article-content p,.article-content li,.news-detail-content,.news-detail-content p,
.prose,.prose p{color:#2E3138 !important; font-weight:400; line-height:1.78 !important}
.article-content a,.prose a,.news-detail-content a{color:var(--navy) !important; text-decoration:underline;
  text-decoration-color:var(--amber); text-underline-offset:3px}
.news-detail-content h1,.news-detail-content h2,.news-detail-content h3,.news-detail-content h4,
.article-content h1,.article-content h2,.article-content h3,.prose h1,.prose h2,.prose h3,
.cms-content h2,.cms-content h3{font-family:'Poppins', system-ui, sans-serif !important;
  color:var(--navy) !important; font-weight:600 !important; letter-spacing:-.018em !important}

/* 17. JS-injected overlays. Built in JS with hardcoded dark inline styles and
   no !important, so author !important here wins. Hooked by real id — the
   markup carries no classes. */
#chatWidget{background:#fff !important; border:1px solid var(--line) !important;
  border-radius:14px !important; box-shadow:0 28px 64px -34px rgba(18,49,79,.42) !important}
#chatWidget *{color:var(--body) !important}
#chatWidget > div:first-child{background:var(--navy) !important; background-image:none !important; border-bottom:none !important}
#chatWidget > div:first-child *{color:#fff !important}
#chatWidget input,#chatWidget textarea{background:#fff !important;
  border:1px solid var(--line-strong) !important; color:var(--body) !important; border-radius:10px !important}
#chatWidget [style*="var(--accent)"]{background:var(--navy) !important; color:#fff !important}
#chatWidget [style*="var(--accent)"] *{color:#fff !important}
#chatWidget [style*="color:#A3E635"]{color:var(--muted) !important}
#chatWidget span[style*="background:#A3E635"]{background:var(--navy) !important}
#chatEmailForm{background:var(--paper-3) !important; background-image:none !important; border-radius:12px !important}
#chatFab{background:var(--navy) !important; color:#fff !important; border:none !important;
  border-radius:300px !important; box-shadow:0 14px 30px -14px rgba(18,49,79,.55) !important}
#chatFab:hover{background:var(--navy-deep) !important}
.cw-msg,.cw-bubble{color:var(--body) !important}
.cw-b-bot,.cw-bubble.cw-b-bot{background:var(--paper-3) !important; border:1px solid var(--line) !important; color:var(--body) !important}
.cw-b-user,.cw-bubble.cw-b-user{background:var(--navy) !important; color:#fff !important}
.cw-b-user *{color:#fff !important}

#leadMagnetCard{background:#fff !important; border:1px solid var(--line) !important;
  border-radius:14px !important; backdrop-filter:none !important;
  box-shadow:0 -8px 40px -18px rgba(18,49,79,.3) !important}
#leadMagnetCard *{color:var(--body) !important}
#leadMagnetCard h1,#leadMagnetCard h2,#leadMagnetCard h3,#leadMagnetCard h4{color:var(--navy) !important}
#leadMagnetCard input{background:#fff !important; border:1px solid var(--line-strong) !important; border-radius:10px !important}
#leadMagnetCard svg{stroke:var(--navy) !important}
#leadMagnetCard button,#leadMagnetCard [style*="var(--accent)"]{background:var(--navy) !important;
  color:#fff !important; border-radius:300px !important}
#leadMagnetCard button *{color:#fff !important}
#leadMagnetCard [style*="background:rgba(0,225,255"],#leadMagnetCard [style*="background:rgba(163,230,53"]{
  background:var(--paper-3) !important; border-color:var(--line) !important}

#leadPopup{background:rgba(11,33,56,.55) !important; backdrop-filter:blur(4px) !important}
#leadPopup > div{background:#fff !important; border:1px solid var(--line) !important; border-radius:16px !important}
#leadPopup *{color:var(--body) !important}
#leadPopup h1,#leadPopup h2,#leadPopup h3,#leadPopup h4{color:var(--navy) !important}
#leadPopup input{background:#fff !important; border:1px solid var(--line-strong) !important; border-radius:10px !important}
#leadPopup svg{stroke:var(--navy) !important}
#leadPopup button,#leadPopup [style*="var(--accent)"]{background:var(--navy) !important;
  color:#fff !important; border-radius:300px !important}
#leadPopup button *{color:#fff !important}
#leadPopup [style*="background:rgba(163,230,53"]{background:var(--paper-3) !important; border-color:var(--line) !important}

.pn-banner{background:#fff !important; border-top:1px solid var(--line) !important;
  color:var(--body) !important; box-shadow:0 -8px 32px -18px rgba(18,49,79,.3) !important}
.pn-banner *,.pn-text{color:var(--body) !important}
.pn-btn-enable{background:var(--navy) !important; color:#fff !important; border:none !important; border-radius:300px !important}
.pn-btn-later{background:transparent !important; border:1px solid var(--line-strong) !important;
  color:var(--muted) !important; border-radius:300px !important}
.pn-banner svg{color:var(--navy) !important; stroke:var(--navy) !important}

#langPopup,.lang-popup,#langPopup > div,.lang-popup > div,
.cookie-banner,#cookieConsent,#cookieBanner{background:#fff !important;
  border:1px solid var(--line) !important; border-radius:14px !important;
  box-shadow:0 28px 64px -34px rgba(18,49,79,.42) !important}
#langPopup *,.lang-popup *,.cookie-banner *,#cookieConsent *,#cookieBanner *{color:var(--body) !important}
.cookie-banner button,#cookieConsent button,#cookieBanner button{border-radius:300px !important;
  font-family:'Poppins',sans-serif !important; font-weight:500 !important}

/* 18. Scrollbar */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--paper-2)}
::-webkit-scrollbar-thumb{background:rgba(18,49,79,.26); border-radius:300px; border:3px solid var(--paper-2)}
::-webkit-scrollbar-thumb:hover{background:rgba(18,49,79,.45)}

/* 19. Inline colours from the dark design — every one collapses onto the four.
   Roughly 400 hardcoded hex values sit in style attributes across the
   templates; author !important outranks a plain inline style. */
[style*="#A0AABF"],[style*="#94A3B8"],[style*="#C0C5D0"],[style*="#8B8FA0"],
[style*="#B0B8C0"],[style*="#9AA6BF"],[style*="#E0E0E0"],[style*="#F1F5F9"],
[style*="#a0aabf"],[style*="#94a3b8"],[style*="#c0c5d0"],[style*="#8b8fa0"],
[style*="#b0b8c0"],[style*="#9aa6bf"],[style*="#e0e0e0"],[style*="#f1f5f9"],
[style*="#7d8a93"],[style*="#9a8e7a"],[style*="#a09484"]{color:var(--muted) !important}

[style*="#00E1FF"],[style*="#A3E635"],[style*="#7FDCFF"],[style*="#8FD3FF"],[style*="#8FB1D8"],
[style*="#00e1ff"],[style*="#a3e635"],[style*="#7fdcff"],[style*="#8fd3ff"],[style*="#8fb1d8"],
[style*="#A78BFA"],[style*="#a78bfa"],[style*="#4ADE80"],[style*="#4ade80"],
[style*="#9fb6c4"],[style*="#88a4c0"]{color:var(--navy) !important}

[style*="#FFAA00"],[style*="#FFD700"],[style*="#FFB84D"],[style*="#E6B422"],
[style*="#ffaa00"],[style*="#ffd700"],[style*="#ffb84d"],[style*="#e6b422"],
[style*="#caa53d"],[style*="#c8884a"],[style*="#d4a574"]{color:var(--amber) !important}

[style*="#FF6B6B"],[style*="#F87171"],[style*="#FF8A8A"],
[style*="#ff6b6b"],[style*="#f87171"],[style*="#ff8a8a"]{color:var(--danger) !important}

footer [style*="#A0AABF"],footer [style*="#94A3B8"],footer [style*="#C0C5D0"],
footer [style*="#a0aabf"],footer [style*="#94a3b8"],footer [style*="#c0c5d0"]{color:#A2B2C2 !important}
footer [style*="#00E1FF"],footer [style*="#A3E635"],
footer [style*="#00e1ff"],footer [style*="#a3e635"]{color:var(--amber) !important}

/* 20. Dark inline surfaces. Cards that hardcoded a near-black fill kept it
   through the repaint and ended up dark-on-dark. */
[style*="background:#05070A"],[style*="background: #05070A"],
[style*="background:#05070a"],[style*="background: #05070a"],
[style*="background:#0B0F19"],[style*="background: #0B0F19"],
[style*="background:#0b0f19"],[style*="background: #0b0f19"],
[style*="background:#0F1218"],[style*="background: #0F1218"],
[style*="background:#0f1218"],[style*="background: #0f1218"],
[style*="background:#0A0D12"],[style*="background: #0A0D12"],
[style*="background:#0a0d12"],[style*="background: #0a0d12"],
[style*="background:#131825"],[style*="background: #131825"],
[style*="background:#18202B"],[style*="background: #18202b"],
[style*="background:#181B22"],[style*="background: #181b22"],
[style*="background:#151921"],[style*="background: #151921"],
[style*="background:#23262E"],[style*="background: #23262e"],
[style*="background:#0A0A0C"],[style*="background: #0a0a0c"],
[style*="background:rgba(15,18,24"],[style*="background: rgba(15,18,24"],
[style*="background:rgba(18,18,26"],[style*="background: rgba(18,18,26"],
[style*="background:rgba(10,13,18"],[style*="background: rgba(10,13,18"],
[style*="background-color:#05070A"],[style*="background-color: #05070A"]{
  background:#fff !important; border-color:var(--line) !important; color:var(--body) !important}

/* 21. Inline white text, written for a near-black canvas. */
[style*="color:#fff"],[style*="color: #fff"],[style*="color:#FFF"],[style*="color: #FFF"],
[style*="color:#ffffff"],[style*="color: #ffffff"],[style*="color:#FFFFFF"],[style*="color: #FFFFFF"],
[style*="color:white"],[style*="color: white"],
[style*="color:rgba(255,255,255"],[style*="color: rgba(255, 255, 255"],
[style*="color:rgba(255, 255, 255"]{color:var(--body) !important; -webkit-text-fill-color:var(--body) !important}

footer [style*="color:#fff"],footer [style*="color: #fff"],
footer [style*="color:white"],footer [style*="color: white"],
footer [style*="color:#ffffff"],footer [style*="color: #ffffff"],
footer [style*="color:rgba(255,255,255"],footer [style*="color: rgba(255, 255, 255"],
.mx-cta-band [style*="color:#fff"],.mx-cta-band [style*="color: #fff"],
.mx-cta-band [style*="color:white"],.mx-cta-band [style*="color: white"],
#chatWidget > div:first-child [style*="color:#fff"],
#chatWidget > div:first-child [style*="color: #fff"],
#chatWidget > div:first-child [style*="color:white"],
#chatWidget > div:first-child [style*="color: white"],
pre [style*="color:#fff"],pre [style*="color: white"]{color:#fff !important; -webkit-text-fill-color:#fff !important}

.btn-lime [style*="color:#fff"],.btn-primary [style*="color:#fff"],
.btn-lime [style*="color: white"],.btn-primary [style*="color: white"],
a.btn-lime[style*="color:#fff"],a.btn-primary[style*="color:#fff"],
button.btn-primary[style*="color:#fff"],button.btn-lime[style*="color:#fff"]{
  color:#fff !important; -webkit-text-fill-color:#fff !important}

#chatWidget button,#chatWidget button *,#chatWidget [type="submit"],#chatWidget [type="submit"] *,
#leadPopup button,#leadPopup button *,#leadMagnetCard button,#leadMagnetCard button *,
.cookie-banner button:not(.btn-secondary):not(.btn-outline),
#cookieConsent button:not(.btn-secondary):not(.btn-outline),
#cookieBanner button:not(.btn-secondary):not(.btn-outline),
.cookie-banner .btn-primary,#cookieConsent .btn-primary,#cookieBanner .btn-primary,
#langPopup button,.lang-popup button,.pn-btn-enable,.pn-btn-enable *,
#chatFab,#chatFab *{color:#fff !important; -webkit-text-fill-color:#fff !important}
.cookie-banner .btn-secondary,#cookieConsent .btn-secondary,#cookieBanner .btn-secondary,
.cookie-banner .btn-outline,#cookieConsent .btn-outline,.pn-btn-later{
  color:var(--muted) !important; -webkit-text-fill-color:var(--muted) !important}

/* 22. Stars */
[style*="255, 215, 0"],[style*="#FFD700"],[style*="#ffd700"],
.stars,.rating-stars,.hx-stars,.mx-stars{color:var(--amber) !important}

/* 23. Homepage hero */
.mx-hero{padding:128px 0 0;position:relative}
.mx-hero .container{position:relative;z-index:1}
.mx-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:64px;align-items:center}
.mx-hero-title{margin:20px 0 0}
.mx-hero-sub{font-size:1.135rem;line-height:1.7;color:var(--muted);max-width:31em;margin:22px 0 0}
.mx-hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.mx-hero-trust{margin-top:28px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.93rem}
.mx-hero-trust .mx-stars{color:var(--amber);letter-spacing:2px}
.mx-hero-trust strong{color:var(--navy);font-weight:600}
.mx-hero-media{position:relative}
.mx-hero-photo{display:block;width:100%;height:auto;aspect-ratio:4/3.3;object-fit:cover;border-radius:16px;
  box-shadow:0 30px 70px -46px rgba(18,49,79,.5)}
.mx-float{position:absolute;display:flex;align-items:center;gap:11px;background:#fff;
  border:1px solid var(--line);border-radius:12px;padding:13px 17px;
  box-shadow:0 18px 40px -26px rgba(18,49,79,.4);z-index:2}
.mx-float-num{font-size:1.22rem;font-weight:600;color:var(--navy);line-height:1}
.mx-float-lab{font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--amber);margin-top:5px}
.mx-float--tl{top:-18px;left:-20px} .mx-float--br{bottom:-18px;right:-18px}
.mx-float-dot{width:8px;height:8px;border-radius:50%;background:var(--amber);flex-shrink:0}
@media(max-width:980px){
  .mx-hero{padding:96px 0 0}
  .mx-hero-grid{grid-template-columns:1fr;gap:44px}
  .mx-hero-sub{max-width:none}
  .mx-float--tl{left:10px;top:10px} .mx-float--br{right:10px;bottom:10px}
}

/* 24. Offer cards + section heads */
.mx-offer-head,.mx-proc-head{max-width:44em;margin-bottom:0}
.mx-offer-head .mx-lead,.mx-proc-head .mx-lead{margin-top:16px}
.mx-offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gut);margin-top:56px}
.mx-offer{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:14px;overflow:hidden;text-decoration:none;
  transition:border-color .2s ease, transform .2s ease}
.mx-offer:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.mx-offer-img{display:block;width:100%;height:152px;object-fit:cover;background:var(--paper-2)}
.mx-offer-body{padding:24px;display:flex;flex-direction:column;flex:1}
.mx-offer-body h4{font-size:1.08rem !important;margin:0 0 9px !important;color:var(--navy) !important}
.mx-offer-body p{color:var(--muted);font-size:.94rem;line-height:1.62;margin:0 0 16px}
.mx-offer-link{margin-top:auto;font-size:.85rem;font-weight:600;color:var(--amber);
  display:inline-flex;align-items:center;gap:7px;letter-spacing:.02em}
.mx-offer:hover .mx-offer-link{gap:11px}
@media(max-width:1040px){.mx-offer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.mx-offer-grid{grid-template-columns:1fr}}
.mx-faq-wrap{max-width:820px;margin:0 auto}
.mx-faq-head{text-align:center;margin-bottom:44px}
.mx-faq-head .mx-lead{margin:16px auto 0}

/* 25. Subpage patterns */
.mx-phero{padding:128px 0 0;position:relative}
.mx-phero .container{position:relative;z-index:1}
.mx-phero-copy{max-width:37em}
.mx-phero h1{margin:18px 0 0}
.mx-phero .mx-lead{margin-top:18px}
.mx-phero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
.mx-phero-img{display:block;width:100%;height:auto;aspect-ratio:16/6.6;object-fit:cover;border-radius:16px;margin-top:56px;
  box-shadow:0 30px 70px -50px rgba(18,49,79,.5)}

.mx-features{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gut);margin-top:52px}
.mx-feature{display:flex;gap:16px;align-items:flex-start;background:#fff;
  border:1px solid var(--line);border-radius:14px;padding:26px;
  transition:border-color .2s ease, transform .2s ease}
.mx-feature:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.mx-feature-ico{flex-shrink:0;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:var(--paper-3);color:var(--navy);font-size:1.15rem;border:1px solid var(--line)}
.mx-feature-ico i{color:var(--navy) !important}
.mx-feature h3{font-size:1.04rem !important;margin:0 0 6px !important;color:var(--navy) !important}
.mx-feature p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.62}
@media(max-width:820px){.mx-features{grid-template-columns:1fr}}

.mx-numlist{counter-reset:mxstep;list-style:none;padding:0;margin:52px 0 0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.mx-numlist li{counter-increment:mxstep;position:relative;padding:0 0 0 58px;color:var(--body);
  font-size:1rem;line-height:1.66}
.mx-numlist li::before{content:counter(mxstep,decimal-leading-zero);position:absolute;left:0;top:-3px;
  font-family:'Poppins',sans-serif;font-size:1.24rem;font-weight:600;color:var(--amber);letter-spacing:-.02em}
@media(max-width:820px){.mx-numlist{grid-template-columns:1fr;gap:22px}}

.mx-cta-band{background:var(--navy-deep);border-radius:20px;padding:72px 56px;text-align:center;margin:0 auto;color:#fff}
.mx-cta-band h2{color:#fff !important;margin:0}
.mx-cta-band p{color:#A2B2C2;margin:16px auto 0;max-width:40em;font-size:1.06rem;line-height:1.66}
.mx-cta-band .mx-phero-cta{justify-content:center;margin-top:32px}
.mx-cta-band .btn-lime{background:var(--amber) !important;border-color:var(--amber) !important;
  color:var(--navy-deep) !important;font-weight:600 !important}
.mx-cta-band .btn-lime:hover{background:#FF8F3D !important;color:var(--navy-deep) !important}
.mx-cta-band .btn-ghost-x{border-color:rgba(255,255,255,.4) !important;color:#fff !important}
.mx-cta-band .btn-ghost-x:hover{background:#fff !important;color:var(--navy) !important;border-color:#fff !important}
@media(max-width:640px){.mx-cta-band{padding:48px 24px}}
@media(max-width:860px){.mx-phero{padding:96px 0 0}.mx-phero-img{aspect-ratio:16/10;margin-top:38px}}

/* 26. Mobile. overflow-x:clip rather than hidden, so the sticky nav survives. */
html,body{overflow-x:clip}
@media (max-width:860px){
  :root{--sec:68px; --gut:20px}
  .hero-x-title,.mx-hero-title{font-size:clamp(2rem,7.4vw,2.85rem) !important;line-height:1.16 !important}
  .mx-hero-cta .btn-lime,.mx-hero-cta .btn-ghost-x{flex:1 1 auto;justify-content:center;text-align:center}
  .mx-hero-photo{aspect-ratio:4/3}
}
@media (max-width:520px){
  h2,.section-title,.sec-title{font-size:clamp(1.55rem,6.2vw,1.95rem) !important}
  .mx-step-img{height:164px}
  .faq-item summary{padding:18px 20px;font-size:.98rem}
  .faq-item .faq-a,.faq-item > div{padding:0 20px 20px}
  .mx-float{padding:10px 13px}
  .mx-float-num{font-size:1.05rem} .mx-float-lab{font-size:.64rem}
}

/* 27. Motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important; transition-duration:.01ms !important}
  .card:hover,.mx-step:hover,.mx-offer:hover,.mx-feature:hover,.btn-lime:hover{transform:none !important}
}

/* 28. Leftovers from the dark base sheet that the token repaint cannot reach,
   because they hardcode a colour rather than reading a variable. */

/* The mobile menu panel kept its near-black fill, so the navy links inside it
   were invisible. */
@media (max-width:900px){
  .nav-links,.nav-menu{
    background:var(--paper) !important; backdrop-filter:saturate(180%) blur(14px) !important;
    border-bottom:1px solid var(--line) !important}
  .nav-links a:not(.nav-cta),.nav-menu a:not(.nav-cta){
    color:var(--navy) !important; border-bottom-color:var(--line) !important}
  .nav-links a:not(.nav-cta):hover,.nav-menu a:not(.nav-cta):hover{color:var(--amber) !important}
  /* the CTA keeps its navy fill, so it keeps light text */
  .nav-links .nav-cta,.nav-menu .nav-cta,
  .nav-links .nav-cta *,.nav-menu .nav-cta *{
    color:#fff !important; -webkit-text-fill-color:#fff !important; border-bottom:none !important}
}

/* The logo relied on a gradient clipped to the glyphs. The gradient token is a
   flat navy now, so paint it directly rather than through background-clip. */
.logo span{background:none !important; -webkit-background-clip:border-box !important;
  background-clip:border-box !important; -webkit-text-fill-color:var(--navy) !important;
  color:var(--navy) !important}
header.scrolled,.site-header.scrolled{
  background:rgba(237,234,227,.94) !important; border-bottom-color:var(--line) !important}

/* Glyphs that were dark-on-lime and are now dark-on-navy. */
.checklist li::before{color:#fff !important; background:var(--navy) !important; box-shadow:none !important}
.checklist li{color:var(--body) !important}
.tag-filter:hover,.tag-filter.active{background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important}
.tag-filter{border-radius:300px !important; color:var(--muted) !important; border-color:var(--line-strong) !important}

/* 29. Last of the dark-on-dark: elements that sit on a navy fill but were
   picking up body ink. */

/* the footer logo is navy text on the navy footer */
footer .logo,footer .logo span{color:#fff !important; -webkit-text-fill-color:#fff !important}

/* the chat header bar itself, not just its descendants */
#chatWidget > div:first-child{color:#fff !important; -webkit-text-fill-color:#fff !important}

/* pagination: the current page is a navy chip, so it needs light text */
.page-btn,.pagination a,.pagination button{
  border-radius:300px !important; background:transparent !important;
  color:var(--muted) !important; border:1px solid var(--line-strong) !important}
.page-btn.active,.page-btn[aria-current],.page-btn:hover,
.pagination .active,.pagination a:hover{
  background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important}

/* 30. Runtime widgets that inject their own dark styling.
   These append a <style> tag at run time, so they land after this file in the
   cascade and only !important reaches them. */

/* social-proof toast, bottom left */
.sp-toast{background:#fff !important; border:1px solid var(--line) !important;
  border-radius:14px !important; box-shadow:0 24px 56px -34px rgba(18,49,79,.4) !important;
  backdrop-filter:none !important}
.sp-title{color:var(--navy) !important}
.sp-body{color:var(--body) !important}
.sp-time{color:var(--muted) !important}
.sp-close{color:var(--muted) !important}
.sp-close:hover{color:var(--navy) !important}
.sp-dot{background:var(--amber) !important}

/* reading-list button: it was a navy icon on a near-black circle */
#readingListFab{background:#fff !important; color:var(--navy) !important;
  border:1px solid var(--line-strong) !important;
  box-shadow:0 10px 26px -14px rgba(18,49,79,.4) !important; backdrop-filter:none !important}
#readingListFab:hover{background:var(--navy) !important; color:#fff !important;
  border-color:var(--navy) !important}
#readingListBadge{background:var(--amber) !important; color:var(--navy-deep) !important}

/* .glow-text painted a navy background clipped to its glyphs. The gradient
   token is flat now, so paint it directly like the logo. */
.glow-text{background:none !important; -webkit-background-clip:border-box !important;
  background-clip:border-box !important; -webkit-text-fill-color:var(--navy) !important;
  color:var(--navy) !important}
