.form-error-list {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-left: 4px solid #d64545;
  background: #fff2f2;
  color: #7a2020;
}

.form-error-list strong {
  display: block;
  margin-bottom: 8px;
}

.form-error-list ul {
  margin: 0;
  padding-left: 1.25em;
}

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

.form-confirm {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(4, 28, 62, 0.08);
}

.form-confirm__lead {
  margin: 0 0 30px;
  color: #64748b;
  line-height: 1.9;
}

.form-confirm__list {
  margin: 0;
  border-top: 1px solid #d9e3ef;
}

.form-confirm__row {
  display: grid;
  grid-template-columns: minmax(180px, 30%) 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid #d9e3ef;
}

.form-confirm__row dt {
  color: #52677f;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-confirm__row dd {
  margin: 0;
  color: #061a36;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.form-actions--confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.button--subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid #9a9690;
  color: #65615d;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button--subtle:hover,
.button--subtle:focus-visible {
  background: #9a9690;
  color: #fff;
}

.form-result {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 80px);
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(4, 28, 62, 0.08);
}

.form-result__mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #168cf5;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.form-result--error .form-result__mark {
  background: #9a9690;
}

.form-result h2 {
  margin: 0 0 20px;
  color: #061a36;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.form-result p {
  margin: 0 auto 12px;
  color: #64748b;
  line-height: 1.9;
}

.form-result .button {
  margin-top: 26px;
}

@media (max-width: 700px) {
  .form-confirm__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-actions--confirm {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions--confirm .button,
  .form-actions--confirm form,
  .form-actions--confirm form .button {
    width: 100%;
  }
}

