.lp-form {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 24px 0;
  scroll-margin-top: 80px;
}

.lp-form--modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  margin: 0;
  padding: 16px;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}

.lp-form--modal .lp-form__card {
  max-width: 420px;
}

.lp-form *,
.lp-form *::before,
.lp-form *::after {
  box-sizing: border-box;
}

.lp-form__card {
  width: 100%;
  padding: 28px 24px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-family: inherit;
  color: #1a1a1a;
}

.lp-form__title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.lp-form__form {
  display: flex;
  flex-direction: column;
}

.lp-form__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-size: 16px;
  color: #1a1a1a;
  background: #f5f6f8;
  font-family: inherit;
  border: 1px solid #d9dce1;
  border-radius: 10px;
}

.lp-form__input:focus {
  outline: none;
  border-color: #0068bc;
}

.lp-form__submit {
  width: 100%;
  height: 52px;
  margin-top: 4px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background: #0068bc;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.lp-form__submit:hover {
  filter: brightness(0.95);
}
