/* FAQ Component */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq__item.is-open {
  border-color: #c7d2fe;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  background: none;
  border: none;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 250px;
}

.faq__answer-inner {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
