input::placeholder {
  color: #9AA5B8;
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #2A5FFF;
  overflow: hidden;
  font-family: 'General Sans', Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.page__lines {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: min(760px, 70vw);
  transform: rotate(-18deg);
  opacity: 0.55;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}

.page__logo {
  position: absolute;
  top: 36px;
  left: 40px;
  height: 28px;
  width: auto;
}

.page__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 40px;
  position: relative;
  z-index: 1;
}

.card {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 40px 36px;
  box-shadow: 0 30px 60px -20px rgba(10, 24, 64, 0.35);
  box-sizing: border-box;
}

.card__illustration {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto 24px;
}

.card__title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  color: #12182B;
}

.card__text {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: #5C6478;
  max-width: 38ch;
}

.signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #2A5FFF;
  font-size: 15px;
  color: #12182B;
  outline: none;
}

.signup__button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: none;
  background: #2A5FFF;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.card__legal {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9AA5B8;
}

.card__legal a {
  color: #2A5FFF;
}

/* Success modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal[hidden] {
  display: none;
}

.modal__confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.modal__dialog {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(10, 24, 64, 0.35);
  position: relative;
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #F2F4F8;
  color: #5C6478;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__badge {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.modal__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  color: #12182B;
}

.modal__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5C6478;
}
