/* BETFREE V10.9 — site-wide scale, rhythm and flagship-page polish */

/* -------------------------------------------------------------
   1) Site-wide desktop typography normalization at 100% zoom
   ------------------------------------------------------------- */
@media (min-width:761px){
  body.bf-page-unified main h1,
  body.bf-page-unified .page-title,
  body.bf-page-unified .hero h1{
    font-size:clamp(2.5rem,3.75vw,3.65rem)!important;
    line-height:1.04!important;
    max-width:800px!important;
  }
  body.bf-page-unified main h2,
  body.bf-page-unified .section-title,
  body.bf-page-unified .article h2{
    font-size:clamp(1.65rem,2.35vw,2.05rem)!important;
    line-height:1.13!important;
  }
  body.bf-page-unified main h3,
  body.bf-page-unified .article h3{
    font-size:clamp(1.04rem,1.35vw,1.18rem)!important;
    line-height:1.25!important;
  }
  body.bf-page-unified main p,
  body.bf-page-unified main li,
  body.bf-page-unified .lead,
  body.bf-page-unified .lede{
    font-size:1rem!important;
    line-height:1.64!important;
  }
  body.bf-page-unified .hero{
    padding-top:52px!important;
    padding-bottom:34px!important;
  }
  body.bf-page-unified .btn,
  body.bf-page-unified .button{
    min-height:46px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }

  body.bf-page-article .hero h1{
    font-size:clamp(2.35rem,3.35vw,2.9rem)!important;
    line-height:1.06!important;
    max-width:820px!important;
  }
  body.bf-page-article .article h2,
  body.bf-page-article main h2{
    font-size:clamp(1.5rem,2vw,1.78rem)!important;
    line-height:1.18!important;
  }
}

/* -------------------------------------------------------------
   2) Homepage — remove dead black space, preserve approved tools
   ------------------------------------------------------------- */
body.bf-family-home main{padding-bottom:18px!important;}
body.bf-family-home main>section:not(.hero){
  padding-top:52px!important;
  padding-bottom:52px!important;
}
body.bf-family-home main>section.home-tools-section,
body.bf-family-home main>section.family-home-section{padding-top:50px!important;padding-bottom:50px!important;}
body.bf-family-home main>section.reset-section{padding-top:58px!important;padding-bottom:58px!important;}
body.bf-family-home main>section.next-section{padding-top:50px!important;padding-bottom:50px!important;}
body.bf-family-home .section-head{margin-bottom:28px!important;}
body.bf-family-home .section-head h2{margin-bottom:10px!important;}
body.bf-family-home .section-head p{margin-top:0!important;}
body.bf-family-home main>section:last-child{padding-bottom:22px!important;}
body.bf-family-home .bf-preferred-source{padding-top:16px!important;padding-bottom:28px!important;}
@media(min-width:761px){
  body.bf-family-home .hero-free-grid h1{font-size:clamp(3.15rem,4.7vw,4.25rem)!important;line-height:.98!important;max-width:690px!important;}
  body.bf-family-home .hero-free-grid .hero-copy{max-width:620px!important;font-size:1rem!important;line-height:1.62!important;}
  body.bf-family-home .hero-free-actions .btn{min-height:48px!important;}
}
@media(max-width:760px){
  body.bf-family-home main>section:not(.hero){padding-top:40px!important;padding-bottom:40px!important;}
  body.bf-family-home main>section.home-tools-section,
  body.bf-family-home main>section.family-home-section,
  body.bf-family-home main>section.reset-section,
  body.bf-family-home main>section.next-section{padding-top:40px!important;padding-bottom:40px!important;}
  body.bf-family-home .section-head{margin-bottom:22px!important;}
}

/* -------------------------------------------------------------
   3) Free Emergency Plan — bring desktop hero back to site scale
   ------------------------------------------------------------- */
@media(min-width:901px){
  body.bf-page-emergency-plan .emergency-hero-v105{
    min-height:0!important;
    padding:48px 0 52px!important;
    gap:clamp(42px,5vw,68px)!important;
  }
  body.bf-page-emergency-plan .emergency-hero-copy h1{
    font-size:clamp(3.25rem,4.25vw,4rem)!important;
    line-height:.98!important;
    max-width:560px!important;
    margin-bottom:18px!important;
  }
  body.bf-page-emergency-plan .emergency-hero-desc{
    max-width:570px!important;
    font-size:1rem!important;
    line-height:1.62!important;
    margin-bottom:22px!important;
  }
  body.bf-page-emergency-plan .emergency-hero-actions{max-width:540px!important;gap:9px!important;}
  body.bf-page-emergency-plan .emergency-hero-actions .btn{min-height:46px!important;}
  body.bf-page-emergency-plan .emergency-cover-stage{width:min(390px,88%)!important;}
  body.bf-page-emergency-plan .emergency-hero-trust{margin-top:14px!important;}
}

/* -------------------------------------------------------------
   4) Family page — intentional support-hub structure
   ------------------------------------------------------------- */
body.bf-family-help.bf-family-refit main{padding-bottom:18px!important;}
body.bf-family-help.bf-family-refit .hero{
  max-width:820px!important;
  margin:0 auto!important;
  text-align:left!important;
}
body.bf-family-help.bf-family-refit .hero h1,
body.bf-family-help.bf-family-refit .hero .lead{margin-left:0!important;margin-right:0!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .hero .lead{max-width:650px!important;}
body.bf-family-help.bf-family-refit .bf-family-start,
body.bf-family-help.bf-family-refit .bf-family-tools,
body.bf-family-help.bf-family-refit .bf-family-support{padding:44px 0!important;}
body.bf-family-help.bf-family-refit .bf-section-intro{max-width:720px;margin:0 0 26px;text-align:left;}
body.bf-family-help.bf-family-refit .bf-section-intro h2{margin:10px 0 10px!important;max-width:680px!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .bf-section-intro p{margin:0!important;max-width:650px!important;}
body.bf-family-help.bf-family-refit .family-principles{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
body.bf-family-help.bf-family-refit .family-principles .card{min-height:0!important;padding:22px!important;justify-content:flex-start!important;}
body.bf-family-help.bf-family-refit .family-principles .card h3{margin:0 0 8px!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .family-principles .card p{margin:0!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .bf-family-action-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding:18px 20px;border:1px solid var(--bf-line);border-radius:16px;background:#0a0f0a;}
body.bf-family-help.bf-family-refit .bf-family-action-row p{margin:0!important;max-width:620px!important;}
body.bf-family-help.bf-family-refit .bf-family-action-row .btn{flex:0 0 auto;margin:0!important;}
body.bf-family-help.bf-family-refit .bf-family-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
body.bf-family-help.bf-family-refit .bf-family-tool-grid .card{padding:24px!important;display:flex;flex-direction:column;align-items:flex-start!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .bf-family-tool-grid .card h2{margin:0 0 9px!important;text-align:left!important;font-size:1.55rem!important;}
body.bf-family-help.bf-family-refit .bf-family-tool-grid .card p{margin:0 0 18px!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .bf-family-tool-grid .btn{margin-top:auto!important;}
body.bf-family-help.bf-family-refit .bf-family-support .card{max-width:920px;margin:0 auto;padding:26px!important;text-align:left!important;border-left:3px solid var(--bf-green)!important;}
body.bf-family-help.bf-family-refit .bf-family-support .card h2{margin:8px 0 10px!important;text-align:left!important;}
body.bf-family-help.bf-family-refit .bf-family-support .card p{margin:0 0 16px!important;text-align:left!important;}
@media(max-width:760px){
  body.bf-family-help.bf-family-refit .hero{padding-top:38px!important;padding-bottom:28px!important;}
  body.bf-family-help.bf-family-refit .bf-family-start,
  body.bf-family-help.bf-family-refit .bf-family-tools,
  body.bf-family-help.bf-family-refit .bf-family-support{padding:32px 0!important;}
  body.bf-family-help.bf-family-refit .family-principles,
  body.bf-family-help.bf-family-refit .bf-family-tool-grid{grid-template-columns:1fr!important;}
  body.bf-family-help.bf-family-refit .bf-family-action-row{display:block;padding:18px;}
  body.bf-family-help.bf-family-refit .bf-family-action-row .btn{width:100%;margin-top:16px!important;}
}

/* -------------------------------------------------------------
   5) Resources — balanced hub rhythm and text alignment
   ------------------------------------------------------------- */
body.bf-family-hub.bf-resources-refit .resources-hero{padding-top:50px!important;padding-bottom:34px!important;}
body.bf-family-hub.bf-resources-refit .resources-hero .wrap{max-width:980px!important;}
body.bf-family-hub.bf-resources-refit .resources-hero h1{max-width:720px!important;margin:14px 0 12px!important;text-align:left!important;}
body.bf-family-hub.bf-resources-refit .resources-hero .lede{max-width:650px!important;margin:0!important;text-align:left!important;}
body.bf-family-hub.bf-resources-refit .resource-section{padding:54px 0!important;}
body.bf-family-hub.bf-resources-refit .resources-hero + .resource-section{padding-top:38px!important;}
body.bf-family-hub.bf-resources-refit .section-head{max-width:720px!important;margin:0 auto 28px!important;}
body.bf-family-hub.bf-resources-refit .section-head h2{max-width:680px!important;margin:10px auto 9px!important;}
body.bf-family-hub.bf-resources-refit .section-head p{max-width:620px!important;margin:0 auto!important;}
body.bf-family-hub.bf-resources-refit .primary-tools{gap:16px!important;}
body.bf-family-hub.bf-resources-refit .resource-tool{min-height:285px!important;padding:27px!important;}
body.bf-family-hub.bf-resources-refit .resource-tool h3{font-size:1.35rem!important;line-height:1.2!important;}
body.bf-family-hub.bf-resources-refit .resource-tool p{max-width:440px!important;}
body.bf-family-hub.bf-resources-refit .reset-resource{gap:30px!important;padding:26px!important;}
body.bf-family-hub.bf-resources-refit .reset-copy h2{font-size:clamp(1.8rem,2.7vw,2.35rem)!important;max-width:580px!important;}
body.bf-family-hub.bf-resources-refit .support-callout{padding:26px!important;}
body.bf-family-hub.bf-resources-refit .bf-preferred-source{padding-top:14px!important;}
@media(max-width:760px){
  body.bf-family-hub.bf-resources-refit .resources-hero{padding-top:36px!important;padding-bottom:26px!important;}
  body.bf-family-hub.bf-resources-refit .resource-section{padding:40px 0!important;}
  body.bf-family-hub.bf-resources-refit .section-head{margin-bottom:22px!important;}
  body.bf-family-hub.bf-resources-refit .resource-tool{padding:22px 18px!important;}
}

/* -------------------------------------------------------------
   6) 30-Day Reset — flagship product page
   ------------------------------------------------------------- */
body.bf-reset-product-page main{padding-bottom:16px!important;}
body.bf-reset-product-page .bf-reset-wrap{width:min(1120px,calc(100% - 36px));margin:0 auto;}
body.bf-reset-product-page .bf-reset-hero{padding:54px 0 58px!important;border-bottom:1px solid rgba(255,255,255,.055);}
body.bf-reset-product-page .bf-reset-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);gap:clamp(42px,6vw,76px);align-items:center;}
body.bf-reset-product-page .bf-reset-hero-copy{text-align:left;}
body.bf-reset-product-page .bf-reset-hero-copy .kicker{margin-bottom:15px;}
body.bf-reset-product-page .bf-reset-hero h1{margin:0 0 16px!important;max-width:660px!important;text-align:left!important;font-size:clamp(3rem,4.5vw,4.15rem)!important;line-height:.98!important;letter-spacing:-.05em!important;}
body.bf-reset-product-page .bf-reset-hero h1 span{display:block;color:var(--bf-green2)!important;}
body.bf-reset-product-page .bf-reset-hero .lede{margin:0 0 20px!important;max-width:640px!important;text-align:left!important;font-size:1.02rem!important;line-height:1.62!important;}
body.bf-reset-product-page .bf-reset-trust{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 20px;color:#b7c1b8;font-size:.82rem;font-weight:650;}
body.bf-reset-product-page .bf-reset-price{display:flex;align-items:baseline;gap:12px;margin:0 0 18px;}
body.bf-reset-product-page .bf-reset-price strong{font-size:2rem;line-height:1;color:#fff;}
body.bf-reset-product-page .bf-reset-price span{color:#97a197;font-size:.85rem;}
body.bf-reset-product-page .bf-reset-hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
body.bf-reset-product-page .bf-reset-hero-actions .button{margin:0!important;min-height:48px!important;border-radius:999px!important;}
body.bf-reset-product-page .bf-reset-secondary{display:inline-flex;align-items:center;min-height:46px;padding:10px 16px;border:1px solid #344434;border-radius:999px;text-decoration:none;color:#e8eee8!important;font-weight:700;font-size:.88rem;}
body.bf-reset-product-page .bf-reset-cover img{display:block;width:min(100%,350px);margin:0 auto;border-radius:14px;border:1px solid #2c382c;box-shadow:0 26px 70px rgba(0,0,0,.42);}
body.bf-reset-product-page .bf-reset-section{padding:54px 0!important;border-top:1px solid rgba(255,255,255,.045);}
body.bf-reset-product-page .bf-reset-section:first-of-type{border-top:0;}
body.bf-reset-product-page .bf-reset-section-head{max-width:760px;margin:0 auto 28px;text-align:center;}
body.bf-reset-product-page .bf-reset-section-head h2{margin:10px auto 10px!important;max-width:720px!important;text-align:center!important;}
body.bf-reset-product-page .bf-reset-section-head p{margin:0 auto!important;max-width:650px!important;text-align:center!important;}
body.bf-reset-product-page .bf-reset-situation-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
body.bf-reset-product-page .bf-reset-situation{padding:18px 16px;border:1px solid var(--bf-line);border-radius:16px;background:#0c120c;min-height:128px;display:flex;align-items:flex-start;gap:10px;}
body.bf-reset-product-page .bf-reset-situation b{color:var(--bf-green2);font-size:1rem;line-height:1;}
body.bf-reset-product-page .bf-reset-situation span{color:#dce4dc;font-size:.89rem;line-height:1.46;}
body.bf-reset-product-page .bf-reset-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
body.bf-reset-product-page .bf-reset-value{padding:22px;border:1px solid var(--bf-line);border-radius:17px;background:var(--bf-panel);}
body.bf-reset-product-page .bf-reset-value small{display:block;margin-bottom:7px;color:var(--bf-green2);font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;}
body.bf-reset-product-page .bf-reset-value h3{margin:0 0 8px!important;text-align:left!important;font-size:1.12rem!important;}
body.bf-reset-product-page .bf-reset-value p{margin:0!important;text-align:left!important;font-size:.9rem!important;}
body.bf-reset-product-page .bf-reset-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
body.bf-reset-product-page .bf-reset-stage{padding:23px 20px;border:1px solid var(--bf-line);border-radius:18px;background:linear-gradient(150deg,#101710,#0a0f0a);min-height:220px;}
body.bf-reset-product-page .bf-reset-stage-num{display:block;margin-bottom:14px;color:var(--bf-green2);font-size:.73rem;font-weight:900;letter-spacing:.1em;}
body.bf-reset-product-page .bf-reset-stage h3{margin:0 0 9px!important;text-align:left!important;font-size:1.18rem!important;}
body.bf-reset-product-page .bf-reset-stage p{margin:0!important;text-align:left!important;font-size:.91rem!important;}
body.bf-reset-product-page .bf-reset-days-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
body.bf-reset-product-page .bf-reset-days{padding:20px;border-top:3px solid var(--bf-green);border-radius:0 0 16px 16px;background:#0b110b;border-left:1px solid var(--bf-line);border-right:1px solid var(--bf-line);border-bottom:1px solid var(--bf-line);}
body.bf-reset-product-page .bf-reset-days small{display:block;color:var(--bf-green2);font-size:.75rem;font-weight:900;margin-bottom:8px;}
body.bf-reset-product-page .bf-reset-days strong{display:block;color:#fff;font-size:1.03rem;margin-bottom:8px;}
body.bf-reset-product-page .bf-reset-days span{display:block;color:#a8b0a8;font-size:.86rem;line-height:1.5;}
body.bf-reset-product-page .bf-reset-checkout-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,410px);gap:38px;align-items:center;max-width:980px;margin:0 auto;padding:30px;border:1px solid rgba(121,207,43,.28);border-radius:22px;background:linear-gradient(145deg,#101910,#091009);}
body.bf-reset-product-page .bf-reset-checkout-copy h2{margin:8px 0 10px!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-checkout-copy p{margin:0!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-checkout{padding:22px;border:1px solid #2e3b2e;border-radius:16px;background:#080d08;}
body.bf-reset-product-page .bf-reset-checkout label{display:block;margin-bottom:8px;color:#e8ede8;font-size:.84rem;font-weight:700;}
body.bf-reset-product-page .bf-reset-checkout input{width:100%;min-height:48px;margin:0 0 10px;padding:12px 14px;border:1px solid #354235;border-radius:11px;background:#050805;color:#fff;}
body.bf-reset-product-page .bf-reset-checkout .button{width:100%;margin:0!important;display:flex;align-items:center;justify-content:center;border:0;cursor:pointer;}
body.bf-reset-product-page .bf-reset-paypal-trust{margin-top:10px;color:#9ea79e;font-size:.75rem;text-align:center;}
body.bf-reset-product-page .bf-reset-status{min-height:18px;margin:9px 0 0!important;color:#8f998f!important;font-size:.75rem!important;text-align:center!important;}
body.bf-reset-product-page .bf-reset-paypal-buttons{margin-top:12px;}
body.bf-reset-product-page .bf-reset-seo{max-width:820px;margin:0 auto;}
body.bf-reset-product-page .bf-reset-seo h2{margin-top:30px!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-seo h2:first-child{margin-top:0!important;}
body.bf-reset-product-page .bf-reset-seo p{margin-left:0!important;margin-right:0!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-support-box{margin-top:24px;padding:22px;border-left:3px solid var(--bf-green);border-radius:14px;background:#0a100a;border-top:1px solid var(--bf-line);border-right:1px solid var(--bf-line);border-bottom:1px solid var(--bf-line);}
body.bf-reset-product-page .bf-reset-support-box h3{margin:0 0 8px!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-faq{max-width:860px;margin:0 auto;display:grid;gap:10px;}
body.bf-reset-product-page .bf-reset-faq details{padding:0!important;overflow:hidden;border-radius:14px!important;}
body.bf-reset-product-page .bf-reset-faq summary{padding:16px 18px;cursor:pointer;color:#f4f7f3;font-weight:700;list-style:none;}
body.bf-reset-product-page .bf-reset-faq summary::-webkit-details-marker{display:none;}
body.bf-reset-product-page .bf-reset-faq details p{padding:0 18px 17px;margin:0!important;text-align:left!important;}
body.bf-reset-product-page .bf-reset-sponsor{max-width:860px;margin:24px auto 0;padding:22px;border:1px solid var(--bf-line);border-radius:16px;background:#0a0f0a;text-align:center;}
body.bf-reset-product-page .bf-reset-sponsor h3{margin:7px auto 8px!important;}
body.bf-reset-product-page .bf-reset-sponsor p{margin:0 auto 14px!important;max-width:600px!important;}
@media(max-width:1000px){
  body.bf-reset-product-page .bf-reset-situation-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.bf-reset-product-page .bf-reset-stage-grid,
  body.bf-reset-product-page .bf-reset-days-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  body.bf-reset-product-page .bf-reset-wrap{width:calc(100% - 28px);}
  body.bf-reset-product-page .bf-reset-hero{padding:36px 0 40px!important;}
  body.bf-reset-product-page .bf-reset-hero-grid{grid-template-columns:1fr;gap:28px;}
  body.bf-reset-product-page .bf-reset-hero-copy{text-align:center;}
  body.bf-reset-product-page .bf-reset-hero h1{font-size:clamp(2.65rem,12vw,3.35rem)!important;max-width:420px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  body.bf-reset-product-page .bf-reset-hero .lede{margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  body.bf-reset-product-page .bf-reset-trust{justify-content:center;}
  body.bf-reset-product-page .bf-reset-price{justify-content:center;}
  body.bf-reset-product-page .bf-reset-hero-actions{display:grid;grid-template-columns:1fr;width:100%;}
  body.bf-reset-product-page .bf-reset-secondary{justify-content:center;}
  body.bf-reset-product-page .bf-reset-cover{order:-1;width:min(260px,70vw);margin:0 auto;}
  body.bf-reset-product-page .bf-reset-section{padding:40px 0!important;}
  body.bf-reset-product-page .bf-reset-section-head{margin-bottom:22px;}
  body.bf-reset-product-page .bf-reset-situation-grid,
  body.bf-reset-product-page .bf-reset-value-grid,
  body.bf-reset-product-page .bf-reset-stage-grid,
  body.bf-reset-product-page .bf-reset-days-grid{grid-template-columns:1fr;}
  body.bf-reset-product-page .bf-reset-situation,
  body.bf-reset-product-page .bf-reset-stage{min-height:0;}
  body.bf-reset-product-page .bf-reset-checkout-shell{grid-template-columns:1fr;padding:22px 17px;gap:22px;}
  body.bf-reset-product-page .bf-reset-checkout-copy{text-align:center;}
  body.bf-reset-product-page .bf-reset-checkout-copy h2,
  body.bf-reset-product-page .bf-reset-checkout-copy p{text-align:center!important;}
}

/* Final shared close rhythm */
body.bf-page-unified.bf-has-preferred-source .bf-preferred-source{padding-top:14px!important;padding-bottom:26px!important;}
body.bf-page-unified.bf-has-preferred-source .bf-global-footer{margin-top:0!important;}

/* V10.9 QA refinements */
body.bf-page-emergency-plan .emergency-hero-copy h1 span{color:#f5f7f2!important;}
body.bf-page-emergency-plan .emergency-hero-copy h1 strong{color:var(--bf-green2)!important;}
@media(max-width:760px){
  body.bf-reset-product-page .bf-reset-cover{order:initial!important;}
  /* Keep the mobile emergency/help shortcut usable without covering cards or CTAs. */
  .floating-urge{
    width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;
    padding:0!important;border-radius:50%!important;font-size:0!important;display:grid!important;place-items:center!important;
    right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
  }
  .floating-urge::before{content:"♡";font-size:20px!important;line-height:1!important;color:#071007;}
}
