/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  background-color: #D0D0D0;
  color: #FFFFFF;
  font: 500 16px/24px Inter, sans-serif;
  letter-spacing: -0.03em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

button,
input {
  font-family: inherit;
  letter-spacing: inherit;
  outline: none;
}

button {
  cursor: pointer;
}


h1 {
  padding: 0;
  margin: 0 0 20px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}
h2 {
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 0;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 0;
}

/*  */

.page {
  overflow: hidden;
}

.container {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 1440px;
  min-height: 100%;
  margin: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.button {
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #E4E4E4;
  background: none;
  font-size: 16px;
  letter-spacing: -0.02em;
  height: 52px;
  border-radius: 26px;
  padding: 0 16px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}

.input {
  position: relative;
}
.input input {
  width: 100%;
  border: none;
  background: none;
  border-bottom: 1px solid #FFFFFF;
  position: relative;
  z-index: 2;
  border-radius: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  padding: 11px 0;
}
.input input::-webkit-input-placeholder {
  color: #FFFFFF;
}
.input input::-moz-placeholder {
  color: #FFFFFF;
}
.input input:-ms-input-placeholder {
  color: #FFFFFF;
}
.input input:-moz-placeholder {
  color: #FFFFFF;
}
.input__error {
  display: none;
  color: red;
  font-size: 12px;
  line-height: 12px;
  margin-top: 12px;
  text-align: left;
  letter-spacing: 0;
}
.input input[aria-invalid="true"] {
  border-bottom-color: red !important;
}
.input input[aria-invalid="true"] ~ .input__error {
  display: block;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.intro {
  text-align: center;
}
.intro article {
  position: relative;
  z-index: 3;
}
.intro p {
  letter-spacing: -0.04em;
  max-width: 772px;
  margin: auto;
}
.intro figure {
  position: relative;
}
.intro figure img:first-child {
  position: absolute;
  top: 130px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 2;
}
.intro figure img:last-child {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.features {
  background-color: #D0D0D0;
  position: relative;
}
.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -ms-grid;
  display: grid;
}
.features li {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 20px;
  background-color: rgba(141, 136, 142, 0.6);
  padding: 32px 24px;
}
.features li p {
  padding-bottom: 16px;
}

.contacts {
  border-radius: 20px;
  background-color: rgba(141, 136, 142, 0.3);
  padding: 32px 24px;
}
.contacts form {
  display: -ms-grid;
  display: grid;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.contacts footer p {
  color: green;
  font-size: 13px;
  line-height: 16px;
}
.contacts footer p[aria-invalid="true"] {
  color: red;
}

/*  */

@media only screen and (min-width: 960px) {
  h1 {
    font-size: 110px;
  }
  h2 {
    font-size: 48px;
    line-height: 80px;
    margin: 0 0 57px;
  }
  h3 {
    font-size: 24px;
    line-height: 29px;
    margin: 0 0 12px;
  }
  .container {
    padding: 0 48px;
  }
  header {
    padding: 32px 0 72px;
  }
  header .button {
    width: 138px;
  }
  .intro p {
    font-size: 24px;
    line-height: 32px;
  }
  .intro figure img:last-child {
    width: 1280px;
    top: -28px;
  }
  .features {
    margin-top: -90px;
  }
  .features ul {
    -ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }
  .features li:nth-child(1),
  .features li:nth-child(2),
  .features li:nth-child(3) {
    -ms-grid-column-span: 4;
    grid-column: span 4;
  }
  .features li:nth-child(4),
  .features li:nth-child(5) {
    -ms-grid-column-span: 6;
    grid-column: span 6;
  }
  .contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 16px;
  }
  .contacts article {
    width: 30%;
  }
  .contacts form {
    width: 60%;
    -ms-grid-columns: 1fr 8px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 8px;
    padding: 30px 23px 49px 7px;
  }
  .contacts .input:nth-child(3),
  .contacts .input:nth-child(4),
  .contacts footer {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }
  .contacts footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-top: 23px;
  }
  .contacts footer .button {
    width: 256px;
    margin-right: 28px;
  }
  .footer {
    padding: 157px 0 52px;
  }
}

@media only screen and (max-width: 959px) {
  body {
    font-size: 14px;
    line-height: 20px;
  }
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 32px;
    line-height: 38px;
    margin: 0 0 56px;
  }
  h3 {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 17px;
  }
  header {
    padding: 20px 0 60px;
  }
  header img {
    height: 36px;
  }
  header .button {
    width: 120px;
    height: 44px;
    font-size: 14px;
  }
  .container {
    padding: 0 24px;
  }
  .intro p {
    font-size: 16px;
    line-height: 24px;
    padding-top: 3px;
  }
  .intro figure img:first-child {
    width: 36px;
    height: 36px;
    top: 53px;
  }
  .intro figure img:last-child {
    width: 710px;
    top: 19px;
    margin-left: 35px;
  }
  .features {
    margin-top: -20px;
  }
  .features ul {
    gap: 24px;
  }
  .features li p {
    margin-bottom: 8px;
  }
  .contacts {
    margin-top: 24px;
  }
  .contacts article {
    padding-bottom: 21px;
  }
  .contacts form {
    gap: 17px;
  }
  .contacts footer {
    padding: 24px 0;
  }
  .contacts footer .button {
    width: 100%;
  }
  .contacts footer p {
    padding-top: 16px;
    text-align: center;
  }
  .footer {
    padding: 40px 0 56px;
    text-align: center;
  }
}