/* Only for the landing page's FAQ section. Not folded into styles.css: that file is past the
   project's per-file line ceiling — the same split as doc.css and compare.css. */

/* <details> rather than a JS accordion: it opens with scripts off, and crawlers still reach the
   answer text. The native marker is traded for a CSS-drawn chevron because the system one paints
   solid black, all but invisible against a dark background. */
.faq-list { max-width: 46em; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px 20px 0;
  position: relative;
  font-size: 17px;
  color: var(--active-text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--secondary-text);
  border-bottom: 1.5px solid var(--secondary-text);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list p {
  margin: 0 0 22px;
  padding-right: 28px;
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }
