.wizard-page {
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 6vw, 72px) clamp(16px, 6vw, 80px);
  display: grid;
  gap: 24px;
  align-content: start;
}

.wizard-intro {
  max-width: 760px;
}

.wizard-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.wizard-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.wizard-simple-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 18px 42px rgba(38, 49, 40, .08);
}

.wizard-simple-card-embedded {
  max-width: 980px;
}

.wizard-steps-wrap {
  position: relative;
  overflow: clip;
  transition: height 220ms ease;
}

.wizard-simple-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--olive);
  font-weight: 900;
}

.wizard-simple-progress span {
  font-size: 28px;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-step.is-animating {
  display: block;
}

.wizard-step.enter-forward,
.wizard-step.enter-backward,
.wizard-step.exit-forward,
.wizard-step.exit-backward {
  will-change: transform, opacity;
}

.wizard-step.enter-forward {
  animation: wizardEnterForward 220ms ease both;
}

.wizard-step.enter-backward {
  animation: wizardEnterBackward 220ms ease both;
}

.wizard-step.exit-forward {
  animation: wizardExitForward 220ms ease both;
}

.wizard-step.exit-backward {
  animation: wizardExitBackward 220ms ease both;
}

.wizard-field {
  display: grid;
  gap: 10px;
}

.wizard-field span,
.wizard-duration legend {
  font-size: 14px;
  font-weight: 850;
  color: var(--ink);
}

.wizard-field input,
.wizard-field select,
.wizard-field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #cbd8bf;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
}

.wizard-field textarea {
  min-height: 180px;
  resize: vertical;
}

.wizard-recommendation {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff8da;
  border: 1px solid #efdfa0;
  color: #5a4d13;
  font-weight: 700;
}

.wizard-recommendation.is-flash {
  animation: wizardHighlight 260ms ease;
}

.wizard-duration {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.wizard-duration label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.wizard-duration input {
  width: auto;
}

.wizard-simple-nav {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

@keyframes wizardEnterForward {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes wizardEnterBackward {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes wizardExitForward {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-18px); }
}

@keyframes wizardExitBackward {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(18px); }
}

@keyframes wizardHighlight {
  0% { box-shadow: 0 0 0 0 rgba(243, 201, 74, 0); }
  40% { box-shadow: 0 0 0 8px rgba(243, 201, 74, .22); }
  100% { box-shadow: 0 0 0 0 rgba(243, 201, 74, 0); }
}

@media (max-width: 620px) {
  .wizard-simple-nav {
    flex-direction: column;
  }

  .wizard-simple-nav button {
    width: 100%;
  }
}
