.discover-body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgb(251 55 101 / 9%), transparent 24rem),
    radial-gradient(circle at 22% 82%, rgb(95 39 232 / 8%), transparent 28rem),
    linear-gradient(105deg, #fbfbff 0%, #fbfbff 48%, #fff4f8 100%);
  color: #101633;
}

.discover-body::before {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(107 46 224 / 8%);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.discover-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.discover {
  display: grid;
  width: 100%;
  min-height: 100dvh;
  grid-template-rows: 74px 42px minmax(0, 1fr) 52px;
}

.discover-header {
  display: flex;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.discover-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101633;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.discover-brand img { width: 34px; height: 34px; object-fit: contain; }

.discover-exit {
  border-radius: 999px;
  padding: 8px 13px;
  color: #646c87;
  font-size: 13px;
  font-weight: 700;
  transition: background .16s ease, color .16s ease;
}

.discover-exit:hover { background: rgb(255 255 255 / 75%); color: #5420ce; }

.discover-progress {
  display: grid;
  width: min(100% - 40px, 520px);
  margin-inline: auto;
  grid-template-columns: 32px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.discover-progress[hidden] { display: none; }

.discover-progress button {
  display: grid;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3b4260;
  cursor: pointer;
  place-items: center;
  transition: background .16s ease, color .16s ease;
}

.discover-progress button:hover { background: #fff; color: #6028dc; }
.discover-progress button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.discover-progress > div { height: 6px; overflow: hidden; border-radius: 999px; background: rgb(92 83 118 / 18%); }
.discover-progress > div span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gradient-cta-primary); box-shadow: 0 0 12px rgb(251 63 108 / 32%); transition: width .3s var(--ease-standard); }
.discover-progress small { color: #747b93; font-size: 12px; text-align: right; }
.discover-progress small b { color: #292f4f; }

.discover-stage {
  display: grid;
  min-height: 0;
  padding: 26px 20px 30px;
  place-items: center;
}

.discover-panel {
  display: none;
  width: min(100%, 580px);
  margin: auto;
  animation: discover-panel-in .3s var(--ease-standard) both;
}

.discover-panel.is-active { display: flex; flex-direction: column; align-items: stretch; }
.discover-panel--intro, .discover-panel--complete { align-items: center !important; text-align: center; }
.discover-panel--intro { width: min(100%, 900px); }

@keyframes discover-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.discover-kicker, .discover-question-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: #6529dd;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.discover-kicker {
  border: 1px solid #e6dcff;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgb(255 255 255 / 80%);
  color: #5b24d1;
  letter-spacing: .045em;
  text-transform: none;
}

.discover-kicker svg { width: 15px; height: 15px; fill: none; stroke: #f33a69; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.discover-panel h1, .discover-panel h2 { margin: 0; color: #0b1236; font-family: var(--font-display); letter-spacing: -.045em; }
.discover-panel h1 { max-width: 680px; font-size: clamp(38px, 5vw, 58px); line-height: .99; }
.discover-panel h2 { font-size: clamp(29px, 4vw, 39px); line-height: 1.06; }
.discover-panel > p { max-width: 550px; margin: 17px 0 25px; color: #646c87; font-size: 15px; line-height: 1.65; }
.discover-panel--intro > p, .discover-panel--complete > p { text-align: center; }

.discover-goal-section { display: grid; width: 100%; gap: 11px; }
.discover-goal-section h2 { margin: 0; color: #252c4b; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.discover-goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discover-goal-grid .discover-choice { min-height: 112px; align-items: start; padding: 15px 14px; }
.discover-goal-grid .discover-choice > svg { margin-top: 2px; }
.discover-goal-grid .discover-choice strong { font-size: 13px; }
.discover-goal-grid .discover-choice small { font-size: 10.5px; line-height: 1.45; }
.discover-goal-status { min-height: 15px; color: #727a94; font-size: 10.5px; }
.discover-panel--intro .discover-benefits { margin: 15px 0 0; }
.discover-panel--intro .discover-primary { margin-top: 18px; }

.discover-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 18px;
  margin-bottom: 28px;
  color: #3e4665;
  font-size: 12px;
  font-weight: 700;
}

.discover-benefits span { display: inline-flex; align-items: center; gap: 6px; }
.discover-benefits svg { width: 15px; height: 15px; fill: none; stroke: #13a466; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.discover-primary {
  display: inline-flex;
  min-width: 220px;
  min-height: 52px;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  margin-top: 24px;
  padding: 0 25px;
  background: var(--gradient-cta-primary);
  box-shadow: 0 13px 26px rgb(224 29 82 / 20%);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.discover-primary:hover { box-shadow: 0 16px 32px rgb(224 29 82 / 27%); filter: saturate(1.07); transform: translateY(-2px); }
.discover-primary:disabled { box-shadow: none; cursor: not-allowed; filter: grayscale(.18); opacity: .48; transform: none; }
.discover-primary:active { transform: translateY(0); }
.discover-primary:focus-visible, .discover-choice:focus-visible, .discover-progress button:focus-visible, .discover-secondary:focus-visible { outline: 3px solid rgb(95 39 232 / 22%); outline-offset: 3px; }
.discover-primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.discover-primary--final { min-width: min(100%, 320px); }
.discover-reassurance { margin-top: 14px; color: #83899d; font-size: 11px; }
.discover-finish-status { min-height: 16px; margin-top: 10px; color: #69718b; font-size: 11px; }
.discover-finish-status.is-error { color: #b42346; }

.discover-text-field, .discover-select-field {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.discover-text-field > span, .discover-select-field > span { color: #272e4d; font-size: 12px; font-weight: 800; }
.discover-text-field input, .discover-text-field textarea, .discover-select-field select {
  width: 100%;
  border: 1px solid #ddddec;
  border-radius: 14px;
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 8px 20px rgb(40 30 88 / 6%);
  color: #101633;
  font: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.discover-text-field input { min-height: 58px; padding: 0 54px 0 17px; }
.discover-text-field textarea { min-height: 116px; resize: vertical; padding: 15px 54px 15px 17px; line-height: 1.55; }
.discover-text-field :is(input, textarea):focus, .discover-select-field select:focus { border-color: #8657eb; background: #fff; box-shadow: 0 0 0 4px rgb(105 46 224 / 11%), 0 12px 25px rgb(40 30 88 / 7%); }
.discover-text-field small { position: absolute; right: 14px; bottom: 12px; color: #9398aa; font-size: 10px; }

.discover-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.discover-choice-grid.discover-goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discover-choice-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.discover-choice {
  position: relative;
  display: grid;
  min-height: 72px;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe0eb;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 5px 13px rgb(33 27 76 / 5%);
  color: #222947;
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.discover-choice:hover { border-color: #cdb9f8; box-shadow: 0 9px 20px rgb(61 39 124 / 9%); transform: translateY(-1px); }
.discover-choice[aria-pressed="true"] { border-color: #7440e5; background: #f8f4ff; box-shadow: 0 0 0 2px rgb(103 46 220 / 10%); }
.discover-choice > svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: #6b31df; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.discover-choice span { display: grid; min-width: 0; gap: 2px; }
.discover-choice strong { color: #161c3d; font-size: 13px; line-height: 1.3; }
.discover-choice small { color: #757c94; font-size: 10.5px; line-height: 1.35; }
.discover-choice i { display: grid; width: 18px; height: 18px; border: 1px solid #d8d9e5; border-radius: 50%; background: #fff; place-items: center; }
.discover-choice i svg { width: 11px; height: 11px; fill: none; stroke: transparent; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.discover-choice[aria-pressed="true"] i { border-color: #6930dd; background: #6930dd; }
.discover-choice[aria-pressed="true"] i svg { stroke: #fff; }

.discover-select-field select {
  min-height: 58px;
  appearance: none;
  padding: 0 52px 0 17px;
  cursor: pointer;
}

.discover-select-field > svg { position: absolute; width: 17px; height: 17px; right: 17px; bottom: 20px; fill: none; stroke: #646b84; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transform: rotate(-90deg); }

.discover-complete-icon { display: grid; width: 58px; height: 58px; margin-bottom: 17px; border-radius: 18px; background: linear-gradient(145deg, #6a2ce0, #f43b72); box-shadow: 0 15px 30px rgb(116 40 198 / 22%); place-items: center; }
.discover-complete-icon svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.discover-panel--complete .discover-question-label { margin-bottom: 10px; }
.discover-summary { display: grid; width: 100%; max-width: 520px; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.discover-summary div { display: grid; gap: 4px; border: 1px solid #e1deeb; border-radius: 13px; padding: 12px; background: rgb(255 255 255 / 75%); text-align: left; }
.discover-summary dt { color: #7c8297; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.discover-summary dd { overflow: hidden; margin: 0; color: #202746; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.discover-secondary { align-self: center; border: 0; margin-top: 13px; padding: 7px 12px; background: transparent; color: #656d87; cursor: pointer; font-size: 12px; font-weight: 700; }
.discover-secondary:hover { color: #5d25d2; }

.discover-footer {
  display: flex;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(118 108 144 / 12%);
  color: #8a8fa1;
  font-size: 10.5px;
}

.discover-footer span:last-child { display: none; }
.discover.has-started .discover-footer span:last-child { display: inline; }
.discover.has-started .discover-footer span:first-child { opacity: .9; }

@media (max-height: 790px) and (min-width: 701px) {
  .discover { grid-template-rows: 58px 36px minmax(0, 1fr) 38px; }
  .discover-stage { padding-block: 14px; }
  .discover-panel > p { margin: 10px 0 16px; line-height: 1.45; }
  .discover-question-label { margin-bottom: 8px; }
  .discover-choice { min-height: 61px; }
  .discover-primary { min-height: 46px; margin-top: 15px; }
  .discover-panel--intro h1 { font-size: clamp(34px, 4vw, 46px); }
  .discover-goal-grid .discover-choice { min-height: 92px; padding-block: 11px; }
}

@media (max-width: 700px) {
  .discover { min-height: 100svh; grid-template-rows: 64px 38px minmax(0, 1fr) 42px; }
  .discover-header, .discover-footer { width: min(100% - 28px, 580px); }
  .discover-progress { width: min(100% - 28px, 520px); }
  .discover-stage { align-items: start; padding: 28px 16px 24px; }
  .discover-panel { margin-block: auto; }
  .discover-panel h1 { font-size: clamp(34px, 11vw, 45px); }
  .discover-panel h2 { font-size: clamp(27px, 8.5vw, 34px); }
  .discover-panel > p { margin: 14px 0 22px; font-size: 14px; }
  .discover-choice-grid, .discover-choice-grid--compact { grid-template-columns: 1fr; }
  .discover-choice-grid.discover-goal-grid { grid-template-columns: 1fr; }
  .discover-choice { min-height: 64px; }
  .discover-primary { width: 100%; }
  .discover-summary { grid-template-columns: 1fr; }
  .discover-summary div { grid-template-columns: 95px 1fr; align-items: center; }
  .discover-benefits { gap: 8px 13px; }
  .discover-footer span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .discover.has-started .discover-footer span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .discover-panel, .discover-progress > div span { animation: none; transition: none; }
  .discover-primary, .discover-choice { transition: none; }
}
