/* Page breakpoints (Danny, 2026-10-28): desktop from 1280 like the business pages (live switches at 1440), tablet 810-1279.98, phone <= 809.98. */
/* how-it-works page level (loads last). The "For your home / For your building" switcher (css/sections/05-hiw-switch.css)
   now sits above the hero and takes the space under the nav, so the hero starts closer (Danny, 2026-10-26). */
.nf-hiw-hero__hero { padding-top: 44px; }
@media (max-width: 809.98px) { .nf-hiw-hero__hero { padding-top: 24px; } }

/* Journey line (Danny, 2026-10-26): on live each step's line starts 16px below the previous step's dot, so the line
   looks broken under every dot. A 3px bridge joins each stepper to the dot above it; the last line is 3px like the rest. */
@media (min-width: 1280px) {
  .nf-hiw-journey__stepper-9fihvz::before,
  .nf-hiw-journey__stepper-lqir7r::before,
  .nf-hiw-journey__stepper-1jlp3jf::before {
    content: ""; position: absolute; top: -22px; left: 50%; width: 3px; height: 23px; margin-left: -1.5px; background-color: #000;
  }
  .nf-hiw-journey__box-3w7bt4 { width: 3px; }
  /* the step rows clip their content, which hid the bridges: let them overflow (nothing else spills out) */
  .nf-hiw-journey__how-it-works-dyqosd > * { overflow: visible; }
}

/* Outline buttons (Danny, 2026-10-26): an inset box-shadow is not snapped to device pixels, so on a fractional position one
   side drew thinner. A real border is snapped and stays even all round; padding is reduced by the border so sizes hold. */
.nf-hiw-villas__cta, .nf-hiwb-small__cta { box-shadow: none; border: 1.5px solid #000; padding: 12.5px 38.5px 14.5px; }
.nf-hiw-journey__visit-btn { box-shadow: none; border: 1.5px solid #000; }
.nf-hiw-faq__btn--line, .nf-hiwb-faq__btn--line { box-shadow: none; border: 1px solid #fff; padding: 15px 79px; }
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-hiw-villas__cta, .nf-hiwb-small__cta { padding: 10.5px 30.5px 12.5px; }
  .nf-hiw-faq__btn--line, .nf-hiwb-faq__btn--line { padding: 7px; }
}
@media (max-width: 809.98px) {
  .nf-hiw-villas__cta { border-width: 1px; padding: 11px 23px; }
  .nf-hiwb-small__cta { border-width: 1px; padding: 9px 15px; }
  .nf-hiw-journey__visit-btn { border-width: 1px; }
  .nf-hiw-faq__btn--line, .nf-hiwb-faq__btn--line { padding: 7px; }
}
.nf-hiw-journey__visit-btn.nf-hiw-journey__button-g1n9xx, .nf-hiw-journey__visit-btn.nf-hiw-journey__button-vqw5jc { padding: 12.5px 54.5px 16.5px 55.5px; }
.nf-hiw-journey__visit-btn.nf-hiw-journey__button-j9bu6u { padding: 7px 29px 10px 30px; }


/* Step 1 on tablet: the "You're a member" pill follows the plan card, as on desktop and phone (phone orders card 3,
   pill 4 in 20-journey.css; tablet had no order, so the pill sat between the step text and the card). QC 2026-10-28. */
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-hiw-journey__box-38h3ls { order: 3; }
  .nf-hiw-journey__tag-fhzd0a { order: 4; }
}

/* Desktop from 1280: the plan card is narrower than at 1440, so its 349px note wraps inside the card instead of being
   clipped on both sides (QC 2026-10-28). */
.nf-hiw-journey__t-every-plan-includes-z3rror { max-width: 100%; }

/* Show / hide helpers for this page's breakpoints (desktop >= 1280). The site-wide .nf-hide-* helpers (css/base.css)
   switch at 1440, so this page's partials use these instead (QC 2026-10-28). */
@media (min-width: 1280px) { .nf-hiw-hide-desktop { display: none !important; } }
@media (min-width: 810px) and (max-width: 1279.98px) { .nf-hiw-hide-tablet { display: none !important; } }
@media (max-width: 809.98px) { .nf-hiw-hide-phone { display: none !important; } }

/* The Journey on small desktops (1280-1439): live lays each step out as 602px + stepper + 547px with 84px gaps (1320px),
   wider than the 1160px column at 1280. The gaps tighten and both columns shrink in proportion (QC 2026-10-28). */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .nf-hiw-journey__step-1-1gikruw, .nf-hiw-journey__step-2-15gtyjm, .nf-hiw-journey__step-3-d5ldsh,
  .nf-hiw-journey__step-4-1v264ro { gap: 48px; }
  .nf-hiw-journey__content-ered78, .nf-hiw-journey__image-1ifvn8r, .nf-hiw-journey__content-12qyd9d,
  .nf-hiw-journey__image-czx8pr { flex: 0 1 602px; min-width: 0; }
  .nf-hiw-journey__box-f0f9do, .nf-hiw-journey__content-14s8iww, .nf-hiw-journey__image-towfry,
  .nf-hiw-journey__content-1or7pu5 { flex: 0 1 547px; min-width: 0; }
  .nf-hiw-journey__box-102py6h { width: 100%; }
  .nf-hiw-journey__box-f0f9do .nf-hiw-journey__visit-btn { width: 100%; }
  .nf-hiw-journey__box-f0f9do .nf-hiw-journey__plan p, .nf-hiw-journey__box-f0f9do .nf-hiw-journey__custom p { font-size: 18px; }
}


/* CTA buttons in the site's one button system (Danny, 2026-10-28): 32px corners, SF Pro Display Regular, 21px text and
   54px tall on desktop and tablet (were 99px pills, Medium 500, 18 to 22px, 46 to 57px tall). Plan chips stay pills. */
.nf-hiw-journey__visit-btn, .nf-hiw-villas__cta, .nf-hiw-faq__btn, .nf-hiwb-small__cta, .nf-hiwb-faq__btn {
  height: 54px; padding-top: 0; padding-bottom: 0; border-radius: 32px;
}
.nf-hiw-journey__visit-btn p, .nf-hiw-villas__cta-text, .nf-hiw-faq__btn-text, .nf-hiwb-small__cta-text, .nf-hiwb-faq__btn-text {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: normal;
}
/* Phone: every CTA pill here is the standard 35px, 15px text (were 34, 37, 38 and 41px) (QC 2026-10-28). */
@media (max-width: 809.98px) {
  .nf-hiw-faq__btn, .nf-hiwb-faq__btn, .nf-hiw-villas__cta, .nf-hiwb-small__cta,
  .nf-hiw-journey__visit-btn.nf-hiw-journey__button-j9bu6u { height: 35px; padding-top: 0; padding-bottom: 0; }
  .nf-hiw-faq__btn-text, .nf-hiwb-faq__btn-text, .nf-hiw-villas__cta-text, .nf-hiwb-small__cta-text,
  .nf-hiw-journey__visit-btn p { font-size: 15px; }
  /* plan chips: 15px like the other phone buttons (were 11px). Phones under 400px wide scale it down a little (14.7px at
     393, 14.1px at 375) so the longest rows, "3BR + Living - 3 Pure40 + 2 Pure60, 4 AirTest", stay on one line
     (Danny, 2026-11-03) */
  .nf-hiw-journey__box-15aj01j .nf-hiw-journey__plan p, .nf-hiw-journey__box-15aj01j .nf-hiw-journey__custom p { font-size: min(15px, 3.75vw); line-height: 1.25; }
}

/* Phone: the villas "Speak to an expert" + "Request an assessment" pair takes the size of the residential "Become a
   Member" + "Speak to an expert" pair (Danny, 2026-10-29): button 35px, centred, 100vw - 112px wide (278 at 390); link
   15px Regular, underlined, 24px arrow, 12px under the button (the section gap is 32). */
@media (max-width: 809.98px) {
  .nf-hiw-villas__ctas { flex-direction: column; align-self: stretch; gap: 12px; }
  .nf-hiw-villas__cta { align-self: center; width: calc(100vw - 112px); max-width: 100%; height: 35px; padding: 0 16px; }
  .nf-hiw-villas__link--below { font-size: 15px; line-height: 18px; }
  .nf-hiw-villas__link--below .nf-hiw-villas__arrow { width: 24px; height: 24px; margin: -3px 0 -3px 4px; }
}
