/* Homepage-only styles. Existing theme typography, colors and CTA components are retained. */
.bms-home{padding:var(--section-padding-top,72px) 0 var(--section-padding-bottom,72px);color:rgb(var(--color-text));background:rgb(var(--color-background));scroll-margin-top:110px}
.bms-home .bms-home__container{max-width:1280px;margin-inline:auto;padding-inline:32px}
.bms-home--applications,.bms-home--products,.bms-home--quality{background:#f5f5f5}
.bms-home h1,.bms-home h2,.bms-home h3{color:inherit;font-family:inherit;letter-spacing:-.025em;overflow-wrap:normal;text-wrap:balance}
.bms-home h1{font-size:clamp(36px,4.2vw,58px);line-height:1.08;margin:0 0 24px;max-width:640px}
.bms-home h2{font-size:clamp(28px,3vw,40px);line-height:1.18;margin:0 0 18px;max-width:840px}
.bms-home h3{font-size:21px;line-height:1.28;margin:0 0 12px}
.bms-home p{font-size:16px;line-height:1.65;margin:0;color:#616161}
.bms-home .bms-home__kicker{font-size:12px;line-height:1.5;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px;color:inherit}
.bms-home__lead{max-width:780px}.bms-home__intro{margin-bottom:32px}
.bms-home__hero-layout{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:56px;margin:0}
.bms-home--hero{padding-top:56px;padding-bottom:56px}
.bms-home--hero .bms-home__lead{font-size:18px;line-height:1.6;max-width:610px}
.bms-home__hero-image{border-radius:12px;background:#f5f5f5;padding:20px;border:1px solid #eee;min-width:0}
.bms-home__hero-image .f-image{aspect-ratio:1;max-height:440px;width:100%}.bms-home__hero-image img{object-fit:contain!important}
.bms-home__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.bms-home .f-button{min-height:48px;padding:14px 24px;white-space:normal;line-height:1.3;text-align:center;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:15px;font-weight:600}
.bms-home .f-button--secondary{color:inherit;border:1px solid currentColor;background:transparent}
.bms-home .f-button--secondary:hover{color:#fff;background:#1f1f1f}
.bms-home a:focus-visible,.bms-home summary:focus-visible,.bms-home-rfq input:focus-visible,.bms-home-rfq textarea:focus-visible,.bms-home-rfq button:focus-visible{outline:3px solid #1f1f1f;outline-offset:4px}
.bms-home .bms-home__note{font-size:14px;line-height:1.55;margin-top:24px;max-width:930px}
.bms-home__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bms-home--applications .bms-home__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.bms-home--products .bms-home__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.bms-home__grid>[class^="section_block_id_"],.bms-home__faq-list>[class^="section_block_id_"],.bms-home__resources>[class^="section_block_id_"]{display:contents}
.bms-home__card{background:#fff;border:1px solid #eee;border-radius:8px;min-width:0;display:flex;flex-direction:column}
.bms-home__card-image{aspect-ratio:1.5;min-width:0;background:#fff;border-radius:8px 8px 0 0}
.bms-home__card-image .f-image{width:100%;height:100%;aspect-ratio:1.5;border-radius:8px 8px 0 0}
.bms-home__card-image img{width:100%;height:100%;object-fit:cover}
.bms-home--products .bms-home__card-image{padding:12px;aspect-ratio:1}.bms-home--products .bms-home__card-image .f-image{aspect-ratio:1}
.bms-home--products .bms-home__card-image img{object-fit:contain!important}
.bms-home--applications .bms-home__card:nth-child(2) img{object-fit:contain!important}
.bms-home__card-copy{padding:24px;display:flex;flex-direction:column;flex:1;align-items:flex-start;gap:0}
.bms-home--products .bms-home__card-copy{padding:20px 18px}.bms-home--products h3{font-size:19px}
.bms-home__card p{margin-bottom:20px}.bms-home--selection .bms-home__card p{margin-bottom:0}
.bms-home__text-link{font-size:14px;line-height:1.45;font-weight:600;text-decoration:underline!important;text-underline-offset:4px;color:inherit;display:inline-flex;align-items:center;min-height:44px;margin-top:auto}
.bms-home__text-link:hover{color:#616161}.bms-home__link-context{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.bms-home__step{font-size:13px;line-height:1;font-weight:700;letter-spacing:.06em;padding-bottom:12px;color:#616161}
.bms-home--selection .bms-home__card{background:#f5f5f5;border-color:transparent}
.bms-home__faq-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:start}
.bms-home__question{border-bottom:1px solid #ddd;padding:0}
.bms-home__question summary{cursor:pointer;font-size:18px;line-height:1.4;font-weight:600;padding:22px 32px 22px 0;position:relative;list-style:none}
.bms-home__question summary::-webkit-details-marker{display:none}
.bms-home__question summary:after{content:'+';position:absolute;right:2px;top:22px;font-size:23px;line-height:1}
.bms-home__question[open] summary:after{content:'−'}
.bms-home__question p{padding-bottom:22px;max-width:70ch}
.bms-home__resources{display:grid;gap:16px}.bms-home__resource{padding:24px;background:#f5f5f5;border-radius:8px}
.bms-home__resource h3{font-size:20px}.bms-home__resource p{font-size:15px;margin-bottom:10px}
.bms-home-rfq{background:#f5f5f5!important;padding-block:56px!important;scroll-margin-top:110px}
.bms-home-rfq>.container-fluid{max-width:1280px;margin-inline:auto;padding-inline:32px}
.bms-home-rfq .f-contact-content-box{align-items:start;gap:48px;flex-wrap:nowrap}
.bms-home-rfq .f-contact-form__main{flex:1;min-width:0;background:#fff;border:1px solid #eee;border-radius:8px;padding:32px;width:auto!important}
.bms-home-rfq .f-contact-2-form__info{flex:1;min-width:0;width:auto!important;padding:0!important}
.bms-home-rfq .f-contact-form__heading,.bms-home-rfq .f-info-box__title{font-size:clamp(27px,2.8vw,36px);line-height:1.2;letter-spacing:-.025em;margin-bottom:18px}
.bms-home-rfq .f-contact-form__description,.bms-home-rfq .f-info-box__description{font-size:16px;line-height:1.65;color:#616161}
.bms-home-rfq .f-contact-submit{min-height:48px;white-space:normal;border-radius:4px}
.bms-home-rfq .f-info-box__description a{text-decoration:underline;text-underline-offset:4px}
.bms-home-rfq .f-info-box__subtitle{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}
@media(max-width:1100px){.bms-home--applications .bms-home__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bms-home--products .bms-home__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bms-home__hero-layout{gap:32px}.bms-home__faq-layout{gap:28px}.bms-home-rfq .f-contact-content-box{gap:28px}}
@media(max-width:767px){.bms-home{padding-block:48px}.bms-home .bms-home__container,.bms-home-rfq>.container-fluid{padding-inline:20px}.bms-home__hero-layout{grid-template-columns:1fr;gap:28px}.bms-home h1{font-size:38px;line-height:1.12}.bms-home--hero .bms-home__lead{font-size:17px}.bms-home__hero-image{padding:12px}.bms-home__hero-image .f-image{max-height:320px}.bms-home__grid,.bms-home--products .bms-home__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bms-home--process .bms-home__grid,.bms-home--quality .bms-home__grid{grid-template-columns:1fr}.bms-home__card-copy{padding:20px}.bms-home__faq-layout{grid-template-columns:1fr;gap:28px}.bms-home-rfq{padding-block:48px!important}.bms-home-rfq .f-contact-content-box{flex-direction:column!important;gap:28px}.bms-home-rfq .f-contact-form__main,.bms-home-rfq .f-contact-2-form__info{width:100%!important;flex:auto}.bms-home-rfq .f-contact-form__main{padding:24px}.bms-home .f-button{padding:14px 18px}.bms-home__question summary{font-size:17px}}
@media(max-width:480px){.bms-home--applications .bms-home__grid,.bms-home--products .bms-home__grid,.bms-home--selection .bms-home__grid{grid-template-columns:1fr}.bms-home .bms-home__container,.bms-home-rfq>.container-fluid{padding-inline:16px}.bms-home h1{font-size:36px}.bms-home__actions{gap:10px}.bms-home__actions .f-button{flex:1 1 150px}.bms-home--products .bms-home__card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center}.bms-home--products .bms-home__card-image{border-radius:8px;height:auto}.bms-home--products .bms-home__card-copy{padding:18px 16px}.bms-home--products .bms-home__card p{font-size:14px;margin-bottom:6px}.bms-home--products h3{font-size:18px}.bms-home-rfq .f-contact-form__main{padding:22px 18px}}

@media(max-width:767px){.bms-home,.bms-home-rfq{scroll-margin-top:165px}}

/* Match Energy Storage BMS page typography, homepage content only. */
.bms-home :is(h1,h2,p,summary),.bms-home-rfq :is(h2,p,.f-contact-form__description,.f-info-box__description,.f-info-box__subtitle){font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;letter-spacing:normal}
.bms-home h1{font-size:42px;font-weight:400;line-height:1.2}
.bms-home h2,.bms-home-rfq :is(.f-contact-form__heading,.f-info-box__title){font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:30px;font-weight:600;line-height:1.2;letter-spacing:normal}
.bms-home h3{font-family:Arial,sans-serif;font-size:18px;font-weight:200;line-height:1.2;letter-spacing:normal}
.bms-home p,.bms-home-rfq :is(p,.f-contact-form__description,.f-info-box__description,.f-info-box__subtitle){font-size:17px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:normal!important}
.bms-home .bms-home__question summary{font-size:17px;font-weight:400;line-height:1.5}

/* Homepage body ink and font match Energy Storage BMS page 504. */
.bms-home :is(p,li,summary),.bms-home-rfq :is(p,.f-contact-form__description,.f-info-box__description,.f-info-box__subtitle){font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"!important;font-size:17px!important;font-weight:400!important;font-style:normal!important;line-height:1.5!important;letter-spacing:normal!important;color:#000!important;opacity:1!important;text-shadow:none!important;-webkit-text-fill-color:#000!important}

/* Homepage yellow text buttons: match reference Benefits quote button. */
.bms-home .f-button,.bms-home-rfq .f-contact-submit{background:#247d3d!important;background-image:none!important;border-color:#247d3d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;height:64px!important;min-height:64px!important;box-sizing:border-box!important;width:auto;max-width:100%;padding-block:0!important;padding-inline:24px;display:inline-flex;align-items:center;justify-content:center}
.bms-home .f-button:hover,.bms-home-rfq .f-contact-submit:hover{background:#247d3d!important;color:#fff!important}

/* Navigation and submenu typography: one size up, consistent dark ink. */
.f-header .f-menu__link,.f-header .f-menu__link:hover,.f-menu-drawer .f-menu-mobile__link,.f-menu-drawer .f-menu-mobile__link:hover{font-family:Grotesk!important;font-size:18px!important;font-weight:600!important;color:#1f1f1f!important;opacity:1!important;-webkit-text-fill-color:#1f1f1f!important}

/* Homepage hero: full-bleed artwork without internal padding or cropped text. */
.bms-home--hero .bms-home__hero-image{padding:0!important;overflow:hidden}
.bms-home--hero .bms-home__hero-image .f-image{aspect-ratio:auto!important;max-height:none!important;height:auto!important;width:100%}
.bms-home--hero .bms-home__hero-image img{display:block;width:100%;height:auto!important;object-fit:contain!important}