/* ==========================================================================
   Residential / Steps: "Want to start?" plus the tablet and phone "Steps" node.
   Framer splits the content per breakpoint, so this file styles three roots:
     .nf-res-steps--d   desktop  framer-tco9ep   "Want to start?" (Part 2) only
     .nf-res-steps-tab  tablet   framer-1y1ahf7  Part 1 (heading + 3 steps) + Part 2
     .nf-res-steps-ph   phone    framer-1vyczy5  heading + steps carousel + Part 2
   Visibility per breakpoint comes from the base nf-hide-* helpers on each root.
   Sizes, gaps, paddings and overflow copied from the Framer CSS.
   ========================================================================== */

/* Progress of the button hover, animated as a number so the colour can be mixed the way
   framer-motion does it (linear-light channels, straight alpha), see .nf-res-steps__btn */
@property --nf-res-steps-p { syntax: "<number>"; inherits: false; initial-value: 0; }

/* ---------- Shared (all breakpoints) ---------- */
.nf-res-steps {
  /* Framer in-view fade (opacity only), sampled per frame on live: 0 -> 1 in ~0.43s, same curve back */
  --nf-res-steps-fade-ease: linear(0, 0.022, 0.078, 0.164, 0.245, 0.345, 0.437, 0.518, 0.601, 0.666, 0.72, 0.773, 0.816, 0.856, 0.886, 0.913, 0.934, 0.949, 0.962, 0.972, 0.979, 0.986, 0.991, 0.994, 0.997, 0.999, 1);
  /* Framer button variant spring (hover), sampled on live: ~0.33s with a ~1.6% overshoot */
  --nf-res-steps-btn-ease: linear(0, 0.035 3%, 0.15 7.3%, 0.306 12.4%, 0.455 17.3%, 0.608 22.7%, 0.72 27.6%, 0.816 32.4%, 0.886 37.6%, 0.94 42.7%, 0.973 47.6%, 0.996 52.7%, 1.008 57.9%, 1.016 63%, 1.008 83%, 1);

  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0;
  width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps__grey { color: var(--nf-grey-61); }

/* Part 2: "Want to start?" + buttons */
.nf-res-steps__p2wrap {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps__p2 {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 60px 40px; overflow: visible;
  background-color: var(--nf-grey-f5);
}
.nf-res-steps__p2-a {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 80px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
}
.nf-res-steps__p2-b {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
}
.nf-res-steps__p2-texts {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps__p2-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-steps__p2-title, .nf-res-steps__p2-sub {
  font-weight: 400; letter-spacing: normal; text-align: left;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
/* "Want to start?" and its line use the text style of "More than a purifier." and its lead (17-compare.css):
   title 52 / 42 / 28px, line 28 / 24 / 16px in black (Nathan, 2026-11-19; were 38px, the line grey). */
.nf-res-steps__p2-title { font-family: var(--nf-font-sfns-text); font-size: 52px; line-height: 62.4px; color: var(--nf-black); }
.nf-res-steps__p2-sub { font-family: var(--nf-font-regular); font-size: 28px; line-height: 1.2; color: var(--nf-black); }
@media (min-width: 810px) and (max-width: 1439.98px) {
  .nf-res-steps__p2-title { font-size: 42px; line-height: 50.4px; }
  .nf-res-steps__p2-sub { font-size: 24px; line-height: 125%; }
}

/* Buttons row: Framer appear effect on page load (not on scroll), from the page's appear data:
   opacity 0.001 + translateY(50px) -> 1 + none, 0.6s cubic-bezier(0.44,0,0.56,1), 0.2s delay */
.nf-res-steps__buttons {
  position: relative; display: flex; flex-flow: row; justify-content: flex-start; align-items: center; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
  animation: nf-res-steps-appear 0.6s cubic-bezier(0.44, 0, 0.56, 1) 0.2s both;
}
@keyframes nf-res-steps-appear {
  from { opacity: 0.001; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}

/* Pill buttons (Framer j74DL: "Tier 1 - Eng - Desktop" green, "Tier 2 Black - Eng - Desktop" outline).
   Hover mixes the background over --nf-res-steps-p like framer-motion: from transparent black to
   #f5f5f5 the pill darkens briefly mid-way (live shows this flash on the #f5f5f5 band). */
.nf-res-steps__btn {
  --nf-res-steps-p: 0;
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 10px;
  flex: 0 0 auto; width: min-content; height: 54px; padding: 16px 24px; overflow: visible;
  border-radius: 32px; cursor: pointer; text-decoration: none;
  color: rgb(0, 0, 238); /* live <a> keeps the UA link colour (only the invisible 0px border uses it) */
  transition: --nf-res-steps-p 0.33s var(--nf-res-steps-btn-ease);
}
.nf-res-steps__btn--green {
  background-color: rgb(
    calc(sqrt(21025 + 6200 * var(--nf-res-steps-p)))
    calc(sqrt(40000 + 2849 * var(--nf-res-steps-p)))
    calc(sqrt(6561 + 7363 * var(--nf-res-steps-p))));
}
.nf-res-steps__btn--outline {
  gap: 4px;
  background-color: rgb(
    calc(245 * sqrt(max(var(--nf-res-steps-p), 0)))
    calc(245 * sqrt(max(var(--nf-res-steps-p), 0)))
    calc(245 * sqrt(max(var(--nf-res-steps-p), 0))) / clamp(0, var(--nf-res-steps-p), 1));
}
.nf-res-steps__btn--outline::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box;
  border: 0.8px solid var(--nf-black); border-radius: inherit; pointer-events: none;
}
.nf-res-steps__btn-label { position: relative; flex: 0 0 auto; width: auto; height: auto; white-space: pre; }
.nf-res-steps__btn-text {
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 21px; font-weight: 400; line-height: 1.2em; letter-spacing: normal; color: var(--nf-black); white-space: pre;
}
/* Desktop variants change on hover; the phone variants have no hover, only the pressed state */
@media (hover: hover) { .nf-res-steps__btn:not(.nf-res-steps__btn--m):hover { --nf-res-steps-p: 1; } }
.nf-res-steps__btn--m:active { --nf-res-steps-p: 1; }
.nf-res-steps__btn:focus-visible { outline: 2px solid var(--nf-black); outline-offset: 2px; }

/* In-view fade: >= 50% of a text box visible (inside the carousel clip on phone) fades in,
   below 50% fades out again (replays). Hidden only once the script runs. */
.nf-res-steps.is-js .nf-res-steps__fade { opacity: 0; transition: opacity 0.433s var(--nf-res-steps-fade-ease); }
.nf-res-steps.is-js .nf-res-steps__fade.is-in { opacity: 1; }

/* ---------- Desktop (>= 1440px): .nf-res-steps--d only ---------- */
.nf-res-steps--d .nf-res-steps__p2wrap { overflow: visible; }
.nf-res-steps--d .nf-res-steps__p2 { padding: 40px 60px 80px; }
.nf-res-steps--d .nf-res-steps__p2-a { flex-flow: row; }
.nf-res-steps--d .nf-res-steps__p2-b { flex: 1 0 0px; width: 1px; align-self: stretch; height: auto; }

/* ---------- Tablet (810 to 1439.98): .nf-res-steps-tab ---------- */
.nf-res-steps-tab__p1 {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 60px 40px; overflow: visible;
  background-color: var(--nf-grey-f5);
}
.nf-res-steps-tab__p1-inner {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 80px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__head {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__head-box { position: relative; flex: 1 0 0px; width: 1px; height: auto; }
.nf-res-steps-tab__head-inner {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 10px;
  width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-steps-tab__title {
  font-family: var(--nf-font-sfns-text); font-size: 52px; font-weight: 400; line-height: 1.2em; letter-spacing: normal;
  text-align: left; color: var(--nf-black); white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-steps-tab__group {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; margin: 0; padding: 0; list-style: none; overflow: hidden;
}
.nf-res-steps-tab__group--last { justify-content: flex-start; }
.nf-res-steps-tab__step {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 40px;
  flex: 1 0 0px; width: 1px; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__step--last { flex: 0 0 auto; width: 325px; }
.nf-res-steps-tab__text {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__text-inner {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__step-head {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__label-row, .nf-res-steps-ph__label-row {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-tab__label, .nf-res-steps-ph__label { position: relative; flex: 0 0 auto; width: auto; height: auto; white-space: pre; }
.nf-res-steps-tab__label-text, .nf-res-steps-ph__label-text {
  font-family: Inter, "Inter Placeholder", sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2em;
  letter-spacing: normal; color: var(--nf-grey-61); white-space: pre;
}
.nf-res-steps-tab__line, .nf-res-steps-ph__line {
  position: relative; flex: 1 0 0px; width: 1px; height: 1px; overflow: hidden; background-color: var(--nf-grey-9e);
}
.nf-res-steps-tab__box { position: relative; flex: 0 0 auto; width: 580px; max-width: 100%; height: auto; }
.nf-res-steps-tab__step-title, .nf-res-steps-tab__desc, .nf-res-steps-ph__title, .nf-res-steps-ph__step-title, .nf-res-steps-ph__desc {
  font-family: var(--nf-font-sfns-text); font-weight: 400; line-height: 1.2em; letter-spacing: normal; text-align: left;
  color: var(--nf-black); white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-steps-tab__step-title { font-size: 32px; }
.nf-res-steps-tab__desc { font-size: 16px; }
.nf-res-steps-tab__media {
  position: relative; flex: 0 0 auto; width: 100%; height: 400px; overflow: hidden; border-radius: 18px;
  will-change: transform;
}
.nf-res-steps-tab__fill, .nf-res-steps-ph__fill { position: absolute; inset: 0; border-radius: inherit; }
.nf-res-steps-tab__img, .nf-res-steps-ph__img {
  display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center;
}
.nf-res-steps-tab__img--right, .nf-res-steps-ph__img--right { object-position: right center; }
/* Step 3: Framer stacks a second image frame over the first (left -28, right -11, bottom -91, 2:3) */
.nf-res-steps-tab__overlay {
  position: absolute; left: -28px; right: -11px; bottom: -91px; flex: 0 0 auto;
  height: auto; aspect-ratio: 0.666667 / 1; overflow: visible;
}

/* ---------- Phone (<= 809.98): .nf-res-steps-ph ---------- */
.nf-res-steps-ph { padding: 32px 16px; background-color: var(--nf-grey-f5); }
.nf-res-steps-ph .nf-res-steps__p2wrap { overflow: hidden; }
.nf-res-steps-ph .nf-res-steps__p2 { padding: 20px; }
.nf-res-steps-ph .nf-res-steps__p2-a { overflow: hidden; }
.nf-res-steps-ph .nf-res-steps__p2-b { gap: 16px; overflow: hidden; }
.nf-res-steps-ph .nf-res-steps__p2-texts { gap: 8px; }
.nf-res-steps-ph .nf-res-steps__p2-title { font-size: 28px; line-height: 33.6px; }
.nf-res-steps-ph .nf-res-steps__p2-sub { font-size: 16px; line-height: 20px; }
.nf-res-steps-ph .nf-res-steps__buttons { flex-flow: row wrap; gap: 10px; }
/* "Tier 1 - Eng - Mobile" (gap 5) and "Tier 2 Black - Eng - Mobile" (gap 4) */
.nf-res-steps__btn--m { gap: 5px; height: min-content; max-height: 35px; padding: 16px; }
.nf-res-steps__btn--m.nf-res-steps__btn--outline { gap: 4px; }
.nf-res-steps__btn--m .nf-res-steps__btn-text { font-size: 15px; }

.nf-res-steps-ph__p1 {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
  background-color: var(--nf-grey-f5);
}
.nf-res-steps-ph__p1-inner {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 80px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-ph__head {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-ph__head-box { position: relative; flex: 1 0 0px; width: 1px; height: auto; }
.nf-res-steps-ph__head-inner {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 10px;
  width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-ph__title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-steps-ph__title { font-size: 28px; }

/* Steps carousel (Framer Carousel component: section > ul.framer--carousel + fieldset controls) */
.nf-res-steps-ph__carousel-box { position: relative; flex: 0 0 auto; width: 100%; height: auto; }
.nf-res-steps-ph__carousel-comp {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0;
  width: 100%; height: min-content; padding: 0; overflow: clip; background-color: var(--nf-grey-f5);
}
.nf-res-steps-ph__carousel { position: relative; flex: 0 0 auto; width: 100%; height: 682px; }
.nf-res-steps-ph__viewport { position: relative; display: flex; width: 100%; height: 100%; padding: 0; overflow: hidden; }
.nf-res-steps-ph__track {
  position: relative; display: flex; flex-direction: row; align-items: flex-start; flex: 1 1 100%;
  width: 100%; height: 100%; gap: 20px; margin: 0; padding: 0; list-style: none; border-radius: 0;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nf-res-steps-ph__track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.nf-res-steps-ph__slide { flex-shrink: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.nf-res-steps-ph__card {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 0;
  width: 342px; height: min-content; padding: 0 16px; overflow: hidden;
}
.nf-res-steps-ph__card--2 { justify-content: flex-start; }
.nf-res-steps-ph__card--3 { align-items: flex-start; }
.nf-res-steps-ph__text {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-ph__card--3 .nf-res-steps-ph__text { width: 280px; }
.nf-res-steps-ph__text-inner {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 40px 0; overflow: hidden;
}
.nf-res-steps-ph__step-head {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-steps-ph__label-text { font-size: 18px; }
.nf-res-steps-ph__box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-steps-ph__step-title { font-size: 28px; }
.nf-res-steps-ph__desc { font-size: 16px; }
.nf-res-steps-ph__media-row {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: visible;
}
.nf-res-steps-ph__media {
  position: relative; flex: 0 0 auto; width: 310px; height: 340px; overflow: hidden; border-radius: 18px;
  will-change: transform;
}

/* Controls overlay: arrows (Framer shows them for a fine pointer) and page dots */
.nf-res-steps-ph__controls {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: row;
  justify-content: space-between; align-items: center; margin: 0; padding: 12px; border: 0; min-width: 0;
  pointer-events: none;
}
.nf-res-steps-ph__arrow {
  display: block; width: 50px; height: 50px; margin: 0; padding: 0; border: none; border-radius: 18px;
  background: rgba(194, 194, 194, 0.59); overflow: hidden; cursor: pointer; pointer-events: auto; opacity: 1; transform: none;
  /* Framer Carousel button spring (same curve as the home page carousel arrows), ~0.75s */
  transition: opacity 0.75s linear(0, 0.025 1.3%, 0.081 2.7%, 0.148 4%, 0.253 6%, 0.35 8%, 0.464 10.7%, 0.559 13.3%, 0.655 16.7%, 0.73 20%, 0.799 24%, 0.85 28%, 0.899 33.3%, 0.938 40%, 0.962 46.7%, 0.977 53.3%, 0.988 62.7%, 0.995 73.3%, 0.998 86.7%, 1),
              transform 0.06s cubic-bezier(0.25, 1, 0.5, 1);
}
.nf-res-steps-ph__arrow img { display: block; width: 50px; height: 50px; }
.nf-res-steps-ph__arrow:active { transform: scale(0.9); }
.nf-res-steps-ph__arrow.is-off { opacity: 0; pointer-events: none; cursor: default; }
.nf-res-steps-ph__arrow:focus-visible, .nf-res-steps-ph__dot-btn:focus-visible { outline: 2px solid var(--nf-black); outline-offset: 2px; }
@media not all and (pointer: fine) { .nf-res-steps-ph__arrow { display: none; } }
.nf-res-steps-ph__dots {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; flex-direction: row; justify-content: center; align-items: center; overflow: hidden;
  border-radius: 50px; background-color: rgba(0, 0, 0, 0); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: auto;
}
.nf-res-steps-ph__dot-btn {
  display: flex; justify-content: center; align-items: center; margin: 0; padding: 10px 5px; overflow: hidden;
  background: transparent; cursor: pointer;
}
.nf-res-steps-ph__dot-btn--first { padding: 10px 5px 10px 10px; }
.nf-res-steps-ph__dot-btn--last { padding: 10px 10px 10px 5px; }
.nf-res-steps-ph__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background-color: var(--nf-grey-61); opacity: 0.5; }
.nf-res-steps-ph__dot-btn.is-active .nf-res-steps-ph__dot { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .nf-res-steps.is-js .nf-res-steps__fade { opacity: 1; transition: none; }
  .nf-res-steps__buttons { animation: none; }
  .nf-res-steps__btn, .nf-res-steps-ph__arrow { transition: none; }
}

/* Phone carousel images aligned (Danny, 2026-10-19): the slides share one grid, row 1 the texts (as tall as the
   tallest one), row 2 the images, so every image sits at the same height whatever the text length or language. */
.nf-res-steps-ph__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: max-content; grid-template-rows: auto auto;
  align-content: start; column-gap: 20px; row-gap: 0;
}
.nf-res-steps-ph__slide, .nf-res-steps-ph__card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.nf-res-steps-ph__card { justify-items: center; align-items: start; }
.nf-res-steps-ph__card--3 { justify-items: start; }

/* Tablet images aligned (Danny, 2026-10-19): the two steps of the first row share one grid, texts in row 1,
   images in row 2, so both images start at the same height whatever the text length or language. */
.nf-res-steps-tab__group:not(.nf-res-steps-tab__group--last) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 40px; row-gap: 40px;
}
.nf-res-steps-tab__group:not(.nf-res-steps-tab__group--last) > .nf-res-steps-tab__step {
  display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 40px; align-items: start; width: auto;
}

/* Step 3 photo: focus on the phone (see 70-get-started.css). */
.nf-res-steps-tab__img--phone, .nf-res-steps-ph__img--phone { object-position: 68% center; }

/* Phone: step cards and "Want to start?" use the page's 16px side margins (Danny, 2026-10-19). Live nests a 16px card
   padding (and 20px around "Want to start?") inside the 16px page margin, so its content sat at 32 to 36px. */
.nf-res-steps-ph__track { grid-auto-columns: 100%; }
.nf-res-steps-ph__card { width: 100%; padding: 0; }
.nf-res-steps-ph__card--3 .nf-res-steps-ph__text { width: 100%; }
.nf-res-steps-ph__media { width: 100%; }
.nf-res-steps-ph .nf-res-steps__p2 { padding: 20px 0; }
/* the wider cards wrap into fewer lines, so the carousel takes its content's height instead of live's fixed 682px,
   keeping live's 37px between the images and the bottom edge, where the dots sit */
.nf-res-steps-ph__carousel { height: auto; }
.nf-res-steps-ph__viewport, .nf-res-steps-ph__track { height: auto; }
.nf-res-steps-ph__track { padding-bottom: 37px; }

/* Step 2 photo focuses on the top, so the phone in her hand shows (Danny, 2026-10-19) */
.nf-res-steps-tab__img--top, .nf-res-steps-ph__img--top { object-position: center top; }


/* Tablet "Get healthy air in 3 simple steps" (QC 2026-10-28): live puts steps 1 and 2 in a row and step 3 alone below at
   a fixed 325px, leaving the right side empty. From 1000px the three steps share one row (texts in one row, images in
   the next, so the images line up); below 1000px step 3 takes the same column width as steps 1 and 2. */
@media (min-width: 1000px) and (max-width: 1439.98px) {
  .nf-res-steps-tab__p1-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 80px; align-items: start; }
  .nf-res-steps-tab__head { grid-column: 1 / -1; }
  .nf-res-steps-tab__group, .nf-res-steps-tab__group:not(.nf-res-steps-tab__group--last) { display: contents; }
  .nf-res-steps-tab__step, .nf-res-steps-tab__step--last {
    display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 40px; align-items: start; width: auto;
  }
  /* with the groups at display: contents, Chrome left the step 1 and 2 photos unpainted while they kept
     will-change: transform (checked in Chrome, 2026-10-28); the rounded corners still clip through overflow: hidden */
  .nf-res-steps-tab__media { will-change: auto; }
}
@media (min-width: 810px) and (max-width: 999.98px) {
  .nf-res-steps-tab__step--last { width: calc((100% - 40px) / 2); }
}
