/* Quote pages (crew B): /get-quotes, /thanks, /who-may-reply. Loaded only on those pages; tokens, inputs, the
   kicker and the check burst come from wizard.css. */
.qp { padding-block: clamp(22px, 4vw, 56px) clamp(40px, 6vw, 88px); background: radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--qw-acc) 10%, transparent), transparent 70%), radial-gradient(60% 40% at 0% 20%, color-mix(in srgb, var(--accent-2, var(--qw-acc)) 7%, transparent), transparent 70%); font-family: var(--qw-body); color: var(--qw-ink); }
.qp-wrap { display: grid; gap: 26px; max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 28px); }
.qp-narrow { max-width: 780px; }
.qp-head { display: grid; gap: 12px; }
.qp-h1 { margin: 0; font: var(--qw-dw) calc(clamp(30px, 3vw + 16px, 54px) * var(--qw-ds))/1.12 var(--qw-disp); letter-spacing: -.025em; color: var(--qw-ink); text-wrap: balance; overflow-wrap: anywhere; }
.qp-lede { margin: 0; max-width: 58ch; font-size: clamp(16px, .5vw + 14.5px, 19px); line-height: 1.55; color: var(--qw-ink2); overflow-wrap: anywhere; }
.qp-h2 { margin: 0 0 14px; font: var(--qw-dw) calc(clamp(20px, .8vw + 16px, 26px) * var(--qw-ds))/1.2 var(--qw-disp); letter-spacing: -.015em; color: var(--qw-ink); }
.qp-sub { margin: -6px 0 14px; color: var(--qw-ink2); }
.qp-flag { margin: 0; padding: 9px 13px; border-radius: var(--qw-rs); background: #FFF4CC; color: #5C4400; font-size: 13.5px; font-weight: 600; }
.qp--get .qp-wrap { grid-template-areas: "a" "form" "b"; }
.qp-a { grid-area: a; display: grid; gap: 18px; }
.qp-form { grid-area: form; min-width: 0; }
.qp-b { grid-area: b; display: grid; gap: 22px; align-content: start; }
@media (min-width: 980px) {
  .qp--get .qp-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-rows: auto 1fr; grid-template-areas: "a form" "b form"; column-gap: clamp(40px, 5vw, 72px); row-gap: 34px; align-items: start; }
  .qp--get .qp-form { position: sticky; top: 24px; }
}
.qp-biz { display: flex; gap: 12px; align-items: center; justify-self: start; padding: 12px 16px 12px 12px; border: 1px solid var(--qw-line); border-radius: var(--qw-rl); background: var(--qw-card); box-shadow: var(--qw-sh1); }
.qp-biz > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--qw-acc) 10%, transparent); color: var(--qw-acc); }
.qp-biz { max-width: 100%; }
.qp-biz > div { min-width: 0; }
.qp-biz b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.qp-biz span { display: block; font-size: 14px; color: var(--qw-mut); }
.qp-steps { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.qp-steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.qp-steps li:last-child { padding-bottom: 0; }
.qp-steps li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--qw-acc), color-mix(in srgb, var(--qw-acc) 25%, transparent)); transform-origin: top; }
.qp-si { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--qw-card); color: var(--qw-acc); box-shadow: var(--qw-sh1), 0 0 0 1px var(--qw-line); }
.qp-si svg { width: 24px; height: 24px; }
.qp-st { display: grid; gap: 3px; padding-top: 3px; }
.qp-st b { font-size: 16.5px; color: var(--qw-ink); }
.qp-st span { font-size: 15px; line-height: 1.5; color: var(--qw-ink2); }
.qp-trust { display: grid; gap: 9px; margin: 0; padding: 16px 18px; list-style: none; border-radius: var(--qw-rl); background: color-mix(in srgb, var(--qw-card) 70%, transparent); box-shadow: 0 0 0 1px var(--qw-line); }
.qp-trust li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--qw-ink2); }
.qp-trust svg { width: 18px; height: 18px; margin-top: 1px; color: var(--qw-acc); stroke-width: 2.2; }
.qp-ph { display: none; margin: 0; overflow: hidden; border-radius: var(--qw-rl); aspect-ratio: 16 / 10; box-shadow: var(--qw-sh2); }
@media (min-width: 980px) { .qp-ph { display: block; } }
.qp-img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* thanks */
.qp-hello { display: grid; justify-items: center; gap: 16px; text-align: center; }
.qp-hello .qp-head { justify-items: center; }
.qp-hello .qp-lede { margin-inline: auto; }
.qp-sent { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qp-sent[hidden] { display: none; }
.qp-sent span { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--qw-acc) 9%, transparent); font-size: 13.5px; font-weight: 600; color: var(--qw-ink); }
.qp-mail { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--qw-rl); background: var(--qw-wash); border: 1px solid color-mix(in srgb, var(--qw-acc) 28%, transparent); }
.qp-mail > svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--qw-acc); color: var(--qw-on); }
.qp-mail b { font-size: 17px; }
.qp-mail p { margin: 4px 0 0; color: var(--qw-ink2); }
.qp-mail [data-qw-mailto] b { font-size: inherit; color: var(--qw-ink); overflow-wrap: anywhere; }
.qp-next { padding: clamp(20px, 3vw, 28px); border-radius: var(--qw-rx); background: var(--qw-card); box-shadow: var(--qw-sh2), 0 0 0 1px var(--qw-line); }
.qp-tl { display: grid; margin: 0; padding: 0; list-style: none; }
.qp-tl li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.qp-tl li:last-child { padding-bottom: 0; }
.qp-tl li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--qw-line); transform-origin: top; }
.qp-tl li.is-done:not(:last-child)::before { background: var(--qw-acc); }
.qp-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--qw-line); background: var(--qw-card); color: var(--qw-acc); }
.qp-dot svg { width: 17px; height: 17px; stroke-width: 2.4; }
.qp-tl .is-next .qp-dot { color: var(--qw-mut); }
.qp-tl .is-next .qp-dot svg { width: 16px; height: 16px; stroke-width: 1.9; }
.qp-tl .is-done .qp-dot { border-color: var(--qw-acc); background: var(--qw-acc); color: var(--qw-on); }
.qp-tl .is-now .qp-dot { border-color: var(--qw-acc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--qw-acc) 14%, transparent); }
.qp-tl b { display: block; padding-top: 6px; font-size: 16px; color: var(--qw-ink); }
.qp-tl p { margin: 3px 0 0; font-size: 15px; line-height: 1.5; color: var(--qw-ink2); }
.qp-tl a, .qp-more a:not(.btn), .qp-note a { color: var(--qw-acc-ink); font-weight: 600; }
.qp-near .list { display: grid; gap: 12px; }
.qp-more { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; }
/* who may reply */
.qp-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.qp-flow span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 10px; border-radius: 999px; background: var(--qw-card); box-shadow: 0 0 0 1px var(--qw-line); font-size: 14px; font-weight: 650; }
.qp-flow span svg { width: 17px; height: 17px; color: var(--qw-acc); }
.qp-flow i { flex: 0 1 46px; min-width: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--qw-acc) 0 6px, transparent 6px 11px); }
@media (max-width: 520px) { .qp-flow { flex-wrap: nowrap; gap: 5px; } .qp-flow span { padding: 7px 10px 7px 8px; font-size: 13px; white-space: nowrap; } .qp-flow span svg { width: 15px; height: 15px; } }
.qp-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.qp-names li { display: flex; gap: 10px; align-items: center; padding: 13px 15px; border-radius: var(--qw-rm); background: var(--qw-card); box-shadow: 0 0 0 1px var(--qw-line); font-weight: 600; }
.qp-names li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--qw-acc); color: var(--qw-on); stroke-width: 3; }
.qp-names a { color: var(--qw-ink); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.qp-names a:hover { color: var(--qw-acc-ink); text-decoration: underline; }
.qp-empty { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--qw-rl); background: var(--qw-card); box-shadow: 0 0 0 1px var(--qw-line); color: var(--qw-ink2); }
.qp-empty svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--qw-bg2); color: var(--qw-acc); }
.qp-empty p { margin: 0; }
.qp-note { margin: 0; font-size: 14px; color: var(--qw-mut); }
.qp-zip { display: grid; gap: 8px; max-width: 480px; }
.qp-zip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.qp-zip-row .qw-zipbox { flex: 1 1 200px; }
.qp-zip-row .btn { min-height: 52px; }

@media (prefers-reduced-motion: no-preference) {
  .qp-ph.is-paused .qp-img { animation-play-state: paused; }
  .qp-ph .qp-img { animation: qw-pan 24s ease-in-out infinite alternate; }
  /* the pan runs only once wizard.js has marked the photo "is-live" (on screen): with JavaScript off nothing could
     pause it, so it holds its first frame (crew K) */
  .qp-ph:not(.is-live) .qp-img { animation-play-state: paused; }
  .qp-steps li { animation: qw-up 600ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 140ms + 120ms); }
  .qp-steps li:not(:last-child)::before { animation: qw-line 700ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 140ms + 380ms); }
  /* the heading and the email box are the largest text on the page: they paint at once, half lit (crew K, LCP) */
  .qp-hello .qp-head, .qp-mail { animation: qw-up-lit 640ms 260ms var(--qw-ease) both; }
  .qp-tl li { animation: qw-up 560ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 160ms + 520ms); }
  .qp-tl li:not(:last-child)::before { animation: qw-line 600ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 160ms + 760ms); }
  .qp-tl .is-now .qp-dot { animation: qw-glow 1.8s 1.2s ease-in-out 3; }
  .qp-names li { animation: qw-up 480ms var(--qw-ease) both; animation-delay: calc(var(--i, 0) * 40ms + 200ms); }
  .qp-flow i { background-size: 22px 2px; animation: qw-dash 1.2s linear 2; }
}
@keyframes qw-up-lit { from { opacity: .5; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .qp, .qp * { transition: none !important; animation: none !important; } }
