/* Smaling Service's two home-battery options and their product pages. */
.hb-page .hb-title {
  color: var(--pw-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 0 0 24px;
}
.hb-title span { display: block; }
.hb-overview-hero { padding-block: 58px 40px; background: #fff; }
.hb-overview-hero .hb-title { max-width: 25ch; }
.hb-page .hb-intro { max-width: 64ch; font-size: 17px; line-height: 1.75; color: var(--pw-muted); margin: 0 0 16px; }
.hb-page .hb-service-line { max-width: 65ch; font-size: 14px; line-height: 1.75; color: var(--pw-muted); }
.hb-page .hb-small-note { max-width: 90ch; font-size: 12px; line-height: 1.7; color: var(--pw-muted); margin: 20px 0 0; }
.hb-page .hb-options-section { padding-top: 45px; }
.hb-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.hb-product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--pw-line); border-radius: 16px; background: #fff; overflow: hidden; }
.hb-product-photo { margin: 0; padding: 18px 28px 0; background: #fff; }
.hb-product-photo > a { display: block; }
.hb-product-photo img { width: 100%; height: 340px; object-fit: contain; display: block; }
.hb-product-photo figcaption,
.hb-hero-photo figcaption,
.hb-gateway-photo figcaption { font-size: 10px; line-height: 1.6; color: var(--pw-muted); text-align: center; padding: 10px 0; }
.hb-product-photo figcaption a,
.hb-hero-photo figcaption a,
.hb-gateway-photo figcaption a { color: inherit; text-underline-offset: 2px; }
.hb-product-copy { display: flex; flex-direction: column; padding: 28px 32px 32px; flex: 1; }
.hb-page .hb-product-copy .pw-eyebrow { font-size: 11px; margin-bottom: 12px; }
.hb-page .hb-product-copy h3 { color: var(--pw-ink); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 15px; }
.hb-page .hb-product-copy > p { color: var(--pw-muted); font-size: 15px; line-height: 1.7; }
.hb-feature-list { padding-left: 19px; color: var(--pw-muted); font-size: 14px; line-height: 1.75; margin: 12px 0 20px; }
.hb-feature-list li { padding-left: 3px; margin-bottom: 6px; }
.hb-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; margin-top: auto; padding-top: 10px; }
.hb-page a.hb-text-link { color: #2359c5; font-size: 14px; font-weight: 650; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.hb-text-link span { display: inline-block; margin-left: 6px; }
.hb-comparison { border: 1px solid #d4dde7; border-radius: 12px; background: #fff; overflow: hidden; }
.hb-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; color: var(--pw-ink); }
.hb-comparison caption { text-align: left; padding: 16px 22px; background: #f5f8fb; font-size: 13px; font-weight: 650; color: var(--pw-muted); }
.hb-comparison th,
.hb-comparison td { text-align: left; vertical-align: top; padding: 19px 22px; border-top: 1px solid var(--pw-line); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.hb-comparison thead th { font-size: 16px; font-weight: 650; }
.hb-comparison th:first-child { width: 25%; }
.hb-comparison tbody th { color: var(--pw-muted); font-weight: 600; }
.hb-comparison td + td,
.hb-comparison thead th + th { border-left: 1px solid var(--pw-line); }
.hb-content-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: 50px; }
.hb-advice-card { margin-top: 38px; }
.hb-product-hero { padding-top: 48px; background: #fff; }
.hb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 42px; align-items: center; }
.hb-hero-copy { min-width: 0; padding-block: 24px; }
.hb-page .hb-kicker { color: #2459bd; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.hb-hero-photo { margin: 0; min-width: 0; background: #fff; }
.hb-hero-photo img { width: 100%; height: 525px; object-fit: contain; display: block; }
.hb-benefit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; padding-block: 26px; border-top: 1px solid var(--pw-line); }
.hb-benefit-strip > div { display: grid; gap: 7px; min-width: 0; }
.hb-benefit-strip > div + div { padding-left: 24px; border-left: 1px solid var(--pw-line); }
.hb-benefit-strip strong { color: var(--pw-ink); font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.hb-benefit-strip span { color: var(--pw-muted); font-size: 12px; line-height: 1.5; }
.hb-gateway-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 50px; align-items: center; }
.hb-gateway-photo { margin: 0; min-width: 0; padding: 12px 22px; border: 1px solid var(--pw-line); border-radius: 14px; background: #fff; }
.hb-gateway-photo img { width: 100%; height: 360px; object-fit: contain; display: block; }
.hb-page [id] { scroll-margin-top: 100px; }

/* Two product choices share the homepage's existing accessible dialog. */
.pw-popup-content.hb-popup-content { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hb-popup-content .pw-popup-copy { max-width: 70ch; }
.hb-popup-content .pw-popup-copy h2 { margin-bottom: 14px; }
.hb-popup-content .pw-popup-copy > p:last-child { margin-bottom: 0; }
.hb-popup-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hb-popup-option { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; }
.hb-popup-option img { display: block; width: 100%; height: 144px; object-fit: contain; margin-bottom: 13px; }
.pw-popup .hb-popup-option h3 { margin: 0 0 8px; color: var(--pw-ink); font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.pw-popup .hb-popup-option p { font-size: 12px; line-height: 1.6; margin: 0 0 13px; }
.hb-popup-option a { font-size: 13px; font-weight: 650; color: #2459bd; line-height: 1.5; margin-top: auto; text-underline-offset: 3px; }
.hb-popup-content > .pw-actions { flex-direction: row; align-items: center; margin-top: 0; }
.pw-popup .hb-popup-content > .pw-popup-price { margin: -6px 0 0; }
@media (max-width: 1100px) {
  .hb-hero-grid { gap: 24px; }
  .hb-hero-photo img { height: 485px; }
  .hb-product-photo img { height: 290px; }
  .hb-product-copy { padding: 24px; }
}
@media (max-width: 760px) {
  .hb-overview-hero { padding-block: 34px 30px; }
  .hb-page .hb-title { font-size: clamp(32px, 9vw, 42px); margin-bottom: 20px; }
  .hb-page .hb-intro { font-size: 15px; }
  .hb-page .hb-service-line { font-size: 13px; }
  .hb-page .hb-small-note { font-size: 11px; }
  .hb-overview-hero .pw-actions,
  .hb-hero-copy .pw-actions { flex-direction: column; align-items: stretch; }
  .hb-product-grid,
  .hb-content-columns,
  .hb-hero-grid,
  .hb-gateway-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hb-page .hb-options-section { padding-top: 34px; }
  .hb-product-photo { padding: 18px 22px 0; }
  .hb-product-photo img { height: 290px; }
  .hb-page .hb-product-copy h3 { font-size: 28px; }
  .hb-card-actions { align-items: stretch; }
  .hb-advice-card { margin-top: 0; }
  .hb-comparison caption { padding: 13px 12px; font-size: 11px; }
  .hb-comparison th,
  .hb-comparison td { font-size: 12px; padding: 14px 10px; }
  .hb-comparison thead th { font-size: 13px; }
  .hb-comparison th:first-child { width: 26%; }
  .hb-product-hero { padding-top: 26px; }
  .hb-hero-grid { gap: 16px; }
  .hb-hero-copy { display: contents; }
  .hb-hero-copy > .pw-eyebrow { order: 0; margin: 0; }
  .hb-hero-copy > .hb-kicker { order: 1; margin: 0; }
  .hb-hero-copy > .hb-title { order: 2; margin: 0; }
  .hb-hero-copy > .pw-actions { order: 3; margin: 0; }
  .hb-hero-copy > .hb-small-note { order: 4; margin: 0; }
  .hb-hero-photo { order: 5; }
  .hb-hero-copy > .hb-intro { order: 6; margin: 0; }
  .hb-hero-copy > .hb-service-line { order: 7; margin: 0; }
  .hb-hero-photo img { height: 330px; }
  .hb-benefit-strip { gap: 12px; margin-top: 25px; padding-block: 22px; }
  .hb-benefit-strip > div + div { padding-left: 12px; }
  .hb-benefit-strip strong { font-size: 13px; }
  .hb-benefit-strip span { font-size: 10px; }
  .hb-gateway-photo img { height: 270px; }
}
@media (max-width: 680px) {
  .pw-popup-content.hb-popup-content { gap: 18px; padding: 20px 18px 22px; }
  .hb-popup-options { gap: 10px; }
  .hb-popup-option { padding: 12px 10px 14px; }
  .hb-popup-option img { height: 104px; margin-bottom: 10px; }
  .pw-popup .hb-popup-option h3 { font-size: 16px; }
  .pw-popup .hb-popup-option p { font-size: 11px; }
  .hb-popup-option a { font-size: 12px; }
  .hb-popup-content > .pw-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 360px) {
  .hb-page .hb-title { font-size: 31px; }
  .hb-comparison th,
  .hb-comparison td { padding-inline: 8px; font-size: 11px; }
  .hb-benefit-strip strong { font-size: 12px; }
}
