/* Home batteries — page styles. Prefix: hb- */

/* Hero */
.hb-hero{display:grid;grid-template-columns:44% 1fr;margin:0 26px;min-height:470px;max-width:1600px}
.hb-hero-panel{background:var(--mist);border-radius:var(--radius);padding:52px clamp(26px,3.45vw,56px) 44px;display:flex;flex-direction:column;align-items:flex-start}
.hb-hero-panel h1{font-size:clamp(34px,3vw,46px);letter-spacing:-.04em;line-height:1.1}
.hb-hero-lead{font-size:clamp(17px,1.35vw,21px);line-height:1.5;margin-top:18px;max-width:44ch}
.hb-hero-note{color:var(--muted);margin-top:14px;line-height:1.7;max-width:46ch;font-size:15px}
.hb-hero-cta{margin-top:28px;min-height:54px;min-width:192px}
.hb-hero-panel .text-link{margin-top:20px;font-size:14px}
.hb-hero-photo{position:relative;min-width:0;border-radius:var(--radius);overflow:hidden}
.hb-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}

/* Module diagram */
.hb-mod-list{border-bottom:1px solid var(--line)}
.hb-mod-row{display:grid;grid-template-columns:.75fr 1.55fr .7fr auto;gap:clamp(20px,3vw,44px);align-items:center;border-top:1px solid var(--line);padding:24px 0;text-decoration:none;transition:color .2s}
.hb-mod-row:hover{color:var(--focus)}
.hb-mod-row:hover .row-arrow{transform:translateX(3px)}
.hb-mod-name strong{display:block;font-size:18px;font-weight:500;letter-spacing:-.02em}
.hb-mod-name span{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.hb-track{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.hb-cell{display:block;height:30px;border-radius:5px;background:var(--mist);border:1px solid var(--focus);width:calc(var(--w)*4.4px + 4px)}
.hb-cell--ghost{background:transparent;border:1px dashed #9db2ad}
.hb-more{width:18px;height:18px;color:var(--muted);margin-left:2px}
.hb-mod-range{text-align:right}
.hb-mod-range strong{display:block;font-size:20px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.hb-mod-range span{display:block;font-size:12px;color:var(--muted);margin-top:3px;white-space:nowrap}
.hb-mod-row .row-arrow{width:20px;transition:transform .2s}
.hb-legend{margin-top:16px}

/* Product blocks */
.hb-products{padding-top:clamp(56px,7vw,84px)}
.hb-product{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(44px,6vw,100px);align-items:center;border-top:1px solid var(--line);padding-block:clamp(44px,5vw,72px)}
.hb-product:last-of-type{padding-bottom:clamp(20px,3vw,36px)}
.hb-product-media{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(28px,3vw,48px);display:grid;place-items:center;min-height:340px;align-self:stretch}
.hb-product-media img{max-width:100%;height:auto;max-height:340px;object-fit:contain}
.hb-product--flip .hb-product-media{order:2}
.hb-spec{margin:30px 0 0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:6px 26px}
.hb-spec>div{display:grid;grid-template-columns:172px 1fr;gap:18px;padding:13px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.55}
.hb-spec>div:first-child{border-top:0}
.hb-spec dt{color:var(--muted)}
.hb-spec dd{margin:0}

/* FAQ intro link */
.faq>div>.text-link{margin-top:24px;font-size:14px}

/* Honest band */
.hb-honest{background:var(--mist);padding:clamp(56px,7vw,88px) 0}
.hb-honest-grid{display:grid;grid-template-columns:.9fr 1.4fr;gap:clamp(40px,7vw,110px);align-items:start}
.hb-honest-intro>p{color:var(--muted);margin-top:18px;line-height:1.7;max-width:38ch}
.hb-honest ul{list-style:none;margin:0;padding:0}
.hb-honest li{display:flex;gap:20px;border-top:1px solid #b9cdc6;padding:20px 0;align-items:flex-start}
.hb-honest li strong{font-size:17px;font-weight:500;display:block;letter-spacing:-.015em}
.hb-honest li p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:6px;max-width:52ch}

/* Breakpoints */
@media(min-width:1652px){.hb-hero{margin-inline:auto}}
@media(max-width:1200px){
.hb-hero{grid-template-columns:47% 1fr;margin-inline:18px;min-height:430px}
.hb-hero-panel{padding:40px 28px 32px}
.hb-hero-panel h1{font-size:37px}
.hb-mod-row{gap:24px}
.hb-product{gap:48px}
.hb-product-media{min-height:300px}
.hb-product-media img{max-height:300px}
.hb-honest-grid{gap:48px}
}
@media(max-width:900px){
.hb-hero{grid-template-columns:50% 1fr}
.hb-hero-panel h1{font-size:32px}
.hb-hero-lead{font-size:17px}
.hb-cell{height:26px;width:calc(var(--w)*3.6px + 4px)}
.hb-mod-name strong{font-size:16px}
.hb-mod-range strong{font-size:18px}
.hb-spec>div{grid-template-columns:140px 1fr}
}
@media(max-width:650px){
.hb-hero{display:flex;flex-direction:column;margin-inline:12px;min-height:0}
.hb-hero-panel{border-radius:12px 12px 0 0;padding:32px 26px 26px}
.hb-hero-panel h1{font-size:clamp(32px,8.4vw,42px)}
.hb-hero-lead{font-size:17px;margin-top:15px}
.hb-hero-cta{margin-top:22px;min-height:48px}
.hb-hero-photo{height:250px;border-radius:0 0 12px 12px}
.hb-mod-row{grid-template-columns:1fr auto;gap:14px 16px;padding:20px 0}
.hb-mod-row .row-arrow{grid-column:2;grid-row:1;align-self:center}
.hb-track{grid-column:1/-1;grid-row:2}
.hb-mod-range{grid-column:1/-1;grid-row:3;text-align:left}
.hb-mod-range strong{font-size:17px}
.hb-cell{height:22px;width:calc(var(--w)*3px + 3px)}
.hb-products{padding-top:44px}
.hb-product{grid-template-columns:1fr;gap:26px;padding-block:40px}
.hb-product--flip .hb-product-media{order:0}
.hb-product-media{min-height:0;padding:26px;align-self:auto}
.hb-product-media img{max-height:240px}
.hb-spec{padding:2px 18px}
.hb-spec>div{grid-template-columns:1fr;gap:2px;padding:11px 0}
.hb-honest-grid{grid-template-columns:1fr;gap:30px}
.hb-honest li{gap:14px;padding:16px 0}
.hb-honest li strong{font-size:16px}
}
