.calculator-lead {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid rgb(83 74 183 / 16%);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0, rgb(29 158 117 / 9%), transparent 20rem),
    linear-gradient(135deg, #ffffff, #f8f7ff);
  box-shadow: 0 1.25rem 3.5rem rgb(30 27 58 / 7%);
}

.calculator-lead__heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.calculator-lead__heading p {
  margin: 0 0 0.45rem;
  color: #534ab7;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.calculator-lead__heading h3 {
  margin: 0;
  color: #1e1b3a;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.calculator-lead__heading > span {
  display: inline-flex;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  background: rgb(29 158 117 / 11%);
  color: #1d9e75;
  font-size: 0.67rem;
  font-weight: 850;
  text-transform: uppercase;
}

.calculator-lead__intro {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: #625c73;
  font-size: 0.92rem;
  line-height: 1.65;
}

.calculator-lead__form {
  margin-top: 1.4rem;
}

.calculator-lead__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.calculator-lead__fields label {
  display: grid;
  gap: 0.42rem;
}

.calculator-lead__fields label > span {
  color: #1e1b3a;
  font-size: 0.75rem;
  font-weight: 750;
}

.calculator-lead__fields input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #dcd8e8;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #302b47;
  font: inherit;
}

.calculator-lead__fields input:focus {
  border-color: #534ab7;
  outline: 3px solid rgb(83 74 183 / 12%);
  outline-offset: 1px;
}

.calculator-lead__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-top: 1rem;
  color: #625c73;
  font-size: 0.77rem;
  line-height: 1.55;
  cursor: pointer;
}

.calculator-lead__consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  accent-color: #1d9e75;
}

.calculator-lead__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

.calculator-lead__footer button {
  flex: 0 0 auto;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #534ab7;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.calculator-lead__footer button:hover {
  background: #1e1b3a;
}

.calculator-lead__footer button:disabled {
  cursor: default;
  opacity: 0.7;
}

.calculator-lead__footer p {
  margin: 0;
  color: #777085;
  font-size: 0.7rem;
  line-height: 1.5;
}

.calculator-lead__footer a {
  color: #534ab7;
  font-weight: 750;
}

.calculator-lead__status {
  min-height: 1.25rem;
  margin: 0.9rem 0 0;
  color: #1d9e75;
  font-size: 0.77rem;
  font-weight: 750;
}

.calculator-lead__status.is-error {
  color: #a42c3a;
}

.calculator-lead__status.is-success {
  color: #116d52;
}

@media (max-width: 42rem) {
  .calculator-lead__fields {
    grid-template-columns: 1fr;
  }

  .calculator-lead__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .calculator-lead__footer button {
    width: 100%;
  }
}
