/* WLF v81 visual repair: BPF-sized typography, readable colors, real covers, clean palette. */
:root{--wlf-bg-0:#020817;--wlf-bg-1:#061226;--wlf-panel:#08172D;--wlf-panel-2:#0B1B33;--wlf-line:rgba(56,189,248,.26);--wlf-copy:#D7E6F7;--wlf-soft:#BFD3EA;--wlf-white:#FFFFFF;--wlf-ink:#071426;--wlf-brand:var(--wlf-brand,#2563EB);--bpf-font-display:'Barlow Condensed','Arial Narrow','Arial Black',Impact,sans-serif;--bpf-font-ui:Barlow,Arial,sans-serif;}
html,body{background:linear-gradient(180deg,#020817 0%,#061226 48%,#020817 100%)!important;color:var(--wlf-white)!important;overflow-x:hidden!important;font-size:16px!important;}
body{font-family:var(--bpf-font-display)!important;line-height:1.5!important;}
p,li,small,span,div,input,textarea,select{font-family:var(--bpf-font-ui)!important;}
strong,b,h1,h2,h3,h4,.title,.page-title,.hero-title,.section-title,.guide-title,.card-title,.prog-card-title,.tool-title,.hub-card-title,.brand,.bn,.nav-links a,.navlinks a,.btn,.button,a.btn,button{font-family:var(--bpf-font-display)!important;}
/* BPF reference scale: big, but not absurd. */
.page-title,.hero-title,h1.title,.funnel-title,.title{font-size:clamp(42px,6.4vw,80px)!important;line-height:.90!important;letter-spacing:-.035em!important;font-weight:900!important;text-transform:uppercase!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
h1{font-size:clamp(40px,6.2vw,78px)!important;line-height:.92!important;}
h2,.section-title{font-size:clamp(30px,4.2vw,52px)!important;line-height:.96!important;letter-spacing:-.025em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
h3,.guide-title,.card-title,.prog-card-title,.tool-title{font-size:clamp(18px,2vw,22px)!important;line-height:1.08!important;font-weight:900!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.eyebrow,.hero-eyebrow,.section-kicker,.kicker,.guide-tag,.tag{font-size:10px!important;line-height:1.35!important;letter-spacing:.14em!important;font-weight:900!important;color:#38BDF8!important;-webkit-text-fill-color:#38BDF8!important;text-transform:uppercase!important;}
.hero-sub,.lead,.sectionLead,.section-lead,.funnel-copy,.private-hub-copy,.topic-intro-copy,p,.guide-desc,.card p,.panel p,.sub{font-size:15px!important;line-height:1.6!important;color:var(--wlf-copy)!important;-webkit-text-fill-color:var(--wlf-copy)!important;font-weight:500!important;}
.nav-links a,.navlinks a:not(.btn),.links a{font-size:13px!important;line-height:1.05!important;letter-spacing:.07em!important;font-weight:800!important;color:#EAF4FF!important;-webkit-text-fill-color:#EAF4FF!important;text-decoration:none!important;}
.btn,.button,a.btn,a.button,button[class*="btn"],.tb-cta,.guide-btn,.prog-cta{font-size:12px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:.07em!important;text-transform:uppercase!important;border-radius:9px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:var(--wlf-brand,#2563EB)!important;border-color:var(--wlf-brand,#2563EB)!important;box-shadow:none!important;opacity:1!important;text-align:center!important;}
/* Remove accidental borders/boxes from text nodes. */
.hero-title,.hero-sub,.hero-eyebrow,.section-title,.section-lead,.sectionLead,.section-copy,.funnel-title,.funnel-copy,.card-title,.prog-card-title,.hub-card-title,.tool-title,.tool-desc,.price-title,.metric-label,.page-title,.lead,.copy,.desc,.description,.fine,.fine-print{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;outline:0!important;}
/* Proper dark panel readability. */
.card,.panel,.program,.program-card,.guide-card,.resource-card,.coach-card,.pricing-card,.tier,.offer-card,.feature,.step,.info,.hub-card,.private-hub-panel{background:linear-gradient(180deg,#08172D 0%,#061226 100%)!important;border:1px solid var(--wlf-line)!important;color:#fff!important;box-shadow:0 16px 42px rgba(0,0,0,.22)!important;}
.card *,.panel *,.program *,.program-card *,.guide-card *,.resource-card *,.coach-card *,.pricing-card *,.tier *,.offer-card *,.feature *,.step *,.info *,.hub-card *{text-shadow:none!important;}
.card p,.panel p,.program p,.program-card p,.guide-card p,.resource-card p,.coach-card p,.pricing-card p,.tier p,.offer-card p,.feature p,.step p,.info p,.hub-card p,.mini-list div{color:var(--wlf-copy)!important;-webkit-text-fill-color:var(--wlf-copy)!important;}
/* White/light cards must use dark text. */
.light-card,.white-card,.download-card,.resource-download-card,.pdf-mock:not(.wlf-has-cover),[style*="background:#fff"],[style*="background: #fff"],[style*="background:white"],[style*="background: white"],[style*="background:#ffffff"],[style*="background: #ffffff"]{color:var(--wlf-ink)!important;-webkit-text-fill-color:var(--wlf-ink)!important;}
.light-card *,.white-card *,.download-card *,.resource-download-card *,.pdf-mock:not(.wlf-has-cover) *,[style*="background:#fff"] *,[style*="background: #fff"] *,[style*="background:white"] *,[style*="background: white"] *,[style*="background:#ffffff"] *,[style*="background: #ffffff"] *{color:var(--wlf-ink)!important;-webkit-text-fill-color:var(--wlf-ink)!important;}
/* Header logo uses provided WLF intro logo. */
.brand img,.nav-logo img,.top img[src*="logo"],.topbar img[src*="logo"],header img[src*="logo"],img[src="/bpf-logo.png"],img[src="/icon-192.png"]{object-fit:contain!important;background:transparent!important;border-radius:8px!important;}
.brand img,.nav-logo img,header .brand img{width:auto!important;max-width:104px!important;height:42px!important;}
/* Fix guide and PDF covers: show full covers, not cropped strips. */
.wlf-guide-cover-wrap,.program-cover,.program-hero-cover{background:#061226!important;border:1px solid rgba(56,189,248,.32)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 18px 42px rgba(0,0,0,.30)!important;}
.wlf-guide-cover-wrap{aspect-ratio:5/7!important;max-height:none!important;margin-bottom:16px!important;}
.wlf-guide-cover-wrap img,.program-cover img,.program-hero-cover img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;background:#061226!important;}
.program-cover{aspect-ratio:5/7!important;margin:0 0 16px!important;}
.program-hero-cover{max-width:360px!important;margin:0 auto 18px!important;}
.program-hero-cover img{height:auto!important;}
/* Do not let the injected cover become a full-screen poster. */
.wlf-guide-hero-cover{max-width:420px!important;margin:0 auto 20px!important;border-radius:18px!important;overflow:hidden!important;background:#061226!important;border:1px solid rgba(56,189,248,.32)!important;box-shadow:0 20px 48px rgba(0,0,0,.30)!important;}
.wlf-guide-hero-cover img{width:100%!important;height:auto!important;object-fit:contain!important;display:block!important;background:#061226!important;}
.pdf-mock.wlf-has-cover{padding:22px!important;background:linear-gradient(180deg,#08172D,#061226)!important;}
.pdf-mock.wlf-has-cover .wlf-guide-hero-cover{max-width:360px!important;}
/* Free guides grid now uses actual covers and readable copy. */
.free-guides-grid,.guides-grid,.grid{align-items:stretch!important;}
a.guide-card{display:flex!important;flex-direction:column!important;gap:0!important;padding:18px!important;text-decoration:none!important;}
a.guide-card .guide-btn{margin-top:auto!important;}
/* Free tools page: no black text stuck on navy and no navy labels pasted over white blocks. */
.tool-list,.tool-stack,.tools-list{display:grid!important;gap:14px!important;}
.tool-row,.tool-item,.free-tool-row{background:linear-gradient(180deg,#08172D,#061226)!important;border:1px solid var(--wlf-line)!important;border-radius:18px!important;color:#fff!important;padding:16px!important;box-shadow:0 16px 36px rgba(0,0,0,.20)!important;}
.tool-row *,.tool-item *,.free-tool-row *{color:#EAF4FF!important;-webkit-text-fill-color:#EAF4FF!important;background:transparent!important;border:0!important;box-shadow:none!important;}
/* Clean single palette button. */
#wlf-switch-btn,#wlf-switch-panel,#wlf-switch-footer,.wlf-palette-docked{display:none!important;}
#wlf-clean-palette{position:fixed!important;right:18px!important;bottom:18px!important;z-index:2147483000!important;font-family:var(--bpf-font-ui)!important;}
.wlf-clean-palette-btn{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:999px!important;background:linear-gradient(145deg,#0B1B33,#061226)!important;border:1px solid rgba(56,189,248,.58)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;padding:0!important;box-shadow:0 16px 36px rgba(0,0,0,.36)!important;cursor:pointer!important;}
.wlf-clean-palette-panel{display:none!important;position:absolute!important;right:0!important;bottom:58px!important;width:262px!important;padding:14px!important;border-radius:18px!important;background:#08172D!important;border:1px solid rgba(56,189,248,.34)!important;box-shadow:0 22px 54px rgba(0,0,0,.42)!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;}
.wlf-clean-palette-panel.open{display:grid!important;}
.wlf-clean-palette-title{grid-column:1/-1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:var(--bpf-font-display)!important;font-size:13px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-align:center!important;margin-bottom:2px!important;}
#wlf-clean-palette [data-key]{width:34px!important;height:34px!important;border-radius:999px!important;border:2px solid rgba(255,255,255,.70)!important;background:var(--dot)!important;padding:0!important;box-shadow:0 0 0 1px rgba(0,0,0,.18)!important;}
#wlf-clean-palette [data-key][aria-pressed="true"]{outline:3px solid rgba(56,189,248,.75)!important;outline-offset:2px!important;}
@media(max-width:900px){.brand img,.nav-logo img,header .brand img{max-width:86px!important;height:36px!important}.page-title,.hero-title,h1.title,.funnel-title,.title{font-size:clamp(34px,11vw,56px)!important;line-height:.94!important}.hero-sub,.lead,.sectionLead,.section-lead,.funnel-copy,p{font-size:15px!important;line-height:1.55!important}.nav-links,.navlinks,.links{gap:10px!important}.nav-links a,.navlinks a:not(.btn),.links a{font-size:12px!important}.program-grid,.guides-grid,.grid{grid-template-columns:1fr!important}.wlf-clean-palette-panel{right:0!important;width:min(292px,calc(100vw - 34px))!important}}
@media(max-width:540px){#wlf-clean-palette{right:12px!important;bottom:12px!important}.wlf-clean-palette-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.page-title,.hero-title,h1.title,.funnel-title,.title{font-size:clamp(32px,13vw,48px)!important}.program-hero-cover,.wlf-guide-hero-cover{max-width:320px!important}.wlf-guide-cover-wrap{border-radius:14px!important}}
/* Use the provided intro logo at a readable header size. */
.brand img,.nav-logo img,header .brand img{max-width:150px!important;height:50px!important;object-fit:contain!important;}
@media(max-width:900px){.brand img,.nav-logo img,header .brand img{max-width:118px!important;height:42px!important;}}
