.faq-intro { max-width: 50ch; margin-top: -1rem; }
.faq-topic {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 1.2rem clamp(1.25rem, 5vw, 4.25rem);
  margin-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-top: clamp(1rem, 2.7vw, 2rem);
  border-top: 1px solid var(--rule);
}
.faq-topic .faq { max-width: none; border-top: 0; }
.faq-topic h2 { padding-block: .7rem .15rem; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.faq summary:focus-visible { outline-offset: -2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 .48rem;
  height: .48rem;
  margin-right: .2rem;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-.1rem) rotate(45deg);
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.faq-answer {
  max-width: 70ch;
  padding: 0 1.1rem 1.2rem .15rem;
  color: var(--quiet);
  line-height: 1.55;
}
.faq details .faq-answer p { padding: 0; }
.faq-answer p + p, .faq-answer ul + p { margin-top: .6rem; }
.faq-answer ul { margin: 0; padding-inline-start: 1.2rem; }
.faq-answer li + li { margin-top: .2rem; }

@media (max-width: 800px) {
  .faq-topic { grid-template-columns: minmax(0, 1fr); }
  .faq-topic h2 { padding: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: transform 180ms ease; }
  @supports selector(details::details-content) {
    .faq details::details-content {
      opacity: 0;
      transition: opacity 220ms ease, content-visibility 240ms allow-discrete;
    }
    .faq details[open]::details-content { opacity: 1; }
  }
  @supports selector(details::details-content) and (interpolate-size: allow-keywords) {
    .faq details::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      transition: block-size 240ms cubic-bezier(.22, .61, .36, 1), opacity 200ms ease, content-visibility 240ms allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; }
  }
  @supports not selector(details::details-content) {
    .faq details[open] .faq-answer { animation: faq-answer-in 200ms ease-out; }
    @keyframes faq-answer-in { from { opacity: 0; transform: translateY(-.2rem); } }
  }
}
