@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&display=swap');

:root {
  --bg: #ffffff;
  --text: #101828;
  --muted: #4A5565;
  --hint: #6A7282;
  --border: #D1D5DC;
  --teal: #46A3A3;
  --teal-dark: #038593;
  --footer: #99A1AF;
  --danger: #bf3e3e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arimo", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100vh;
}

.frame {
  width: min(1485px, 100%);
  min-height: 914px;
  margin: 0 auto;
  padding: 24px 32px 0;
  display: flex;
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  color: var(--teal);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.brand__mark {
  width: 16px;
  height: 18px;
  display: inline-flex;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.layout {
  width: min(1280px, 100%);
  margin: 24px auto 0;
  min-height: 774px;
  display: grid;
  grid-template-columns: 672px 512px;
  align-items: center;
}

.left {
  min-height: 545px;
}

.lang-block {
  margin: 0 0 32px;
}

.lang-block__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.lang-block__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
  max-width: 672px;
}

.form {
  width: 448px;
  padding-top: 16px;
}

.form__label {
  display: block;
  color: var(--hint);
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 16px;
}

.form__input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 18px;
  color: var(--text);
  background: #fff;
}

.form__input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.form__input:focus {
  outline: 2px solid rgba(70, 163, 163, 0.2);
  border-color: var(--teal);
}

.form__error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 16px;
}

.form__button {
  margin-top: 16px;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.form__button:hover {
  background: var(--teal-dark);
}

.confirm {
  width: 580px;
  text-align: center;
  margin: 0 auto;
}

.confirm__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  position: relative;
}

.confirm__icon-ring {
  width: 41px;
  height: 41px;
  position: absolute;
  left: 1.5px;
  top: 1.5px;
}

.confirm__icon-check {
  width: 28px;
  height: 22px;
  position: absolute;
  left: 8px;
  top: 11px;
}

.confirm__title {
  margin: 24px 0 0;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
}

.confirm__line {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  max-width: 548px;
}

.right {
  width: 512px;
  height: 545px;
  display: flex;
  align-items: center;
}

.illustration {
  width: 448px;
  height: 448px;
  margin-left: 32px;
}

.illustration img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.copy {
  margin-top: auto;
  width: 100%;
  text-align: center;
  color: var(--footer);
  font-size: 14px;
  line-height: 20px;
  padding: 0 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.is-confirmed .left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-confirmed .right .illustration {
  opacity: 0.4;
}

@media (max-width: 900px) {
  .frame {
    width: 393px;
    max-width: 100%;
    min-height: 1181px;
    padding: 24px 28px 0;
  }

  .layout {
    width: 100%;
    margin-top: 24px;
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .left {
    min-height: 0;
  }

  .lang-block {
    margin-bottom: 24px;
  }

  .form {
    width: 100%;
    padding-top: 0;
  }

  .right {
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .illustration {
    width: 330px;
    height: 330px;
    margin-left: 0;
  }

  .confirm {
    width: 100%;
  }

  .confirm__line {
    max-width: 100%;
  }

  .copy {
    padding-bottom: 16px;
  }
}
