/* FAQ: the page's own look (plan.md "FAQ"): a still photo band with the h1 card over its window side, the search box
   over the band's lower edge and the topics as chips under it; the questions by topic; the close. */

/* ---------- hero ---------- */
.fqh { padding-block: clamp(20px, 2.6vw, 36px) clamp(36px, 4vw, 56px); }
.fqh__inner { display: grid; justify-items: center; }
.fqh__band { width: 100%; height: clamp(420px, 38vw, 520px); }
.fqh__band > img { object-position: 50% 36%; }
.fqh__card {
  position: absolute; z-index: 2; right: clamp(20px, 3vw, 44px); top: 50%; transform: translateY(-50%);
  display: grid; gap: 12px; width: min(440px, 40%); padding: clamp(24px, 2.6vw, 34px);
  background: var(--c-paper); border-radius: var(--radius-xl); box-shadow: var(--shadow-l);
}
.fqh__title { margin: 0; font-size: clamp(2rem, 1.3rem + 1.9vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.fqh__line { margin: 0; font-size: var(--fs-lead); color: var(--c-ink-soft); }
.fqh__find { position: relative; z-index: 3; width: min(640px, calc(100% - 40px)); margin-top: -34px; }
.fqh__glass { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--c-brand); pointer-events: none; }
.fqh__glass svg { width: 100%; height: 100%; }
.fqh__input {
  width: 100%; height: 68px; padding: 0 22px 0 58px; border: 0; border-radius: var(--radius-pill);
  background: var(--c-paper); box-shadow: var(--shadow-l), inset 0 0 0 1.5px var(--c-line);
  font: 500 var(--fs-body)/1 var(--font-ui); color: var(--c-ink);
}
.fqh__input::placeholder { color: var(--c-ink-soft); }
.fqh__input:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.fqh__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.fqh__topic {
  padding: 10px 18px; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--c-paper-alt); box-shadow: inset 0 0 0 1.5px var(--c-line);
  font: 600 var(--fs-label)/1.2 var(--font-ui); color: var(--c-ink);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.fqh__topic:hover { background: var(--c-brand-light); }
.fqh__topic[aria-pressed="true"] { background: var(--c-brand); color: var(--c-on-brand); box-shadow: none; }
.fqh__topic:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }

/* ---------- the questions ---------- */
.fql { padding-top: clamp(24px, 3vw, 40px); }
.fql__inner { display: grid; gap: clamp(36px, 4vw, 56px); max-width: 920px; }
.fql__topic { display: grid; gap: 16px; }
.fql__topic[hidden] { display: none; }
.fql__name { margin: 0; font: 700 clamp(1.4rem, 1.15rem + 0.8vw, 1.8rem)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--c-ink); }
.fql .faq-item[hidden] { display: none; }
.fql__none { margin: 0; font-size: var(--fs-lead); color: var(--c-ink-soft); }

/* ---------- close ---------- */
.fqc .close__band > video { object-position: 70% 30%; }
.fqc__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.fqc__link { font: 700 var(--fs-ui)/1.2 var(--font-ui); color: var(--c-brand-text); text-decoration: underline; text-underline-offset: 4px; }
.fqc .close__stop { top: 16px; right: 16px; z-index: 3; }

@media (max-width: 899px) {
  .fqh__band { height: auto; display: grid; }
  .fqh__band > img { position: relative; inset: auto; width: 100%; height: 380px; object-position: 50% 30%; }
  .fqh__card { position: relative; right: auto; top: auto; transform: none; width: auto; margin: -64px 12px 12px; }
  .fqh__band { overflow: visible; background: transparent; }
  .fqh__band > img { border-radius: var(--radius-xl); }
  .fqh__find { margin-top: 18px; width: 100%; }
}
