.ep-wizard {
  --ep-primary: #243672;
  --ep-mid: #44519b;
  --ep-soft: #52629c;
  --ep-pale: #e7edf9;
  --ep-surface: #f7f9ff;
  --ep-line: rgba(68, 81, 155, 0.18);
  --ep-radius: 4px;
  color: var(--ep-primary);
  font-family: inherit;
}

.ep-wizard *,
.ep-wizard *::before,
.ep-wizard *::after { box-sizing: border-box; }

.ep-wizard__progress {
  position: sticky;
  top: calc(var(--header-height, 72px) + .75rem);
  z-index: 20;
  display: grid;
  gap: .55rem;
  margin: 0 0 .95rem;
  padding: .75rem 0;
  background: rgba(247, 249, 255, .96);
  border-bottom: 1px solid var(--ep-line);
  backdrop-filter: blur(10px);
}

.ep-wizard__progress-caption {
  margin: 0;
  color: var(--ep-primary);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.ep-wizard__progress-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}

.ep-wizard__progress-step {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(127, 141, 202, .22);
  transition: background-color .22s ease, height .22s ease;
}

.ep-wizard__progress-step.is-complete { background: rgba(68, 81, 155, .56); }
.ep-wizard__progress-step.is-current { height: 5px; background: var(--ep-primary); }

.ep-wizard__questions { display: grid; gap: .9rem; }

.ep-wizard__question {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(68, 81, 155, .12);
  border-radius: var(--ep-radius);
  background: rgba(255, 255, 255, .78);
  transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.ep-wizard__question::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ep-mid);
  opacity: 0;
  transform: scaleY(.18);
  transform-origin: top;
  transition: opacity .2s ease, transform .24s ease;
}

.ep-wizard__question.is-open {
  border-color: rgba(68, 81, 155, .28);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 30px rgba(19, 29, 62, .05);
}

.ep-wizard__question.is-open::before,
.ep-wizard__question.is-complete:not(.is-open)::before { opacity: 1; transform: scaleY(1); }

.ep-wizard__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.55rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ep-wizard__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--ep-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ep-mid);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.ep-wizard__question-copy { display: grid; gap: .5rem; min-width: 0; }
.ep-wizard__title { font-size: 1.52rem; font-weight: 550; line-height: 1.16; letter-spacing: -.02em; }
.ep-wizard__description,
.ep-wizard__summary { font-size: .92rem; line-height: 1.62; }
.ep-wizard__description { color: var(--ep-soft); }
.ep-wizard__summary { color: var(--ep-mid); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.ep-wizard__question:not(.is-open) .ep-wizard__description,
.ep-wizard__question:not(.is-complete) .ep-wizard__summary,
.ep-wizard__question.is-open .ep-wizard__summary { display: none; }

.ep-wizard__meta { position: relative; width: 1rem; height: 1rem; margin-top: .25rem; }
.ep-wizard__check,
.ep-wizard__chevron { position: absolute; inset: 0; transition: opacity .2s ease, transform .22s ease; }
.ep-wizard__check { opacity: 0; color: var(--ep-mid); font-weight: 700; }
.ep-wizard__chevron::before { content: ""; display: block; width: .55rem; height: .55rem; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.ep-wizard__question.is-open .ep-wizard__chevron { transform: rotate(180deg); }
.ep-wizard__question.is-complete:not(.is-open) .ep-wizard__check { opacity: 1; }
.ep-wizard__question.is-complete:not(.is-open) .ep-wizard__chevron { opacity: 0; }

.ep-wizard__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .24s ease, opacity .2s ease, transform .22s ease;
}

.ep-wizard__panel[hidden] { display: none; }
.ep-wizard__options { display: flex; flex-wrap: wrap; gap: .95rem; padding: 0 1.55rem 1.85rem 5.2rem; }

.ep-wizard__option {
  min-height: 3rem;
  padding: .88rem 1.15rem;
  border: 1px solid var(--ep-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--ep-primary);
  font: inherit;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.ep-wizard__option:hover,
.ep-wizard__option.is-active { border-color: var(--ep-primary); background: rgba(233, 238, 251, .98); }

.ep-wizard__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
}

.ep-wizard__action p,
.ep-wizard__result p { color: var(--ep-soft); font-size: 1rem; font-weight: 300; line-height: 1.75; }

.ep-wizard__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.4rem;
  border: 1px solid var(--ep-primary);
  border-radius: 999px;
  background: var(--ep-primary);
  color: #fff !important;
  font: inherit;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.ep-wizard__button--secondary { background: transparent; color: var(--ep-primary) !important; }

.ep-wizard__result {
  margin-top: 1rem;
  padding: 2rem;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  background: var(--ep-pale);
}

.ep-wizard__result[hidden] { display: none; }
.ep-wizard__kicker { margin: 0 0 1rem; font-size: .72rem !important; font-weight: 500 !important; letter-spacing: .22em; text-transform: uppercase; }
.ep-wizard__result h3 { margin: 0 0 1rem; color: var(--ep-primary); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.ep-wizard__result-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.25rem; }

@media (max-width: 767px) {
  .ep-wizard__progress { top: calc(var(--header-height, 68px) + .45rem); }
  .ep-wizard__progress-track { gap: .38rem; }
  .ep-wizard__toggle { gap: .88rem; padding: 1.05rem 1rem; }
  .ep-wizard__index { width: 2.05rem; min-width: 2.05rem; height: 2.05rem; font-size: .74rem; }
  .ep-wizard__title { font-size: 1.08rem; }
  .ep-wizard__description,
  .ep-wizard__summary { font-size: .84rem; line-height: 1.5; }
  .ep-wizard__options { padding: 0 1rem 1.1rem 3.9rem; }
  .ep-wizard__action { align-items: stretch; flex-direction: column; }
  .ep-wizard__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-wizard *,
  .ep-wizard *::before,
  .ep-wizard *::after { scroll-behavior: auto !important; transition: none !important; }
}


.ep-wizard [hidden]{display:none!important}
.ep-wizard button{font-family:inherit;cursor:pointer}
.ep-wizard button:focus-visible,.ep-wizard a:focus-visible{outline:2px solid #243672;outline-offset:4px}
.ep-wizard__progress{top:calc(var(--ep-header-height,90px) + 12px)}
.ep-home-wizard{background:#f7f9ff!important;padding:100px 0!important}
.ep-home-wizard .ep-home-wizard-row{width:90%!important;max-width:1440px!important;display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,6vw,100px)}
.ep-home-wizard .et_pb_column{width:100%!important;margin:0!important;min-width:0}
.ep-home-wizard .ep-wizard-intro{position:sticky;top:130px}
.ep-home-wizard .ep-wizard-intro .et_pb_module{margin-bottom:24px!important}
.ep-home-wizard h2{color:#243672;font-size:clamp(32px,3.4vw,52px);font-weight:300;line-height:1.1}
.ep-home-wizard .ep-wizard-heading-copy{color:#44519b;font-size:18px;line-height:1.6}
.ep-home-wizard .ep-wizard-kicker{color:#52629c;text-transform:uppercase;letter-spacing:.13em;font-size:12px}
.ep-home-wizard a.et_pb_button.ep-wizard-start{display:inline-flex;border:1px solid #243672!important;border-radius:999px!important;background:#243672!important;color:#fff!important;font:500 .82rem/1.4 Inter,Arial,sans-serif!important;letter-spacing:.05em;text-transform:uppercase;padding:.95rem 1.5rem!important;margin-top:1.9rem!important}
.ep-home-wizard a.ep-wizard-start:after{display:none!important}
.ep-home-wizard a.ep-wizard-start:focus-visible{outline:3px solid #6170b1;outline-offset:5px}
@media(max-width:980px){.ep-home-wizard{padding:64px 0!important}.ep-home-wizard .ep-home-wizard-row{grid-template-columns:1fr}.ep-home-wizard .ep-wizard-intro{position:static}}
@media(prefers-reduced-motion:reduce){.ep-wizard *{transition:none!important;animation:none!important}}

/* Explain the automatic question change before the visitor starts. */
.ep-wizard .ep-wizard__instructions{margin:0 0 1rem;padding:0;color:var(--ep-primary,#243672);font-size:.9rem;line-height:1.65}
