/* How it works switcher (Danny, 2026-10-26). Sits under the fixed nav, above both panels (the heroes' top padding is
   reduced to match: pages/how-it-works/css/page.css and 60-b-hero.css). */
.nf-hiw-switch { width: 100%; padding: 112px 60px 0; background-color: #fff; }
.nf-hiw-switch__tabs { display: inline-flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nf-hiw-switch__tab {
  /* Sized as the residential and business hero buttons (Danny, 2026-11-06): 54px, 21 / 25.2 Regular; phone 35px, 15 / 18 */
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 24px; border-radius: 99px;
  background-color: #f5f5f5; color: #000; text-decoration: none; white-space: nowrap;
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-weight: 400; font-size: 21px; line-height: 1.2;
  transition: background-color 0.2s ease-out;
}
.nf-hiw-switch__tab[aria-current="page"] { background-color: var(--nf-green, #91c851); }
@media (hover: hover) { .nf-hiw-switch__tab:not([aria-current="page"]):hover { background-color: #ebebeb; } }
.nf-hiw-switch__tab:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-hiw-switch { padding: 115px 40px 0; }
}
@media (max-width: 809.98px) {
  .nf-hiw-switch { padding: 92px 16px 0; }
  .nf-hiw-switch__tabs { display: flex; }
  .nf-hiw-switch__tabs li { flex: 1 1 0; }
  .nf-hiw-switch__tab { width: 100%; height: 35px; padding: 0 16px; font-size: 15px; }
}
.nf-hiw-switch__label { margin: 0; font: inherit; color: inherit; }

.nf-hiw-panel[hidden] { display: none; }
/* The panel is a child of the centred .nf-page column: without a width it shrank to its widest content (854px at 810)
   and hung 22px off both sides, so the page scrolled sideways (QC 2026-10-28). */
.nf-hiw-panel { width: 100%; }
