/* home-qa.css: the home page's page 4, "Frequently asked questions" (#launch; 2026-11-24 owner: was "Asked on launch day", PH pills and link removed).
 * 2026-11-23 (owner): option B of the approved "What people are saying" mockup: four real questions from the
 * Product Hunt launch (Nov 21, 2026), each answered by the maker, beside the strongest quote, the PH pills and a
 * link to the discussion. It doubles as the home page's FAQ (FAQPage JSON-LD in index.html; edit both together).
 * One page between page 3 (#why) and the footer, like every home page it fits the window below the nav at every
 * size (home.css; site/tools/check_home_pages.mjs). Wide: intro (left) beside the Q&A card (right). 860px and
 * under: one column, and the Q&A rows become cards that scroll sideways (scroll-snap, "Swipe for more"), inside
 * the page, so the page itself never scrolls sideways. People are grey until hovered (stats.css owners strip).
 * Tokens and type are the site's (styles.css); the site is light only. */
.qa-in {
  height: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(12px, 3vh, 40px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px);
  align-items: center; align-content: safe center; min-width: 0;
}
.qa-intro { display: grid; gap: clamp(10px, 2vh, 16px); justify-items: start; align-content: center; min-width: 0; }
.qa-intro h2 { margin: 6px 0 0; font-size: clamp(22px, min(2.9vw, 4.4vh), 34px); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.qa-lede { margin: 0; max-width: 44ch; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); text-wrap: pretty; }

/* ---------- the pull quote ---------- */
.qa-pull { margin: 0; display: grid; gap: 10px; padding: 2px 0 2px 14px; border-left: 2px solid var(--foreground); }
.qa .q { margin: 0; }
.qa .q p { margin: 0; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.qa-pull .q p { font-size: 15px; }
.qa-who { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; }
.qa-who-text { display: grid; min-width: 0; }
.qa-who-name { font-weight: 500; }
.qa-who-org { color: var(--muted-foreground); }

/* ---------- people: grey until hovered ---------- */
.qa-av {
  flex: none; display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; filter: grayscale(1);
  box-shadow: 0 0 0 1px var(--border); transition: filter .2s;
}
.qa-av-sm { width: 20px; height: 20px; }
.qa-row:hover .qa-av, .qa-pull:hover .qa-av { filter: none; }

/* ---------- Product Hunt pills (the stats badge look, stats.css) ---------- */

/* ---------- the Q&A card: one row per question, the maker's answer threaded under it ---------- */
.qa-side { min-width: 0; }
.qa-list {
  margin: 0; padding: 0; list-style: none; background: var(--background); border: 1px solid var(--border);
  border-radius: 8px; box-shadow: var(--shadow);
}
.qa-row { padding: clamp(10px, 1.8vh, 14px) 18px; }
.qa-row + .qa-row { border-top: 1px solid var(--border); }
.qa-fig { margin: 0; }
.qa-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-foreground); }
.qa-meta .qa-av { width: 24px; height: 24px; }
.qa-meta b { font-weight: 500; color: var(--foreground); }
.qa-topic { margin-left: auto; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.qa-fig .q { margin: 4px 0 0 34px; }
.qa-fig .q p { font-size: 13.5px; line-height: 1.5; font-weight: 500; }
.qa-thread {
  margin: 8px 0 0 11px; padding-left: 22px; border-left: 1px solid var(--border);
  display: grid; gap: 6px; justify-items: start;
}
.qa-reply { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 12.5px; line-height: 1.55; }
.qa-reply p { margin: 0; color: #3f3f46; }
.qa-run-in { font-weight: 500; color: var(--foreground); margin-right: 4px; }
.qa-maker {
  display: inline-block; padding: 0 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--muted);
  font-size: 10px; font-weight: 600; line-height: 16px; letter-spacing: .04em; text-transform: uppercase;
  color: #52525b; vertical-align: 1px;
}
.qa-more { font-size: 12px; color: var(--muted-foreground); text-decoration: none; padding-left: 28px; }
.qa-more:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.qa-hint { display: none; margin: 6px 0 0; font-size: 11px; color: var(--muted-foreground); }

/* ---------- short laptop windows: the lede and the follow-up replies go (they are on Product Hunt) ---------- */
@media (max-height: 760px) {
  .qa-lede, .qa-reply + .qa-reply { display: none; }
  .qa-thread { margin-top: 6px; gap: 4px; }
}

/* ---------- 860px and under: one column; the rows become cards that scroll sideways ---------- */
@media (max-width: 860px) {
  .qa-in { grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 2.4vh, 24px); }
  .qa-intro { gap: 12px; }
  .qa-pull .q p { font-size: 14px; }
  .qa-list {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); grid-template-columns: none; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter);
    background: none; border: 0; border-radius: 0; box-shadow: none;
  }
  .qa-list::-webkit-scrollbar { display: none; }
  .qa-row, .qa-row + .qa-row {
    scroll-snap-align: start; background: var(--background); border: 1px solid var(--border);
    border-radius: 8px; box-shadow: var(--shadow);
  }
  .qa-hint { display: block; margin-top: -8px; }
}
/* phones: the mockup's phone variant, without the lede and the date pill */
@media (max-width: 600px) {
  .qa-in { padding-top: 8px; padding-bottom: 8px; }
  .qa-lede { display: none; }
}
/* short phones (375x667): the follow-up replies and the "more replies" link go too */
@media (max-width: 860px) and (max-height: 760px) {
  .qa-more { display: none; }
  .qa-in { gap: 10px; }
  .qa-intro { gap: 10px; }
  .qa-pull .q p { font-size: 13px; line-height: 1.5; }
}
/* very short windows: the quote goes; the questions are the point */
@media (max-height: 560px) { .qa-pull { display: none; } }
