.team-wizard-section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
  scroll-margin-top: 92px;
  overflow: clip;
  background:
    radial-gradient(ellipse at 83% 8%, color-mix(in srgb, var(--tea-rose-200) 28%, transparent), transparent 35%),
    var(--surface-sunken);
}
[data-theme="dark"] .team-wizard-section {
  background:
    radial-gradient(ellipse at 83% 8%, color-mix(in srgb, var(--vista-blue-900) 38%, transparent), transparent 38%),
    var(--surface-sunken);
}
.wizard-wrap { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 7vw, 94px); align-items: start; }
.wizard-intro { position: sticky; top: 28px; padding-top: 22px; }
.wizard-intro h2 { margin: 0 0 18px; font-size: clamp(38px, 4.2vw, 54px); line-height: 1.02; }
.wizard-intro h2 em { color: var(--primary-text); font-style: normal; }
.wizard-intro > p:last-child { max-width: 360px; color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.wizard-nojs { grid-column: 2; padding: 24px; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-raised); }
.wizard-nojs p { color: var(--text-secondary); line-height: 1.6; }
.team-wizard { min-width: 0; }
.team-wizard { scroll-margin-top: 100px; }
.team-wizard button:focus-visible, .wizard-dialog button:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring); outline-offset: 3px; }
.wizard-shell { overflow: hidden; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-md); }
.wizard-shell-top { min-height: 60px; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border-subtle); }
.wizard-shell-top > div { display: flex; align-items: baseline; gap: 16px; }
.wizard-kicker { color: var(--primary-text); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.wizard-step-caption { color: var(--text-secondary); font-size: 12px; }
.wizard-reset-link, .wizard-edit-link { padding: 7px 0; border: 0; color: var(--text-link); background: transparent; font: 600 13px/1.4 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wizard-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 18px 26px 19px; border-bottom: 1px solid var(--border-subtle); list-style: none; }
.wizard-progress li { position: relative; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 12px; }
.wizard-progress li::after { content: ""; position: absolute; left: 0; right: 15px; bottom: -20px; height: 2px; background: transparent; }
.wizard-progress li > span:first-child { width: 25px; height: 25px; display: grid; flex: 0 0 25px; place-items: center; border: 1px solid var(--border-default); border-radius: 50%; font-size: 10px; font-weight: 700; }
.wizard-progress li[aria-current="step"] { color: var(--primary-text); font-weight: 600; }
.wizard-progress li[aria-current="step"] > span:first-child, .wizard-progress li.is-complete > span:first-child { border-color: var(--primary); color: var(--on-primary); background: var(--primary); }
.wizard-progress li[aria-current="step"]::after { background: var(--primary); }
.wizard-alert { margin: 18px 26px 0; padding: 12px 14px; border: 1px solid var(--danger); border-radius: var(--radius-sm); color: var(--danger); background: var(--danger-subtle); font-size: 14px; line-height: 1.5; }
.wizard-stage { min-height: 350px; padding: clamp(23px, 3vw, 34px) clamp(20px, 3vw, 34px) 30px; }
.wizard-config-state { min-height: 290px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.wizard-config-state h3 { margin: 0 0 9px; font-size: clamp(27px, 3vw, 35px); }
.wizard-config-state > p:not(.eyebrow) { max-width: 470px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.config-loading-mark { width: 34px; height: 34px; margin-bottom: 18px; border: 1px solid var(--border-default); border-radius: 50%; position: relative; }
.config-loading-mark::before, .config-loading-mark::after { content: ""; position: absolute; inset: 7px -4px; border: 1px solid var(--primary); border-radius: 50%; transform: rotate(35deg); }
.config-loading-mark::after { inset: 11px -8px; border-color: var(--vista-blue-500); transform: rotate(-35deg); }
.config-skeleton { width: 100%; max-width: 390px; display: grid; gap: 9px; margin-top: 25px; }
.config-skeleton i { height: 11px; display: block; border-radius: var(--radius-pill); background: var(--surface-sunken); animation: config-shimmer 1.2s ease-in-out infinite alternate; }
.config-skeleton i:nth-child(1) { width: 100%; }.config-skeleton i:nth-child(2) { width: 78%; }.config-skeleton i:nth-child(3) { width: 55%; }
.config-error .result-actions { margin-top: 22px; }
@keyframes config-shimmer { to { opacity: .45; } }
.wizard-page-heading { margin-bottom: 24px; }
.wizard-page-heading .eyebrow { margin-bottom: 10px; font-size: 10px; }
.wizard-page-heading h3 { margin: 0 0 7px; font-size: clamp(28px, 3vw, 35px); line-height: 1.1; }
.wizard-page-heading p:last-child { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.wizard-field-label { display: block; margin: 0 0 8px; color: var(--text-primary); font-size: 14px; font-weight: 600; }
.wizard-field-hint { display: block; margin-top: 7px; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.wizard-input, .wizard-search { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-primary); background: var(--surface-raised); font: 16px/1.4 var(--font-sans); }
.wizard-input:focus, .wizard-search:focus { outline: var(--focus-ring-width) solid var(--focus-ring); outline-offset: 2px; }
.wizard-input[aria-invalid="true"] { border-color: var(--danger); }
.wizard-context { min-height: 160px; resize: vertical; }
.review-card p, .draft-context { white-space: pre-wrap; }
.industry-combobox { position: relative; }
.industry-options { position: absolute; z-index: 5; top: calc(100% + 5px); left: 0; right: 0; max-height: 270px; overflow: auto; padding: 5px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: var(--shadow-md); }
.industry-option { width: 100%; min-height: 42px; padding: 9px 11px; border: 0; border-radius: 4px; color: var(--text-primary); background: transparent; text-align: left; font: 14px/1.4 var(--font-sans); cursor: pointer; }
.industry-option:hover, .industry-option[aria-selected="true"] { background: var(--ghost-hover); }
.wizard-group { margin-top: 23px; }
.wizard-group:first-of-type { margin-top: 0; }
.wizard-group-title { margin: 0 0 12px; color: var(--primary-text); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.service-option { min-height: 98px; position: relative; display: flex; gap: 12px; padding: 15px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-page); cursor: pointer; transition: transform .18s ease; }
.service-option:hover { border-color: var(--primary); transform: translateY(-1px); }
.service-option[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-subtle); }
.service-option-mark { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border: 1px solid var(--border-default); border-radius: 8px; color: var(--primary-text); font-size: 12px; font-weight: 600; }
.service-option[aria-pressed="true"] .service-option-mark { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.service-option-copy strong { display: block; margin: 1px 15px 4px 0; color: var(--text-primary); font-size: 14px; line-height: 1.3; }
.service-option-copy small { display: block; color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
.service-option-check { position: absolute; top: 9px; right: 10px; color: var(--primary-text); font-size: 13px; }
.wizard-helper { margin: 16px 0 0; padding-left: 13px; border-left: 2px solid var(--accent); color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.product-search-wrap { position: relative; margin-bottom: 16px; }
.product-search-wrap::before { content: "⌕"; position: absolute; left: 13px; top: 7px; color: var(--text-secondary); font-size: 23px; }
.wizard-search { padding-left: 40px; }
.product-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-chip { min-height: 39px; padding: 8px 12px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); color: var(--text-primary); background: var(--surface-page); font: 13px/1.25 var(--font-sans); cursor: pointer; transition: transform .16s ease; }
.product-chip:hover { border-color: var(--primary); transform: translateY(-1px); }
.product-chip[aria-pressed="true"] { border-color: var(--primary); color: var(--on-primary); background: var(--primary); }
.product-chip-none { border-style: dashed; }
.other-product-input { max-width: 360px; margin-top: 12px; }
.wizard-review { display: grid; gap: 12px; }
.review-card { position: relative; padding: 17px 19px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-page); }
.review-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 9px; }
.review-card-heading h4 { margin: 0; color: var(--primary-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.review-card p { margin: 0; color: var(--text-primary); font-size: 14px; line-height: 1.6; }
.wizard-controls { min-height: 76px; padding: 13px 26px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--border-subtle); }
.wizard-controls[hidden] { display: none; }
.wizard-back { min-height: 44px; padding: 0 12px; border: 0; color: var(--text-link); background: transparent; font: 600 14px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wizard-continue { margin-left: auto; min-height: 46px; border: 0; cursor: pointer; white-space: nowrap; }
.wizard-continue:disabled { color: var(--on-primary-disabled); background: var(--primary-disabled); cursor: not-allowed; }
.wizard-result { padding: clamp(22px, 3vw, 34px); }
.result-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.result-heading h3 { margin: 0 0 7px; font-size: clamp(30px, 3vw, 38px); }
.result-heading p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.result-badge { flex: 0 0 auto; padding: 8px 10px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); color: var(--primary-text); font-size: 11px; font-weight: 600; }
.wizard-gate { display: grid; gap: 16px; min-width: 0; margin-top: 26px; }
.review-card, .wizard-result { overflow-wrap: anywhere; }
.wizard-gate h4 { margin: 0; color: var(--text-primary); font: 400 21px/1.25 var(--font-display); }
.wizard-gate > .pricing-proposal-heading,
.wizard-gate > h4 + .pricing-proposal-heading { margin-top: 5px; }
.team-placeholders { min-height: 105px; display: flex; align-items: center; gap: clamp(16px, 4vw, 34px); padding: 18px 22px; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-page); }
.team-placeholder { width: 72px; height: 72px; display: block; flex: 0 0 72px; border-radius: 50%; background: var(--surface-cool) url("/assets/team-preview/profile-1.jpg?v=161109b8fe473f2f") center / cover no-repeat; filter: blur(3px); }
.team-placeholder:nth-child(2) { background-image: url("/assets/team-preview/profile-2.jpg?v=f96371f0d00d257a"); }
.team-placeholder:nth-child(3) { background-image: url("/assets/team-preview/profile-3.jpg?v=2e3c1e5efa357d0e"); }
.quote-placeholder { width: 100%; max-width: 420px; min-height: 93px; display: grid; align-content: center; gap: 10px; padding: 18px 20px; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-page); filter: blur(4px); opacity: .8; }
.quote-placeholder i { display: block; height: 8px; border-radius: var(--radius-pill); background: var(--vista-blue-300); }
.quote-placeholder i:nth-child(1) { width: 86%; }
.quote-placeholder i:nth-child(2) { width: 68%; background: var(--tea-rose-300); }
.quote-placeholder i:nth-child(3) { width: 42%; }
.wizard-gate .gate-explanation { max-width: 570px; margin: 0; color: var(--text-primary); font-size: 14px; line-height: 1.65; }
.wizard-gate .gate-disclaimer { max-width: 570px; margin: -7px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.wizard-gate .result-actions { margin-top: 5px; }
.wizard-gate .result-actions [data-reveal] { min-height: 46px; padding-inline: 17px; border: 0; cursor: pointer; }
.pricing-truth { margin: 0; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-primary); background: var(--surface-cool); font-size: 13px; font-weight: 600; line-height: 1.5; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.result-actions .button { border: 0; cursor: pointer; }
.result-disclaimer { margin: 14px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.wizard-result { min-width: 0; }
.wizard-result .revealed-summary { margin-top: 17px; padding: 17px 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-page); }
.wizard-result .revealed-summary h4 { margin: 0 0 9px; color: var(--primary-text); font: 400 19px/1.3 var(--font-display); }
.wizard-result .revealed-summary p { margin: 5px 0; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.wizard-result .team-pending,
.wizard-result .team-pending-section,
.wizard-result .team-pending-state { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-page); }
.wizard-result .team-pending h4,
.wizard-result .team-pending-section h4,
.wizard-result .team-pending-state h4 { margin: 0 0 6px; color: var(--text-primary); font: 400 18px/1.3 var(--font-display); }
.wizard-result .team-pending p,
.wizard-result .team-pending-section p,
.wizard-result .team-pending-state p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.wizard-result .draft-work-list { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.wizard-result .draft-work-list li { position: relative; padding: 11px 0 11px 20px; border-top: 1px solid var(--border-subtle); color: var(--text-primary); font-size: 13px; line-height: 1.5; }
.wizard-result .draft-work-list li::before { content: ""; position: absolute; top: 17px; left: 1px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.wizard-result .result-actions { margin-top: 20px; }
.wizard-dialog { width: min(640px, calc(100% - 28px)); max-width: 640px; max-height: min(92dvh, 900px); padding: 0; overflow: auto; border: 1px solid var(--border-default); border-radius: var(--radius-lg); color: var(--text-primary); background: var(--surface-raised); box-shadow: var(--shadow-lg); }
.wizard-dialog::backdrop { background: var(--surface-overlay); backdrop-filter: blur(3px); }
.dialog-content { padding: clamp(22px, 4vw, 36px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-heading h2 { margin: 0 0 7px; font-size: clamp(28px, 4vw, 37px); line-height: 1.06; }
.dialog-heading p { max-width: 460px; margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.dialog-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--border-default); border-radius: 50%; color: var(--text-primary); background: var(--surface-page); font-size: 21px; cursor: pointer; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.lead-field { min-width: 0; }
.lead-field-wide { grid-column: 1 / -1; }
.lead-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.lead-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-primary); background: var(--surface-raised); font: 16px/1.4 var(--font-sans); }
.lead-field input:focus { outline: var(--focus-ring-width) solid var(--focus-ring); outline-offset: 2px; }
.lead-field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 18px; margin-top: 4px; color: var(--danger); font-size: 12px; line-height: 1.4; }
.field-help { display: block; margin-top: 5px; color: var(--text-secondary); font-size: 11px; line-height: 1.4; }
.consent-check { display: flex; gap: 11px; align-items: flex-start; margin: 19px 0 8px; color: var(--text-secondary); font-size: 13px; line-height: 1.55; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--primary); }
.dialog-error { margin: 12px 0; padding: 11px 13px; border: 1px solid var(--danger); border-radius: var(--radius-sm); color: var(--danger); background: var(--danger-subtle); font-size: 13px; line-height: 1.5; }
.dialog-actions { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.dialog-actions button { min-height: 48px; border: 0; cursor: pointer; }
.dialog-actions button:disabled { opacity: .65; cursor: wait; }
.dialog-footnote { margin: 14px 0 0; color: var(--text-secondary); font-size: 11px; line-height: 1.5; }
.accepted-message { margin: 13px 0; padding: 12px 14px; border: 1px solid var(--success); border-radius: var(--radius-sm); color: var(--success); background: var(--success-subtle); font-size: 13px; line-height: 1.5; }
/* Short, nonbinding preparation interlude between Context and Review. */
.wizard-match-dialog {
  width: min(520px, calc(100% - 28px));
  max-width: 520px;
  max-height: min(90dvh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--vista-blue-100) 70%, transparent), transparent 55%),
    var(--surface-raised);
  box-shadow: var(--shadow-lg);
}
.wizard-match-dialog::backdrop { background: var(--surface-overlay); backdrop-filter: blur(4px); }
.wizard-match-dialog[open] { animation: match-dialog-in .28s cubic-bezier(.2,.75,.25,1) both; }
.wizard-match-dialog .match-visual {
  width: 112px;
  height: 112px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 30px auto 22px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--myrtle-100) 72%, transparent), transparent 70%);
}
.wizard-match-dialog .match-visual::before,
.wizard-match-dialog .match-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in srgb, var(--vista-blue-500) 60%, transparent);
  border-radius: 50%;
  transform: rotate(-28deg) scaleY(.45);
}
.wizard-match-dialog .match-visual::after {
  inset: 3px;
  border-color: color-mix(in srgb, var(--tea-rose-400) 68%, transparent);
  transform: rotate(34deg) scaleY(.43);
}
.wizard-match-dialog .match-orbit {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 2px solid var(--surface-raised);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent);
  animation: match-orbit 5.8s linear infinite;
}
.wizard-match-dialog .match-orbit:nth-child(1) { top: 10px; left: 28px; }
.wizard-match-dialog .match-orbit:nth-child(2) { right: 8px; top: 51px; animation-delay: -1.9s; background: var(--vista-blue-500); }
.wizard-match-dialog .match-orbit:nth-child(3) { bottom: 12px; left: 24px; animation-delay: -3.8s; background: var(--tea-rose-500); }
.wizard-match-dialog .match-core {
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 38%, var(--border-default));
  border-radius: 50%;
  color: var(--primary-text);
  background: color-mix(in srgb, var(--surface-raised) 86%, var(--myrtle-100));
  box-shadow: var(--shadow-sm);
  font: 600 15px/1 var(--font-sans);
  letter-spacing: .06em;
}
.wizard-match-dialog .match-content { padding: 0 clamp(22px, 6vw, 48px) 30px; }
.wizard-match-dialog .eyebrow {
  margin: 0 0 8px;
  color: var(--primary-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.wizard-match-dialog h2#match-title {
  margin: 0;
  font: 400 clamp(29px, 5vw, 37px)/1.08 var(--font-display);
  letter-spacing: -.015em;
  text-align: center;
}
.wizard-match-dialog .match-description {
  max-width: 390px;
  margin: 11px auto 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.wizard-match-dialog .match-checklist {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wizard-match-dialog .match-checklist li {
  min-height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
  transition: color .2s ease, background-color .2s ease;
}
.wizard-match-dialog .match-checklist li:last-child { border-bottom: 1px solid var(--border-subtle); }
.wizard-match-dialog .match-step-mark {
  width: 20px;
  height: 20px;
  position: relative;
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--surface-raised);
}
.wizard-match-dialog .match-checklist li[data-status="active"] {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--primary-subtle) 45%, transparent);
}
.wizard-match-dialog .match-checklist li[data-status="active"] .match-step-mark {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.wizard-match-dialog .match-checklist li[data-status="active"] .match-step-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: match-pulse 1.5s ease-in-out infinite;
}
.wizard-match-dialog .match-checklist li[data-status="complete"] { color: var(--text-primary); }
.wizard-match-dialog .match-checklist li[data-status="complete"] .match-step-mark {
  border-color: var(--success);
  color: var(--on-primary);
  background: var(--success);
}
.wizard-match-dialog .match-checklist li[data-status="complete"] .match-step-mark::after {
  content: "";
  width: 8px;
  height: 4px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}
.wizard-match-dialog .match-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--primary-text);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
@keyframes match-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes match-orbit { to { transform: rotate(332deg); } }
@keyframes match-pulse { 50% { opacity: .4; transform: scale(.72); } }
@media (max-width: 900px) {
  .wizard-wrap { grid-template-columns: 1fr; gap: 20px; }
  .wizard-intro { position: static; padding-top: 0; }
  .wizard-intro h2 br { display: none; }
  .wizard-intro > p:last-child { max-width: 560px; margin-bottom: 0; }
  .wizard-nojs { grid-column: 1; }
}
@media (max-width: 767px) {
  .team-wizard-section { padding-block: 62px; scroll-margin-top: 82px; }
  .team-wizard { scroll-margin-top: 180px; }
  .wizard-wrap { gap: 28px; }
  .wizard-intro h2 { font-size: 39px; }
  .wizard-shell { border-radius: 14px; }
  .wizard-shell-top { padding: 13px 16px; }
  .wizard-shell-top > div { gap: 10px; flex-wrap: wrap; }
  .wizard-progress { padding: 15px 12px 17px; }
  .wizard-progress li { justify-content: center; flex-direction: column; gap: 5px; font-size: 10px; }
  .wizard-progress li > span:first-child { width: 23px; height: 23px; flex-basis: 23px; }
  .wizard-progress li::after { bottom: -18px; }
  .wizard-stage { min-height: 300px; padding: 23px 17px; }
  .service-options { grid-template-columns: 1fr; }
  .service-option { min-height: 84px; }
  .wizard-controls { min-height: 70px; padding: 12px 15px; gap: 9px; }
  .wizard-continue { min-height: 46px; padding-inline: 13px; font-size: 13px; }
  .wizard-alert { margin-inline: 15px; }
  .result-heading { display: block; }
  .result-badge { display: inline-flex; margin-top: 13px; }
  .team-placeholders { justify-content: space-around; gap: 10px; padding: 15px 12px; }
  .team-placeholder { width: 56px; height: 56px; flex-basis: 56px; }
  .quote-placeholder { padding: 15px; }
  .wizard-gate .result-actions { align-items: stretch; }
  .wizard-gate .result-actions [data-reveal] { max-width: 100%; white-space: normal; }
  .wizard-result .result-actions { align-items: stretch; }
  .wizard-result .result-actions .button { max-width: 100%; white-space: normal; }
  .lead-fields { grid-template-columns: 1fr; gap: 10px; }
  .lead-field-wide { grid-column: auto; }
  .wizard-match-dialog { width: min(480px, calc(100% - 24px)); }
  .wizard-match-dialog .match-visual { margin-top: 24px; }
  .wizard-match-dialog .match-content { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .config-skeleton i { animation: none; opacity: .7; }
  .service-option, .product-chip { transition: none; }
  .wizard-match-dialog[open], .wizard-match-dialog .match-orbit,
  .wizard-match-dialog .match-checklist li[data-status="active"] .match-step-mark::after { animation: none; }
  .wizard-match-dialog .match-checklist li { transition: none; }
}
