.faq-hero {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(58px, 7vw, 92px);
  text-align: center;
}

.faq-hero__inner {
  display: grid;
  justify-items: center;
}

.faq-hero h1 {
  max-width: 760px;
  margin-top: 22px;
}

.faq-hero__lead {
  max-width: 720px;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(17px, 2vw, 20px);
}

.faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.faq-nav-band {
  position: relative;
  z-index: 12;
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--color-panel-soft);
}

.faq-nav {
  margin-bottom: 0;
}

.faq-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.faq-list {
  max-width: var(--reading-width);
}

.faq-item {
  overflow: hidden;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-callout {
  margin-top: 28px;
}

.faq-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
}

.faq-next > div {
  min-width: 0;
}

.faq-next p {
  max-width: 570px;
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-next__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

section[id] {
  scroll-margin-top: 84px;
}

@media (max-width: 760px) {
  .faq-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-next__actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .faq-hero {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .faq-hero__lead {
    font-size: 16px;
  }

  .faq-hero__actions {
    width: 100%;
  }

  .faq-hero__actions .button {
    flex: 1 1 140px;
  }

  .faq-nav-band {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .faq-next__actions {
    display: grid;
  }

  .faq-next__actions .button {
    width: 100%;
  }
}