/* ==========================================================================
   FAQ: native <details>/<summary>, no JS required for expand/collapse.
   Requires tokens.css + base.css.
   ========================================================================== */

.faq-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.faq-heading p {
  margin-top: 16px;
  color: var(--text-secondary);
}

.faq-list {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--surface-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--heading-color);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-link-active-bg);
  color: var(--accent-color);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-answer a {
  color: var(--link-color);
  font-weight: 700;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .faq-item summary {
    padding: 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
  }
}
