@import url("./general.css");

h1 {
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: #201515;
}

h1 span {
  white-space: nowrap;
}

h2 {
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: #201515;
}

h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #201515;

}

.hero {
  margin-bottom: 80px;
}

.hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 162px;
}

.hero__content {
  max-width: 630px;
  padding-top: 0;
}

.hero__subtitle {
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #FF4800;
  margin: 48px 0 12px;
}

.hero__text {
  margin-top: 12px;
}

.hero__pic {
  max-width: 500px;
  width: 100%;
}

.hero__pic img {
  width: inherit;
}

.whom__content {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.whom__item {
  box-sizing: border-box;
  display: flex;
  height: 200px;
  flex-direction: column;
  padding: 24px 24px 24px 72px;
  /* padding: 24px 32px 24px 72px; */
  gap: 20px;
  border: 1px solid var(--text-color-default);
  border-radius: 16px;
}

.whom__item:nth-child(2) {
  margin-left: -1px;
}

.whom__item:nth-child(3) {
  margin-left: -1px;
}

.whom__item:nth-child(4) {
  margin-left: -1px;
}

.whom__item h3 {
  display: flex;
  align-items: flex-start;
  margin-left: -40px;
}

.whom__item h3 img {
  width: 28px;
  margin-right: 8px;
  margin-top: -2px;
}


.why__wrapper {
  padding: 32px 40px;
  background: #F8F4F0;
  border-radius: 16px;
}

.why__inner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;

}

.why__left,
.why__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why__item {
  display: flex;
  gap: 16px;
}

.why__item-num {
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  font-feature-settings: 'tnum' on, 'lnum' on;
  color: transparent;
  /* text-stroke: 1px #201515; */
  -webkit-text-stroke: 1px #201515;
}


.why__item-title {
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #FF4800;
}

.why__item-text {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #201515;
}



.possibilities__inner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}



.possibilities__badge {
  display: inline-block;
  padding: 12px 16px;
  background: #FF4800;
  border-radius: 8px;
  font-family: 'Actay Wide';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #FFFEFB;
  /* margin-bottom: 24px; */

}

.possibilities__list {
  list-style-type: disc;
  margin-left: 20px;
  max-width: 520px;
}

.possibilities__item {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #201515;
  margin-top: 24px;

}

.possibilities__item span {
  font-weight: 700;

}


.demo__inner {
  display: flex;
  gap: 24px;
}

.demo__content {
  width: 400px;
}

.demo__text {
  margin-top: 32px;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #201515;

}

.demo__text span {
  color: #FF4800;

}

.demo__video {
  max-width: 845px;
  width: 100%
}

.demo__video video {
  width: 100%;
  border-radius: 16px
}



.specifications__inner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.specifications__block {
  display: flex;
  flex-direction: column;
  gap: 24px;


}

.specifications__item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 16px;
  background: #F8F4F0;
  border-radius: 8px;
}

.specifications__decor {
  width: 4px;
  height: 24px;
  background-color: #ff4800;
  border-radius: 1px;
}

.specifications__text span {
  font-weight: 700;
}



.documentation__inner {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0px;
  gap: 32px;

  background: #F8F4F0;
  border-radius: 16px;

}



.documentation__btn .btn {
  width: auto;
  gap: 8px;
}



.documentation__instructions {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #FF4800;
  display: flex;
  gap: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.documentation__instructions:hover {
  color: #201515;
}

.documentation__instructions:hover img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(8%) saturate(1000%) hue-rotate(315deg) brightness(95%) contrast(95%);
}

@media (max-width: 1200px) {
  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero__pic {
    max-width: 390px;
    width: 100%;
    margin: 0 auto;

  }

  .whom__item {
    height: auto;
  }

  .whom__content {
    grid-template-columns: 1fr 1fr;
  }


  .whom__item:nth-child(3) {
    margin-top: -1px;
  }

  .whom__item:nth-child(4) {
    margin-top: -1px;
  }

  .demo__inner {
    flex-direction: column;
  }

  .demo__content, .demo__video {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 970px) {
  .hero__content {
    max-width: 422px;
  }

  .hero__pic img {
    max-width: 454px;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .why__wrapper {
    padding: 32px;
  }

  .specifications__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 870px) {
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__content {
    max-width: 100%;
  }

  .why__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .possibilities__inner {
    /* margin-top: 32px; */
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .possibilities__list {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero__inner {
    flex-direction: column;
  }

  .hero__pic {
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .whom__content {
    grid-template-columns: 1fr;
  }

  .whom__item:nth-child(2) {
    margin: -1px 0 0 0;
  }
}

@media (max-width: 490px) {
  h1 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero__subtitle {
    margin-top: 32px;
  }

  .why .container,
  .demo .container,
  .documentation .container {
    padding: 0;
  }

  .why__wrapper {
    padding: 32px 16px;
  }

  .demo__content {
    padding: 0 16px;
  }

  .demo__video video {
    border-radius: 0;
  }

  .documentation h2 {
    padding: 0 16px;
  }

  .documentation__btn .btn {
    padding: 16px 11px;
  }
}

@media (max-width: 460px) {
  .whom__item {
    padding: 24px 32px 24px 56px;
  }


  .footer__right {
    min-width: auto;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
  }
}