.faq {
  width: calc(100% - 40px);
  height: 613.5px;
  margin-inline: 20px;
  color: var(--color-light);
  background: var(--color-dark);
  border: 1px solid rgba(244, 246, 244, 0.1);
}

.faq__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: calc(100% + 2px);
  height: 613.5px;
}

.faq__intro {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 100%;
}

.faq__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.faq__eyebrow > span {
  width: 30px;
  height: 1px;
  background: var(--color-yellow);
}

.faq__eyebrow p {
  margin: 0;
  color: rgba(244, 246, 245, 0.6);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 2.16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq__title {
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 116px;
  margin: 0;
  padding-top: 22px;
  color: var(--color-light);
  font-size: 44px;
  font-weight: 600;
  line-height: 46.64px;
  letter-spacing: -0.66px;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq__title span:last-child {
  color: rgba(244, 246, 245, 0.6);
  font-weight: 400;
}

.faq__lead {
  width: 320px;
  margin: 0;
  padding-top: 18px;
  color: rgba(244, 246, 245, 0.6);
  font-size: 15px;
  font-weight: 400;
  line-height: 24.75px;
}

.faq__action-row {
  position: relative;
  width: 100%;
  height: 77px;
}

.faq__action {
  position: absolute;
  top: 24px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--color-light);
  background: rgba(244, 246, 245, 0.08);
  border: 1px solid rgba(244, 246, 245, 0.2);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.faq__action img {
  width: 20px;
  height: 20px;
}

.faq__list {
  width: 100%;
  height: 613.5px;
  border-top: 1px solid rgba(244, 246, 245, 0.12);
}

.faq__item {
  width: 100%;
  border-bottom: 1px solid rgba(244, 246, 245, 0.12);
}

.faq__item.is-open {
  background: rgba(200, 240, 49, 0.05);
}

.faq__question {
  position: relative;
  display: block;
  width: 100%;
  height: 84px;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}

.faq__question:focus {
  outline: none;
}

.faq__number {
  position: absolute;
  top: 36px;
  left: 4px;
  color: rgba(244, 246, 245, 0.4);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.68px;
  white-space: nowrap;
}

.faq__question-text {
  position: absolute;
  top: 29px;
  left: 64px;
  color: var(--color-light);
  font-size: 18px;
  font-weight: 600;
  line-height: 25.2px;
  letter-spacing: -0.18px;
  white-space: nowrap;
}

.faq__toggle {
  position: absolute;
  top: 24px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(244, 246, 245, 0.6);
  border: 1px solid rgba(244, 246, 245, 0.2);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.faq__item.is-open .faq__number {
  color: var(--color-yellow);
}

.faq__item.is-open .faq__toggle {
  color: var(--color-dark);
  background: var(--color-yellow);
  border-color: var(--color-yellow);
}

.faq__answer {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

.faq__answer p {
  width: 100%;
  margin: 0;
  padding: 0 56px 26px 64px;
  color: rgba(244, 246, 245, 0.68);
  font-size: 15px;
  font-weight: 400;
  line-height: 25.5px;
}

.faq__item:not(.is-open) .faq__answer {
  display: none;
}

@media (max-width: 1050px) {
  .faq {
    width: calc(100% - 40px);
    height: auto;
    padding: 40px 20px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .faq__intro,
  .faq__list {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 640px) {
  .faq__intro,
  .faq__title,
  .faq__lead {
    width: 100%;
  }

  .faq__title {
    font-size: 36px;
    line-height: 38px;
  }

  .faq__question-text {
    right: 56px;
    white-space: normal;
  }

  .faq__answer p {
    padding-right: 24px;
  }
}
