/* Lead capture (crew B, redesign 20 Nov 2026): the quote wizard (card, pop-up, full page), the phone bar and desktop
   pill, the in-list card, the closing band, and the /get-quotes, /thanks and /who-may-reply pages.
   Colors, fonts, radii, shadows and timing come from crew A's tokens; the values after the commas are fallbacks. */
:is(.qw, .qw-modal, .qw-bar, .qw-pill, .qw-cta, .qw-final, .qp) {
  --qw-acc: var(--accent, #0E7C86);
  --qw-acc-ink: var(--accent-text, color-mix(in srgb, var(--qw-acc) 84%, #000));
  --qw-acc-deep: color-mix(in srgb, var(--qw-acc-ink) 72%, #000);
  --qw-on: var(--on-accent, #fff);
  --qw-ink: var(--text, #161B26);
  --qw-ink2: var(--text-2, #3B4252);
  --qw-deep: var(--ink, color-mix(in srgb, var(--qw-acc) 40%, #0A0F1C));
  --qw-mut: var(--muted, #5B6472);
  --qw-line: var(--line, #E3E6EB);
  --qw-edge: color-mix(in srgb, var(--qw-ink) 47%, #fff);
  --qw-line2: var(--line-2, #D2D7E2);
  --qw-ds: var(--display-scale, 1);
  --qw-dw: var(--display-weight, 650);
  --qw-card: var(--card, #fff);
  --qw-bg2: var(--bg-2, #F6F7F9);
  --qw-tint: var(--tint, color-mix(in srgb, var(--qw-acc) 8%, #fff));
  --qw-wash: color-mix(in srgb, var(--qw-acc) 7%, var(--qw-card));
  --qw-err: var(--danger, #B42318);
  --qw-rs: var(--radius-s, 10px);
  --qw-rm: var(--radius-m, 14px);
  --qw-rl: var(--radius-l, 20px);
  --qw-rx: var(--radius-xl, 28px);
  --qw-sh1: var(--shadow-1, 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06));
  --qw-sh2: var(--shadow-2, 0 2px 4px rgba(16, 24, 40, .04), 0 14px 32px -12px rgba(16, 24, 40, .18));
  --qw-sh3: var(--shadow-3, 0 30px 70px -24px rgba(16, 24, 40, .45));
  --qw-ease: var(--ease-out, cubic-bezier(.22, 1, .36, 1));
  --qw-spring: var(--ease-spring, cubic-bezier(.34, 1.56, .64, 1));
  --qw-d1: var(--dur-1, 160ms);
  --qw-d2: var(--dur-2, 280ms);
  --qw-d3: var(--dur-3, 520ms);
  --qw-body: var(--font-body, inherit);
  --qw-disp: var(--font-display, var(--font-body, inherit));
}
.qw-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.qw-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.qw-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(.qw, .qw-modal, .qw-bar, .qw-pill, .qw-cta, .qw-final, .qp) svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the wizard ---------- */
.qw { position: relative; font-family: var(--qw-body); color: var(--qw-ink); text-align: left; }
.qw--card, .qw--page { background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--qw-acc) 11%, transparent), transparent 62%), var(--qw-card); border: 1px solid var(--qw-line); border-radius: var(--qw-rx); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), var(--qw-sh2); padding: 22px 20px 20px; }
.qw--page { padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), var(--qw-sh3); }
.qw--modal { padding: 26px 22px 22px; }
.qw--band { border-color: transparent; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.qw--band .qw-head { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qw-head { display: grid; gap: 8px; margin-bottom: 16px; padding-right: 36px; }
.qw--card .qw-head, .qw--page .qw-head { padding-right: 0; }
.qw-kick { display: inline-flex; align-items: center; gap: 6px; justify-self: start; width: max-content; max-width: 100%; padding: 5px 11px 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--qw-acc) 10%, transparent); color: var(--qw-acc-deep); font: 700 12.5px/1.2 var(--qw-body); letter-spacing: .01em; margin: 0; }
.qw-kick svg { width: 15px; height: 15px; }
.qw-title { margin: 0; font: var(--qw-dw) calc(clamp(21px, 1.1vw + 16px, 27px) * var(--qw-ds))/1.15 var(--qw-disp); letter-spacing: -.015em; color: var(--qw-ink); text-wrap: balance; overflow-wrap: anywhere; }
.qw--page .qw-title { font-size: calc(clamp(20px, 1vw + 14px, 24px) * var(--qw-ds)); }
.qw-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--qw-ink2); overflow-wrap: anywhere; }
.qw-on[data-at]:not([data-at="1"]) :is(.qw-sub, .qw-kick), .qw-on:is(.qw--card, .qw--page)[data-at]:not([data-at="1"]) .qw-head { display: none; }
.qw-form { display: block; margin: 0; }
.qw-alert { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 11px 13px; border-radius: var(--qw-rm); background: color-mix(in srgb, var(--qw-err) 8%, #fff); color: var(--qw-err); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.qw-alert[hidden] { display: none; }
.qw-alert svg { margin-top: 1px; }

/* progress, back and answers (only with JavaScript) */
.qw-top, .qw-crumb, .qw-nav { display: none; }
.qw-on .qw-top { display: block; margin-bottom: 16px; }
.qw-on[data-at]:not([data-at="1"]) .qw-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.qw-back { display: inline-flex; align-items: center; gap: 4px; flex: none; min-height: 30px; padding: 4px 10px 4px 6px; margin-left: -6px; border: 0; border-radius: 999px; background: none; color: var(--qw-ink2); font: 650 13.5px/1 var(--qw-body); cursor: pointer; }
.qw-back:hover { background: var(--qw-bg2); color: var(--qw-ink); }
.qw-back svg { width: 17px; height: 17px; }
.qw-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.qw-prog i { display: block; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--qw-ink) 9%, transparent); overflow: hidden; }
.qw-prog b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--qw-acc) 70%, #fff), var(--qw-acc)); transform: scaleX(0); transform-origin: left; }
.qw-prog i.is-on b, .qw:not([data-at]) .qw-prog i:first-child b { transform: none; }
.qw-sum { display: contents; }
.qw-ans { display: inline-flex; align-items: center; max-width: 100%; min-height: 28px; padding: 4px 11px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--qw-acc) 9%, transparent); color: var(--qw-ink); font: 600 12.5px/1.25 var(--qw-body); cursor: pointer; }
.qw-ans span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-ans:hover { background: color-mix(in srgb, var(--qw-acc) 16%, transparent); }
.qw-ans:focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }

/* steps */
.qw-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qw-step + .qw-step { margin-top: 26px; }
.qw-on .qw-step { display: none; margin-top: 0; }
.qw-on .qw-step.is-on, .qw-on:not(.is-ready) .qw-step:first-child { display: block; }
.qw-q { display: grid; gap: 4px; padding: 0; margin: 0 0 14px; outline: none; }
.qw-n { font: 700 11.5px/1.2 var(--qw-body); letter-spacing: .08em; text-transform: uppercase; color: var(--qw-acc-deep); }
.qw-qt { font: var(--qw-dw) calc(clamp(18px, .5vw + 16px, 21px) * var(--qw-ds))/1.25 var(--qw-disp); letter-spacing: -.01em; color: var(--qw-ink); text-wrap: balance; }
.qw-steps { position: relative; }
.qw-steps.is-sizing { overflow: hidden; }
.qw.is-done { display: grid; align-content: center; }

/* need tiles: compact in narrow boxes (sidebar, phones), with hints where the box is wide */
.qw-tiles { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 330px) { .qw-tiles { grid-template-columns: 1fr; } }
.qw-tile { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 58px; padding: 10px; border: 1.5px solid var(--qw-line2); border-radius: var(--qw-rm); background: var(--qw-card); cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.qw-tile input, .qw-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.qw-ti { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--qw-acc) 9%, var(--qw-card)); color: var(--qw-acc); }
.qw-ti svg { width: 19px; height: 19px; }
.qw-ti b { font: 700 15px/1 var(--qw-disp); }
.qw-tx { display: grid; gap: 2px; min-width: 0; }
.qw-tt { font-size: 14px; font-weight: 650; line-height: 1.25; color: var(--qw-ink); overflow-wrap: break-word; }
.qw-th { display: none; font-size: 12.5px; line-height: 1.3; color: var(--qw-mut); }
.qw-tk { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--qw-acc); color: var(--qw-on); box-shadow: 0 0 0 2px var(--qw-card); transform: scale(0); }
.qw-tk svg { width: 12px; height: 12px; stroke-width: 3; }
@container (min-width: 480px) {
  .qw-tile { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; min-height: 70px; padding: 11px 12px; }
  .qw-ti { width: 40px; height: 40px; border-radius: 12px; }
  .qw-ti svg { width: 22px; height: 22px; }
  .qw-tt { font-size: 15px; }
  .qw-th { display: block; }
}
.qw-tile:has(input:checked) { border-color: var(--qw-acc); background: var(--qw-wash); box-shadow: 0 0 0 1px var(--qw-acc), 0 10px 22px -14px color-mix(in srgb, var(--qw-acc) 80%, transparent); }
.qw-tile:has(input:checked) .qw-ti { background: var(--qw-acc); color: var(--qw-on); }
.qw-tile:has(input:checked) .qw-tk { transform: none; }
.qw-tile:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
@media (hover: hover) { .qw-tile:hover { border-color: color-mix(in srgb, var(--qw-acc) 45%, var(--qw-line)); box-shadow: var(--qw-sh1); } }

/* chips (when, and the extra question) */
.qw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qw-chip { position: relative; display: inline-flex; }
.qw-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--qw-line2); border-radius: 999px; background: var(--qw-card); color: var(--qw-ink); font: 600 14.5px/1.2 var(--qw-body); cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.qw-chip span svg { width: 0; height: 16px; margin-right: 0; stroke-width: 2.6; opacity: 0; }
.qw-chip input:checked + span { background: var(--qw-acc); border-color: var(--qw-acc); color: var(--qw-on); }
.qw-chip input:checked + span svg { width: 16px; margin-right: 6px; opacity: 1; }
.qw-chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
@media (hover: hover) { .qw-chip span:hover { border-color: color-mix(in srgb, var(--qw-acc) 45%, var(--qw-line)); } }
.qw-extra { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; }
.qw-q2 { padding: 0; margin: 0 0 10px; font: 650 15.5px/1.3 var(--qw-body); color: var(--qw-ink); }
.qw-opt { font-weight: 500; color: var(--qw-ink2); }

/* fields */
.qw-field { display: grid; gap: 6px; min-width: 0; }
.qw-field + .qw-field, .qw-field + .qw-row, .qw-row + .qw-hint { margin-top: 12px; }
.qw-row + .qw-hint { margin-top: 8px; }
.qw-field label, .qp-zip label { font: 650 13.5px/1.2 var(--qw-body); color: var(--qw-ink2); }
.qw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; align-items: start; }
.qw-row > .qw-field { margin-top: 0; }
@media (max-width: 560px) { .qw-row { grid-template-columns: 1fr; } }
:is(.qw, .qp) :is(input[type="text"], input:not([type]), input[type="tel"], input[type="email"], input[inputmode], textarea) {
  width: 100%; min-height: 52px; margin: 0; padding: 13px 15px; border: 1.5px solid var(--qw-edge); border-radius: var(--qw-rm); background: var(--qw-card); color: var(--qw-ink); font: 400 16px/1.35 var(--qw-body); -webkit-appearance: none; appearance: none; box-shadow: none; }
:is(.qw, .qp) textarea { min-height: 92px; resize: vertical; }
:is(.qw, .qp) :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--qw-mut) 75%, #fff); }
:is(.qw, .qp) :is(input, textarea):focus { outline: none; border-color: var(--qw-acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--qw-acc) 20%, transparent); }
/* the border and the halo fade in; the ring shows at once, like the tiles, chips and buttons (crew K) */
:is(.qw, .qp) :is(input[type="text"], input:not([type]), input[type="tel"], input[type="email"], input[inputmode], textarea):focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
:is(.qw, .qp) [aria-invalid="true"] { border-color: var(--qw-err) !important; background: color-mix(in srgb, var(--qw-err) 4%, #fff); }
.qw-step[aria-invalid="true"] { background: none; }
.qw-zipbox { position: relative; display: flex; align-items: center; }
.qw-zipbox > svg { position: absolute; left: 15px; width: 22px; height: 22px; color: var(--qw-acc); pointer-events: none; }
.qw-zipbox input { padding-left: 46px !important; }
.qw-zipf .qw-zipbox input { min-height: 60px; font-size: 24px !important; font-weight: 650 !important; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.qw-zipout { display: flex; align-items: flex-start; gap: 7px; min-height: 22px; margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--qw-ink2); }
.qw-zipout.is-ok { color: var(--qw-ink); font-weight: 600; }
.qw-zipout.is-ok::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--qw-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.qw-zipout.is-wait::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--qw-acc) 25%, transparent); border-top-color: var(--qw-acc); animation: qw-spin .8s linear infinite; }
.qw-hint { margin: 0; font-size: 13px; line-height: 1.4; color: var(--qw-ink2); }
.qw-err { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--qw-err); }
.qw-err[hidden] { display: none; }
.qw-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--qw-err); color: #fff; font: 800 11px/1 var(--qw-body); }
.qw-fix { margin: 8px 0 0; padding: 9px 12px; border-radius: var(--qw-rs); background: #FFF6E0; color: #4A3A10; font-size: 13.5px; line-height: 1.4; }
.qw-fix[hidden] { display: none; }
.qw-fix button { padding: 0; margin-left: 4px; border: 0; background: none; color: inherit; font: 700 13.5px var(--qw-body); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.qw-more { margin-top: 12px; }
.qw-more summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; color: var(--qw-acc-deep); font: 650 14px/1.2 var(--qw-body); cursor: pointer; list-style: none; border-radius: 6px; }
.qw-more summary::-webkit-details-marker { display: none; }
.qw-more summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--qw-acc) 12%, transparent); font: 700 15px/1 var(--qw-body); }
.qw-more[open] summary::before { content: "\2212"; }
.qw-more .qw-field { margin-top: 8px; }
.qw-more .qw-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* consent, send */
.qw-consent { display: grid; gap: 8px; margin-top: 14px; padding: 13px 14px; border-radius: var(--qw-rm); background: var(--qw-bg2); }
.qw-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; cursor: pointer; }
.qw-check input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid color-mix(in srgb, var(--qw-ink) 55%, #fff); border-radius: 7px; background: #fff center/14px no-repeat; cursor: pointer; }
.qw-check input:checked { border-color: var(--qw-acc); background-color: var(--qw-acc); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.qw-check input:focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
.qw-check input[aria-invalid="true"] { border-color: var(--qw-err); }
.qw-ct { font-size: 12.5px; line-height: 1.5; color: var(--qw-ink2); }
.qw-who { margin: 0; padding-left: 33px; font-size: 13px; line-height: 1.4; }
.qw-who a { color: var(--qw-acc-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.qw-consent .qw-err { margin: 0; padding-left: 33px; }
.qw .qw-send, .qw .qw-next { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; margin: 0; font-size: 16.5px; font-weight: 700; }
.qw .qw-send { margin-top: 14px; }
.qw-send svg, .qw-next svg { width: 19px; height: 19px; stroke-width: 2.2; }
.qw-send.is-busy { pointer-events: none; }
.qw-send.is-busy svg { display: none; }
.qw-send.is-busy::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--qw-on) 35%, transparent); border-top-color: var(--qw-on); animation: qw-spin .75s linear infinite; }
.qw-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 11px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--qw-ink2); text-align: center; }
.qw-trust svg { width: 15px; height: 15px; color: var(--qw-acc); }
.qw-on .qw-nav { display: grid; justify-items: center; gap: 8px; margin-top: 18px; }
.qw-on[data-at="4"] .qw-nav { display: none; }
.qw-kbd { display: none; font-size: 12px; color: var(--qw-mut); }
.qw-kbd kbd { padding: 2px 6px; border: 1px solid var(--qw-line); border-radius: 6px; background: var(--qw-bg2); font: 600 11px/1.4 var(--qw-body); }
@media (hover: hover) and (pointer: fine) { .qw-kbd { display: block; } }

/* sent */
.qw-done { display: grid; justify-items: center; gap: 6px; padding: 30px 12px 26px; text-align: center; }
.qw-done[hidden] { display: none; }
.qw.is-done .qw-form, .qw.is-done .qw-head { display: none; }
.qw-done-t { margin: 10px 0 0; font: var(--qw-dw) calc(24px * var(--qw-ds))/1.2 var(--qw-disp); color: var(--qw-ink); }
.qw-done-s { margin: 0; font-size: 15px; color: var(--qw-mut); }
.qw-burst { position: relative; display: grid; place-items: center; width: 80px; height: 80px; }
.qw-burst svg { position: relative; width: 100%; height: 100%; }
.qw-burst circle { fill: var(--qw-acc); stroke: none; }
.qw-burst path { fill: none; stroke: var(--qw-on); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.qw-burst i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--qw-acc); opacity: 0; }
.qw-burst--big { width: 96px; height: 96px; }

/* ---------- the pop-up (bottom sheet on phones) ---------- */
html.qw-lock { overflow: hidden; scrollbar-gutter: stable; }
.qw-modal { position: fixed; inset: 0; width: min(580px, calc(100vw - 32px)); max-width: none; height: fit-content; max-height: min(92dvh, 920px); margin: auto; padding: 0; border: 0; border-radius: var(--qw-rx); background: var(--qw-card); color: var(--qw-ink); box-shadow: var(--qw-sh3), 0 0 0 1px rgba(16, 24, 40, .06); overflow: hidden; }
.qw-modal[open] { display: flex; flex-direction: column; }
.qw-modal::backdrop { background: color-mix(in srgb, var(--qw-ink) 48%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qw-sheet { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.qw-x { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--qw-card) 85%, transparent); color: var(--qw-ink); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--qw-line); }
.qw-x:hover { background: var(--qw-bg2); }
.qw-x svg { width: 20px; height: 20px; stroke-width: 2; }
.qw-x:focus-visible, .qw-back:focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
.qw-grab { display: none; }
.qw-modal .qw--modal { background: radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--qw-acc) 12%, transparent), transparent 60%); }
.qw-modal .qw-on .qw-nav { position: sticky; bottom: 0; z-index: 2; margin: 18px -22px -22px; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--qw-card) 72%, color-mix(in srgb, var(--qw-card) 0%, transparent)); }
@media (max-width: 640px) {
  .qw-modal { inset: auto 0 0 0; width: 100%; height: auto; max-height: 94dvh; margin: 0; border-radius: 26px 26px 0 0; }
  .qw-grab { display: grid; place-items: center; position: absolute; top: 0; left: 0; right: 64px; z-index: 2; height: 26px; touch-action: none; cursor: grab; }
  .qw-grab i { width: 42px; height: 5px; margin-left: 64px; border-radius: 99px; background: color-mix(in srgb, var(--qw-ink) 18%, transparent); }
  .qw--modal { padding: 30px 18px calc(18px + env(safe-area-inset-bottom)); }
  .qw-modal .qw-on .qw-nav { margin-inline: -18px; padding-inline: 18px; margin-bottom: calc(-18px - env(safe-area-inset-bottom)); }
}

/* ---------- phone bar and desktop pill ---------- */
.qw-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; visibility: hidden; transform: translateY(calc(100% + 30px)); }
.qw-bar[hidden], .qw-pill[hidden] { display: none; }
.qw-bar.is-up { visibility: visible; transform: none; }
html.qw-bar-on { scroll-padding-bottom: calc(var(--qw-bar-h, 70px) + 26px + env(safe-area-inset-bottom, 0px)); }
.qw-bar-in { display: flex; align-items: center; gap: 12px; padding: 9px 9px 9px 16px; border-radius: 22px; background: color-mix(in srgb, var(--qw-card) 93%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 16px 40px -14px rgba(16, 24, 40, .4), 0 0 0 1px rgba(16, 24, 40, .07); }
.qw-bar-t { flex: 1; min-width: 0; display: grid; gap: 1px; margin: 0; line-height: 1.25; }
.qw-bar-t b { font: 700 14px/1.25 var(--qw-body); color: var(--qw-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qw-bar-t span { font-size: 12px; color: var(--qw-mut); }
.qw-bar .qw-bar-b { flex: none; min-height: 48px; padding-inline: 18px; }
@media (min-width: 761px) { .qw-bar { display: none !important; } }
.qw-pill { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px 14px 18px; border-radius: 999px; background: var(--qw-acc); color: var(--qw-on); font: 700 15px/1 var(--qw-body); text-decoration: none; box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--qw-acc) 85%, #000), 0 2px 6px rgba(16, 24, 40, .14); visibility: hidden; opacity: 0; transform: translateY(18px) scale(.96); overflow: hidden; }
.qw-pill svg { width: 18px; height: 18px; }
.qw-pill.is-up { visibility: visible; opacity: 1; transform: none; }
.qw-pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 3px; }
@media (max-width: 760px) { .qw-pill { display: none !important; } }

/* ---------- in-list card and closing band ---------- */
.qw-cta { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid color-mix(in srgb, var(--qw-acc) 22%, var(--qw-line)); border-radius: var(--qw-rl); background: linear-gradient(135deg, color-mix(in srgb, var(--qw-acc) 10%, var(--qw-card)) 0%, var(--qw-card) 62%); overflow: hidden; isolation: isolate; font-family: var(--qw-body); }
.qw-cta::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--qw-acc)) 45%, transparent), transparent); opacity: .55; }
.qw-cta-art { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--qw-acc); color: var(--qw-on); box-shadow: 0 12px 24px -12px var(--qw-acc); }
.qw-cta-art svg { width: 26px; height: 26px; }
.qw-cta-t { margin: 0; font: var(--qw-dw) calc(clamp(18px, .6vw + 15px, 21px) * var(--qw-ds))/1.25 var(--qw-disp); letter-spacing: -.01em; color: var(--qw-ink); text-wrap: balance; }
.qw-cta-s { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--qw-ink2); }
.qw-qchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qw-qchip { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px 8px 11px; border: 1.5px solid var(--qw-line); border-radius: 999px; background: var(--qw-card); color: var(--qw-ink); font: 600 14px/1.2 var(--qw-body); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.qw-qchip svg { width: 18px; height: 18px; color: var(--qw-acc); }
.qw-qchip--more { padding: 8px 12px 8px 15px; border-color: var(--qw-acc); background: var(--qw-acc); color: var(--qw-on); }
.qw-qchip--more svg { color: inherit; width: 16px; height: 16px; stroke-width: 2.2; }
.qw-qchip:focus-visible { outline: 3px solid color-mix(in srgb, var(--qw-acc) 55%, transparent); outline-offset: 2px; }
@media (hover: hover) { .qw-qchip:hover { border-color: var(--qw-acc); box-shadow: var(--qw-sh1); } .qw-qchip--more:hover { filter: brightness(1.06); } }
@media (max-width: 560px) { .qw-cta { grid-template-columns: 1fr; gap: 12px; padding: 18px; } .qw-cta-art { width: 44px; height: 44px; border-radius: 14px; } }
.qw-cta--how.has-photo { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 20px; padding: 14px 22px 14px 14px; align-items: center; }
.qw-cta-ph { position: relative; height: 100%; min-height: 190px; overflow: hidden; border-radius: calc(var(--qw-rl) - 6px); }
.qw-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qw-cta-steps { display: grid; gap: 9px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: none; }
.qw-cta-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--qw-ink); }
.qw-cta-steps li span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--qw-acc); color: var(--qw-on); font: 700 13px/1 var(--qw-body); box-shadow: 0 0 0 4px color-mix(in srgb, var(--qw-acc) 14%, transparent); }
.qw-cta-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; }
.qw-cta-go span { font-size: 13px; color: var(--qw-mut); }
@media (max-width: 560px) { .qw-cta--how.has-photo { grid-template-columns: 1fr; padding: 12px 12px 18px; } .qw-cta-ph { min-height: 0; aspect-ratio: 16 / 9; } .qw-cta--how .qw-cta-body { padding: 0 6px; } }
.qw-final { position: relative; isolation: isolate; overflow: hidden; display: grid; padding: clamp(28px, 5vw, 64px); border-radius: var(--qw-rx); background: var(--qw-deep); color: #fff; font-family: var(--qw-body); }
.qw-final.has-photo { min-height: 380px; align-content: center; }
.qw-final-ph { position: absolute; inset: 0; z-index: -2; }
.qw-final-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qw-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--qw-acc) 35%, #070B14) 0%, color-mix(in srgb, color-mix(in srgb, var(--qw-acc) 30%, #070B14) 80%, transparent) 48%, color-mix(in srgb, #070B14 15%, transparent) 100%); }
.qw-final-in { display: grid; gap: 14px; max-width: 620px; }
@media (max-width: 700px) { .qw-final::before { background: linear-gradient(180deg, color-mix(in srgb, color-mix(in srgb, var(--qw-acc) 30%, #070B14) 78%, transparent), color-mix(in srgb, var(--qw-acc) 32%, #070B14) 70%); } }
.qw-kick--light { background: rgba(255, 255, 255, .14); color: #fff; }
.qw-final-t { margin: 0; font: var(--qw-dw) calc(clamp(27px, 2.6vw + 14px, 46px) * var(--qw-ds))/1.08 var(--qw-disp); letter-spacing: -.02em; text-wrap: balance; color: #fff; }
.qw-final-s { margin: 0; font-size: clamp(16px, .4vw + 15px, 18px); line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 52ch; }
.qw-final-acts { margin-top: 6px; }
.qw-final .qw-final-b { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: #fff; color: color-mix(in srgb, var(--qw-acc) 80%, #000) !important; font: 750 16.5px/1 var(--qw-body); text-decoration: none; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.qw-final .qw-final-b:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.qw-final-trust { display: grid; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .88); }
.qw-final-trust li { display: flex; gap: 8px; align-items: flex-start; }
.qw-final-trust svg { width: 17px; height: 17px; margin-top: 2px; color: var(--glow, #fff); stroke-width: 2.2; }

/* ---------- motion: once on arrival; nothing at all for reduced motion ---------- */
@keyframes qw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .qw-tile, .qw-chip span, .qw-qchip, .qw-ans, .qw-back, .qw-x { transition: transform var(--qw-d1) var(--qw-ease), border-color var(--qw-d1), background-color var(--qw-d1), color var(--qw-d1), box-shadow var(--qw-d2) var(--qw-ease); }
  .qw-tile:active { transform: scale(.985); }
  .qw-ti { transition: background-color var(--qw-d2), color var(--qw-d2), transform var(--qw-d3) var(--qw-spring); }
  .qw-tile:has(input:checked) .qw-ti { animation: qw-nod 480ms var(--qw-ease); }
  .qw-tk { transition: transform var(--qw-d2) var(--qw-spring); }
  .qw-chip span svg { transition: width var(--qw-d2) var(--qw-ease), margin var(--qw-d2) var(--qw-ease), opacity var(--qw-d2); }
  @media (hover: hover) { .qw-tile:hover, .qw-qchip:hover { transform: translateY(-2px); } }
  :is(.qw, .qp) :is(input, textarea) { transition: border-color var(--qw-d1), box-shadow var(--qw-d2) var(--qw-ease), background-color var(--qw-d1); }
  .qw-check input { transition: background-color var(--qw-d1), border-color var(--qw-d1), transform var(--qw-d2) var(--qw-spring); }
  .qw-check input:checked { animation: qw-pop 360ms var(--qw-spring); }
  .qw-prog b { transition: transform var(--qw-d3) var(--qw-ease); }
  .qw-steps { transition: height var(--qw-d2) var(--qw-ease); }
  .qw-step.is-in { animation: qw-in var(--qw-d2) var(--qw-ease) both; }
  .qw-step.is-in.is-back { animation-name: qw-in-back; }
  .qw-step.is-in :is(.qw-tile, .qw-chip, .qw-field, .qw-consent) { animation: qw-up var(--qw-d3) var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 32ms + 50ms); }
  .qw.is-pre { opacity: 0; transform: translateY(16px); }
  .qw.is-rise { animation: qw-rise 640ms var(--qw-ease) both; }
  .qw.is-rise .qw-tile { animation: qw-up var(--qw-d3) var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 45ms + 160ms); }
  .qw-shake { animation: qw-shake 380ms var(--qw-ease); }
  .qw-done:not([hidden]) .qw-burst circle, .qp-hello .qw-burst circle { transform-origin: center; animation: qw-pop 560ms var(--qw-spring) both; }
  .qw-done:not([hidden]) .qw-burst path, .qp-hello .qw-burst path { animation: qw-draw 460ms 240ms var(--qw-ease) both; }
  .qw-done:not([hidden]) .qw-burst i, .qp-hello .qw-burst i { animation: qw-ring 1100ms 200ms var(--qw-ease) both; }
  .qw-done:not([hidden]) .qw-burst i + i, .qp-hello .qw-burst i + i { animation-delay: 380ms; }
  .qw-done:not([hidden]) :is(.qw-done-t, .qw-done-s) { animation: qw-up 520ms 300ms var(--qw-ease) both; }
  .qw-modal { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity var(--qw-d2) var(--qw-ease), transform var(--qw-d3) var(--qw-ease); }
  .qw-modal.is-open { opacity: 1; transform: none; }
  .qw-modal::backdrop { opacity: 0; transition: opacity var(--qw-d2) var(--qw-ease); }
  .qw-modal.is-open::backdrop { opacity: 1; }
  @media (max-width: 640px) { .qw-modal { opacity: 1; transform: translateY(100%); transition: transform 460ms cubic-bezier(.2, .9, .25, 1); } .qw-modal.is-open { transform: none; } }
  .qw-modal.is-drag { transition: none; }
  .qw-bar { transition: transform 560ms var(--qw-spring), visibility 0s linear 560ms; }
  .qw-bar.is-up { transition: transform 560ms var(--qw-spring), visibility 0s; }
  .qw-pill { transition: opacity var(--qw-d2) var(--qw-ease), transform var(--qw-d3) var(--qw-spring), visibility 0s linear var(--qw-d3), box-shadow var(--qw-d2); }
  .qw-pill.is-up { transition: opacity var(--qw-d2) var(--qw-ease), transform var(--qw-d3) var(--qw-spring), visibility 0s, box-shadow var(--qw-d2); }
  @media (hover: hover) {
    .qw-pill:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px color-mix(in srgb, var(--qw-acc) 90%, #000), 0 2px 6px rgba(16, 24, 40, .14); }
    .qw-pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
    .qw-pill:hover::after { transform: translateX(120%); transition: transform 760ms var(--qw-ease); }
  }
  .qw-cta.is-pre, .qw-final.is-pre { opacity: 0; transform: translateY(18px); }
  .qw-cta.is-rise, .qw-final.is-rise { animation: qw-rise 700ms var(--qw-ease) both; }
  .qw-cta.is-rise :is(.qw-qchip, .qw-cta-steps li) { animation: qw-up 520ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
  .qw-cta.is-rise .qw-cta-img { animation: qw-settle 1.4s var(--qw-ease) both; }
  .qw-final .qw-final-img { animation: qw-pan 26s ease-in-out infinite alternate; }
  .qw-final.is-paused .qw-final-img, .qw-final:not(.is-live) .qw-final-img { animation-play-state: paused; }   /* still until wizard.js marks it on screen (crew K) */
}
@keyframes qw-in { from { opacity: 0; transform: translateX(22px); } }
@keyframes qw-in-back { from { opacity: 0; transform: translateX(-22px); } }
@keyframes qw-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes qw-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes qw-nod { 30% { transform: rotate(-7deg) scale(1.06); } 65% { transform: rotate(4deg); } }
@keyframes qw-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes qw-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes qw-ring { 0% { transform: scale(.85); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes qw-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes qw-pan { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
@keyframes qw-line { from { transform: scaleY(0); } }
@keyframes qw-settle { from { transform: scale(1.08); } }
@keyframes qw-glow { 50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--qw-acc) 7%, transparent); } }
@keyframes qw-dash { from { background-position: 0 0; } to { background-position: 22px 0; } }
@media (prefers-reduced-motion: reduce) {
  :is(.qw, .qw-modal, .qw-bar, .qw-pill, .qw-cta, .qw-final, .qp), :is(.qw, .qw-modal, .qw-bar, .qw-pill, .qw-cta, .qw-final, .qp) *, .qw-modal::backdrop { transition: none !important; animation: none !important; }
  .qw-zipout.is-wait::before { border-top-color: color-mix(in srgb, var(--qw-acc) 25%, transparent); }
}
@media print { .qw-bar, .qw-pill, .qw-modal, .qw-cta { display: none !important; } }
