/* Help Me Choose v3. Isolated light-theme presentation that inherits the Wollas site typography. */
.hmc-v3 {
  --hmc-white: #ffffff;
  --hmc-page: #f8fafc;
  --hmc-blue-soft: #eff6ff;
  --hmc-ink: #111827;
  --hmc-copy: #4b5563;
  --hmc-muted: #6b7280;
  --hmc-blue: #2563eb;
  --hmc-blue-dark: #1d4ed8;
  --hmc-line: #e5e7eb;
  --hmc-line-strong: #d0d8e6;
  --hmc-success: #166534;
  --hmc-error: #b42318;
  color: var(--hmc-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-block: 4rem;
  background: var(--hmc-white);
}

.hmc-v3 *,
.hmc-v3 *::before,
.hmc-v3 *::after {
  box-sizing: border-box;
}

.hmc-v3 button,
.hmc-v3 input {
  font: inherit;
}

.hmc-v3__shell {
  width: min(calc(100% - 32px), 1040px);
  margin: 0 auto;
}

.hmc-v3__screen {
  width: 100%;
  scroll-margin-top: 84px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--hmc-line);
  border-radius: 20px;
  background: var(--hmc-white);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.hmc-v3__screen--intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hmc-v3__screen--question {
  max-width: 920px;
  margin: 0 auto;
}

.hmc-v3__eyebrow,
.hmc-v3__step,
.hmc-v3__small-label,
.hmc-v3__recommendation-label {
  display: block;
  margin: 0 0 11px;
  color: var(--hmc-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hmc-v3 h2,
.hmc-v3 h3,
.hmc-v3 p {
  margin-top: 0;
}

.hmc-v3 h2,
.hmc-v3 h3 {
  color: var(--hmc-ink);
}

.hmc-v3 h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hmc-v3 h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.hmc-v3 p {
  color: var(--hmc-copy);
  line-height: 1.65;
}

.hmc-v3__lead {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 1.04rem;
}

.hmc-v3__intro-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 24px;
  color: var(--hmc-copy);
  font-size: 0.88rem;
  font-weight: 650;
}

.hmc-v3__intro-points span {
  position: relative;
  padding-left: 17px;
}

.hmc-v3__intro-points span::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hmc-blue);
}

.hmc-v3__disclaimer {
  margin: 18px 0 0;
  color: var(--hmc-muted);
  font-size: 0.82rem;
}

.hmc-v3__button {
  appearance: none;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--hmc-blue);
  border-radius: 9px;
  background: var(--hmc-blue);
  color: var(--hmc-white);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.hmc-v3__button:hover {
  border-color: var(--hmc-blue-dark);
  background: var(--hmc-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.hmc-v3__button:focus-visible,
.hmc-v3__option:focus-visible,
.hmc-v3__field input:focus-visible,
.hmc-v3__check input:focus-visible,
.hmc-v3 a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.hmc-v3__button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.hmc-v3__button--secondary {
  border-color: var(--hmc-line-strong);
  background: var(--hmc-white);
  color: var(--hmc-blue);
}

.hmc-v3__button--secondary:hover {
  border-color: var(--hmc-blue);
  background: var(--hmc-blue-soft);
  color: var(--hmc-blue-dark);
}

.hmc-v3__button--quiet {
  appearance: none;
  min-height: 40px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: var(--hmc-muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #c5cedb;
  text-underline-offset: 4px;
}

.hmc-v3__button--quiet:hover {
  background: transparent;
  color: var(--hmc-blue);
  box-shadow: none;
  transform: none;
  text-decoration-color: currentColor;
}

.hmc-v3__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hmc-v3__actions--intro {
  justify-content: center;
  margin-top: 28px;
}

.hmc-v3__progress-wrap {
  margin-bottom: 32px;
}

.hmc-v3__screen--question > .hmc-v3__progress-wrap,
.hmc-v3__screen--question > .hmc-v3__step,
.hmc-v3__screen--question > .hmc-v3__question,
.hmc-v3__screen--question > .hmc-v3__question-help,
.hmc-v3__screen--question > .hmc-v3__options,
.hmc-v3__screen--question > .hmc-v3__validation,
.hmc-v3__screen--question > .hmc-v3__actions {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hmc-v3__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--hmc-muted);
  font-size: 0.81rem;
  font-weight: 600;
}

.hmc-v3__progress {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5;
}

.hmc-v3__progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--hmc-blue);
  transition: width 180ms ease;
}

.hmc-v3__question {
  max-width: 760px;
  margin-bottom: 26px !important;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem) !important;
}

.hmc-v3__question-help {
  max-width: 720px;
  margin: -12px auto 22px;
  color: var(--hmc-muted) !important;
  font-size: 0.88rem;
}

.hmc-v3__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hmc-v3__option:last-child:nth-child(odd) {
  grid-column: auto;
}

.hmc-v3__option {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid var(--hmc-line-strong);
  border-radius: 11px;
  background: var(--hmc-white);
  color: var(--hmc-ink);
  cursor: pointer;
  font-weight: 650;
  line-height: 1.42;
  text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.hmc-v3__option:hover {
  border-color: #9db9ef;
  background: var(--hmc-page);
}

.hmc-v3__option[aria-checked="true"] {
  border-color: var(--hmc-blue);
  background: var(--hmc-blue-soft);
  box-shadow: 0 0 0 1px var(--hmc-blue);
}

.hmc-v3__option-indicator {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border: 1.5px solid #9ca8ba;
  border-radius: 50%;
  background: var(--hmc-white);
}

.hmc-v3__option[aria-checked="true"] .hmc-v3__option-indicator {
  border: 5px solid var(--hmc-blue);
}

.hmc-v3__validation {
  min-height: 1.4em;
  margin: 12px auto 0;
  color: var(--hmc-error) !important;
  font-size: 0.87rem;
  font-weight: 650;
}

.hmc-v3__actions--question {
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.hmc-v3__result-heading {
  max-width: 760px;
}

.hmc-v3__result-heading > p {
  max-width: 650px;
  margin: 14px 0 0;
}

.hmc-v3__result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-areas:
    "analysis recommendation"
    "alternative alternative";
  gap: 18px clamp(22px, 4vw, 34px);
  align-items: stretch;
  margin-top: 34px;
}

.hmc-v3__narrative {
  grid-area: analysis;
  display: grid;
  gap: 24px;
  align-content: start;
  padding: clamp(22px, 3.5vw, 30px);
  border: 1px solid var(--hmc-line);
  border-radius: 15px;
  background: var(--hmc-white);
}

.hmc-v3__narrative section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hmc-line);
}

.hmc-v3__narrative section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hmc-v3__narrative .hmc-v3__small-label {
  margin-bottom: 6px;
}

.hmc-v3__narrative p,
.hmc-v3__recommendation p,
.hmc-v3__alternative p {
  margin-bottom: 0;
}

.hmc-v3__alternative {
  grid-area: alternative;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "alternative-label alternative-copy"
    "alternative-title alternative-copy";
  column-gap: 26px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--hmc-line);
  border-radius: 12px;
  background: var(--hmc-page);
}

.hmc-v3__alternative .hmc-v3__small-label {
  grid-area: alternative-label;
  margin-bottom: 6px;
  color: var(--hmc-muted);
}

.hmc-v3__alternative h3 {
  grid-area: alternative-title;
  margin-bottom: 0;
}

.hmc-v3__alternative p {
  grid-area: alternative-copy;
}

.hmc-v3__recommendation {
  grid-area: recommendation;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3.5vw, 30px);
  border: 1px solid #c8d8f5;
  border-radius: 15px;
  background: var(--hmc-blue-soft);
}

.hmc-v3__recommendation h3 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
}

.hmc-v3__recommendation-fit {
  color: #374151 !important;
}

.hmc-v3__recommendation-note {
  margin-top: 19px !important;
  padding-top: 17px;
  border-top: 1px solid #c8d8f5;
  color: var(--hmc-muted) !important;
  font-size: 0.84rem;
}

.hmc-v3__recommendation-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.hmc-v3__recommendation-actions .hmc-v3__button {
  width: 100%;
}

.hmc-v3__disclaimer--result {
  margin-top: 28px;
}

.hmc-v3__result-utilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 780px);
  margin: 18px auto 0;
}

.hmc-v3__button--utility {
  width: 100%;
  border-color: var(--hmc-line-strong);
  background: var(--hmc-page);
  color: var(--hmc-copy);
  font-weight: 650;
}

.hmc-v3__button--utility:hover {
  border-color: #9db9ef;
  background: var(--hmc-blue-soft);
  color: var(--hmc-blue-dark);
}

.hmc-v3__button--review {
  border-color: var(--hmc-blue);
  background: var(--hmc-white);
  color: var(--hmc-blue);
}

.hmc-v3__review-panel {
  scroll-margin-top: 84px;
  margin: 34px calc(clamp(26px, 5vw, 56px) * -1) calc(clamp(26px, 5vw, 56px) * -1);
  padding: clamp(26px, 5vw, 44px) clamp(26px, 5vw, 56px);
  border-top: 1px solid #c8d8f5;
  border-radius: 0 0 19px 19px;
  background: var(--hmc-blue-soft);
}

.hmc-v3__review-panel[hidden] {
  display: none;
}

.hmc-v3__review-copy {
  max-width: 720px;
}

.hmc-v3__review-copy h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.hmc-v3__review-copy p {
  margin: 9px 0 21px;
}

.hmc-v3__form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.hmc-v3__field {
  display: grid;
  gap: 7px;
  color: var(--hmc-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.hmc-v3__field input[type="text"],
.hmc-v3__field input[type="email"],
.hmc-v3__field input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--hmc-line-strong);
  border-radius: 9px;
  background: var(--hmc-white);
  color: var(--hmc-ink);
}

.hmc-v3__field-help {
  color: var(--hmc-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.hmc-v3__field input[aria-invalid="true"] {
  border-color: var(--hmc-error);
}

.hmc-v3__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  color: var(--hmc-copy);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hmc-v3__check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--hmc-blue);
}

.hmc-v3__minor-note {
  margin: 16px 0 0;
  color: var(--hmc-muted) !important;
  font-size: 0.82rem;
}

.hmc-v3__privacy {
  margin: 9px 0 0;
  color: var(--hmc-muted) !important;
  font-size: 0.78rem;
}

.hmc-v3__privacy a {
  color: var(--hmc-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hmc-v3__actions--form {
  margin-top: 21px;
}

.hmc-v3__status {
  min-height: 1.45em;
  margin: 12px 0 0;
  color: var(--hmc-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.hmc-v3__status[data-state="error"] {
  color: var(--hmc-error);
}

.hmc-v3__status[data-state="success"] {
  color: var(--hmc-success);
}

.hmc-v3__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hmc-v3__honeypot input {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 767px) {
  .hmc-v3__shell {
    width: min(calc(100% - 32px), 1040px);
  }

  .hmc-v3__screen {
    padding: 26px 20px;
    border-radius: 16px;
  }

  .hmc-v3__screen--intro {
    text-align: left;
  }

  .hmc-v3__lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hmc-v3__intro-points,
  .hmc-v3__actions--intro {
    justify-content: flex-start;
  }

  .hmc-v3__intro-points {
    display: grid;
    gap: 8px;
  }

  .hmc-v3__actions--intro .hmc-v3__button {
    width: 100%;
  }

  .hmc-v3__progress-wrap {
    margin-bottom: 26px;
  }

  .hmc-v3__options,
  .hmc-v3__result-layout,
  .hmc-v3__form-grid,
  .hmc-v3__result-utilities {
    grid-template-columns: 1fr;
  }

  .hmc-v3__option:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .hmc-v3__option {
    min-height: 62px;
    padding: 14px 15px;
  }

  .hmc-v3__option:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .hmc-v3__actions--question {
    display: grid;
    grid-template-columns: auto minmax(150px, 1fr);
  }

  .hmc-v3__actions--question .hmc-v3__button:not(.hmc-v3__button--quiet) {
    width: 100%;
  }

  .hmc-v3__result-layout {
    grid-template-areas:
      "recommendation"
      "analysis"
      "alternative";
    gap: 24px;
  }

  .hmc-v3__recommendation {
    grid-area: recommendation;
  }

  .hmc-v3__narrative {
    grid-area: analysis;
  }

  .hmc-v3__alternative {
    grid-area: alternative;
    display: block;
  }

  .hmc-v3__alternative h3 {
    margin-bottom: 8px;
  }

  .hmc-v3__actions--form .hmc-v3__button {
    width: 100%;
  }

  .hmc-v3__review-panel {
    margin: 30px -20px -26px;
    padding: 26px 20px 28px;
    border-radius: 0 0 15px 15px;
  }
}

@media (min-width: 1024px) {
  .hmc-v3 {
    padding-block: 6rem;
  }
}

@media (max-width: 420px) {
  .hmc-v3__shell {
    width: min(calc(100% - 24px), 1040px);
  }

  .hmc-v3__actions--question {
    grid-template-columns: 1fr;
  }

  .hmc-v3__actions--question .hmc-v3__button {
    width: 100%;
  }

  .hmc-v3__actions--question .hmc-v3__button--quiet {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmc-v3 *,
  .hmc-v3 *::before,
  .hmc-v3 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
