.faq-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.faq-page * {
  box-sizing: border-box;
}

.faq-intro {
  max-width: 920px;
  margin-bottom: 44px;
}

.faq-eyebrow {
  margin: 0 0 12px;
  color: #199fe3;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-intro h1 {
  margin: 0;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.faq-intro p:not(.faq-eyebrow) {
  max-width: 880px;
  margin: 22px 0 0;
  color: #4f5f6b;
  font-size: 19px;
  line-height: 1.65;
}

.faq-section {
  padding: 38px 0;
  border-top: 1px solid #dbe4ea;
}

.faq-section h2 {
  margin: 0 0 10px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.faq-section-intro {
  max-width: 780px;
  margin: 0 0 24px;
  color: #5d6b76;
  font-size: 17px;
  line-height: 1.6;
}

.faq-item {
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: #199fe3;
  box-shadow: 0 16px 40px rgba(23, 33, 38, 0.1);
  transform: translateY(-1px);
}

.faq-item h3 {
  margin: 0;
  min-height: 68px;
  padding: 20px 58px 20px 22px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  position: relative;
}

.faq-item h3::after {
  content: "+";
  width: 30px;
  height: 30px;
  border: 1px solid #dbe4ea;
  border-radius: 999px;
  color: #199fe3;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 19px;
  right: 20px;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.faq-item:hover h3::after,
.faq-item:focus-within h3::after {
  background: #199fe3;
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 22px;
  color: #53616c;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 160ms ease, padding 220ms ease, transform 160ms ease;
}

.faq-item:hover p,
.faq-item:focus-within p {
  max-height: 260px;
  padding: 0 22px 22px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .faq-page {
    padding: 38px 18px 60px;
  }

  .faq-intro h1 {
    font-size: 40px;
  }

  .faq-intro p:not(.faq-eyebrow) {
    font-size: 17px;
  }

  .faq-section h2 {
    font-size: 30px;
  }

  .faq-item {
    margin-top: 12px;
  }

  .faq-item h3 {
    min-height: 62px;
    padding: 17px 52px 17px 18px;
    font-size: 19px;
  }

  .faq-item h3::after {
    top: 16px;
    right: 16px;
  }

  .faq-item:hover p,
  .faq-item:focus-within p {
    padding: 0 18px 18px;
  }
}
