/* The FAQ (plan.md, "FAQ"): the owner at her desk with the search and the topics over a navy shade from the left;
   the questions by topic on white cards; the reply landing on a shop owner's phone. */

/* the header: a still photo, her face right of the middle, the words, the search and the topics at the left */
.fhero { padding-block: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) clamp(3.5rem, 2rem + 4vw, 6rem); }
.fhero__photo { object-position: 62% 40%; }
.fhero__shade { background: linear-gradient(90deg, rgba(var(--c-shade), 0.95) 0%, rgba(var(--c-shade), 0.86) 38%, rgba(var(--c-shade), 0.35) 62%, rgba(var(--c-shade), 0) 80%); }
.fhero__in { display: grid; justify-items: start; }
.fhero__in > * { max-width: 34rem; }
.fhero .lead { color: var(--c-mist); }
.fsearch { position: relative; width: 100%; margin-top: 1.5rem; }
.fsearch input { width: 100%; height: 3.5rem; padding: 0 1rem 0 3rem; border: 1px solid var(--c-glass-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font: 500 1.05rem/1.2 var(--font-ui); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
.fsearch input::placeholder { color: var(--c-ink-soft); }
.fsearch input:focus-visible { outline: 3px solid var(--c-azure); outline-offset: 2px; }
.fsearch__icon { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; color: var(--c-ink-soft); pointer-events: none; }
.ftopics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ftopics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem; border: 1px solid var(--c-glass-line); border-radius: 999px; background: rgba(3, 15, 43, 0.5); color: #fff; font: 600 0.95rem/1.2 var(--font-ui); text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out); }
.ftopics a:hover { background: color-mix(in srgb, var(--c-azure) 35%, rgba(3, 15, 43, 0.5)); }
@media (max-width: 760px) {
  .fhero { padding-top: calc(var(--header-h) + 13rem); }
  .fhero .fhero__photo { inset: -1px -1px auto; height: calc(var(--header-h) + 15rem); object-position: 60% 30%; }
  .fhero__shade { inset: 0 0 auto; height: calc(var(--header-h) + 15rem); background: linear-gradient(180deg, rgba(var(--c-shade), 0.3) 0%, rgba(var(--c-shade), 0.15) 50%, rgba(var(--c-shade), 1) 100%); }
}

/* the questions: each topic's name at the left, its questions at the right */
.faq-topic { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: clamp(1rem, 0.5rem + 2vw, 3rem); align-items: start; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-topic + .faq-topic { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); border-top: 1px solid color-mix(in srgb, var(--c-ink) 12%, transparent); }
.faq-topic[hidden] { display: none; }
.faq-topic + .faq-topic[hidden] + .faq-topic, .faq-topic[hidden]:first-child + .faq-topic { margin-top: 0; padding-top: 0; border-top: 0; }
.faq-topic__name { font-size: var(--fs-h3); line-height: 1.2; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-topic .faq-list { display: grid; gap: 0.75rem; }
.faq-none { font-size: 1.1rem; }
@media (max-width: 760px) {
  .faq-topic { grid-template-columns: 1fr; }
  .faq-topic__name { position: static; }
}

/* the last push: the words at the left, the shop owner at the right with the reply landing over the wall beside her */
.fclose__grid { align-items: center; }
.fclose__more { margin-top: 1rem; }
.fclose__pic { aspect-ratio: 4 / 3.2; --strip: 17rem; }
.fclose__photo { object-position: 45% 30%; }
.fclose__card { right: 1rem; bottom: 1rem; width: min(20rem, 50%); }
.fclose__stop { right: calc(1rem + min(20rem, 50%) + 0.6rem); bottom: 1rem; }
@media (max-width: 900px) {
  .fclose__photo { object-position: 48% 20%; }
  .fclose__stop { bottom: auto; }
}
