/* Questions that open one at a time, used on the pricing page and the questions page. Uses the tokens in styles.css. */
.faq-band h2 { text-align: center; }
.faq { margin: 28px auto 0; max-width: 820px; display: grid; gap: 10px; }
.faq .q { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq h3 { margin: 0; font-size: inherit; }
.faq button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.faq button::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.28s ease; }
.faq button[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
/* Answers open and close by animating the grid row, so the height follows the text. Without the script every answer is simply shown. */
.faq .a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.32s ease, opacity 0.32s ease; }
.faq .a > div { overflow: hidden; min-height: 0; }
.faq.ready .a { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.32s ease, opacity 0.32s ease, visibility 0s 0.32s; }
.faq.ready .q.open .a { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 0.32s ease, opacity 0.32s ease, visibility 0s; }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 16px; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .faq .a, .faq.ready .a, .faq.ready .q.open .a, .faq button::after { transition: none; } }
.faq-group { max-width: 820px; margin: 44px auto 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.faq-group + .faq { margin-top: 14px; }
