.faq-header {
  gap: 18px;
}

.faq-header > div {
  max-width: 760px;
}

.faq-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-intro {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.faq-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 14px;
  color: #64748b;
  font-size: 14px;
}

.faq-expand-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.faq-expand-button:hover,
.faq-expand-button:focus-visible {
  color: #0f766e;
  text-decoration: underline;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
}

.faq-item[open] {
  border-color: rgba(14, 165, 164, 0.42);
}

.faq-item summary {
  position: relative;
  padding: 24px 70px 24px 28px;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 26px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  background: var(--accent);
  color: #fff;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(14, 165, 164, 0.25);
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 28px 26px;
}

.faq-answer::before {
  display: block;
  width: 52px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--accent);
  content: "";
}

.faq-answer p {
  max-width: 72ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

.faq-item[hidden] {
  display: none;
}

.faq-empty {
  padding: 42px 32px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  text-align: center;
}

.faq-empty h2 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 24px;
}

.faq-empty p {
  margin: 0;
}

.faq-topics button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.faq-topics button:hover,
.faq-topics button:focus-visible,
.faq-topics button.is-active {
  background: var(--accent-soft);
  color: #0f766e;
}

.faq-topics button.is-active {
  font-weight: 650;
}

.faq-topics button span {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
}

.faq-help-widget > h3 {
  margin-bottom: 10px;
}

.faq-help-widget > p:not(.faq-eyebrow) {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-contact-link {
  justify-content: center;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.faq-contact-link:hover,
.faq-contact-link:focus {
  background: #0f8f8e;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .faq-page {
    padding-top: 32px;
  }

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

  .faq-item summary {
    padding: 20px 58px 20px 20px;
    font-size: 18px;
  }

  .faq-item summary::after {
    right: 18px;
    width: 30px;
    height: 30px;
    font-size: 21px;
  }

  .faq-answer {
    padding: 0 20px 22px;
  }

  .faq-answer p {
    font-size: 16px;
  }
}
