/* The FAQ page (plan.md "FAQ"): the owner at her desk as a wide band, the h1, the search and the topics on a white
   slab over its lower edge (her face at the right, clear of it); every question by topic, the topic's name beside its
   questions; Kevin's ask plate and the way to write at the close. Only the tokens of system.css. */

/* ---- hero ---- */
.faqh { position: relative; }
.faqh__band { position: relative; margin: 0; height: clamp(360px, 34vw, 500px); overflow: hidden; background: var(--c-ink); }
.faqh__band > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 32%; }
.faqh__in { position: relative; z-index: 2; margin-top: clamp(-230px, -14vw, -150px); }
.faqh__slab { box-sizing: border-box; width: min(100%, 780px); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--c-ink) 70%, transparent); }
.faqh__slab h1 { margin: 0 0 .6rem; font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.75rem); line-height: 1; text-wrap: balance; }
.faqh__line { margin: 0 0 1.25rem; font-size: 1.125rem; line-height: 1.45; color: var(--c-ink-soft); }
.faqh__search { position: relative; }
.faqh__glass { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; color: var(--c-ink-soft); pointer-events: none; }
.faqh__search input { box-sizing: border-box; width: 100%; height: 56px; padding: 0 16px 0 50px; border: 2px solid color-mix(in srgb, var(--c-ink) 22%, transparent); border-radius: var(--radius-m); background: var(--c-paper); font: 500 1.0625rem/1 var(--font-ui); color: var(--c-ink); }
.faqh__search input::placeholder { color: var(--c-ink-soft); opacity: 1; }
.faqh__search input:focus-visible { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-brand) 22%, transparent); }
.faqh__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; padding: 0; list-style: none; }
.faqh__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--c-sage) 60%, var(--c-paper)); font: 700 .9375rem/1 var(--font-ui); color: var(--c-ink); text-decoration: none; }
.faqh__chips a:hover { background: var(--c-sage); }
@media (max-width: 760px) {
  .faqh__band { height: 300px; }
  .faqh__band > img { object-position: 78% 30%; }
  .faqh__in { margin-top: -56px; }
  .faqh__slab { padding: 1.4rem 1.2rem 1.5rem; }
}

/* ---- the questions, by topic: the topic's name at the left (it stays in view beside its questions), the answers at
   the right; one column on the phone ---- */
.faqs { padding-block: clamp(3rem, 6vw, 5rem) var(--section-y); }
.faqs__in { display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); }
.faqs__topic { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid color-mix(in srgb, var(--c-ink) 12%, transparent); scroll-margin-top: 104px; }
.faqs__topic:first-child { padding-top: 0; border-top: 0; }
.faqs__topic[hidden] { display: none; }
.faqs__topic h2 { position: sticky; top: 120px; margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); }
.faqs .qa details[hidden] { display: none; }
.faqs__none { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.faqs__none a { color: var(--c-ink); text-decoration-color: var(--c-brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .faqs__topic { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .faqs__topic h2 { position: static; }
}

/* ---- close: Kevin's ask plate (white on the sage, the radar mark in its corner) beside the way to write ---- */
.faqc { padding-block: var(--section-y); }
.faqc__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.faqc__ask { position: relative; }
.faqc__mark { position: absolute; right: 26px; top: 26px; width: 46px; height: 46px; fill: color-mix(in srgb, var(--c-brand) 75%, transparent); }
.faqc__who { display: flex; align-items: center; gap: 14px; margin: 0 0 1.1rem; }
.faqc__face { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--c-chrome); }
.faqc__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.faqc__who p { margin: 0; display: grid; font: 700 1.0625rem/1.25 var(--font-ui); }
.faqc__who p span { font: 500 .9375rem/1.3 var(--font-text); color: var(--c-ink-soft); }
.faqc__ask h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1; }
.faqc__write { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: center; padding: 1.5rem 1.6rem; border-radius: var(--radius-l); background: var(--c-paper); color: var(--c-ink); text-decoration: none; }
.faqc__write b { grid-column: 1; font: 800 1.6rem/1 var(--font-display); }
.faqc__write span { grid-column: 1; font-size: 1rem; line-height: 1.45; color: var(--c-ink-soft); }
.faqc__arrow { grid-column: 2; grid-row: 1 / span 2; box-sizing: border-box; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--c-ink); color: var(--c-paper); }
@media (max-width: 900px) { .faqc__in { grid-template-columns: minmax(0, 1fr); } }
