/* BETFREE V5 consolidated header, support directory and article sidebar */
.bf-global-header .bf-head-inner{width:min(1180px,calc(100% - 48px))!important;height:72px!important;gap:32px!important}
.bf-global-header .bf-logo{display:inline-flex!important;flex:0 0 auto!important;font-size:1.58rem!important;margin-left:0!important}
.bf-global-header .bf-nav{flex:1 1 auto!important;gap:20px!important}
.bf-global-header .bf-nav>a,.bf-global-header .bf-nav>.bf-nav-group>.bf-nav-trigger{font-size:.88rem!important;font-weight:700!important}
.bf-nav-group{position:relative;display:flex;align-items:center}
.bf-nav-trigger{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0;border:0;background:transparent;color:#c4ccc4;cursor:pointer;font:inherit;white-space:nowrap}
.bf-nav-trigger::after{content:"⌄";font-size:.78rem;color:var(--bf-green2);transition:transform .18s ease}
.bf-nav-group.open .bf-nav-trigger::after{transform:rotate(180deg)}
.bf-nav-menu{position:absolute;top:calc(100% + 10px);left:50%;z-index:1400;display:none;width:260px;transform:translateX(-50%);padding:10px;border:1px solid #294134;border-radius:16px;background:#0a110d;box-shadow:0 22px 48px rgba(0,0,0,.4)}
.bf-nav-group.open .bf-nav-menu{display:grid}
.bf-nav-menu a{display:flex!important;align-items:center;min-height:42px;padding:10px 12px!important;border-radius:10px;color:#dbe4dd!important;font-size:.82rem!important;white-space:normal!important}
.bf-nav-menu a:hover,.bf-nav-menu a:focus-visible{background:#132218;color:var(--bf-green2)!important;outline:none}
.bf-global-header .bf-search-open{order:90;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:1px solid #385040!important;border-radius:50%!important;background:#0b130e!important;color:#f5f8f5!important;font-size:0!important;display:grid!important;place-items:center!important}
.bf-global-header .bf-nav>.bf-reset{order:100}
.bf-global-header .bf-search-open::before{content:"⌕";font-size:1.45rem;line-height:1}
.bf-global-header .bf-search-open:hover,.bf-global-header .bf-search-open:focus-visible{border-color:var(--bf-green2)!important;color:var(--bf-green2)!important;outline:2px solid rgba(142,209,61,.2);outline-offset:2px}

body.bf-support-page .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
body.bf-support-page main>.hero{padding:48px 0 20px!important}
body.bf-support-page main>.hero h1{font-size:clamp(2.45rem,4vw,3.35rem)!important;max-width:760px!important}
body.bf-support-page main>.section{padding-top:24px!important}
body.bf-support-page main>.section>.wrap>.card:first-child{padding:26px 34px!important;margin-bottom:24px!important}
body.bf-support-page .grid>.card{display:flex!important;flex-direction:column!important;min-width:0;padding:26px!important}
body.bf-support-page .grid>.card h2{margin-bottom:14px!important}
body.bf-support-page .grid>.card p:last-child{margin-top:auto!important;padding-top:12px!important}
body.bf-support-page .grid>.card p:last-child a,body.bf-support-page .grid>.card p:last-child a.button{display:inline-flex!important;align-items:center!important;max-width:100%;min-height:40px!important;margin:4px 7px 4px 0!important;padding:8px 10px!important;border:1px solid rgba(142,209,61,.56)!important;border-radius:9px!important;color:var(--bf-green2)!important;background:#101b13!important;font-size:.8rem!important;font-weight:800!important;line-height:1.3!important;text-decoration:none!important;overflow-wrap:anywhere;box-shadow:none!important}
body.bf-support-page .grid>.card p:last-child a:hover,body.bf-support-page .grid>.card p:last-child a:focus-visible{border-color:var(--bf-green2);background:#172719;outline:none}
body.bf-support-page .grid>.bf-single-destination{cursor:pointer}
body.bf-support-page .grid>.bf-single-destination:hover,body.bf-support-page .grid>.bf-single-destination:focus-visible{border-color:var(--bf-green2)!important;box-shadow:0 14px 34px rgba(0,0,0,.24);outline:none}

.bf-articles-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;max-width:1180px;margin:0 auto}
.bf-articles-layout .articles-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none!important;width:100%}
.bf-articles-sidebar{position:sticky;top:92px;display:grid;gap:14px}
.bf-side-panel{border:1px solid #294134;border-radius:18px;background:#0b140f;padding:18px}
.bf-side-panel h2{margin:0 0 11px!important;font-size:.78rem!important;letter-spacing:.11em;text-transform:uppercase;color:var(--bf-green2)!important}
.bf-side-panel p{margin:0 0 12px;color:#aebbb2;font-size:.84rem;line-height:1.55}
.bf-side-links{display:grid;gap:7px}
.bf-side-links a{display:block;padding:8px 9px;border-radius:9px;color:#e3eae5!important;font-size:.82rem;font-weight:750;line-height:1.35;text-decoration:none}
.bf-side-links a:hover,.bf-side-links a:focus-visible{background:#142219;color:var(--bf-green2)!important;outline:none}
.bf-side-reset-cover{display:block;width:min(150px,100%);height:auto;margin:0 auto 13px;border-radius:10px}

@media(max-width:1000px){
  .bf-global-header .bf-head-inner{width:min(100% - 32px,1160px)!important;gap:20px!important}.bf-global-header .bf-logo{margin-left:8px!important}.bf-global-header .bf-nav{gap:14px!important}
  .bf-global-header .bf-nav>a,.bf-global-header .bf-nav>.bf-nav-group>.bf-nav-trigger{font-size:.8rem!important}
  .bf-articles-layout{grid-template-columns:1fr}.bf-articles-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:26px}
  body.bf-support-page .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .bf-global-header .bf-head-inner{width:calc(100% - 28px)!important;height:62px!important}.bf-global-header .bf-logo{margin-left:0!important;font-size:1.35rem!important}
  .bf-nav-group{display:block;width:100%}.bf-nav-trigger{width:100%;min-height:52px;justify-content:center;font-size:.94rem!important}
  .bf-nav-menu{position:static;width:100%;transform:none;padding:4px 8px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}.bf-nav-menu a{justify-content:center!important;background:#0d1711;margin:4px 0}
  .bf-global-header .bf-search-open{width:100%!important;height:52px!important;border-radius:10px!important;font-size:.94rem!important}.bf-global-header .bf-search-open::before{content:"⌕";font-size:.94rem}
  body.bf-support-page .grid{grid-template-columns:1fr!important}
  .bf-articles-layout .articles-grid{grid-template-columns:1fr}.bf-articles-sidebar{grid-template-columns:1fr}.bf-side-panel{padding:16px}
}

/* BETFREE premium redesign layer — branch-only visual system
   Purpose: site-wide spacing discipline, editorial hierarchy, subtle ambient motion.
   Functional/payment/tracking logic is intentionally untouched. */

:root{
  --bf-premium-ink:#050805;
  --bf-premium-navy:#07111f;
  --bf-premium-green:#78c62b;
  --bf-premium-green-bright:#8fdb3b;
  --bf-premium-ivory:#f6f2e8;
  --bf-premium-sage:#edf2e7;
  --bf-premium-paper:#fbfaf6;
  --bf-premium-text:#f6f8f3;
  --bf-premium-muted:#aab4aa;
  --bf-premium-dark-line:rgba(153,190,126,.20);
  --bf-premium-light-line:rgba(24,43,28,.14);
  --bf-space-major:64px;
  --bf-space-standard:48px;
  --bf-space-mobile-major:42px;
  --bf-space-mobile-standard:32px;
}

/* Ambient background: low-cost, CSS-only, deliberately subtle. */
body.bf-page-unified::before,
body.bf-page-article::before{
  content:"";
  position:fixed;
  inset:-18vh -18vw auto;
  height:72vh;
  pointer-events:none;
  z-index:-1;
  opacity:.42;
  background:
    radial-gradient(circle at 18% 28%,rgba(120,198,43,.12),transparent 32%),
    radial-gradient(circle at 78% 10%,rgba(36,76,72,.16),transparent 34%);
  filter:blur(6px);
  transform:translate3d(0,0,0);
  animation:bfPremiumDrift 18s ease-in-out infinite alternate;
}
@keyframes bfPremiumDrift{
  from{transform:translate3d(-1.5%,0,0) scale(1)}
  to{transform:translate3d(1.5%,2%,0) scale(1.035)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  body.bf-page-unified::before,
  body.bf-page-article::before{animation:none!important;transform:none!important}
  *,*::before,*::after{scroll-behavior:auto!important}
}

/* Global public-site typography hierarchy. */
body.bf-page-unified,
body.bf-page-article{
  background:var(--bf-premium-ink)!important;
}
body.bf-page-unified main h1,
body.bf-page-unified main h2,
body.bf-page-unified .hero h1,
body.bf-page-article .hero h1,
body.bf-page-article main h1,
body.bf-page-article main h2{
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:600!important;
  letter-spacing:-.045em!important;
}
body.bf-page-unified main h3,
body.bf-page-article main h3{
  letter-spacing:-.02em!important;
}

/* Header becomes visually quieter and lets page heroes lead. */
.bf-global-header{
  background:rgba(5,8,5,.88)!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
}
.bf-global-header .bf-head-inner{height:62px!important}
.bf-global-header .bf-nav{gap:24px!important}
.bf-global-header .bf-nav a{color:#c9d0c9!important;font-weight:650!important}
.bf-global-header .bf-nav .bf-reset{
  background:var(--bf-premium-green)!important;
  color:#071007!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset!important;
}

/* Consistent focus treatment. */
body.bf-page-unified :is(a,button,input,select,textarea,summary):focus-visible,
body.bf-page-article :is(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--bf-premium-green-bright)!important;
  outline-offset:3px!important;
}

/* Public content families: remove dead vertical black bands without crushing reading space. */
body.bf-family-home main>section,
body.bf-family-hub main>section,
body.bf-family-content main>section,
body.bf-family-help main>section,
body.bf-family-funnel:not(.bf-reset-product-page) main>section{
  padding-top:var(--bf-space-standard)!important;
  padding-bottom:var(--bf-space-standard)!important;
}
body.bf-family-home .hero,
body.bf-family-hub .hero,
body.bf-family-content .hero,
body.bf-family-help .hero,
body.bf-family-funnel:not(.bf-reset-product-page) .hero{
  padding-top:58px!important;
  padding-bottom:46px!important;
}
body.bf-family-home main>section:first-of-type,
body.bf-family-hub main>section:first-of-type,
body.bf-family-content main>section:first-of-type,
body.bf-family-help main>section:first-of-type{
  padding-top:var(--bf-space-major)!important;
}

/* Headings and section intro blocks use a predictable rhythm. */
body.bf-page-unified :is(.section-title,.section-head,.bf-section-head,.bf-reset-section-head) h2,
body.bf-page-unified main>section>div>h2{
  margin-top:0!important;
}
body.bf-page-unified :is(.section-head,.bf-section-head) p{
  margin-top:14px!important;
  margin-bottom:0!important;
}

/* Reduce card-wall feeling. */
body.bf-page-unified .card,
body.bf-page-unified .box,
body.bf-page-unified .notice,
body.bf-page-unified .resource{
  border-color:rgba(128,155,128,.20)!important;
  background:linear-gradient(155deg,rgba(17,23,17,.92),rgba(9,13,9,.92))!important;
  border-radius:18px!important;
}
body.bf-page-unified .card{
  padding:24px!important;
}
body.bf-page-unified .grid,
body.bf-page-unified .cards{
  gap:16px!important;
}

/* Homepage: compact transitions and stronger editorial rhythm. */
body.bf-family-home .hero-free,
body.bf-family-home .hero,
body.bf-family-home .hero-free-grid{
  min-height:0!important;
}
body.bf-family-home .hero-free-grid{
  padding-top:56px!important;
  padding-bottom:50px!important;
}
body.bf-family-home .home-section,
body.bf-family-home .section{
  padding-top:54px!important;
  padding-bottom:54px!important;
}
body.bf-family-home .home-section + .home-section,
body.bf-family-home main>section + section{
  margin-top:0!important;
}

/* Hub pages: headings sit closer to their grids. */
body.bf-family-hub .hero{min-height:0!important}
body.bf-family-hub .articles-grid,
body.bf-family-hub .grid,
body.bf-resources-refit .grid,
body.bf-free-tools-page .grid{
  margin-top:22px!important;
}
body.bf-family-hub .bf-article-finder{
  margin-top:0!important;
  margin-bottom:22px!important;
}
body.bf-family-hub .bf-articles-layout{
  gap:26px!important;
}
body.bf-family-hub .bf-articles-sidebar{
  gap:14px!important;
}

/* Emergency Plan: keep serious tone but remove unnecessary height. */
body.bf-page-emergency-plan .emergency-hero-v105{
  min-height:0!important;
  padding-top:52px!important;
  padding-bottom:52px!important;
  gap:42px!important;
}
body.bf-page-emergency-plan .emergency-hero-desc{margin-bottom:18px!important}
body.bf-page-emergency-plan .emergency-hero-actions{gap:10px!important}
body.bf-page-emergency-plan main>section{
  padding-top:46px!important;
  padding-bottom:46px!important;
}
body.bf-page-emergency-plan form{
  margin-top:20px!important;
  margin-bottom:20px!important;
}

/* Help/content pages: preserve calmness while removing obvious dead bands. */
body.bf-family-help .hero,
body.bf-family-content .hero{min-height:0!important}
body.bf-family-help .section,
body.bf-family-content .section{padding-block:46px!important}
body.bf-family-help .card,
body.bf-family-content .card{margin-block:16px!important}

/* Sponsor/funnel pages get denser, but forms remain comfortable. */
body.bf-family-funnel:not(.bf-reset-product-page) .hero{min-height:0!important}
body.bf-family-funnel:not(.bf-reset-product-page) form{
  margin-top:20px!important;
  margin-bottom:20px!important;
  padding:24px!important;
}

/* Article template: comfortable 18px reading text with tighter structural gaps. */
body.bf-page-article .hero{
  min-height:0!important;
  padding-top:50px!important;
  padding-bottom:32px!important;
}
body.bf-page-article .hero h1{
  font-size:clamp(2.35rem,3.4vw,3.25rem)!important;
  line-height:1.04!important;
  max-width:860px!important;
}
body.bf-page-article main.article,
body.bf-page-article .article{
  max-width:820px!important;
}
body.bf-page-article .article p,
body.bf-page-article .article li{
  font-size:1.125rem!important;
  line-height:1.72!important;
}
body.bf-page-article .article p{margin-bottom:18px!important}
body.bf-page-article .article h2{
  margin-top:34px!important;
  margin-bottom:12px!important;
  font-size:clamp(1.65rem,2.25vw,2rem)!important;
}
body.bf-page-article .article h3{
  margin-top:26px!important;
  margin-bottom:9px!important;
}
body.bf-page-article .article :is(.card,.notice,.resource,.cta){
  margin-top:22px!important;
  margin-bottom:22px!important;
}
body.bf-page-article .bf-article-end,
body.bf-page-article .bf-continue,
body.bf-page-article .bf-instagram-related{
  margin-top:24px!important;
  margin-bottom:22px!important;
}

/* Footer handoff: no giant empty black moat above the footer. */
body.bf-page-unified main,
body.bf-page-article main{padding-bottom:0!important}
body>.bf-global-footer{margin-top:0!important}
.bf-global-footer .bf-foot-main{padding-top:42px!important;padding-bottom:36px!important}

/* RESET PRODUCT PAGE — page-specific system, no generic card-wall layout. */
body.bf-reset-product-page{
  --reset-paper:#f7f3e9;
  --reset-sage:#eaf0e3;
  --reset-ink:#07100c;
  --reset-dark:#050805;
  --reset-green:#78c62b;
  background:var(--reset-dark)!important;
}
body.bf-reset-product-page .bf-reset-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.bf-reset-product-page .breadcrumb{
  width:min(1160px,calc(100% - 40px))!important;
  margin:18px auto 0!important;
  text-align:left!important;
}
body.bf-reset-product-page .bf-reset-hero{
  position:relative;
  overflow:hidden;
  padding:62px 0 58px!important;
  border-bottom:1px solid rgba(255,255,255,.07);
}
body.bf-reset-product-page .bf-reset-hero::before{
  content:"";
  position:absolute;
  width:560px;height:560px;
  right:-120px;top:-160px;
  border:1px solid rgba(120,198,43,.22);
  border-radius:50%;
  box-shadow:0 0 120px rgba(120,198,43,.08) inset;
  pointer-events:none;
}
body.bf-reset-product-page .bf-reset-hero-grid{
  width:min(1160px,calc(100% - 40px))!important;
  margin:auto!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,430px)!important;
  gap:64px!important;
  align-items:center!important;
}
body.bf-reset-product-page .bf-reset-hero-copy{text-align:left!important}
body.bf-reset-product-page .bf-reset-hero h1{
  margin:16px 0 18px!important;
  max-width:620px!important;
  font-size:clamp(3.15rem,5vw,5.2rem)!important;
  line-height:.98!important;
  text-align:left!important;
}
body.bf-reset-product-page .bf-reset-hero h1 span{
  display:block;
  color:var(--reset-green)!important;
}
body.bf-reset-product-page .bf-reset-hero .lede{
  max-width:610px!important;
  margin:0 0 20px!important;
  font-size:1.08rem!important;
  line-height:1.7!important;
  text-align:left!important;
}
body.bf-reset-product-page .bf-reset-trust{
  display:flex!important;
  flex-wrap:wrap;
  gap:10px 20px!important;
  margin:0 0 18px!important;
  color:#d9e1d9!important;
}
body.bf-reset-product-page .bf-reset-price{
  display:flex!important;
  align-items:baseline!important;
  gap:12px!important;
  margin:0 0 18px!important;
}
body.bf-reset-product-page .bf-reset-price strong{
  color:#fff!important;
  font-size:2.2rem!important;
}
body.bf-reset-product-page .bf-reset-hero-actions{
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:12px!important;
}
body.bf-reset-product-page .bf-reset-secondary{
  color:#dce5da!important;
  font-weight:750!important;
  text-underline-offset:4px;
}
body.bf-reset-product-page .bf-reset-cover{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-height:470px!important;
}
body.bf-reset-product-page .bf-reset-cover img{
  width:min(340px,82%)!important;
  border:0!important;
  border-radius:3px!important;
  box-shadow:22px 24px 0 #315f26,0 32px 80px rgba(0,0,0,.55)!important;
  transform:rotate(3deg)!important;
}
body.bf-reset-product-page .bf-reset-cover::before{
  content:"";
  position:absolute;
  width:390px;height:390px;
  border:1px solid rgba(120,198,43,.36);
  border-radius:50%;
  z-index:-1;
}

/* Reset sections become alternating editorial surfaces. */
body.bf-reset-product-page .bf-reset-section{
  padding:58px 0!important;
}
body.bf-reset-product-page .bf-reset-section>*{
  width:min(1160px,calc(100% - 40px));
  margin-left:auto!important;
  margin-right:auto!important;
}
body.bf-reset-product-page .bf-reset-section:nth-of-type(even){
  background:var(--reset-paper)!important;
  color:var(--reset-ink)!important;
}
body.bf-reset-product-page .bf-reset-section:nth-of-type(even) :is(h2,h3,strong){
  color:#0b1710!important;
}
body.bf-reset-product-page .bf-reset-section:nth-of-type(even) :is(p,li,span){
  color:#425047!important;
}
body.bf-reset-product-page .bf-reset-section:nth-of-type(3n){
  background:var(--reset-sage)!important;
}
body.bf-reset-product-page .bf-reset-section-head{
  max-width:780px!important;
  margin:0 auto 28px!important;
}
body.bf-reset-product-page .bf-reset-section-head h2{
  margin:10px auto 10px!important;
  font-size:clamp(2.25rem,3.6vw,3.65rem)!important;
  line-height:1.02!important;
}
body.bf-reset-product-page .bf-reset-section-head p{
  max-width:650px!important;
  margin:0 auto!important;
  font-size:1.03rem!important;
}

/* Stage journey reads as one progression rather than four disconnected cards. */
body.bf-reset-product-page .bf-reset-stage-grid{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:0!important;
  max-width:1100px!important;
  border-top:1px solid currentColor;
  border-bottom:1px solid currentColor;
}
body.bf-reset-product-page .bf-reset-stage{
  position:relative;
  padding:28px 24px 30px!important;
  border:0!important;
  border-right:1px solid rgba(70,90,72,.18)!important;
  border-radius:0!important;
  background:transparent!important;
}
body.bf-reset-product-page .bf-reset-stage:last-child{border-right:0!important}
body.bf-reset-product-page .bf-reset-stage-num{
  display:block;
  margin-bottom:14px;
  color:#4d7f2d!important;
  font-size:.72rem!important;
  font-weight:900;
  letter-spacing:.09em;
}

/* Reset value/tool grids are lighter-weight editorial rows. */
body.bf-reset-product-page .bf-reset-value-grid,
body.bf-reset-product-page .bf-reset-days-grid{
  gap:1px!important;
  background:rgba(85,105,85,.16)!important;
  border:1px solid rgba(85,105,85,.16);
}
body.bf-reset-product-page .bf-reset-value,
body.bf-reset-product-page .bf-reset-days{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:rgba(255,255,255,.025)!important;
  padding:24px!important;
}

/* Checkout is compact and visually secondary to product story. */
body.bf-reset-product-page #reset-checkout{
  padding-top:52px!important;
  padding-bottom:52px!important;
}
body.bf-reset-product-page .bf-reset-checkout-shell{
  max-width:980px!important;
  gap:34px!important;
}
body.bf-reset-product-page .bf-reset-checkout{
  padding:24px!important;
  border-radius:18px!important;
}

/* FAQ doesn't create another large dark moat. */
body.bf-reset-product-page .bf-reset-faq{max-width:820px!important}
body.bf-reset-product-page .bf-reset-faq details{
  margin:0!important;
  border-width:0 0 1px!important;
  border-radius:0!important;
  background:transparent!important;
}
body.bf-reset-product-page .bf-reset-faq summary{padding:17px 4px!important}

/* Mobile discipline. */
@media (max-width:820px){
  :root{
    --bf-space-major:var(--bf-space-mobile-major);
    --bf-space-standard:var(--bf-space-mobile-standard);
  }
  .bf-global-header .bf-head-inner{height:60px!important}
  body.bf-family-home main>section,
  body.bf-family-hub main>section,
  body.bf-family-content main>section,
  body.bf-family-help main>section,
  body.bf-family-funnel:not(.bf-reset-product-page) main>section{
    padding-top:36px!important;
    padding-bottom:36px!important;
  }
  body.bf-page-article .hero{padding-top:38px!important;padding-bottom:24px!important}
  body.bf-page-article .article p,
  body.bf-page-article .article li{font-size:1.08rem!important}
  body.bf-reset-product-page .breadcrumb{width:min(100% - 28px,1160px)!important}
  body.bf-reset-product-page .bf-reset-hero{padding:42px 0 40px!important}
  body.bf-reset-product-page .bf-reset-hero-grid{
    width:min(100% - 28px,1160px)!important;
    grid-template-columns:1fr!important;
    gap:30px!important;
  }
  body.bf-reset-product-page .bf-reset-hero h1{
    font-size:clamp(2.55rem,11vw,3.9rem)!important;
  }
  body.bf-reset-product-page .bf-reset-cover{min-height:330px!important}
  body.bf-reset-product-page .bf-reset-cover img{width:min(260px,72vw)!important}
  body.bf-reset-product-page .bf-reset-cover::before{width:290px;height:290px}
  body.bf-reset-product-page .bf-reset-section{padding:40px 0!important}
  body.bf-reset-product-page .bf-reset-section>*{width:min(100% - 28px,1160px)}
  body.bf-reset-product-page .bf-reset-stage-grid{grid-template-columns:1fr!important;border-bottom:0}
  body.bf-reset-product-page .bf-reset-stage{
    border-right:0!important;
    border-bottom:1px solid rgba(70,90,72,.18)!important;
    padding:22px 6px!important;
  }
  body.bf-reset-product-page .bf-reset-hero-actions{align-items:stretch!important}
  body.bf-reset-product-page .bf-reset-hero-actions .button{width:100%!important}
  body.bf-reset-product-page .bf-reset-secondary{display:block;width:100%;text-align:center;padding:8px}
}

@media (max-width:430px){
  body.bf-reset-product-page .bf-reset-hero h1{font-size:2.7rem!important}
  body.bf-reset-product-page .bf-reset-hero .lede{font-size:1rem!important}
  body.bf-reset-product-page .bf-reset-section{padding:34px 0!important}
  body.bf-reset-product-page .bf-reset-section-head{margin-bottom:22px!important}
  body.bf-reset-product-page .bf-reset-section-head h2{font-size:2.15rem!important}
  body.bf-page-article .article p,
  body.bf-page-article .article li{font-size:1.04rem!important;line-height:1.72!important}
}


/* Approved Reset hero book visual: warm ivory, slight 3D tilt, green rear edge. */
body.bf-reset-product-page .bf-reset-book{
  position:relative;
  width:min(330px,78vw);
  aspect-ratio:2/3;
  display:flex;
  flex-direction:column;
  padding:34px 30px 28px;
  color:#0c1710;
  background:
    linear-gradient(155deg,rgba(255,255,255,.78),rgba(255,255,255,0) 32%),
    #f5f0e5;
  border:1px solid rgba(28,48,30,.16);
  border-radius:3px;
  box-shadow:22px 24px 0 #315f26,0 34px 86px rgba(0,0,0,.52);
  transform:perspective(900px) rotateY(-7deg) rotateZ(2.5deg);
  transform-origin:center;
}
body.bf-reset-product-page .bf-reset-book::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(49,95,38,.18);
  pointer-events:none;
}
body.bf-reset-product-page .bf-reset-book-brand{
  color:#245423;
  font-size:.9rem;
  font-weight:950;
  letter-spacing:.08em;
}
body.bf-reset-product-page .bf-reset-book-edition{
  margin-top:5px;
  color:#667064;
  font-size:.61rem;
  font-weight:850;
  letter-spacing:.16em;
}
body.bf-reset-product-page .bf-reset-book-title{
  margin-top:56px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.05rem,3vw,2.6rem);
  line-height:.98;
  letter-spacing:-.055em;
}
body.bf-reset-product-page .bf-reset-book-rule{
  width:42px;height:2px;
  margin:22px 0 17px;
  background:#5c9e35;
}
body.bf-reset-product-page .bf-reset-book-tagline{
  color:#315f26;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.12rem;
  line-height:1.28;
  font-style:italic;
}
body.bf-reset-product-page .bf-reset-book-stages{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:auto;
  padding-top:26px;
}
body.bf-reset-product-page .bf-reset-book-stages span{
  height:4px;
  background:#5c9e35;
}
body.bf-reset-product-page .bf-reset-book-meta{
  margin-top:12px;
  color:#4c594d;
  font-size:.54rem;
  font-weight:900;
  letter-spacing:.12em;
}

/* Daily system: three editorial columns, no card wall. */
body.bf-reset-product-page .bf-reset-daily-editorial{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  max-width:1050px;
  border-top:1px solid rgba(38,66,42,.22);
  border-bottom:1px solid rgba(38,66,42,.22);
}
body.bf-reset-product-page .bf-reset-daily-editorial>div{
  padding:26px 30px 28px;
  border-right:1px solid rgba(38,66,42,.16);
}
body.bf-reset-product-page .bf-reset-daily-editorial>div:last-child{border-right:0}
body.bf-reset-product-page .bf-reset-daily-editorial small{
  display:block;
  margin-bottom:22px;
  color:#5b842e!important;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.11em;
}
body.bf-reset-product-page .bf-reset-daily-editorial h3{
  margin:0 0 9px!important;
  font-size:1.18rem!important;
  letter-spacing:.04em!important;
}
body.bf-reset-product-page .bf-reset-daily-editorial p{
  margin:0!important;
  line-height:1.68!important;
}

/* Included tools are an editorial index rather than seven cards. */
body.bf-reset-product-page .bf-reset-tools-index{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:960px;
  border-top:1px solid rgba(42,66,44,.22);
}
body.bf-reset-product-page .bf-reset-tools-index span{
  position:relative;
  padding:18px 16px 18px 30px;
  border-bottom:1px solid rgba(42,66,44,.18);
  font-weight:750;
}
body.bf-reset-product-page .bf-reset-tools-index span::before{
  content:"";
  position:absolute;
  left:4px;top:50%;
  width:9px;height:9px;
  border:2px solid #6caa38;
  border-radius:50%;
  transform:translateY(-50%);
}

/* Look-inside uses paper-like previews without exposing protected paid pages. */
body.bf-reset-product-page .bf-reset-page-showcase{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  max-width:1060px;
}
body.bf-reset-product-page .bf-reset-paper-preview{
  min-height:350px;
  padding:28px 26px;
  color:#152019;
  background:
    linear-gradient(180deg,#fbfaf6,#f4efe3);
  border:1px solid rgba(24,43,28,.13);
  box-shadow:0 18px 36px rgba(9,21,12,.09);
}
body.bf-reset-product-page .bf-reset-paper-preview:nth-child(2){transform:translateY(18px)}
body.bf-reset-product-page .bf-reset-paper-preview small{
  color:#50782d!important;
  font-size:.67rem;
  font-weight:950;
  letter-spacing:.12em;
}
body.bf-reset-product-page .bf-reset-paper-preview h3{
  margin:42px 0 15px!important;
  color:#152019!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.65rem!important;
  line-height:1.06!important;
}
body.bf-reset-product-page .bf-reset-paper-preview p{
  margin:0!important;
  color:#4b584e!important;
  line-height:1.68!important;
}
body.bf-reset-product-page .bf-reset-mini-roadmap{
  display:grid;
  gap:0;
  margin-top:28px;
  border-top:1px solid #c6cdbf;
}
body.bf-reset-product-page .bf-reset-mini-roadmap span{
  padding:12px 0;
  border-bottom:1px solid #c6cdbf;
  color:#375a2a!important;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
}

@media(max-width:820px){
  body.bf-reset-product-page .bf-reset-book{
    width:min(260px,72vw);
    padding:28px 24px 23px;
    box-shadow:16px 18px 0 #315f26,0 28px 60px rgba(0,0,0,.48);
    transform:perspective(800px) rotateY(-5deg) rotateZ(2deg);
  }
  body.bf-reset-product-page .bf-reset-book-title{margin-top:42px;font-size:2.05rem}
  body.bf-reset-product-page .bf-reset-daily-editorial,
  body.bf-reset-product-page .bf-reset-tools-index,
  body.bf-reset-product-page .bf-reset-page-showcase{grid-template-columns:1fr}
  body.bf-reset-product-page .bf-reset-daily-editorial>div{
    border-right:0;
    border-bottom:1px solid rgba(38,66,42,.16);
    padding:22px 4px;
  }
  body.bf-reset-product-page .bf-reset-daily-editorial>div:last-child{border-bottom:0}
  body.bf-reset-product-page .bf-reset-paper-preview{min-height:0;padding:24px 22px}
  body.bf-reset-product-page .bf-reset-paper-preview:nth-child(2){transform:none}
  body.bf-reset-product-page .bf-reset-paper-preview h3{margin-top:28px!important}
}


/* Reset framework contrast correction — explicit dark-section tokens.
   This prevents light-surface text tokens/nth-of-type rules from muddying the section. */
body.bf-reset-product-page .bf-reset-stages-section{
  --stg-heading:#f4f0e6;
  --stg-lede:#c9cec5;
  --stg-title:#ece8de;
  --stg-body:#b9bfb6;
  --stg-label:#9cab9f;
  background:#07100b!important;
  color:var(--stg-heading)!important;
}
body.bf-reset-product-page .bf-reset-stages-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 18%,rgba(120,198,43,.055),transparent 38%);
  opacity:.7;
}
body.bf-reset-product-page .bf-reset-stages-section{
  position:relative;
  isolation:isolate;
}
body.bf-reset-product-page .bf-reset-stages-section>*{
  position:relative;
  z-index:1;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-section-head h2{
  color:var(--stg-heading)!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-section-head p{
  color:var(--stg-lede)!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  max-width:62ch!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage-num{
  color:var(--stg-label)!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage h3{
  color:var(--stg-title)!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage p{
  color:var(--stg-body)!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage-grid{
  border-top-color:rgba(244,240,230,.55)!important;
  border-bottom-color:rgba(244,240,230,.55)!important;
}
body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage{
  border-right-color:rgba(244,240,230,.12)!important;
}
@media(max-width:820px){
  body.bf-reset-product-page .bf-reset-stages-section .bf-reset-stage{
    border-right:0!important;
    border-bottom-color:rgba(244,240,230,.12)!important;
  }
}

/* BETFREE foundation pass — shared design-system repair 2026-10-06 */
:root{
  --bf-green-deep:#4f8f1e;
  --bf-green-text:#8fc25a;
  --bf-rail-wide:1120px;
  --bf-rail-mid:960px;
  --bf-rail-read:720px;
  --bf-gutter:32px;
  --bf-section-dark:#050805;
  --bf-section-deep:#07100b;
  --bf-section-paper:#f6f2e8;
  --bf-section-sage:#e9efe5;
  --bf-text-on-dark:#f4f0e6;
  --bf-copy-on-dark:#c4cbc1;
  --bf-text-on-light:#0b1710;
  --bf-copy-on-light:#3e4a42;
}

/* One shared content rail/gutter system. */
body.bf-page-unified :is(.wrap,.w,.container,.shell,.content,.inner,.page-wrap),
body.bf-page-article :is(.wrap,.w,.container,.shell,.content,.inner,.page-wrap){
  width:min(var(--bf-rail-wide),calc(100% - (var(--bf-gutter) * 2)))!important;
  max-width:var(--bf-rail-wide)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.bf-page-unified .bf-rail-mid,
body.bf-page-article .bf-rail-mid{max-width:var(--bf-rail-mid)!important}
body.bf-page-unified .bf-rail-read,
body.bf-page-article .bf-rail-read{max-width:var(--bf-rail-read)!important}

/* Bright green is for readable text/icons; deep green stays for fills/lines. */
body.bf-page-unified :is(.bf-nav-trigger::after,.bf-reset-stage-num,.bf-reset-value small,.bf-reset-days small),
body.bf-page-article :is(a:where(:not(.button):not(.btn):not(.bf-article-final-cta__primary):not(.bf-side-plan-btn)),.kicker){
  color:var(--bf-green-text)!important;
}

/* Forms and accordions are neutral by default. Cards must opt in by class. */
body.bf-page-unified form,
body.bf-page-unified details{
  box-shadow:none!important;
}
body.bf-page-unified details{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}

/* Shared accessible button typography. */
body.bf-page-unified :is(.button,.btn,button[type="submit"]),
body.bf-page-article :is(.button,.btn,button[type="submit"]){
  min-height:48px!important;
  padding:10px 24px!important;
  font-size:1rem!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1.25!important;
}

/* Shared heading scale. */
body.bf-page-unified main h1,
body.bf-page-unified .hero h1,
body.bf-page-article main h1,
body.bf-page-article .hero h1{
  font-size:clamp(2.75rem,4.5vw,4.25rem)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
  text-wrap:balance;
}
body.bf-page-unified main h2,
body.bf-page-unified .section-title,
body.bf-page-article main h2{
  font-size:clamp(1.875rem,2.8vw,2.75rem)!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  text-wrap:balance;
}

/* Plain editorial kickers replace the repeated outlined-pill look. */
body.bf-page-unified main .kicker,
body.bf-page-article main .kicker{
  display:inline-block!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--bf-green-text)!important;
  font-size:.75rem!important;
  font-weight:700!important;
  letter-spacing:.1em!important;
  line-height:1.35!important;
  text-transform:uppercase!important;
}

/* Consistent dropdown icons: one rounded SVG stroke at every screen size. */
.bf-global-header .bf-nav-trigger::after{
 content:""!important;display:block!important;flex:0 0 20px!important;
 width:20px!important;height:20px!important;margin:0 0 0 5px!important;
 border:0!important;border-radius:6px!important;
 background:rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23c4cec1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat!important;
 transform:rotate(0deg)!important;transform-origin:center;
 transition:transform .18s ease,background-color .18s ease!important;
}
.bf-global-header .bf-nav-group.open .bf-nav-trigger::after{transform:rotate(180deg)!important;background-color:rgba(145,219,66,.12)!important}
.bf-global-header .bf-nav-trigger:hover::after,
.bf-global-header .bf-nav-trigger:focus-visible::after{background-color:rgba(255,255,255,.09)!important}
@media(prefers-reduced-motion:reduce){.bf-global-header .bf-nav-trigger::after{transition:none!important}}

/* Screen-reader text must never leak into visible UI. */
.sr-only,.visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Reset page: explicit tones replace position-dependent nth-of-type styling. */
body.bf-reset-product-page .bf-reset-section.bf-tone-dark{
  background:var(--bf-section-dark)!important;
  color:var(--bf-text-on-dark)!important;
}
body.bf-reset-product-page .bf-reset-section.bf-tone-deep{
  background:var(--bf-section-deep)!important;
  color:var(--bf-text-on-dark)!important;
}
body.bf-reset-product-page .bf-reset-section.bf-tone-paper{
  background:var(--bf-section-paper)!important;
  color:var(--bf-text-on-light)!important;
}
body.bf-reset-product-page .bf-reset-section.bf-tone-sage{
  background:var(--bf-section-sage)!important;
  color:var(--bf-text-on-light)!important;
}
body.bf-reset-product-page .bf-reset-section:is(.bf-tone-dark,.bf-tone-deep) :is(h2,h3,strong){
  color:var(--bf-text-on-dark)!important;
}
body.bf-reset-product-page .bf-reset-section:is(.bf-tone-dark,.bf-tone-deep) :is(p,li,span){
  color:var(--bf-copy-on-dark)!important;
}
body.bf-reset-product-page .bf-reset-section:is(.bf-tone-paper,.bf-tone-sage) :is(h2,h3,strong){
  color:var(--bf-text-on-light)!important;
}
body.bf-reset-product-page .bf-reset-section:is(.bf-tone-paper,.bf-tone-sage) :is(p,li,span){
  color:var(--bf-copy-on-light)!important;
}
body.bf-reset-product-page .bf-reset-section :is(a,.kicker,.bf-reset-stage-num){
  color:var(--bf-green-text)!important;
}

/* Two stable Reset rails: wide composition and reading-width copy. */
body.bf-reset-product-page .bf-reset-hero-grid,
body.bf-reset-product-page .bf-reset-section>*{
  width:min(var(--bf-rail-wide),calc(100% - (var(--bf-gutter) * 2)))!important;
  max-width:var(--bf-rail-wide)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.bf-reset-product-page :is(.bf-reset-about-section .bf-reset-section-head,.bf-reset-faq){
  width:min(var(--bf-rail-read),calc(100% - (var(--bf-gutter) * 2)))!important;
  max-width:var(--bf-rail-read)!important;
}

/* Keep ambient movement behind content; never let it wash over mobile copy. */
body.bf-page-unified main,
body.bf-page-article main{
  position:relative;
  z-index:1;
}

/* Final responsive ownership: 1080 / 860 / 600. */
@media (max-width:1080px){
  :root{--bf-gutter:32px}
  .bf-global-header .bf-head-inner{
    width:min(var(--bf-rail-wide),calc(100% - (var(--bf-gutter) * 2)))!important;
    margin-inline:auto!important;
  }
}
@media (max-width:860px){
  body.bf-reset-product-page .bf-reset-hero::before{opacity:.035!important}
  body.bf-reset-product-page .bf-reset-hero-grid{
    grid-template-columns:1fr!important;
    gap:32px!important;
  }
  body.bf-page-unified .hero,
  body.bf-page-article .hero,
  body.bf-reset-product-page .bf-reset-hero{
    padding-top:40px!important;
    padding-bottom:52px!important;
  }
}
@media (max-width:600px){
  :root{--bf-gutter:20px}
  body.bf-page-unified main h1,
  body.bf-page-unified .hero h1,
  body.bf-page-article main h1,
  body.bf-page-article .hero h1,
  body.bf-reset-product-page .bf-reset-hero h1{
    font-size:clamp(2.375rem,9vw,2.75rem)!important;
    line-height:1.04!important;
  }
  body.bf-page-unified main h2,
  body.bf-page-unified .section-title,
  body.bf-page-article main h2,
  body.bf-reset-product-page .bf-reset-section-head h2{
    font-size:1.875rem!important;
  }
  body.bf-page-unified :is(.button,.btn,button[type="submit"]),
  body.bf-page-article :is(.button,.btn,button[type="submit"]){
    min-height:52px!important;
    width:100%;
  }
  .bf-global-header .bf-head-inner{
    width:calc(100% - (var(--bf-gutter) * 2))!important;
    margin-inline:auto!important;
  }
  .bf-nav-group,
  .bf-nav-trigger{width:100%!important}
  .bf-nav-trigger{
    min-height:56px!important;
    justify-content:space-between!important;
    padding-inline:0!important;
    font-size:1.125rem!important;
    font-weight:600!important;
    text-align:left!important;
    border-bottom:1px solid rgba(246,242,232,.08)!important;
  }
  .bf-nav-menu a{
    justify-content:flex-start!important;
    min-height:48px!important;
    font-size:1rem!important;
  }
  body.bf-reset-product-page .bf-reset-section{
    padding-top:56px!important;
    padding-bottom:56px!important;
  }
  body.bf-reset-product-page .bf-reset-hero{
    padding-top:32px!important;
    padding-bottom:48px!important;
  }
}

/* BETFREE page-specific correction pass — PDF previews + calmer editorial layouts */

/* Emergency Plan: remove the boxed/AI-card feel and let the actual PDF visual lead. */
body.bf-page-emergency-plan .emergency-hero-v105{
  border:0!important;
  min-height:0!important;
  padding:56px 0 64px!important;
}
body.bf-page-emergency-plan .emergency-hero-v105::before{
  opacity:.55!important;
  width:42%!important;
  height:46%!important;
}
body.bf-page-emergency-plan .emergency-cover-stage{
  width:min(390px,90%)!important;
}
body.bf-page-emergency-plan .emergency-cover-stage img{
  border-radius:4px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 28px 70px -24px rgba(0,0,0,.75)!important;
  background:#f8faf7!important;
}
body.bf-page-emergency-plan .emergency-hero-trust{
  gap:10px 18px!important;
  font-size:.875rem!important;
  color:#b9c3bb!important;
}
body.bf-page-emergency-plan .emergency-hero-trust span{
  position:relative;
  padding-left:14px;
}
body.bf-page-emergency-plan .emergency-hero-trust span::before{
  content:"";
  position:absolute;
  left:0;top:.56em;
  width:5px;height:5px;border-radius:50%;
  background:var(--bf-green-text);
}

/* Emergency "what's inside": editorial list rather than six floating cards. */
body.bf-page-emergency-plan .inside-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 34px!important;
}
body.bf-page-emergency-plan .inside-grid .info-card{
  display:grid!important;
  grid-template-columns:26px 1fr!important;
  grid-template-areas:"icon title" "icon copy"!important;
  gap:4px 12px!important;
  min-height:0!important;
  padding:20px 0!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid rgba(246,242,232,.10)!important;
  border-radius:0!important;
}
body.bf-page-emergency-plan .inside-grid .info-card .icon{
  grid-area:icon!important;
  display:grid!important;
  place-items:center!important;
  width:24px;height:24px!important;
  margin:2px 0 0!important;
  border:1px solid rgba(143,194,90,.35)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:var(--bf-green-text)!important;
  font-size:.8rem!important;
  filter:grayscale(1)!important;
}
body.bf-page-emergency-plan .inside-grid .info-card h3{
  grid-area:title!important;
  margin:0!important;
  font-size:1.05rem!important;
}
body.bf-page-emergency-plan .inside-grid .info-card p{
  grid-area:copy!important;
  margin:0!important;
  font-size:.95rem!important;
  line-height:1.58!important;
  color:#b9c3bb!important;
}

/* Emergency PDF preview: three visible page images from the current plan design. */
body.bf-page-emergency-plan .emergency-pdf-preview{
  padding-top:64px!important;
  padding-bottom:72px!important;
  background:#f6f2e8!important;
  color:#0b1710!important;
}
body.bf-page-emergency-plan .emergency-pdf-preview .section-head h2{
  color:#0b1710!important;
}
body.bf-page-emergency-plan .emergency-pdf-preview .section-head p{
  color:#465249!important;
}
body.bf-page-emergency-plan .emergency-preview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  width:min(980px,100%);
  margin:34px auto 0;
  align-items:start;
}
body.bf-page-emergency-plan .emergency-preview-grid figure{
  margin:0;
}
body.bf-page-emergency-plan .emergency-preview-grid img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid rgba(11,23,16,.13);
  border-radius:3px;
  background:#fff;
  box-shadow:0 18px 42px -24px rgba(8,17,12,.45);
}
body.bf-page-emergency-plan .emergency-preview-grid figcaption{
  margin-top:10px;
  color:#55635a;
  font-size:.875rem;
  font-weight:650;
  text-align:left;
}

/* The 20-minute method becomes the page's calm light-band signature instead of another card grid. */
body.bf-page-emergency-plan #20-minute-plan{
  background:#e9efe5!important;
  color:#0b1710!important;
  padding-top:68px!important;
  padding-bottom:72px!important;
}
body.bf-page-emergency-plan #20-minute-plan .section-head h2,
body.bf-page-emergency-plan #20-minute-plan .plan-step h3{color:#0b1710!important}
body.bf-page-emergency-plan #20-minute-plan .section-head p,
body.bf-page-emergency-plan #20-minute-plan .plan-step p{color:#465249!important}
body.bf-page-emergency-plan #20-minute-plan .plan-grid{
  gap:0!important;
  border-top:1px solid rgba(11,23,16,.22);
  border-bottom:1px solid rgba(11,23,16,.22);
}
body.bf-page-emergency-plan #20-minute-plan .plan-step{
  min-height:0!important;
  padding:24px 20px!important;
  border:0!important;
  border-right:1px solid rgba(11,23,16,.12)!important;
  border-radius:0!important;
  background:transparent!important;
}
body.bf-page-emergency-plan #20-minute-plan .plan-step:last-child{border-right:0!important}

/* Reduce nested-box repetition in the editorial middle. */
body.bf-page-emergency-plan .content-split .editorial-box{
  background:transparent!important;
  border:0!important;
  border-top:1px solid rgba(246,242,232,.12)!important;
  border-radius:0!important;
  padding:24px 0!important;
}
body.bf-page-emergency-plan .trigger-grid .trigger-card{
  background:transparent!important;
  border:0!important;
  border-top:1px solid rgba(246,242,232,.10)!important;
  border-radius:0!important;
}

/* Reset: actual public-preview pages replace generic HTML mock cards. */
body.bf-reset-product-page .bf-reset-real-previews{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
}
body.bf-reset-product-page .bf-reset-real-previews figure{
  margin:0!important;
}
body.bf-reset-product-page .bf-reset-real-previews figure:nth-child(2){
  transform:translateY(-14px);
}
body.bf-reset-product-page .bf-reset-real-previews img{
  display:block;
  width:100%;
  height:auto;
  background:#f9f6ee;
  border:1px solid rgba(255,255,255,.11);
  border-radius:3px;
  box-shadow:0 22px 48px -26px rgba(0,0,0,.82);
}
body.bf-reset-product-page .bf-reset-real-previews figcaption{
  margin-top:10px;
  color:#b9c3bb!important;
  font-size:.875rem;
  font-weight:650;
}

/* Reset explicit tones: force backgrounds at the page-section level over legacy rules. */
body.bf-reset-product-page section.bf-reset-section.bf-tone-paper{
  background:#f6f2e8!important;
}
body.bf-reset-product-page section.bf-reset-section.bf-tone-sage{
  background:#e9efe5!important;
}
body.bf-reset-product-page section.bf-reset-section.bf-tone-dark{
  background:#050805!important;
}
body.bf-reset-product-page section.bf-reset-section.bf-tone-deep{
  background:#07100b!important;
}

/* Make "Is this for me?" feel like a checklist, not another card wall. */
body.bf-reset-product-page .bf-reset-situation-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 32px!important;
}
body.bf-reset-product-page .bf-reset-situation{
  min-height:0!important;
  padding:18px 0!important;
  border:0!important;
  border-bottom:1px solid rgba(246,242,232,.10)!important;
  border-radius:0!important;
  background:transparent!important;
}

/* Shared section headers: content sections left-align, focused moments can remain centered. */
body.bf-reset-product-page #for-me .bf-reset-section-head,
body.bf-reset-product-page .bf-reset-tools-section .bf-reset-section-head,
body.bf-page-emergency-plan .resource-section:not(.emergency-pdf-preview) .section-head{
  text-align:left!important;
  margin-left:0!important;
  margin-right:auto!important;
}

/* Mobile: previews become swipe-like stacked pages without horizontal overflow. */
@media(max-width:600px){
  body.bf-page-emergency-plan .emergency-preview-grid,
  body.bf-reset-product-page .bf-reset-real-previews{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  body.bf-reset-product-page .bf-reset-real-previews figure:nth-child(2){transform:none!important}
  body.bf-page-emergency-plan .inside-grid,
  body.bf-reset-product-page .bf-reset-situation-grid{
    grid-template-columns:1fr!important;
  }
  body.bf-page-emergency-plan #20-minute-plan .plan-grid{
    grid-template-columns:1fr!important;
  }
  body.bf-page-emergency-plan #20-minute-plan .plan-step{
    border-right:0!important;
    border-bottom:1px solid rgba(11,23,16,.12)!important;
  }
}

/* Header stays scrollable on phones and compact tablets. */
@media(max-width:1000px){
 .bf-global-header .bf-head-inner{height:64px!important;justify-content:space-between!important;gap:16px!important;width:calc(100% - 32px)!important}
 .bf-global-header .bf-menu-btn{display:grid!important;place-items:center;min-width:44px;min-height:44px;margin-left:auto!important;cursor:pointer}
 .bf-global-header.open{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .bf-global-header .bf-nav{position:fixed!important;top:64px!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(100dvh - 64px)!important;max-height:calc(100dvh - 64px)!important;display:none!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;padding:20px 24px calc(32px + env(safe-area-inset-bottom))!important;background:#07100b!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y}
 .bf-global-header.open .bf-nav{display:flex!important}
 .bf-global-header .bf-nav>a,.bf-global-header .bf-nav-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:48px!important;padding:10px 12px!important;font-size:1rem!important;white-space:normal!important;text-align:left!important}
 .bf-global-header .bf-nav-group{display:block!important;width:100%!important}
 .bf-global-header .bf-nav-menu{position:static!important;width:100%!important;transform:none!important;padding:4px 8px!important;box-shadow:none!important;border:0!important;background:transparent!important}
 .bf-global-header .bf-nav-menu a{justify-content:flex-start!important;min-height:44px!important;text-align:left!important}
 .bf-global-header .bf-search-open{display:flex!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:48px!important;height:auto!important;padding:10px 12px!important;font-size:1rem!important;border-radius:10px!important}
 .bf-global-header .bf-search-open::before{content:"⌕"!important;font-size:1.4rem!important}
 body.bf-mobile-menu-open{overflow:hidden!important;touch-action:auto!important}
}
.bf-global-header :is(button,a):focus-visible{outline:2px solid #9ad85d!important;outline-offset:3px!important}

/* Filled action labels must retain dark ink in every link state. */
body.bf-page-article .bf-article-final-cta a.bf-article-final-cta__primary,
body.bf-page-article .bf-article-help-strip a:first-child,
body.bf-page-article .bf-context-sidebar a.bf-side-plan-btn{
 color:#071007!important;opacity:1!important;text-shadow:none!important;
}
body.bf-reset-product-page #for-me .bf-reset-section-head,
body.bf-reset-product-page .bf-reset-tools-section .bf-reset-section-head{
 margin-left:auto!important;margin-right:auto!important;
}

/* Shared heading alignment across public page families, desktop and mobile.
   Forms, tables, article paragraphs and navigation retain their reading alignment. */
body.bf-page-unified[class][class][class] main :is(h1,h2,h3),
body.bf-page-article[class][class][class] main :is(h1,h2,h3){
 text-align:center!important;margin-left:auto!important;margin-right:auto!important;
}
body.bf-page-unified[class][class][class] main :is(.section-head,.bf-section-head,.bf-reset-section-head,.articles-hero,.bf-topic-hubs__head),
body.bf-page-unified[class][class][class] main :is(.section-head,.bf-section-head,.bf-reset-section-head,.articles-hero,.bf-topic-hubs__head) :is(p,.kicker,.eyebrow){
 text-align:center!important;margin-left:auto!important;margin-right:auto!important;
}
body.bf-page-unified[class][class][class] main :is(.hero,.tool-hero,.articles-hero) :is(.lead,.lede,.eyebrow,.kicker){
 text-align:center!important;margin-inline:auto!important;
}
body.bf-reset-product-page .bf-reset-choice-grid .bf-reset-choice,
body.bf-reset-product-page .bf-reset-choice-grid .bf-reset-choice :is(small,h3,p,.bf-reset-choice-cta){
 text-align:center!important;
}
body.bf-reset-product-page .bf-reset-choice-grid .bf-reset-choice p{margin-inline:auto!important}

/* Navigation uses a real SVG, independent of font glyphs and pseudo-element borders. */
.bf-global-header .bf-nav-trigger:has(.bf-nav-chevron)::after{content:none!important;display:none!important}
.bf-global-header .bf-nav-trigger .bf-nav-chevron{display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin-left:4px!important;color:#d4ddcf!important;background:none!important;border:0!important;transform:rotate(0deg)!important;transition:transform .18s ease}
.bf-global-header .bf-nav-group.open .bf-nav-trigger .bf-nav-chevron{transform:rotate(180deg)!important}
@media(max-width:1000px){.bf-global-header .bf-nav-trigger .bf-nav-chevron{margin-left:auto!important}}
@media(prefers-reduced-motion:reduce){.bf-global-header .bf-nav-trigger .bf-nav-chevron{transition:none!important}}

/* Shared header: one text baseline and one clearly drawn dropdown icon. */
.bf-global-header .bf-head-inner{box-sizing:border-box!important;max-width:1180px!important;margin-inline:auto!important;align-items:center!important;min-width:0!important}
.bf-global-header .bf-head-inner>a.bf-logo{display:block!important;flex:0 0 auto!important;min-height:0!important;line-height:1!important;margin:0!important;padding:0!important;transform:none!important;white-space:nowrap!important}
.bf-global-header .bf-head-inner>a.bf-logo>span{display:inline!important;min-height:0!important;margin:0!important;padding:0!important;font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;vertical-align:baseline!important;transform:none!important}
.bf-global-header .bf-nav-trigger::before,.bf-global-header .bf-nav-trigger::after{content:none!important;display:none!important}
.bf-global-header .bf-nav>.bf-nav-group>.bf-nav-trigger{gap:6px!important;line-height:1.25!important}
.bf-global-header .bf-nav-trigger>svg.bf-nav-chevron{flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;margin:0!important;overflow:visible!important;color:#e2e9df!important;vertical-align:middle!important}
.bf-global-header .bf-nav-trigger>svg.bf-nav-chevron path{fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
@media(min-width:1001px){
.bf-global-header .bf-head-inner{width:min(1180px,calc(100% - 48px))!important;gap:32px!important}
.bf-global-header .bf-nav{min-width:0!important}
}
@media(max-width:1000px){
.bf-global-header .bf-head-inner{width:calc(100% - 32px)!important}
.bf-global-header .bf-nav-trigger>svg.bf-nav-chevron{margin-left:auto!important}
}

/* Mobile navigation: centered brand and consistent, uncluttered rows. */
@media(max-width:1000px){
.bf-global-header .bf-head-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;height:64px!important;gap:8px!important}
.bf-global-header .bf-head-inner>a.bf-logo{grid-column:2!important;grid-row:1!important;justify-self:center!important;text-align:center!important}
.bf-global-header .bf-head-inner>.bf-menu-btn{grid-column:3!important;grid-row:1!important;display:grid!important;width:44px!important;height:44px!important;margin:0!important;padding:10px!important;border:0!important;background:transparent!important}
.bf-global-header .bf-menu-btn svg{display:block!important;width:24px!important;height:24px!important}
.bf-global-header .bf-nav{padding:20px 24px calc(28px + env(safe-area-inset-bottom))!important;gap:0!important}
.bf-global-header .bf-nav>a:not(.bf-reset),.bf-global-header .bf-nav>.bf-nav-group>.bf-nav-trigger{min-height:56px!important;padding:16px 4px!important;border:0!important;border-bottom:1px solid #203026!important;border-radius:0!important;font-family:inherit!important;font-size:18px!important;font-weight:600!important;line-height:24px!important;text-align:left!important;justify-content:space-between!important}
.bf-global-header .bf-nav .bf-nav-menu{padding:4px 0 12px 14px!important}
.bf-global-header .bf-nav .bf-nav-menu a{background:transparent!important;padding:12px 8px!important;font-size:16px!important;font-weight:500!important;border:0!important;margin:0!important}
.bf-global-header .bf-nav .bf-search-open{margin:20px 0 12px!important;justify-content:center!important;min-height:50px!important;background:transparent!important;border-color:#334b39!important;font-size:16px!important;font-weight:600!important}
.bf-global-header .bf-nav>.bf-reset{display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;margin:0!important;padding:14px 20px!important;min-height:52px!important;width:100%!important;font-size:16px!important;border-radius:12px!important}
}
