/*
 * Sneaky FAQ (brand/faq-page.php, brand & UX refinement sprint Batch 4 S5). Loaded only on the FAQ page, after
 * sl-base.css. Every rule is scoped to body.sh-bfaq; colours are the Sneaky Line tokens; no --sh-* token.
 */

body.sh-bfaq .sh-bfaq-mast .sl-mast-copy { display: grid; gap: 16px; align-content: start; }
body.sh-bfaq .sh-bfaq-urgent { display: flex; gap: 10px; align-items: flex-start; max-width: 54ch; color: var(--sl-copy); font-size: 15px; }
body.sh-bfaq .sh-bfaq-urgent .sl-i { margin-top: 3px; color: var(--sl-plum); }
body.sh-bfaq .sh-bfaq-urgent a { color: var(--sl-plum); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* the topic list: the masthead's second column from 1024px, under the lead before that */
body.sh-bfaq .sh-bfaq-topics { align-self: start; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--sl-rose-line); border-radius: 24px; background: rgba(255, 255, 255, .86); box-shadow: var(--sl-shadow-card); }
body.sh-bfaq .sh-bfaq-topics-title { margin: 0 0 10px; font: 800 13px/1.3 var(--sl-text); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-plum); }
body.sh-bfaq .sh-bfaq-topics ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
body.sh-bfaq .sh-bfaq-topics a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 14px; color: var(--sl-ink); font-weight: 700; text-decoration: none; }
body.sh-bfaq .sh-bfaq-topics a:hover { background: var(--sl-rose-soft); }
body.sh-bfaq .sh-bfaq-topics .sl-node { width: 32px; height: 32px; }
body.sh-bfaq .sh-bfaq-topics small { color: var(--sl-muted); font: 600 13px/1 var(--sl-text); white-space: nowrap; }

/* the questions */
body.sh-bfaq .sh-bfaq-body { display: grid; gap: clamp(36px, 5vw, 56px); padding-block: clamp(32px, 5vw, 64px); }
body.sh-bfaq .sh-bfaq-group { display: grid; gap: 16px; scroll-margin-top: 96px; }
body.sh-bfaq .sh-bfaq-group-title { display: flex; align-items: center; gap: 12px; color: var(--sl-ink); }
body.sh-bfaq .sh-bfaq-group-title .sl-node { width: 40px; height: 40px; }
body.sh-bfaq .sh-bfaq-list { display: grid; gap: 10px; }
body.sh-bfaq .sh-bfaq-item { border: 1px solid var(--sl-line-soft); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(18, 44, 58, .04); }
body.sh-bfaq .sh-bfaq-item[open] { border-color: var(--sl-line); }
body.sh-bfaq .sh-bfaq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; color: var(--sl-ink); font: 700 17px/1.35 var(--sl-text); cursor: pointer; list-style: none; border-radius: 18px; }
body.sh-bfaq .sh-bfaq-item > summary::-webkit-details-marker { display: none; }
body.sh-bfaq .sh-bfaq-item > summary:hover { background: var(--sl-rose-soft); }
body.sh-bfaq .sh-bfaq-caret { width: 20px; height: 20px; color: var(--sl-plum); }
body.sh-bfaq .sh-bfaq-item[open] .sh-bfaq-caret { transform: rotate(180deg); }
body.sh-bfaq .sh-bfaq-answer { display: grid; gap: 12px; max-width: 68ch; padding: 0 20px 20px; color: var(--sl-copy); }
body.sh-bfaq .sh-bfaq-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body.sh-bfaq .sh-bfaq-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sl-plum); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* the end band: the first stop is the page's one primary (public-aa re-score, 16 Oct 2026) */
body.sh-bfaq .sh-bfaq-next .sl-next-stop:first-child .sl-btn { min-height: 52px; padding-inline: 24px; border-color: transparent; background: var(--sl-teal); color: #fff; }
body.sh-bfaq .sh-bfaq-next .sl-next-stop:first-child .sl-btn:hover { background: var(--sl-teal-deep); }

/* the price table, the same rows as the Terms page */
body.sh-bfaq .sh-bfaq-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--sl-line-soft); border-radius: 14px; }
body.sh-bfaq .sh-bfaq-table table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
body.sh-bfaq .sh-bfaq-table :is(th, td) { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--sl-line-soft); text-align: left; vertical-align: top; color: var(--sl-copy); background: none; }
body.sh-bfaq .sh-bfaq-table th { color: var(--sl-ink); font-weight: 800; background: var(--sl-rose-soft); }
body.sh-bfaq .sh-bfaq-table td:last-child { color: var(--sl-ink); font-weight: 700; white-space: nowrap; }
body.sh-bfaq .sh-bfaq-table tr:last-child td { border-bottom: 0; }


@media (max-width: 599px) {
	body.sh-bfaq .sh-bfaq-item > summary { padding: 12px 16px; font-size: 16px; }
	body.sh-bfaq .sh-bfaq-answer { padding: 0 16px 16px; }
	body.sh-bfaq .sh-bfaq-table td:last-child { white-space: normal; }
}
@media (prefers-reduced-motion: no-preference) {
	body.sh-bfaq .sh-bfaq-caret { transition: transform .2s var(--sl-ease); }
	html:has(body.sh-bfaq) { scroll-behavior: smooth; }
}
