/* FAQ: the page's own layout (plan.md, FAQ). Colors, type, corners and timing come from design\system.css; the components
   from design\components.css. */

/* the header: the headline, the search and the topics beside a good real photo */
.fhero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 4.6vw, 64px); background: radial-gradient(60% 90% at 82% 30%, rgb(88 0 255 / 0.24), transparent 72%), var(--c-ink); }
.fhero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fhero__pic { height: clamp(420px, 42vw, 600px); }
.fhero__pic > img { object-position: 50% 32%; }
.fsearch { position: relative; max-width: 580px; margin-top: 30px; }
.fsearch svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; color: var(--c-on-ink-soft); pointer-events: none; }
.fsearch input { display: block; width: 100%; box-sizing: border-box; height: 62px; padding: 0 22px 0 54px; border-radius: 999px; border: 1px solid var(--c-hair-strong); background: rgb(255 255 255 / 0.06); color: var(--c-on-ink); font: 500 1.0625rem/1 var(--font-ui); }
.fsearch input::placeholder { color: var(--c-on-ink-soft); opacity: 1; }
.fsearch input:focus { outline: 0; border-color: var(--c-brand-light); box-shadow: 0 0 0 3px rgb(143 92 255 / 0.32); }
.fsearch__count { min-height: 1.4em; margin: 10px 0 0 22px; font-size: var(--fs-small); }
.fsearch__count a { color: var(--c-brand-on-ink); }
.ftopics { display: flex; flex-wrap: wrap; gap: 8px; max-width: 600px; list-style: none; margin: 8px 0 0; padding: 0; }
.ftopics a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-hair-strong); color: var(--c-on-ink); font: 600 var(--fs-ui)/1 var(--font-ui); text-decoration: none; transition: background var(--dur-med), border-color var(--dur-med); }
.ftopics a:hover, .ftopics a:focus-visible { border-color: var(--c-brand-light); background: rgb(88 0 255 / 0.24); }
@media (max-width: 900px) {
  .fhero__in { grid-template-columns: minmax(0, 1fr); }
  .fhero__pic { height: 62vw; min-height: 260px; }
  .fhero__pic > img { object-position: 50% 24%; }
}

/* every question, by topic: on type, the topic at the left, its questions at the right */
.ffaq { padding-block: clamp(16px, 2vw, 32px) var(--section-y); }
.ftopic { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 6vw, 96px); align-items: start; padding-block: clamp(36px, 4.4vw, 60px); scroll-margin-top: 80px; }
.ftopic + .ftopic { border-top: 1px solid var(--c-hair); }
.ftopic h2 { position: sticky; top: 110px; font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.375rem); }
.ftopic[hidden] { display: none; }
.ftopic details a, .fnone a { color: var(--c-brand-on-ink); }
.fnone { margin: 0; padding-block: clamp(36px, 4.4vw, 60px); font-size: 1.1875rem; }
@media (max-width: 900px) { .ftopic { grid-template-columns: minmax(0, 1fr); } .ftopic h2 { position: static; } }

/* the close: a café owner getting her answer. Her clip is turned round, so the words stand on the plain wall and her coffee
   machine stands in the light: she reads as an owner behind her counter, never as the agency's team */
.fclose .band__video { object-position: 50% 30%; transform: scaleX(-1); }
.fclose .endband__words { width: min(460px, 100%); }
.fclose .endband__pop { right: max(var(--gutter), 5%); bottom: 16%; }
.fclose__link { margin-top: 14px; font: 600 1rem/1.3 var(--font-ui); }
.fclose__link a { color: var(--c-brand-on-ink); }
@media (max-width: 760px) {
  .fclose .band__video { object-position: 50% 0; }
  .fclose .endband__pop { display: flex; top: calc(clamp(270px, 74vw, 400px) - 74px); bottom: auto; left: var(--gutter); right: auto; }
}
.fclose .endband__words > p { text-wrap: balance; }
