/**
 * Homepage — MD3 Expressive redesign (loaded by public/index.html).
 * Shares the token set and component language of pricing.css (.pv2) so the two
 * pages read as one system. Self-contained: loaded after site.css, which only
 * supplies the shared nav / footer / sticky CTA chrome.
 *
 * Machine-written markup this file styles (do not rename these classes):
 *   .fpa-home-proof*        <!-- HOME_TOP_RESPONDERS_START/END --> (refresh-home-top-responders.js)
 *   .fpa-home-states__grid  <!-- HOME_STATES_BUILD -->            (generate-home-states-section.js)
 */

/* ─── Tokens ───────────────────────────────────────────────── */

.hm2 {
  --c-primary: #0b57d0;
  --c-on-primary: #ffffff;
  --c-primary-container: #d3e3fd;
  --c-on-primary-container: #041e49;
  --c-secondary-container: #c2e7ff;
  --c-on-secondary-container: #001d35;
  --c-tertiary: #146c2e;
  --c-tertiary-container: #c4eed0;
  --c-on-tertiary-container: #072711;
  --c-warm-container: #ffdfc4;
  --c-on-warm-container: #3a1a00;
  --c-surface: #ffffff;
  --c-surface-dim: #f8fafd;
  --c-container-low: #f0f4f9;
  --c-container: #e9eef6;
  --c-container-high: #dde3ea;
  --c-on-surface: #1f1f1f;
  --c-on-surface-variant: #444746;
  --c-outline: #747775;
  --c-outline-variant: #c4c7c5;
  --c-inverse: #0e2a5c;
  --c-star: #e8a000;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-full: 999px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-short: 180ms;
  --t-med: 340ms;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.08), 0 1px 3px 1px rgb(0 0 0 / 0.05);
  --shadow-2: 0 2px 6px 2px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.1);
  --shadow-3: 0 4px 12px 3px rgb(0 0 0 / 0.08), 0 1px 3px rgb(0 0 0 / 0.12);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec-y: clamp(56px, 8vw, 104px);
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));

  margin: 0;
  background: var(--c-surface);
  color: var(--c-on-surface);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.hm2 *,
.hm2 *::before,
.hm2 *::after {
  box-sizing: border-box;
}

.hm2 main :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) {
  margin: 0;
}

.hm2 main :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.hm2 [hidden] {
  display: none !important;
}

.hm2 main img {
  max-width: 100%;
}

.hm2 svg.i {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

html:has(.hm2) {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

.hm2 .material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.hm2-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hm2-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ─── Type ─────────────────────────────────────────────────── */

.hm2-eyebrow {
  margin-bottom: 12px !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.hm2-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hm2-sub {
  margin-top: 12px !important;
  max-width: 640px;
  font-size: 18px;
  color: var(--c-on-surface-variant);
}

.hm2-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hm2-head__text {
  min-width: 0;
  max-width: 720px;
}

.hm2-fine {
  margin-top: 24px !important;
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-link {
  color: var(--c-primary);
  font-weight: 500;
}

/* ─── Buttons ──────────────────────────────────────────────── */

.hm2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-full);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--t-short) var(--ease),
    box-shadow var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2-btn:active {
  border-radius: var(--r-md);
}

.hm2-btn:focus-visible,
.hm2-iconbtn:focus-visible,
.hm2-fchip:focus-visible,
.hm2-chip:focus-visible,
.hm2-tabs__link:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

.hm2-btn--filled {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.hm2-btn--filled:hover {
  background: #0842a0;
  box-shadow: var(--shadow-1);
}

.hm2-btn--filled[aria-disabled="true"] {
  background: rgb(31 31 31 / 0.12);
  color: rgb(31 31 31 / 0.38);
  box-shadow: none;
  cursor: not-allowed;
}

.hm2-btn--filled-green {
  background: var(--c-tertiary);
  color: #fff;
}

.hm2-btn--filled-green:hover {
  background: #0f5223;
  box-shadow: var(--shadow-1);
}

.hm2-btn--tonal {
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
}

.hm2-btn--tonal:hover {
  background: #a8dcff;
}

.hm2-btn--outlined {
  background: transparent;
  color: var(--c-primary);
  box-shadow: inset 0 0 0 1px var(--c-outline);
}

.hm2-btn--outlined:hover {
  background: rgb(11 87 208 / 0.08);
}

.hm2-btn--outlined-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6);
}

.hm2-btn--outlined-light:hover {
  background: rgb(255 255 255 / 0.12);
}

.hm2-btn--light {
  background: #a8c7fa;
  color: var(--c-on-primary-container);
}

.hm2-btn--light:hover {
  background: #c2d7fb;
}

.hm2-btn--text {
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--c-primary);
}

.hm2-btn--text:hover {
  background: rgb(11 87 208 / 0.08);
}

.hm2-btn--text .i {
  transition: transform var(--t-short) var(--ease);
}

.hm2-btn--text:hover .i {
  transform: translateX(3px);
}

.hm2-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  cursor: pointer;
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease),
    opacity var(--t-short) var(--ease);
}

.hm2-iconbtn svg.i {
  width: 24px;
  height: 24px;
}

.hm2-iconbtn:hover:not(:disabled) {
  background: #a8dcff;
}

.hm2-iconbtn:active:not(:disabled) {
  border-radius: var(--r-md);
}

.hm2-iconbtn:disabled {
  opacity: 0.38;
  cursor: default;
}

.hm2-section__cta {
  margin-top: clamp(24px, 3vw, 40px) !important;
}

.hm2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Chips */
.hm2-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px !important;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-full);
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
  font-size: 14px;
  font-weight: 500;
}

.hm2-pill svg.i {
  width: 18px;
  height: 18px;
}

.hm2-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.hm2-hero__chips-label {
  margin-right: 4px;
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--c-container-low);
  box-shadow: none;
  color: var(--c-on-surface);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--t-short) var(--ease),
    transform var(--t-short) var(--ease);
}

.hm2-chip:hover {
  background: var(--c-container);
  transform: translateY(-1px);
}

/* Selectable (filter) chip */
.hm2-fchip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-outline-variant);
  color: var(--c-on-surface);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--t-short) var(--ease),
    box-shadow var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease),
    padding var(--t-med) var(--ease);
}

.hm2-fchip:hover {
  background: var(--c-container-low);
}

.hm2-fchip__check {
  width: 0 !important;
  height: 20px !important;
  opacity: 0;
  overflow: hidden;
  transition:
    width var(--t-med) var(--ease),
    margin var(--t-med) var(--ease),
    opacity var(--t-short) var(--ease);
}

.hm2-fchip.is-selected {
  padding-left: 14px;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  box-shadow: none;
  color: var(--c-on-secondary-container);
}

.hm2-fchip.is-selected .hm2-fchip__check {
  width: 20px !important;
  margin-right: 8px;
  opacity: 1;
}

.hm2-fchip--tonal {
  min-height: 48px;
  background: var(--c-container-low);
  box-shadow: none;
}

/* ─── Hero ─────────────────────────────────────────────────── */

.hm2-hero {
  position: relative;
  z-index: 5;
  padding: 0;
  background: var(--c-surface);
}

/* While the suggestion list is open, lift the whole hero above the sticky
   section tabs (z-index 300) so the list is never covered. Only while open,
   so the hero still scrolls under the tabs normally. */
.hm2-hero:has(.hm2-search__menu:not([hidden])) {
  z-index: 310;
}

/* Image billboard, then the search bar straddles its bottom edge. */
.hm2-hero__billboard {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(232px, 30vh, 280px);
  padding: clamp(36px, 5vw, 52px) var(--gutter) clamp(96px, 9vw, 112px);
  background: #222;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 639px) {
  .hm2-hero__billboard {
    min-height: 0;
    padding: 36px var(--gutter) 76px;
  }
}

.hm2-hero__media,
.hm2-hero__scrim {
  position: absolute;
  inset: 0;
}

.hm2-hero__media {
  z-index: -2;
}

.hm2-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hm2-hero__scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.38) 0%, rgb(0 0 0 / 0.30) 50%, rgb(0 0 0 / 0.55) 100%);
}

.hm2-hero__copy {
  width: 100%;
  max-width: 880px;
  text-align: center;
  color: #fff;
}

.hm2-hero__title {
  margin-inline: auto !important;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.hm2-hero__lead {
  max-width: 560px;
  margin: 14px auto 0 !important;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.45;
  color: rgb(255 255 255 / 0.92);
}

.hm2-hero__searchzone {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(40px, 5vw, 64px);
}

/* Search */
.hm2-search {
  max-width: 760px;
  margin: -40px auto 0;
}

.hm2-search__wrap {
  position: relative;
}

.hm2-search__form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  padding: 10px 10px 10px 28px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  box-shadow:
    inset 0 0 0 1px var(--c-outline-variant),
    var(--shadow-3);
  transition: box-shadow var(--t-short) var(--ease);
}

.hm2-search__form:focus-within {
  box-shadow:
    inset 0 0 0 2px var(--c-primary),
    var(--shadow-3);
}

.hm2-search__lead {
  width: 24px !important;
  height: 24px !important;
  color: var(--c-primary);
}

.hm2-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 60px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--c-on-surface);
  font: inherit;
  font-size: 18px;
  outline: none;
}

.hm2-search__input::placeholder {
  color: var(--c-on-surface-variant);
}

.hm2-search__clear {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-on-surface-variant);
  cursor: pointer;
}

.hm2-search__clear:hover {
  background: var(--c-container-low);
}

.hm2-search__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 60px;
  padding: 0 30px 0 26px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2-search__btn:hover {
  background: #0842a0;
}

.hm2-search__btn:active {
  border-radius: var(--r-md);
}

.hm2-search__btn:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

/* Phones: slimmer bar (about 60px, not 80px), 16px text so iOS does not zoom */
@media (max-width: 639px) {
  .hm2-search {
    margin-top: -30px;
  }

  .hm2-search__form {
    min-height: 60px;
    gap: 6px;
    padding: 6px 6px 6px 18px;
  }

  .hm2-search__input {
    height: 48px;
    font-size: 16px;
  }

  .hm2-search__btn {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .hm2-search__btn span {
    display: none;
  }

  .hm2-search__clear {
    width: 36px;
    height: 36px;
  }
}

.hm2-search__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.hm2-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--c-on-surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hm2-search__item:hover,
.hm2-search__item:focus-visible {
  background: var(--c-container-low);
  outline: none;
}

.hm2-search__item svg.i {
  color: var(--c-primary);
}

/* Overlapping avatar stack */
.hm2-faces {
  display: flex;
  flex-wrap: wrap;
}

.hm2-faces img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hm2-faces--sm {
  flex-wrap: nowrap;
}

.hm2-faces--sm > span {
  width: 40px;
  height: 40px;
  margin-left: -12px;
  border: 3px solid var(--c-surface);
  border-radius: 50%;
  background: var(--c-container);
}

.hm2-faces--sm > span:first-child {
  margin-left: 0;
}

/* ─── Section tabs ─────────────────────────────────────────── */

.hm2-tabs {
  position: sticky;
  top: 64px;
  z-index: 300;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-outline-variant);
}

.hm2-tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) !important;
  padding: 0 var(--gutter) !important;
}

.hm2-tabs__list::-webkit-scrollbar {
  display: none;
}

.hm2-tabs__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-on-surface-variant);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-short) var(--ease);
}

.hm2-tabs__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--c-primary);
  transform: scaleX(0);
  transition: transform var(--t-med) var(--ease);
}

.hm2-tabs__link:hover {
  color: var(--c-on-surface);
}

.hm2-tabs__link.is-current {
  color: var(--c-primary);
}

.hm2-tabs__link.is-current::after {
  transform: scaleX(1);
}

/* ─── Sections ─────────────────────────────────────────────── */

.hm2-section {
  padding: var(--sec-y) 0;
}

.hm2-section--tint {
  background: var(--c-container-low);
}

.hm2-section--tight {
  padding: clamp(24px, 3vw, 40px) 0 var(--sec-y);
}

.hm2-section--flush-bottom {
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* ─── Intake ───────────────────────────────────────────────── */

/* Split layout: the card holds the question, the photo rails sit beside it,
   outside the card, and stretch to the card's height. */
.hm2-intake {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .hm2-intake {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 4vw, 56px);
  }
}

.hm2-intake__copy {
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-2xl);
  background: var(--c-container-low);
}

.hm2-intake__list {
  display: grid;
  gap: 10px;
  margin-top: 28px !important;
}

.hm2-intake__list .hm2-fchip:not(.is-selected) {
  box-shadow: none;
}

.hm2-intake__list .hm2-fchip:not(.is-selected):hover {
  background: var(--c-container);
}

.hm2-intake__list .hm2-fchip {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.hm2-intake__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 32px;
}

.hm2-intake__hint {
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-intake__visual {
  position: relative;
  display: none;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 14px;
  min-height: 420px;
  /* Zero intrinsic size: the rails fill the row height set by the card,
     they never make the section taller. */
  contain: size;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}

@media (min-width: 960px) {
  .hm2-intake__visual {
    display: grid;
    align-self: stretch;
  }
}

.hm2-rail {
  overflow: hidden;
}

.hm2-rail__track {
  display: block;
  animation: hm2-rail-up 46s linear infinite;
  will-change: transform;
}

.hm2-rail--down .hm2-rail__track {
  animation-direction: reverse;
  animation-duration: 54s;
}

@keyframes hm2-rail-up {
  to {
    transform: translateY(-50%);
  }
}

.hm2-rail__track img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--c-container);
}

.hm2-rail__track img:nth-child(3n + 2) {
  border-radius: 120px 120px var(--r-xl) var(--r-xl);
}

.hm2-rail__track img:nth-child(3n) {
  border-radius: var(--r-xl) 120px var(--r-xl) 120px;
}

/* ─── Carousel (MD3 carousel: snap scroller, tonal icon buttons) ─── */

.hm2-car__nav {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.hm2-car__bleed {
  position: relative;
}

.hm2-car__track {
  display: flex;
  gap: 16px;
  padding: 4px var(--edge) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}

.hm2-car__track::-webkit-scrollbar {
  display: none;
}

.hm2-car__track:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: -3px;
  border-radius: var(--r-lg);
}

.hm2-car__track > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Reviews */
.hm2-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: clamp(280px, 82vw, 360px);
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-outline-variant);
  color: inherit;
  text-decoration: none;
  transition:
    box-shadow var(--t-short) var(--ease),
    transform var(--t-med) var(--ease);
}

.hm2-review:hover {
  box-shadow:
    inset 0 0 0 1px var(--c-primary),
    var(--shadow-2);
  transform: translateY(-3px);
}

.hm2-review__stars {
  display: flex;
  gap: 2px;
  color: var(--c-outline-variant);
}

.hm2-review__stars .is-on {
  color: var(--c-star);
}

.hm2-review__quote {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.6;
}

.hm2-review__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hm2-review__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px 50% 50% 50%;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-weight: 500;
}

.hm2-review__names {
  display: grid;
  line-height: 1.3;
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-review__names strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-on-surface);
}

/* ─── Advocate card ────────────────────────────────────────── */

.hm2-acard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(240px, 70vw, 280px);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-outline-variant);
  overflow: hidden;
  transition:
    box-shadow var(--t-short) var(--ease),
    transform var(--t-med) var(--ease);
}

.hm2-acard:hover {
  box-shadow:
    inset 0 0 0 1px var(--c-primary),
    var(--shadow-2);
  transform: translateY(-3px);
}

.hm2-acard__hit {
  display: block;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}

.hm2-acard__hit:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: -3px;
  border-radius: var(--r-xl);
}

.hm2-acard__media {
  position: relative;
  display: block;
  margin: 8px 8px 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-container);
}

.hm2-acard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 600ms var(--ease);
}

.hm2-acard:hover .hm2-acard__media img {
  transform: scale(1.04);
}

.hm2-acard__rate {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  color: var(--c-on-surface);
  font-size: 18px;
  font-weight: 500;
  box-shadow: var(--shadow-1);
}

.hm2-acard__rate small {
  font-size: 13px;
  font-weight: 400;
  color: var(--c-on-surface-variant);
}

.hm2-acard__body {
  display: block;
  padding: 16px 20px 4px;
}

.hm2-acard__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hm2-acard__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px !important;
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-acard__meta svg.i {
  width: 16px;
  height: 16px;
}

.hm2-acard__remote {
  margin-left: 4px;
  color: var(--c-primary);
}

.hm2-acard__role {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-on-surface);
}

.hm2-pro {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  vertical-align: 2px;
}

.hm2-acard__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 12px 16px 16px;
  padding: 0 20px;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2-acard__msg:hover {
  background: #a8dcff;
}

.hm2-acard__msg:active {
  border-radius: var(--r-md);
}

.hm2-acard__msg:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

/* Top rated: one feature card + four compact rows */
.hm2-top {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .hm2-top {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: repeat(6, auto);
  }

  .hm2-acard--feature {
    grid-row: 1 / span 6;
  }
}

.hm2-acard--feature {
  width: auto;
  background: var(--c-primary-container);
  box-shadow: none;
}

.hm2-acard--feature .hm2-acard__media {
  aspect-ratio: 4 / 4.3;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  margin: 12px 12px 0;
}

.hm2-acard--feature .hm2-acard__body {
  padding: 20px 28px 4px;
}

.hm2-acard--feature .hm2-acard__name {
  font-size: 26px;
}

.hm2-acard--feature .hm2-acard__meta {
  font-size: 16px;
  color: var(--c-on-primary-container);
}

.hm2-acard--feature .hm2-acard__msg {
  margin: 16px 28px 28px;
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.hm2-acard--feature .hm2-acard__msg:hover {
  background: #0842a0;
}

.hm2-acard--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: auto;
  padding-right: 16px;
  background: var(--c-container-low);
  box-shadow: none;
}

.hm2-acard--row .hm2-acard__hit {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.hm2-acard--row .hm2-acard__media {
  margin: 10px;
  aspect-ratio: 1;
  border-radius: 28px 28px 28px 8px;
}

.hm2-acard--row .hm2-acard__body {
  padding: 8px 0;
}

.hm2-acard--row .hm2-acard__msg {
  width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
}

.hm2-acard--row .hm2-acard__msg span {
  display: none;
}

/* ─── Same-day proof (generated block) ─────────────────────── */

.hm2 .fpa-home-proof {
  padding: var(--sec-y) 0 0;
}

.hm2 .fpa-home-proof .fpa-site-container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.hm2 .fpa-home-proof__inner {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--r-2xl);
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  overflow: hidden;
}

@media (min-width: 900px) {
  .hm2 .fpa-home-proof__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
  }
}

.hm2 .fpa-home-proof__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50% 50% 50% 14px;
  background: var(--c-primary);
  color: #fff;
}

.hm2 .fpa-home-proof__icon .material-symbols-outlined {
  font-size: 28px;
}

.hm2 .fpa-home-proof__title {
  font-size: clamp(30px, 3.6vw, 44px);
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hm2 .fpa-home-proof__lead {
  margin-top: 14px !important;
  max-width: 420px;
  font-size: 18px;
  opacity: 0.86;
}

.hm2 .fpa-home-proof__cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 28px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2 .fpa-home-proof__cta:hover {
  background: #0842a0;
}

.hm2 .fpa-home-proof__cta:active {
  border-radius: var(--r-md);
}

/* Faces: one even row, one size, one gap. No overlap, no stagger. */
.hm2 .fpa-home-proof__faces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  justify-content: center;
  gap: clamp(10px, 1.4vw, 16px);
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

/* 6 faces: 3 across x 2 rows, at every width. */
.hm2 .fpa-home-proof__faces li:nth-child(n + 7) {
  display: none;
}

.hm2 .fpa-home-proof__face {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-container);
  transition: transform var(--t-med) var(--ease-spring);
}

.hm2 .fpa-home-proof__face:hover {
  transform: scale(1.06);
}

.hm2 .fpa-home-proof__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Bento ────────────────────────────────────────────────── */

.hm2-bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .hm2-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .hm2-tile--green {
    grid-column: span 5;
  }

  .hm2-tile--sky {
    grid-column: span 7;
  }

  .hm2-tile--wide {
    grid-column: span 12;
  }
}

.hm2-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 40px;
}

.hm2-tile--green {
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
}

.hm2-tile--sky {
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
}

.hm2-tile--navy {
  background: var(--c-inverse);
  color: #fff;
}

.hm2-tile__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50% 50% 14px 50%;
  background: rgb(255 255 255 / 0.72);
}

.hm2-tile__icon svg.i {
  width: 28px;
  height: 28px;
}

.hm2-tile--green .hm2-tile__icon {
  color: var(--c-tertiary);
}

.hm2-tile--sky .hm2-tile__icon {
  color: var(--c-primary);
}

.hm2-tile--navy .hm2-tile__icon {
  background: #a8c7fa;
  color: var(--c-inverse);
}

.hm2-tile__title {
  max-width: 16ch;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hm2-tile__lead {
  margin-top: 12px !important;
  max-width: 420px;
  font-size: 17px;
  opacity: 0.88;
}

.hm2-tile .hm2-btn {
  margin-top: auto;
}

.hm2-tile__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hm2-tile__copy .hm2-btn {
  margin-top: 28px;
}

.hm2-faces--lg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 104px));
  gap: 14px;
  margin: 24px 0 28px !important;
  padding: 0 !important;
  list-style: none;
}

/* Wide tile: all 8 faces, 4 across x 2 rows */
.hm2-faces--remote {
  grid-template-columns: repeat(4, minmax(0, 92px));
}

@media (min-width: 900px) {
  .hm2-faces--remote {
    justify-content: center;
  }
}

.hm2-faces--lg a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-container);
  transition: transform var(--t-med) var(--ease-spring);
}

.hm2-faces--lg a:hover {
  z-index: 2;
  transform: scale(1.06);
}

.hm2-tile--wide {
  display: grid;
  gap: 8px 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hm2-tile--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

.hm2-tile--wide .hm2-faces--lg {
  margin: 24px 0 0 !important;
}

@media (min-width: 900px) {
  .hm2-tile--wide .hm2-faces--lg {
    margin: 0 !important;
  }
}

.hm2-faces__tele {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 3px solid var(--c-inverse);
  border-radius: 50%;
  background: #a8c7fa;
  color: var(--c-inverse);
}

.hm2-faces__tele svg.i {
  width: 13px;
  height: 13px;
}

/* ─── How it works ─────────────────────────────────────────── */

.hm2-steps {
  display: grid;
  gap: 40px 20px;
  counter-reset: step;
}

@media (min-width: 640px) {
  .hm2-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .hm2-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hm2-step {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-outline-variant);
}

.hm2-step__media {
  margin: 10px 10px 0;
  aspect-ratio: 4 / 3;
  border-radius: 28px 28px 110px 28px;
  overflow: hidden;
  background: var(--c-container);
}

.hm2-step--2 .hm2-step__media {
  border-radius: 110px 28px 28px 28px;
}

.hm2-step--3 .hm2-step__media {
  border-radius: 28px 110px 28px 28px;
}

.hm2-step--4 .hm2-step__media {
  border-radius: 28px 28px 28px 110px;
}

.hm2-step__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm2-step__body {
  position: relative;
  padding: 36px 24px 28px;
}

.hm2-step__num {
  position: absolute;
  top: -22px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 4px solid var(--c-container-low);
  border-radius: 50% 50% 50% 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.hm2-step__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hm2-step__body p {
  margin-top: 8px;
  color: var(--c-on-surface-variant);
}

/* Phones: compact side-by-side rows instead of full-width stacked photos */
@media (max-width: 639px) {
  .hm2-steps {
    gap: 12px;
  }

  .hm2-step {
    flex-direction: row;
    align-items: stretch;
  }

  .hm2-step__media {
    flex: 0 0 32%;
    margin: 10px 0 10px 10px;
    aspect-ratio: auto;
    min-height: 104px;
    border-radius: 20px;
  }

  .hm2-step__body {
    flex: 1 1 auto;
    align-self: center;
    min-width: 0;
    padding: 18px 18px 18px 26px;
  }

  .hm2-step__num {
    top: 14px;
    left: -22px;
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .hm2-step__title {
    font-size: 19px;
  }
}

/* ─── Split layout (services, near you) ────────────────────── */

.hm2-split {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .hm2-split {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .hm2-split__aside {
    position: sticky;
    top: 136px;
  }
}

.hm2-split__aside .hm2-btn {
  margin-top: 28px;
}

.hm2-services {
  display: grid;
  gap: 20px;
}

.hm2-service {
  display: grid;
  border-radius: 40px;
  background: var(--c-container-low);
  overflow: hidden;
}

@media (min-width: 640px) {
  .hm2-service {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
}

.hm2-service--1 {
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
}

.hm2-service--2 {
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
}

.hm2-service--3 {
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
}

.hm2-service--4 {
  background: var(--c-warm-container);
  color: var(--c-on-warm-container);
}

.hm2-service__media {
  margin: 12px;
  min-height: 200px;
  border-radius: 28px 28px 28px 100px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.4);
}

.hm2-service:nth-child(even) .hm2-service__media {
  border-radius: 28px 100px 28px 28px;
}

.hm2-service__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm2-service__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 20px 28px 28px;
}

@media (min-width: 640px) {
  .hm2-service__body {
    padding: 28px 32px 28px 12px;
  }
}

.hm2-service__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hm2-service__body p {
  opacity: 0.88;
}

.hm2-service .hm2-btn--text {
  margin-left: -14px;
  color: inherit;
}

.hm2-service .hm2-btn--text:hover {
  background: rgb(255 255 255 / 0.5);
}

/* ─── Cost ─────────────────────────────────────────────────── */

.hm2-cost {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .hm2-cost {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .hm2-cost__summary {
    position: sticky;
    top: 136px;
  }
}

.hm2-cost__summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: 40px 40px 120px 40px;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
}

.hm2-cost__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm2-cost__big {
  margin-top: 8px !important;
  font-size: clamp(46px, 5.6vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-primary);
}

.hm2-cost__big span {
  font-size: 22px;
  letter-spacing: 0;
  color: var(--c-on-primary-container);
}

.hm2-cost__note {
  margin-top: 16px !important;
  max-width: 320px;
}

.hm2-cost__range {
  position: relative;
  align-self: stretch;
  height: 12px;
  margin: 36px 9px 0;
  border-radius: var(--r-full);
  background: rgb(255 255 255 / 0.7);
}

.hm2-cost__band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12.5%;
  right: 50%;
  border-radius: var(--r-full);
  background: var(--c-primary);
}

.hm2-cost__scale {
  position: relative;
  align-self: stretch;
  height: 22px;
  margin: 8px 9px 28px;
  font-size: 13px;
}

.hm2-cost__scale span {
  position: absolute;
  transform: translateX(-50%);
}

.hm2-cost__scale span:nth-child(1) { left: 0; }
.hm2-cost__scale span:nth-child(2) { left: 12.5%; }
.hm2-cost__scale span:nth-child(3) { left: 50%; }
.hm2-cost__scale span:nth-child(4) { left: 100%; }

.hm2-rates {
  display: grid;
  gap: 10px;
}

.hm2-rate-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm2-rate-row__hit {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 10px 24px 10px 10px;
  border-radius: var(--r-full);
  background: var(--c-container-low);
  color: inherit;
  text-decoration: none;
  transition:
    background-color var(--t-short) var(--ease),
    box-shadow var(--t-short) var(--ease);
}

.hm2-rate-row__hit:hover {
  background: var(--c-surface-dim);
  box-shadow: inset 0 0 0 2px var(--c-primary);
}

.hm2-rate-row__hit:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

.hm2-rate-row__hit img {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-container);
}

.hm2-rate-row__who {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}

.hm2-rate-row__name {
  font-size: 17px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm2-rate-row__place {
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.hm2-rate-row__price {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

.hm2-rate-row__price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-on-surface-variant);
}

.hm2-rate-row__msg {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2-rate-row__msg:hover {
  background: #a8dcff;
}

.hm2-rate-row__msg:active {
  border-radius: var(--r-md);
}

.hm2-rate-row__msg:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .hm2-rate-row__msg {
    width: 48px;
    height: 48px;
  }

  .hm2-rate-row__price {
    font-size: 20px;
  }

  .hm2-rate-row__hit {
    gap: 12px;
    padding-right: 16px;
  }
}

/* ─── Define / roles / modes ───────────────────────────────── */

.hm2-define {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .hm2-define {
    grid-template-columns: 1fr 1fr;
  }
}

.hm2-dcard {
  display: flex;
  flex-direction: column;
  border-radius: 40px;
  background: var(--c-surface);
  overflow: hidden;
}

.hm2-dcard--1 { background: var(--c-primary-container); color: var(--c-on-primary-container); }
.hm2-dcard--2 { background: var(--c-tertiary-container); color: var(--c-on-tertiary-container); }
.hm2-dcard--3 { background: var(--c-secondary-container); color: var(--c-on-secondary-container); }
.hm2-dcard--4 { background: var(--c-warm-container); color: var(--c-on-warm-container); }

.hm2-dcard__media {
  margin: 12px 12px 0;
  aspect-ratio: 16 / 8;
  border-radius: 28px 28px 28px 80px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.4);
}

.hm2-dcard:nth-child(even) .hm2-dcard__media {
  border-radius: 28px 80px 28px 28px;
}

.hm2-dcard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm2-dcard__body {
  padding: 28px 28px 32px;
}

.hm2-dcard__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hm2-dcard__body p {
  margin-top: 10px;
  opacity: 0.9;
}

.hm2-roles {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .hm2-roles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .hm2-roles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hm2-role {
  padding: 28px 24px;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
  transition:
    border-radius var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}

.hm2-role:hover {
  border-radius: var(--r-xl) 72px var(--r-xl) var(--r-xl);
  transform: translateY(-3px);
}

.hm2-role--1 { background: var(--c-primary-container); color: var(--c-on-primary-container); }
.hm2-role--2 { background: var(--c-tertiary-container); color: var(--c-on-tertiary-container); }
.hm2-role--3 { background: var(--c-secondary-container); color: var(--c-on-secondary-container); }
.hm2-role--4 { background: var(--c-warm-container); color: var(--c-on-warm-container); }

.hm2-role__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50% 50% 12px 50%;
  background: rgb(255 255 255 / 0.72);
}

.hm2-role:nth-child(even) .hm2-role__icon {
  border-radius: 12px 50% 50% 50%;
}

.hm2-role__icon svg.i {
  width: 24px;
  height: 24px;
}

.hm2-role__title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hm2-role p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.9;
}

.hm2-role a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hm2-modes {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .hm2-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hm2-mode {
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-outline-variant);
}

.hm2-mode__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  border-radius: 50%;
}

.hm2-mode:nth-child(2) .hm2-mode__icon {
  border-radius: 28px;
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
}

.hm2-mode:nth-child(3) .hm2-mode__icon {
  border-radius: 50% 50% 50% 14px;
  background: var(--c-warm-container);
  color: var(--c-on-warm-container);
}

.hm2-mode__icon svg.i {
  width: 32px;
  height: 32px;
}

.hm2-mode__title {
  font-size: 22px;
  font-weight: 500;
}

.hm2-mode p {
  margin-top: 8px;
  color: var(--c-on-surface-variant);
}

/* ─── Prose (near you) ─────────────────────────────────────── */

.hm2-prose {
  max-width: 68ch;
}

.hm2-prose p {
  margin-bottom: 20px !important;
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-on-surface-variant);
}

.hm2-prose a {
  color: var(--c-primary);
  font-weight: 500;
}

/* ─── States ───────────────────────────────────────────────── */

.hm2-state {
  position: relative;
  display: block;
  width: clamp(200px, 60vw, 264px);
  aspect-ratio: 4 / 3.2;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-container);
  color: #fff;
  text-decoration: none;
  transition: border-radius var(--t-med) var(--ease);
}

.hm2-state:nth-child(odd):hover {
  border-radius: var(--r-xl) 80px var(--r-xl) var(--r-xl);
}

.hm2-state:nth-child(even):hover {
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 80px;
}

.hm2-state:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

.hm2-state img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.hm2-state:hover img {
  transform: scale(1.06);
}

.hm2-state::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(5 20 50 / 0.72), transparent 55%);
}

.hm2-state__name {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hm2-allstates {
  margin-top: clamp(32px, 5vw, 56px);
}

.hm2-allstates__title {
  margin-bottom: 20px !important;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Generated by generate-home-states-section.js — restyled, markup untouched */
.hm2 .fpa-home-states__grid {
  display: grid;
  gap: 8px;
  align-items: start;
}

@media (min-width: 640px) {
  .hm2 .fpa-home-states__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hm2 .fpa-home-states__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hm2 .fpa-home-state-row {
  border-radius: var(--r-md);
  background: var(--c-surface);
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2 .fpa-home-state-row:not([open]):hover {
  background: var(--c-container);
}

.hm2 .fpa-home-state-row[open] {
  border-radius: var(--r-lg);
  background: var(--c-primary-container);
  box-shadow: none;
}

.hm2 .fpa-home-state-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.hm2 .fpa-home-state-row summary::-webkit-details-marker {
  display: none;
}

.hm2 .fpa-home-state-row summary:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.hm2 .fpa-home-state-row summary svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  transition: transform var(--t-med) var(--ease);
}

.hm2 .fpa-home-state-row[open] summary svg {
  transform: rotate(180deg);
}

.hm2 .fpa-home-state-body {
  padding: 0 20px 20px;
}

.hm2 .fpa-home-state-all {
  margin: 0 0 12px;
}

.hm2 .fpa-home-state-all a {
  color: var(--c-primary);
  font-weight: 500;
}

.hm2 .fpa-home-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm2 .fpa-home-city-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.75);
  color: var(--c-on-primary-container);
  font-size: 14px;
  text-decoration: none;
}

.hm2 .fpa-home-city-links a:hover {
  background: #fff;
  text-decoration: underline;
}

/* ─── FAQ ──────────────────────────────────────────────────── */

.hm2-faq {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .hm2-faq {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .hm2-faq__aside {
    position: sticky;
    top: 136px;
  }
}

.hm2-faq__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

@media (min-width: 960px) {
  .hm2-faq__cats {
    flex-direction: column;
    align-items: stretch;
  }

  .hm2-faq__cats .hm2-fchip {
    justify-content: flex-start;
  }
}

.hm2-faq__list {
  display: grid;
  gap: 8px;
}

.hm2-q {
  border-radius: var(--r-md);
  background: var(--c-container-low);
  transition:
    background-color var(--t-short) var(--ease),
    border-radius var(--t-med) var(--ease);
}

.hm2-q[hidden] {
  display: none;
}

.hm2-q[open] {
  border-radius: var(--r-lg);
  background: var(--c-primary-container);
}

.hm2-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.hm2-q summary::-webkit-details-marker {
  display: none;
}

.hm2-q summary:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.hm2-q summary svg.i {
  width: 24px;
  height: 24px;
  transition: transform var(--t-med) var(--ease);
}

.hm2-q[open] summary svg.i {
  transform: rotate(180deg);
}

.hm2-q__a {
  padding: 0 24px 24px;
  color: var(--c-on-primary-container);
}

.hm2 main .hm2-q__a p {
  margin: 0 0 12px;
}

.hm2 main .hm2-q__a ol,
.hm2 main .hm2-q__a ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.hm2 main .hm2-q__a ol {
  list-style: decimal;
}

.hm2 main .hm2-q__a ul {
  list-style: disc;
}

.hm2-q__a li {
  margin-bottom: 4px;
}

.hm2-q__a a {
  color: var(--c-primary);
  font-weight: 500;
}

/* ─── Collaborators ────────────────────────────────────────── */

.hm2-collab {
  padding: 0 0 var(--sec-y);
}

.hm2-collab__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  padding-block: 24px;
  border-top: 1px solid var(--c-outline-variant);
  border-bottom: 1px solid var(--c-outline-variant);
}

.hm2-collab__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-surface-variant);
}

.hm2-collab__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hm2-collab__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: var(--r-full);
  background: var(--c-container-low);
  color: var(--c-on-surface);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-short) var(--ease);
}

.hm2-collab__link:hover {
  background: var(--c-container);
}

.hm2-collab__link img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* ─── Chosen ───────────────────────────────────────────────── */

.hm2-chosen {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hm2-chosen {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
    align-items: stretch; /* card spans the full height of the left column */
  }
}

.hm2-chosen__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hm2-chosen__num {
  display: block;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-primary);
}

.hm2-chosen__points {
  display: grid;
  gap: 10px;
  margin-top: 32px !important;
}

.hm2-chosen__points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px 14px 14px;
  border-radius: var(--r-full);
  background: var(--c-container-low);
}

.hm2-chosen__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50% 50% 14px 50%;
  background: var(--c-primary-container);
  color: var(--c-primary);
}

.hm2-chosen__points li:nth-child(2) .hm2-chosen__icon {
  border-radius: 14px 50% 50% 50%;
  background: var(--c-tertiary-container);
  color: var(--c-tertiary);
}

.hm2-chosen__points li:nth-child(3) .hm2-chosen__icon {
  background: var(--c-warm-container);
  color: #9a4a00;
}

.hm2-chosen__icon svg.i {
  width: 26px;
  height: 26px;
}

.hm2 main .hm2-chosen__points h3 {
  font-size: 18px;
  font-weight: 500;
}

.hm2-chosen__points p {
  font-size: 15px;
  color: var(--c-on-surface-variant);
}

.hm2-chosen__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 12px 28px;
  border-radius: 40px;
  background: var(--c-primary-container);
}

.hm2-chosen__card img {
  display: block;
  width: 100%;
  height: auto; /* the width/height attributes (800x800) would otherwise win */
  flex: 1 0 auto; /* absorbs any extra height when the card is stretched */
  min-height: 0;
  aspect-ratio: 3 / 2;
  border-radius: 160px 160px 28px 28px;
  object-fit: cover;
  object-position: 50% 28%;
}

.hm2-chosen__card-title {
  padding-inline: 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-on-primary-container);
}

.hm2-chosen__card .hm2-btn {
  margin-inline: 16px;
}

/* ─── Closing CTA ──────────────────────────────────────────── */

.hm2-cta {
  padding: 0 0 var(--sec-y);
}

.hm2-cta__card {
  display: grid;
  border-radius: var(--r-2xl);
  background: var(--c-inverse);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 860px) {
  .hm2-cta__card {
    grid-template-columns: 1.4fr 1fr;
  }
}

.hm2-cta__copy {
  padding: clamp(32px, 5vw, 64px);
}

.hm2-cta__copy p {
  margin-top: 14px !important;
  max-width: 480px;
  font-size: 18px;
  color: rgb(255 255 255 / 0.82);
}

.hm2-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hm2-cta .hm2-btn--filled {
  background: #a8c7fa;
  color: var(--c-on-primary-container);
}

.hm2-cta .hm2-btn--filled:hover {
  background: #c2d7fb;
}

.hm2-cta__fine {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px !important;
  font-size: 15px !important;
  color: rgb(255 255 255 / 0.85) !important;
}

.hm2-cta__fine svg.i {
  color: #a8c7fa;
}

.hm2-cta__photo {
  position: relative;
  min-height: 240px;
}

.hm2-cta__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

@media (min-width: 860px) {
  .hm2-cta__photo img {
    inset: 24px 24px 24px 0;
    width: calc(100% - 24px);
    height: calc(100% - 48px);
    border-radius: 160px 160px var(--r-xl) var(--r-xl);
  }
}

/* ─── Mobile refinements ───────────────────────────────────── */

@media (max-width: 759px) {
  .hm2-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hm2-service__media {
    min-height: 180px;
  }

  .hm2-acard--row {
    padding-right: 12px;
  }

  .hm2-acard--row .hm2-acard__hit {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }
}

/* ─── Entrance motion (JS adds .hm2-js; content is visible without JS) ─── */

html.hm2-js .hm2-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms var(--ease),
    transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

html.hm2-js .hm2-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.hm2) {
    scroll-behavior: auto;
  }

  .hm2 *,
  .hm2 *::before,
  .hm2 *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  html.hm2-js .hm2-reveal {
    opacity: 1;
    transform: none;
  }
}
