.section--faq .section__title,
.section--faq .section__intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.5rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--pill-border);
  background: rgba(14, 15, 18, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.22s ease, color 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

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

.faq-item__summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.38s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.28s ease;
}

.faq-item[open] .faq-item__summary::after,
.faq-item.is-expanded .faq-item__summary::after {
  transform: translateY(2px) rotate(225deg);
  border-color: var(--hypr-cyan);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item__summary:hover {
    background: rgba(255, 255, 255, 0.04);
  }
}

.faq-item[open] .faq-item__summary,
.faq-item.is-expanded .faq-item__summary {
  color: var(--hypr-cyan);
}

.faq-item__panel {
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel {
    transition: none;
  }

  .faq-item__summary,
  .faq-item__summary::after {
    transition-duration: 0.01ms;
  }
}

.faq-item__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item__body p {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--muted);
}

.faq-item__body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
