.page-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.page {
  max-width: 1280px;
  background-color: #fff;
  font-family: 'SF UI Display', sans-serif;
}

.header {
  padding: 80px 148px 0;
  box-sizing: border-box;
}

.header__logo {
  width: 120px;
  height: 48px;
  object-fit: contain;
  object-position: center center;
}

.header__title {
  margin: 32px 0 20px;
  color: #6e12bd;
  font-size: 16px;
  line-height: 1.875;
  text-transform: uppercase;
}

.header__text {
  max-width: 648px;
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.75;
}

.cards {
  margin-bottom: -20px;
  padding: 30px 148px 0;
  box-sizing: border-box;
}

.cards-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.card {
  max-width: 312px;
  border: 1px solid rgba(110, 18, 189, .2);
  border-radius: 10px;
  padding: 40px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.card__image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center center;
}

.card__title {
  margin: 10px 0 0;
  color: #333;
  text-align: center;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.53;
  letter-spacing: 1.36px;
}

.card__text {
  margin: 0;
  color: #333;
  text-align: center;
  font-size: 18px;
  line-height: 1.67;
}

.principles {
  padding: 0 0 0 88px;
}

.principles__cover {
  display: flex;
  position: relative;
  padding: 0 0 0 60px;
}

.principles__pattern {
  height: 100%;
  position: absolute;
}

.principles__pattern_border-position_tl {
  width: calc(100% - 2px);
  border-left: 2px solid rgba(110, 18, 189, .3);
  border-top: 2px solid rgba(110, 18, 189, .3);
  border-radius: 4px 0 0 4px;
  left: 0;
  bottom: 0;
}

.principles__pattern_border-position_tr {
  width: calc(100% - 88px - 4px);
  border-right: 2px solid rgba(110, 18, 189, .3);
  border-top: 2px solid rgba(110, 18, 189, .3);
  border-radius: 0 4px 0 0;
  right: 88px;
  bottom: 0;
}

.principles__pattern_border-position_bl {
  width: calc(100% - 2px);
  border-left: 2px solid rgba(110, 18, 189, .3);
  border-bottom: 2px solid rgba(110, 18, 189, .3);
  border-radius: 4px 0 0 4px;
  left: 0;
  bottom: 0;
}

.principles__pattern_border-position_br {
  width: calc(100% - 88px - 4px);
  border-right: 2px solid rgba(110, 18, 189, .3);
  border-bottom: 2px solid rgba(110, 18, 189, .3);
  border-radius: 0 0 4px 0;
  right: 88px;
  bottom: 0;
}

.principle {
  padding: 0 148px 100px 0;
}

.principle__title {
  margin: 0 0 24px;
  padding-top: 50px;
  color: #6e12bd;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.53;
  letter-spacing: 1.36px;
}

.principle__title_size_big {
  max-width: 984px;
  margin: 0 0 32px;
  padding-top: 100px;
  font-family: 'SF UI Display', sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.167;
  letter-spacing: 2.4px;
}

.principle__text {
  max-width: 816px;
  margin: 0 0 50px;
  opacity: .5;
  color: #333;
  font-size: 24px;
  line-height: 1.75;
}

.principle__text:last-of-type {
  margin: 0;
}

.stack {
  padding: 0 88px;
}

.stack__cover {
  border-radius: 10px 0px 0px 10px;
  padding: 40px 0 50px;
  display: grid;
  grid-template-columns: repeat(2, min-content);
  background-color: #6e12bd;
}

.stack__column-title {
  margin: 0 0 30px;
  padding-left: 110px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.75;
  opacity: .8;
}

.stack__list {
  margin: 0;
  padding: 0 110px 0;
  border-left: 2px solid rgba(255, 255, 255, .5);
  list-style: none;
}

.stack__list:first-of-type {
  border-left: none;
}

.stack__item {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.53;
  letter-spacing: 1.36px;
}

.stack__item:last-of-type {
  margin: 0;
}

.stack__note {
  max-width: 180px;
  margin: auto 0 0;
  padding-left: 110px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  opacity: .7;
}

.footer {
  padding: 0 148px 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  width: 120px;
  height: 48px;
  object-fit: contain;
  object-position: center center;
}

.footer__contacts {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 1.67;
  text-transform: uppercase;
}

.footer__contacts:first-of-type {
  margin: 24px 0 6px;
}

.footer__copyright {
  margin: 24px 0 0;
  opacity: .5;
  color: #333;
  font-size: 16px;
  line-height: 1.875;
}

@media screen and (max-width: 1023px) {
  .header {
    padding: 60px 20px 0;
  }

  .header__logo {
    width: 350px;
    height: 140px;
  }

  .header__title {
    margin: 92px 0 30px;
  }

  .cards {
    padding: 30px 20px 0;
  }

  .cards-list {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .card {
    max-width: 350px;
    min-width: 350px;
  }

  .principles {
    padding: 0 0 0 20px;
  }

  .principles__cover {
    padding: 0;
  }

  .principles__pattern {
    height: 0;
  }

  .principles__pattern_border-position_tl {
    width: calc(100% - 4px);
    border-top: 4px solid rgba(110, 18, 189, .3);
    border-radius: 20px 0 0 20px;
    right: 0;
    top: 0;
  }

  .principles__pattern_border-position_tr {
    width: calc(100% - 4px);
    border-top: 4px solid rgba(110, 18, 189, .3);
    border-radius: 20px 0 0 20px;
    right: 0;
    top: 0;
  }

  .principles__pattern_border-position_bl {
    width: calc(100% - 4px);
    border-bottom: 4px solid rgba(110, 18, 189, .3);
    border-radius: 20px 0 0 20px;
    right: 0;
  }

  .principles__pattern_border-position_br {
    width: calc(100% - 4px);
    border-bottom: 4px solid rgba(110, 18, 189, .3);
    border-radius: 20px 0 0 20px;
    right: 0;
  }

  .principle {
    padding: 0 20px 50px 0;
  }

  .principle__title {
    margin: 0 0 20px;
    padding-top: 20px;
    font-size: 32px;
    line-height: 1.125;
  }

  .principle__title_size_big {
    margin: 0 0 30px;
    padding-top: 70px;
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: 1.6px;
  }

  .principle__text {
    font-size: 18px;
    line-height: 1.67;
  }

  .stack {
    padding: 0 0 0 20px;
  }

  .stack__cover {
    border-radius: 0;
    padding: 30px;
    grid-template-columns: 1fr min-content;
    grid-template-rows: repeat(4, min-content);
    grid-template-areas:
      "title-one title-one"
      "list-one note-one"
      "title-two title-two"
      "list-two note-two";
  }

  .stack__column-title_name_title-one {
    grid-area: title-one;
  }

  .stack__column-title_name_title-two {
    grid-area: title-two;
  }

  .stack__list_name_list-one {
    grid-area: list-one;
  }

  .stack__list_name_list-two {
    grid-area: list-two;
  }

  .stack__note_name_note-one {
    grid-area: note-one;
  }

  .stack__note_name_note-two {
    grid-area: note-two;
  }


  .stack__column-title {
    border-top: 1px solid #fff;
    margin: 0;
    padding: 20px 0 12px 10px;
    font-size: 18px;
    line-height: 1.67;
  }

  .stack__column-title:first-of-type {
    border: none;
    padding: 0 0 12px 10px;
  }

  .stack__list {
    border: none;
    padding: 0 0 24px 10px;
  }

  .stack__list:last-of-type {
    padding-bottom: 0;
  }

  .stack__item {
    margin: 0 0 6px;
    font-family: 'SF UI Display', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.33;
  }

  .stack__item:last-of-type {
    margin: 0;
  }

  .stack__note {
    padding: 0 0 24px 0;
    justify-self: end;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.43;
  }

  .stack__note:last-of-type {
    padding-bottom: 0;
  }

  .footer {
    padding: 100px 20px 34px;
  }

  .footer__logo {
    width: 130px;
    height: 52px;
  }

  .footer__contacts {
    font-size: 14px;
    line-height: 1.43;
  }

  .footer__contacts:first-of-type {
    margin: 20px 0 6px;
  }

  .footer__copyright {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 2.14;
  }
}
