/* Silverleaf Home Care instant quote (prompt 03), on the Eldercare tokens.

   Without JS (no html.qz-js) only the Step 4 screen shows: the request form
   and the phone. With JS, one screen shows at a time. The head script sets
   html.qz-js before first paint, so the switch never shifts the layout.

   Built for older adults: 19px answer cards, 44px targets everywhere, a
   strong selected state that does not rely on colour alone, and visible
   focus. */

html:not(.qz-js) .qz-js-only { display: none; }
.qz-js .qz-screen { display: none; }
.qz-js .qz-screen.is-active { display: block; }
.qz [hidden] { display: none !important; }

/* Layout, to Micah's mockup (2026-10-16): the calculator on the left, the
   quote journey card on the right from the first question down. */
.qz-band .container.qz-wrap { max-width: 88rem; }
.qz { display: grid; gap: 0 3.5rem; align-items: start; }
.qz > .qz-screen, .qz > .qz-progress { grid-column: 1; }
.qz-aside { margin-top: var(--sp-7); }
@media (min-width: 64rem) {
  .qz { grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); }
  .qz > .qz-screen { grid-row: 2; }
  .qz > .qz-aside { grid-column: 2; grid-row: 2; margin-top: -0.75rem; }
}
@media (min-width: 64rem) and (max-width: 79.9375rem) {
  .qz { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: 0 2.5rem; }
}

/* Progress: the words carry it; the numbered steps repeat it for the eye. */
.qz-progress { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--sp-5); margin: 0 0 var(--sp-7); }
.qz-step { margin: 0; color: var(--text-strong); }
.qz-step-num { display: block; font-size: var(--fs-0); }
.qz-step-name { display: block; margin-top: var(--sp-1); font-family: var(--font-display); font-size: var(--fs-2); line-height: 1.2; }
.qz-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 31rem); }
.qz-bar li { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.qz-bar li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(1rem - 1px);
  left: calc(50% + 1.15rem);
  width: calc(100% - 2.3rem);
  height: 2px;
  background: rgba(16, 27, 55, 0.16);
}
.qz-bar li.is-on:not(.is-current)::after { background: var(--brass); }
.qz-bar li.is-current::after { background: linear-gradient(90deg, var(--brass) 50%, rgba(16, 27, 55, 0.16) 50%); }
.qz-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 27, 55, 0.25);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
}
.qz-bar li.is-on .qz-dot { border-color: var(--brass); background: var(--brass); color: var(--white); }
.qz-bar li.is-current .qz-dot { box-shadow: 0 0 0 4px rgba(168, 134, 63, 0.18); }
.qz-lbl { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; color: var(--slate); }
.qz-bar li.is-current .qz-lbl { color: var(--accent-strong); }

/* Questions */
.qz-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.qz-q legend { padding: 0; margin-bottom: var(--sp-3); }
.qz-kicker { display: block; font-size: var(--fs-0); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-strong, var(--brass)); margin-bottom: var(--sp-3); }
.qz-legend, .qz-title { display: block; font-family: var(--font-display); font-size: var(--fs-3); line-height: 1.2; color: var(--text-strong); margin: 0 0 var(--sp-5); }
.qz-legend { font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1.15; margin: 0; }
.qz-legend:focus, .qz-title:focus { outline: none; }
.qz-legend:focus-visible, .qz-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.qz-sub { max-width: 40rem; margin: 0 0 var(--sp-6); font-family: var(--font-display); font-size: var(--fs-1); line-height: 1.35; color: #5F6470; }

/* Answer cards: icon, words, chevron. Selected is a brass border, a warm
   fill, a gold icon and a filled chevron, so it never rests on colour alone. */
.qz-cards { display: grid; gap: var(--sp-4); }
.qz-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 4.75rem;
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1.5px solid rgba(16, 27, 55, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(16, 27, 55, 0.06);
  font-family: var(--font-display);
  font-size: 1.3125rem;
  line-height: 1.3;
  color: var(--text-strong);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out-expo), background-color var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo);
}
.qz-card:hover { border-color: rgba(168, 134, 63, 0.6); box-shadow: 0 6px 16px rgba(16, 27, 55, 0.08); }
.qz-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.qz-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #EEEBE7;
  color: var(--ink);
  transition: background-color var(--dur), color var(--dur);
}
.qz-ico svg { width: 1.9rem; height: 1.9rem; stroke-width: 1.6; }
.qz-text { flex: 1 1 auto; min-width: 0; }
.qz-chev {
  flex: none;
  position: relative;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 27, 55, 0.3);
  transition: background-color var(--dur), border-color var(--dur);
}
.qz-chev::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 55, 0.65);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 7 5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 1.1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 7 5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 1.1rem;
}
.qz-card:has(input:checked) {
  border-color: var(--brass);
  background: linear-gradient(90deg, #FBF1DF 0%, #FDF8EF 100%);
  box-shadow: 0 6px 18px rgba(168, 134, 63, 0.14);
}
.qz-card:has(input:checked) .qz-ico { background: #F4E6CC; color: var(--accent-strong); }
.qz-card:has(input:checked) .qz-chev { background: var(--brass); border-color: var(--brass); }
.qz-card:has(input:checked) .qz-chev::before { background: var(--white); }
.qz-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

/* The quote journey card */
.qz-aside {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2.5rem 2.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 27, 55, 0.07);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 27, 55, 0.07);
}
.qz-aside > :not(.qz-aside-leaf) { position: relative; z-index: 1; }
.qz-aside-leaf { position: absolute; z-index: 0; pointer-events: none; background: no-repeat center / contain; }
.qz-aside-leaf-top {
  top: 0;
  right: 0;
  width: 9rem;
  aspect-ratio: 680 / 766;
  border-top-right-radius: 1rem;
  opacity: 0.9;
  background-image: url("../img/level-1-right-background-1x.webp");
  background-image: image-set(url("../img/level-1-right-background-1x.avif") type("image/avif") 1x, url("../img/level-1-right-background-2x.avif") type("image/avif") 2x, url("../img/level-1-right-background-1x.webp") type("image/webp") 1x, url("../img/level-1-right-background-2x.webp") type("image/webp") 2x);
}
.qz-aside-leaf-bottom {
  right: -1.5rem;
  bottom: -1.25rem;
  width: 9.5rem;
  aspect-ratio: 600 / 955;
  background-image: url("../img/getting-started-background-1x.webp");
  background-image: image-set(url("../img/getting-started-background-1x.avif") type("image/avif") 1x, url("../img/getting-started-background-2x.avif") type("image/avif") 2x, url("../img/getting-started-background-1x.webp") type("image/webp") 1x, url("../img/getting-started-background-2x.webp") type("image/webp") 2x);
}
.qz-aside-kicker { display: block; font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-strong); }
.qz-aside-title { max-width: 14.5em; margin: var(--sp-3) 0 var(--sp-6); font-family: var(--font-display); font-size: clamp(1.5rem, 1.9vw, 1.875rem); text-wrap: balance; font-weight: 400; line-height: 1.2; color: var(--text-strong); }
.qz-aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.qz-aside-list li { display: flex; align-items: center; gap: var(--sp-5); }
.qz-aside-ico { flex: none; display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: #EEEBE7; color: var(--ink); }
.qz-aside-ico svg { width: 1.75rem; height: 1.75rem; }
.qz-aside-list strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 400; line-height: 1.3; color: var(--text-strong); }
.qz-aside-list li > span:last-child { font-family: var(--font-display); font-size: var(--fs-0); line-height: 1.4; color: #5F6470; }
.qz-aside-note {
  max-width: 13em;
  margin: var(--sp-6) 0 0;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(16, 27, 55, 0.12);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.35;
  color: #5F6470;
}

.qz-error { color: #8C2B2B; font-weight: 600; margin: var(--sp-4) 0 0; }

/* Step 2, to Micah's mockup (2026-10-16): day buttons, an hours slider and
   mile buttons. The selected gold is deepened from the mockup so white text
   on it passes AA (4.8:1). */
.qz { --qz-gold-deep: #8E6F30; }
.qz-title.qz-title-lg { font-size: clamp(2rem, 2.9vw, 2.875rem); font-weight: 400; line-height: 1.1; margin: 0 0 var(--sp-3); }
.qz[data-step="2"] .qz-step-name, .qz[data-step="4"] .qz-step-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qz[data-step="2"] .qz-progress, .qz[data-step="4"] .qz-progress { margin-bottom: var(--sp-2); }
.qz-group { border: 0; margin: 0 0 var(--sp-6); padding: 0; min-width: 0; }
.qz-qlabel { display: block; margin: 0 0 var(--sp-4); padding: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 1.7vw, 1.625rem); font-weight: 400; line-height: 1.25; color: var(--text-strong); }

.qz-pills { display: grid; gap: var(--sp-3); }
.qz-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.qz-miles-pills { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.qz-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: var(--sp-2) var(--sp-1);
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(16, 27, 55, 0.1);
  box-shadow: 0 2px 6px rgba(16, 27, 55, 0.06);
  text-align: center;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out-expo), background-color var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo);
}
.qz-pill:hover { border-color: rgba(168, 134, 63, 0.6); }
.qz-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.qz-pill-n { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-strong); }
.qz-pill-u { margin-top: 0.15rem; font-size: var(--fs-0); color: var(--slate); }
.qz-pill:has(input:checked) { background: var(--qz-gold-deep); border-color: var(--qz-gold-deep); box-shadow: 0 6px 16px rgba(142, 111, 48, 0.3); }
.qz-pill:has(input:checked) .qz-pill-n, .qz-pill:has(input:checked) .qz-pill-u { color: var(--white); }
.qz-pill:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

/* The hours slider. The track, fill and stops are drawn in .qz-ticks under
   a transparent range input, so the stops sit on the line and the handle
   rides over them. --p is the value's place along the line (0 to 1); --t is
   the handle's radius. */
.qz-range { --t: 0.875rem; --at: calc(var(--t) + var(--p, 0) * (100% - 2 * var(--t))); position: relative; padding-top: 3.25rem; margin-bottom: 3.75rem; }
.qz-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.qz-range input[type="range"]:focus { outline: none; }
.qz-range input[type="range"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 999px; }
.qz-range input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; border: 0; }
.qz-range input[type="range"]::-moz-range-track { height: 6px; background: transparent; border: 0; }
.qz-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: calc(2 * var(--t));
  height: calc(2 * var(--t));
  margin-top: calc(3px - var(--t));
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--brass);
  box-shadow: 0 3px 10px rgba(8, 24, 48, 0.25);
}
.qz-range input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: calc(2 * var(--t));
  height: calc(2 * var(--t));
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--brass);
  box-shadow: 0 3px 10px rgba(8, 24, 48, 0.25);
}
.qz-ticks { position: absolute; z-index: 0; left: 0; right: 0; top: 3.25rem; height: 2.75rem; pointer-events: none; }
.qz-ticks::before, .qz-ticks::after { content: ""; position: absolute; top: calc(50% - 3px); height: 6px; border-radius: 3px; }
.qz-ticks::before { left: var(--t); right: var(--t); background: rgba(16, 27, 55, 0.14); }
.qz-ticks::after { left: 0; width: var(--at); background: var(--brass); }
.qz-tick {
  position: absolute;
  top: calc(50% + 1.375rem);
  left: calc(var(--t) + var(--p) * (100% - 2 * var(--t)));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  white-space: nowrap;
}
.qz-tick::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(-1.375rem - 0.4375rem);
  width: 0.875rem;
  height: 0.875rem;
  margin-left: -0.4375rem;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(16, 27, 55, 0.25);
}
.qz-tick.is-on::before { background: var(--brass); border-color: var(--brass); }
.qz-tick-n { font-family: var(--font-display); font-size: 1.375rem; color: var(--text-strong); }
.qz-tick-u { font-size: var(--fs-0); color: var(--slate); }
.qz-tick.is-at .qz-tick-u { color: var(--text-strong); font-weight: 600; }
.qz-bubble {
  position: absolute;
  top: 0;
  left: clamp(2.75rem, var(--at), calc(100% - 2.75rem));
  transform: translateX(-50%);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: var(--qz-gold-deep);
  color: var(--white);
  font-size: var(--fs-0);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(142, 111, 48, 0.28);
}
.qz-range-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-5); }
.qz-range-foot p { margin: 0; }

.qz-help { font-size: var(--fs-0); color: var(--text-soft, var(--text)); margin: var(--sp-2) 0 0; }
.qz-running { font-size: var(--fs-0); color: var(--text-strong); }
.qz-running strong { font-family: var(--font-display); font-size: var(--fs-1); }
.qz-min { border-left: 4px solid #8C2B2B; background: #FBEDEA; color: #5E1D1D; padding: var(--sp-4) var(--sp-5); font-weight: 600; margin: 0 0 var(--sp-5); }
.qz-miles-other { max-width: 16rem; margin-top: var(--sp-4); }
.qz-miles-other input { font-size: var(--fs-1); min-height: 3rem; }
.qz-miles-help { margin-top: var(--sp-4); }
.qz-miles-help .qz-help { margin-top: var(--sp-1); }

/* The live rate (Parker's email, 2026-10-20). A white card under the
   slider; gold once the preferred full-time rate applies. --fill is the
   share of the way to preferredHours a week. */
.qz-rate {
  margin: 0 0 var(--sp-6);
  padding: var(--sp-5);
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(16, 27, 55, 0.1);
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(16, 27, 55, 0.06);
  transition: background-color var(--dur) var(--ease-out-expo), border-color var(--dur) var(--ease-out-expo);
}
.qz-rate-main { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
.qz-rate-ico { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #EEE7DC; color: var(--ink); }
.qz-rate-ico svg { width: 1.5rem; height: 1.5rem; }
.qz-rate-copy { flex: 1 1 18rem; min-width: 0; }
.qz-rate-kicker { margin: 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); }
.qz-rate-now { margin: var(--sp-1) 0 0; font-size: var(--fs-0); color: var(--text); }
.qz-rate-now:has(strong:empty) { display: none; }
.qz-rate-now strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.1; color: var(--text-strong); }
.qz-rate-msg { margin: var(--sp-1) 0 0; font-size: var(--fs-0); line-height: 1.45; color: var(--text-strong); }
.qz-rate-btn { flex: none; min-height: 2.75rem; }
.qz-rate-bar { position: relative; height: 0.5rem; margin-top: var(--sp-4); border-radius: 999px; background: rgba(16, 27, 55, 0.1); }
.qz-rate-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill, 0) * 100%); border-radius: inherit; background: var(--brass); transition: width var(--dur) var(--ease-out-expo); }
.qz-rate-goal { position: absolute; right: 0; top: calc(100% + 0.35rem); font-size: var(--fs-small); font-weight: 600; color: var(--slate); }
.qz-rate:has(.qz-rate-bar) { padding-bottom: 2.5rem; }
.qz-rate[data-state="none"] .qz-rate-bar, .qz-rate[data-state="flat"] .qz-rate-bar { display: none; }
.qz-rate[data-state="none"], .qz-rate[data-state="flat"] { padding-bottom: var(--sp-5); }
.qz-rate[data-state="preferred"] { background: #F6E9D2; border-color: rgba(168, 134, 63, 0.6); }
.qz-rate[data-state="preferred"] .qz-rate-ico { background: var(--qz-gold-deep); color: var(--white); }
.qz-rate[data-state="preferred"] .qz-rate-goal { color: #7C6128; }
.qz-rate[data-state="preferred"] .qz-rate-goal::before { content: "\2713\00a0"; }

/* Custom quotes for unique cases (Parker's email, 2026-10-20 4:48 PM (Re: Silverleaf Home Care: the site, ready for your first look)) */
.qz-aside-custom { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-5) 0 0; padding: var(--sp-3) var(--sp-4); border-radius: 0.75rem; background: rgba(244, 230, 204, 0.55); font-size: var(--fs-0); line-height: 1.4; color: var(--text-strong); }
.qz-aside-custom-ico { flex: none; display: grid; place-items: center; color: var(--qz-gold-deep); }
.qz-helpband-custom { margin: var(--sp-2) 0 0; font-size: var(--fs-0); color: var(--slate); }

/* Under 40 hours on the quote: the lower rate, and the way back */
.qz-nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-5); margin: var(--sp-4) 0 0; padding: var(--sp-4) var(--sp-5); border: 1.5px solid rgba(168, 134, 63, 0.55); border-radius: 0.75rem; background: #FBF3E4; }
.qz-nudge p { flex: 1 1 22rem; margin: 0; font-size: var(--fs-0); line-height: 1.45; color: var(--text-strong); }
.qz-nudge-btn { flex: none; min-height: 2.75rem; }

/* The side card's schedule panel */
.qz-aside [hidden] { display: none !important; }
.qz-aside-list-ruled { gap: 0; }
.qz-aside-list-ruled li { padding: var(--sp-4) 0; }
.qz-aside-list-ruled li + li { border-top: 1px solid rgba(16, 27, 55, 0.1); }
.qz-aside-list-ruled li:first-child { padding-top: 0; }
.qz-aside-line { display: block; }

@media (max-width: 47.9375rem) {
  .qz-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .qz-miles-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qz-tick-n { font-size: 1.125rem; }
  .qz-tick-u { font-size: 0.9375rem; }
}

/* Step 3, to Micah's mockup (2026-10-16): the plan card with five figures,
   the included services by level, the snapshot card and the help band. */
.qz[data-step="3"] .qz-step { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qz[data-step="3"] .qz-progress { justify-content: flex-start; margin-bottom: var(--sp-5); }
.qz[data-panel="3"] .qz-aside-note, .qz[data-panel="3"] .qz-aside-leaf-bottom { display: none; }
.qz[data-step="4"] .qz-aside-cta, .qz[data-step="4"] .qz-aside-fine { display: none; }
.qz:not([data-step="3"]) > .qz-helpband { display: none; }
.qz-band .container.qz-wrap:has(.qz[data-step="3"]) { max-width: 92rem; }
.qz > .qz-helpband { grid-column: 1 / -1; }
@media (min-width: 64rem) {
  .qz[data-step="3"] { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 0 1.5rem; }
  .qz[data-step="3"] > .qz-aside { margin-top: 0; padding-inline: 1.75rem; }
  .qz-aside-cta { white-space: nowrap; }
  .qz > .qz-helpband { grid-row: 3; }
}

.qz-plan, .qz-inc-box, .qz-helpband {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 27, 55, 0.07);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 27, 55, 0.06);
}
.qz-plan { padding: 2rem 1.5rem 1.5rem; }
.qz-plan-leaf {
  position: absolute;
  top: 0.5rem;
  right: 0;
  width: 13rem;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.85;
  background: no-repeat right top / contain;
  background-image: url("../img/levels-of-care-background-leaf-1x.webp");
  background-image: image-set(url("../img/levels-of-care-background-leaf-1x.avif") type("image/avif") 1x, url("../img/levels-of-care-background-leaf-2x.avif") type("image/avif") 2x, url("../img/levels-of-care-background-leaf-1x.webp") type("image/webp") 1x, url("../img/levels-of-care-background-leaf-2x.webp") type("image/webp") 2x);
}
.qz-plan > :not(.qz-plan-leaf) { position: relative; z-index: 1; }
.qz-plan-kicker { margin: 0 0.5rem; font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-strong); }
.qz-plan-title { margin: var(--sp-2) 0.5rem var(--sp-3); font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); font-weight: 600; line-height: 1.1; color: var(--text-strong); }
.qz-plan-title:focus { outline: none; }
.qz-plan-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.qz-plan-desc { max-width: 34rem; margin: 0 0.5rem var(--sp-5); font-size: var(--fs-1); line-height: 1.4; color: #5F6470; }

.qz-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-3); margin: 0; }
.qz-stat { padding: var(--sp-4); border: 1px solid rgba(16, 27, 55, 0.06); border-radius: 0.75rem; background: #F7F3EE; }
.qz-stat dt { font-size: var(--fs-0); font-weight: 600; line-height: 1.25; color: var(--slate); }
.qz-stat-ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: var(--sp-3); border-radius: 50%; background: #EEE7DC; color: var(--ink); }
.qz-stat-ico svg { width: 1.35rem; height: 1.35rem; }
.qz-stat dd { margin: var(--sp-2) 0 0; }
.qz-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 1.9vw, 1.875rem); font-weight: 600; line-height: 1.1; color: var(--text-strong); }
.qz-stat dd span { display: block; margin-top: var(--sp-2); font-size: var(--fs-0); line-height: 1.35; color: var(--slate); }
.qz-stat.is-total { background: #F6E9D2; border-color: rgba(168, 134, 63, 0.55); box-shadow: 0 6px 16px rgba(168, 134, 63, 0.14); }
.qz-stat.is-total .qz-stat-ico { background: #EFDBB5; color: var(--qz-gold-deep); }

.qz-includes { margin-top: var(--sp-6); }
.qz-inc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin: 0 0 var(--sp-4); }
.qz-inc-head h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 600; color: var(--text-strong); }
.qz-inc-head p { margin: 0; font-size: var(--fs-0); color: var(--slate); }
.qz-inc-box { padding: 0 0 var(--sp-4); }
.qz-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgba(16, 27, 55, 0.1); }
.qz-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: var(--sp-2) var(--sp-2);
  border: 0;
  border-right: 1px solid rgba(16, 27, 55, 0.08);
  background: transparent;
  font: inherit;
  line-height: 1.2;
  color: var(--text-strong);
  cursor: pointer;
}
.qz-tab:first-child { border-top-left-radius: 1rem; }
.qz-tab:last-child { border-right: 0; border-top-right-radius: 1rem; }
.qz-tab:hover { background: rgba(168, 134, 63, 0.08); }
.qz-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.qz-tab-n { font-family: var(--font-display); font-size: 1.1875rem; }
.qz-tab-name { font-size: var(--fs-0); color: var(--slate); }
.qz-tab[aria-selected="true"] { background: var(--qz-gold-deep); color: var(--white); box-shadow: 0 6px 14px rgba(142, 111, 48, 0.25); }
.qz-tab[aria-selected="true"] .qz-tab-name { color: var(--white); }
.qz-panel { padding: var(--sp-4) var(--sp-4) 0; }
.qz-panel:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 0.5rem; }
.qz-inc-lead { margin: 0 0 var(--sp-3); font-weight: 600; color: var(--text-strong); }
.qz-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.qz-grp { display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: var(--sp-3); padding: var(--sp-4); border: 1px solid rgba(16, 27, 55, 0.08); border-radius: 0.75rem; background: rgba(255, 255, 255, 0.7); }
.qz-grp-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #F4E6CC; color: var(--qz-gold-deep); }
.qz-grp-ico svg { width: 1.4rem; height: 1.4rem; }
.qz-grp h4 { align-self: center; margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--text-strong); }
.qz-checks { grid-column: 2; list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.qz-checks li { position: relative; padding-left: 1.75rem; font-size: var(--fs-0); line-height: 1.35; color: var(--text-strong); }
.qz-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--brass);
  -webkit-mask: none;
}
.qz-checks li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 0.95rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 0.95rem;
}
.qz-inc-note { margin: var(--sp-4) 0 0; font-weight: 600; color: var(--text-strong); }
.qz-nav.qz-nav-quote { margin-top: var(--sp-5); padding-top: 0; border-top: 0; }

/* Snapshot card */
.qz-aside-intro { margin: calc(-1 * var(--sp-4)) 0 var(--sp-5); font-family: var(--font-display); font-size: var(--fs-0); line-height: 1.4; color: #5F6470; }
.qz-aside-list-snap { gap: var(--sp-4); }
.qz-aside-cta { width: 100%; min-height: 3.5rem; padding-inline: var(--sp-4); margin-top: var(--sp-6); box-shadow: 0 8px 18px rgba(8, 24, 48, 0.18); }
.qz-aside-cta::after, .qz-helpband-cta .btn::after {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.qz-aside-fine { margin: var(--sp-3) 0 0; text-align: center; font-size: var(--fs-0); color: var(--slate); }

/* Help band, across both columns, with Parker's disclaimer on its edge */
.qz-helpband {
  display: grid;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0 2rem;
  padding: 1.75rem 1.5rem 0;
}
@media (min-width: 64rem) {
  .qz-helpband { grid-template-columns: minmax(0, 1fr) auto; padding: 1.75rem 9rem 0; }
  .qz-helpband-cta { padding-left: var(--sp-6); border-left: 1px solid rgba(16, 27, 55, 0.12); }
}
.qz-helpband > :not(.qz-helpband-leaf) { position: relative; z-index: 1; }
.qz-helpband-leaf {
  position: absolute;
  bottom: 0;
  width: 6.5rem;
  aspect-ratio: 600 / 955;
  pointer-events: none;
  opacity: 0.85;
  background: no-repeat center bottom / contain;
  background-image: url("../img/getting-started-background-1x.webp");
  background-image: image-set(url("../img/getting-started-background-1x.avif") type("image/avif") 1x, url("../img/getting-started-background-2x.avif") type("image/avif") 2x, url("../img/getting-started-background-1x.webp") type("image/webp") 1x, url("../img/getting-started-background-2x.webp") type("image/webp") 2x);
}
.qz-helpband-leaf-left { left: 1rem; transform: scaleX(-1); }
.qz-helpband-leaf-right { right: 1rem; }
.qz-helpband-kicker { margin: 0 0 var(--sp-1); font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-strong); }
.qz-helpband-call { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; color: var(--text-strong); }
.qz-helpband-call a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 0.2em; white-space: nowrap; }
.qz-helpband-cta .btn { min-height: 3.25rem; box-shadow: 0 8px 18px rgba(8, 24, 48, 0.18); }
.qz-disclaimer {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: var(--sp-2) 0 0;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(16, 27, 55, 0.1);
  border-radius: 0.75rem;
  background: #EEF0F4;
  font-size: var(--fs-0);
  line-height: 1.4;
  color: var(--text-strong);
  transform: translateY(50%);
}
.qz-disclaimer svg { flex: none; display: block; width: 1.25rem; height: 1.25rem; color: #3E5A8A; }

@media (max-width: 79.9375rem) {
  .qz-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qz-stat.is-total { grid-column: span 2; }
  .qz-groups { grid-template-columns: 1fr; }
}
@media (max-width: 47.9375rem) {
  .qz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qz-stat.is-total { grid-column: 1 / -1; order: 1; }
  .qz-plan-leaf { width: 8rem; opacity: 0.5; }
  .qz-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qz-tab:nth-child(2) { border-right: 0; border-top-right-radius: 1rem; }
  .qz-tab:last-child { border-top-right-radius: 0; }
  .qz-tab:nth-child(-n+2) { border-bottom: 1px solid rgba(16, 27, 55, 0.08); }
  .qz-helpband-leaf { display: none; }
  .qz-helpband-cta .btn { width: 100%; }
  .qz-disclaimer { align-items: flex-start; transform: none; margin-bottom: var(--sp-5); }
}

/* Step 4, to match the other steps (Micah, 2026-10-19): the fields in a
   card, two to a row on wider screens, the call line and the button in the
   card's footer. */
.qz-manual {
  position: relative;
  margin-bottom: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 27, 55, 0.07);
  border-left: 4px solid var(--brass);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 27, 55, 0.06);
}
.qz-manual .qz-title { font-size: var(--fs-2); font-weight: 600; }
.qz-manual p:last-child { margin-bottom: 0; }

.qz-form-card {
  position: relative;
  overflow: hidden;
  margin-top: var(--sp-5);
  padding: 2rem 2rem 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 27, 55, 0.07);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 27, 55, 0.06);
}
.qz-form-card > :not(.qz-form-leaf) { position: relative; z-index: 1; }
.qz-form-leaf {
  position: absolute;
  top: 0;
  right: 0;
  width: 9rem;
  aspect-ratio: 680 / 766;
  pointer-events: none;
  opacity: 0.8;
  background: no-repeat right top / contain;
  background-image: url("../img/level-1-right-background-1x.webp");
  background-image: image-set(url("../img/level-1-right-background-1x.avif") type("image/avif") 1x, url("../img/level-1-right-background-2x.avif") type("image/avif") 2x, url("../img/level-1-right-background-1x.webp") type("image/webp") 1x, url("../img/level-1-right-background-2x.webp") type("image/webp") 2x);
}
.qz-form-head { display: grid; gap: var(--sp-1); margin-bottom: var(--sp-5); padding-right: 6rem; }
.qz-form-kicker { margin: 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-strong); }
.qz-form-req { margin: 0; font-size: var(--fs-0); color: var(--slate); }

.qz-form.form { max-width: none; gap: var(--sp-5) var(--sp-5); }
@media (min-width: 40rem) {
  .qz-form.form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qz-form .qz-span-2, .qz-form .qz-form-foot { grid-column: 1 / -1; }
}
.qz-form .form-field { align-content: start; }
.qz-form .form-field label { font-size: var(--fs-0); }
.qz-form .form-field input,
.qz-form .form-field textarea {
  min-height: 3.25rem;
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1.5px solid rgba(16, 27, 55, 0.16);
  border-radius: 0.75rem;
  box-shadow: inset 0 1px 2px rgba(16, 27, 55, 0.04);
  transition: border-color var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo);
}
.qz-form .form-field textarea { min-height: 7.5rem; resize: vertical; }
.qz-form .form-field input:hover,
.qz-form .form-field textarea:hover { border-color: rgba(168, 134, 63, 0.6); }
.qz-form .form-field input:focus-visible,
.qz-form .form-field textarea:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(168, 134, 63, 0.35);
}
.qz-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin: var(--sp-2) -2rem 0;
  padding: var(--sp-5) 2rem;
  border-top: 1px solid rgba(16, 27, 55, 0.08);
  background: rgba(247, 243, 238, 0.7);
}
.qz-form-call { display: flex; align-items: center; gap: var(--sp-3); margin: 0; font-size: var(--fs-0); color: var(--text-strong); }
.qz-form-call a { font-weight: 600; color: inherit; text-decoration-color: var(--brass); text-underline-offset: 0.2em; white-space: nowrap; }
.qz-form-call-ico { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #EEE7DC; color: var(--ink); }
.qz-submit { min-height: 3.25rem; padding-inline: var(--sp-5); box-shadow: 0 8px 18px rgba(8, 24, 48, 0.18); }
.qz-submit::after {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.qz-form .form-error { grid-column: 1 / -1; }

/* The thank you, in the card, after sending */
.qz-form-card .form-sent { margin-bottom: 2rem; padding: var(--sp-2) 0 0 4rem; border: 0; background: none; position: relative; }
.qz-form-card .form-sent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 1.5rem;
}
.qz-form-card .form-sent a { white-space: nowrap; }
.qz-form-card:has(.form-sent) .qz-form-head { display: none; }
.qz-form-card .form-sent h3 { font-family: var(--font-display); font-size: var(--fs-2); font-weight: 600; color: var(--text-strong); }

@media (max-width: 89.9375rem) {
  .qz-form-foot { flex-direction: column; align-items: stretch; }
  .qz-submit { width: 100%; }
}
@media (max-width: 47.9375rem) {
  .qz-form-card { padding: 1.5rem 1.25rem 0; }
  .qz-form-head { padding-right: 3rem; }
  .qz-form-leaf { width: 6rem; opacity: 0.6; }
  .qz-form-foot { margin-inline: -1.25rem; padding: var(--sp-5) 1.25rem; }
  .qz-submit { width: 100%; }
}

.qz-nav { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid rgba(16, 27, 55, 0.12); }
.qz-nav .btn { min-height: 3.25rem; min-width: 8rem; }
.qz-nav [data-next] { margin-left: auto; min-width: 10.5rem; box-shadow: 0 8px 18px rgba(8, 24, 48, 0.18); }
.qz-nav [data-next]::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Phones: the step names under the numbers drop, the cards tighten, and
   the journey card follows the questions. */
@media (max-width: 47.9375rem) {
  .qz-progress { flex-direction: column; margin-bottom: var(--sp-6); }
  .qz-bar { width: 100%; }
  .qz-lbl { font-size: 0.8125rem; letter-spacing: 0.06em; }
  .qz-card { gap: var(--sp-4); padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-3); font-size: 1.1875rem; }
  .qz-ico { width: 3rem; height: 3rem; }
  .qz-ico svg { width: 1.65rem; height: 1.65rem; }
  .qz-aside-ico { width: 3rem; height: 3rem; }
  .qz-aside-ico svg { width: 1.5rem; height: 1.5rem; }
  .qz-chev { width: 1.625rem; height: 1.625rem; }
  .qz-aside { padding: 2rem 1.5rem 2.25rem; }
  .qz-aside-leaf-top { width: 7.5rem; }
  .qz-aside-leaf-bottom { width: 7rem; right: -0.75rem; }
}
@media (max-width: 30rem) {
  .qz-nav { flex-direction: column-reverse; }
  .qz-nav .btn { width: 100%; justify-content: center; margin-left: 0; }
}

/* Required marks, as on the contact form (Eldercare scopes them to
   .form-aligned, which this single column form does not use). */
.qz label.is-req::after { content: " *"; color: #8C2B2B; }

/* ------------------------------------------------------------------------
   Hero, to Micah's mockup (2026-10-16). Copy and the three steps on the
   left; the 02 MIN ring and gold branch on the right edge; faint shadow
   leaves (the Levels of Care branch used as a mask, so they read as dark
   silhouettes) on the left and centre. */
.iqh { position: relative; }
.iqh-art {
  position: absolute;
  z-index: 0;
  right: 0;
  top: -2rem;
  width: min(44vw, 58rem);
  aspect-ratio: 1291 / 1080;
  opacity: 0.8;
  pointer-events: none;
  background: no-repeat right top / contain;
  background-image: url("../img/iq-hero-art-1x.webp");
  background-image: image-set(url("../img/iq-hero-art-1x.avif") type("image/avif") 1x, url("../img/iq-hero-art-2x.avif") type("image/avif") 2x, url("../img/iq-hero-art-1x.webp") type("image/webp") 1x, url("../img/iq-hero-art-2x.webp") type("image/webp") 2x);
}
.iqh-shadow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: rgba(2, 8, 20, 0.42);
  -webkit-mask: url("../img/loc-hero-left-2x.webp") no-repeat center / contain;
  mask: url("../img/loc-hero-left-2x.webp") no-repeat center / contain;
}
.iqh-shadow-left { left: -4rem; top: 1rem; width: 22rem; aspect-ratio: 1104 / 1330; }
.iqh-shadow-mid { left: 50%; bottom: -6rem; width: 16rem; aspect-ratio: 1104 / 1330; opacity: 0.7; transform: scaleX(-1); }

.page-hero .container.iqh-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding-block: 4.5rem 5rem;
  padding-inline: clamp(1.5rem, 16vw - 5rem, 16rem);
}
.iqh-inner .eyebrow-line { margin-left: -2.75rem; letter-spacing: 0.2em; }
.iqh-inner .eyebrow-line::before {
  width: 4.5rem;
  height: 0.45rem;
  border-radius: 0;
  background:
    radial-gradient(circle at calc(100% - 0.225rem) 50%, var(--champagne) 0.2rem, transparent 0.23rem),
    linear-gradient(var(--champagne), var(--champagne)) left 50% / calc(100% - 0.3rem) 1px no-repeat;
  opacity: 0.9;
}
.page-hero .iqh-inner h1 {
  max-width: none;
  margin: var(--sp-5) 0 var(--sp-4);
  font-size: clamp(2.6rem, 4.4vw, 4.75rem);
  line-height: 1.04;
}
.iqh-em { font-style: italic; font-weight: 400; color: var(--champagne); padding-right: 0.08em; }
.iqh .nowrap { white-space: nowrap; }
@media (min-width: 48rem) { .iqh h1 .nowrap { display: block; } }
.page-hero .iqh-inner p { max-width: 46rem; margin: 0; line-height: 1.5; text-wrap: pretty; }

.iqh-steps {
  list-style: none;
  margin: var(--sp-6) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-5);
}
.iqh-step { display: flex; align-items: center; gap: var(--sp-4); }
.iqh-step img { display: block; width: 4.25rem; height: 4.25rem; flex: none; }
.iqh-step span { font-size: var(--fs-0); line-height: 1.4; color: var(--champagne); }
.iqh-step:not(:last-child)::after {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 0.75rem;
  margin-left: var(--sp-1);
  background: rgba(216, 184, 144, 0.75);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 99.9375rem) {
  .iqh-art { right: -4rem; }
  .page-hero .iqh-inner p { max-width: 41rem; }
}

/* Below desktop the ring steps back behind the copy; on phones the steps
   stack and the arrows go. */
@media (max-width: 79.9375rem) {
  .iqh-art { width: min(52vw, 34rem); right: -12rem; opacity: 0.3; }
  .iqh-shadow-mid { display: none; }
}
@media (max-width: 47.9375rem) {
  .iqh-art { width: 20rem; right: -8rem; top: -3rem; opacity: 0.22; }
  .iqh-shadow-left { width: 14rem; }
  .iqh-inner .eyebrow-line { margin-left: 0; }
  .page-hero .container.iqh-inner { padding-block: 3.5rem 4rem; }
  .iqh-steps { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .iqh-step:not(:last-child)::after { display: none; }
  .iqh-step img { width: 3.75rem; height: 3.75rem; }
  .iqh-br { display: none; }
}
