/* FAQ: places and sizes its parts, with system.css's tokens. */
.page-faq section[id], .faq-topic { scroll-margin-top: 88px; }

/* ===== hero: the owner at her counter at the right, the words, the search and the topics over a shade at the left ===== */
.faq-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 46vw, 700px); background: var(--c-ink); }
.faq-hero__media { position: absolute; inset: 0; z-index: -2; }
.faq-hero__media img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 64% 30%; }
.faq-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(13, 14, 21, 0.94) 0%, rgba(13, 14, 21, 0.82) 34%, rgba(13, 14, 21, 0.25) 56%, rgba(13, 14, 21, 0) 70%), linear-gradient(0deg, var(--c-ink) 0%, rgba(13, 14, 21, 0) 18%); }
.faq-hero__in { width: 100%; padding-block: clamp(3rem, 6vw, 5rem); }
.faq-hero__title { max-width: 9em; margin: 0; font-size: var(--fs-display); font-weight: var(--fw-display); line-height: 1; letter-spacing: -0.035em; color: var(--c-text); }
.faq-hero__line { max-width: 28rem; margin: 1.1rem 0 0; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--c-text-soft); }
.faq-search { position: relative; display: flex; align-items: center; max-width: 30rem; margin-top: 1.75rem; }
.faq-search svg { position: absolute; z-index: 1; left: 1rem; color: var(--c-text-soft); pointer-events: none; }
.faq-search input { box-sizing: border-box; width: 100%; height: 3.25rem; padding: 0 1rem 0 2.9rem; border: 0; border-radius: var(--radius-m); background: var(--c-glass); box-shadow: inset 0 0 0 1px var(--c-rule-strong), inset 0 1px 0 rgba(255, 255, 255, 0.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--c-text); font: 500 1.0625rem/1 var(--font-ui); }
.faq-search input::placeholder { color: var(--c-text-soft); opacity: 1; }
.faq-search input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.faq-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 34rem; margin-top: 1rem; }
.faq-topics__a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.95rem; border-radius: 999px; background: rgba(13, 14, 21, 0.55); box-shadow: inset 0 0 0 1px var(--c-rule-strong); color: var(--c-text); font: 600 0.9375rem/1.2 var(--font-ui); text-decoration: none; transition: box-shadow var(--dur-fast), background-color var(--dur-fast); }
.faq-topics__a:hover { background: color-mix(in srgb, var(--c-brand) 24%, rgba(13, 14, 21, 0.7)); box-shadow: inset 0 0 0 1px var(--c-brand-on-ink); }
@media (max-width: 760px) {
  /* the owner framed at the top, the words below her on the dark */
  .faq-hero { display: block; min-height: 0; }
  .faq-hero__media { inset: 0 0 auto; height: 96vw; }
  .faq-hero__media img { object-position: 66% 28%; }
  .faq-hero::before { inset: 0 0 auto; height: calc(96vw + 2px); background: linear-gradient(180deg, rgba(13, 14, 21, 0) 52%, rgba(13, 14, 21, 0.7) 80%, var(--c-ink) 100%); }
  .faq-hero__in { padding-top: calc(96vw - 4.5rem); padding-bottom: 2.75rem; }
  .faq-topics__a { min-height: 2.75rem; }
}

/* ===== questions: by topic, the topic's name at the left ===== */
.faq-all__none { max-width: 52rem; margin: 0 auto 1.5rem; font-size: 1.0625rem; }
.faq-topic { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 4rem); max-width: 72rem; margin: 0 auto; padding-block: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid var(--c-line); }
.faq-topic { border-top: 0; }
.faq-topic:first-of-type { padding-top: 0; }
.faq-topic[hidden] { display: none; }
.faq-topic__name { margin: 0; padding-top: 1.15rem; font: 700 0.875rem/1.3 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand-text) !important; }
.faq-topic .faq { max-width: none; margin: 0; }
.faq-topic details[hidden] { display: none; }
@media (max-width: 760px) {
  .faq-topic { grid-template-columns: 1fr; gap: 0.25rem; }
  .faq-topic__name { padding-top: 0; }
}

/* ===== close: the landscaper reading our reply, the main button beside her ===== */
.faq-close__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.faq-close__frame { aspect-ratio: 4 / 3.3; }
.faq-close__frame > img { object-position: 66% 40%; }
.faq-close__card { position: absolute; left: 1.25rem; top: 1.25rem; z-index: 2; }
.faq-close__title { max-width: 11em; margin: 0; font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1.04; letter-spacing: -0.03em; color: var(--c-text); }
.faq-close__line { max-width: 26rem; margin: 1rem 0 1.75rem; font-size: 1.125rem; line-height: 1.55; color: var(--c-text-soft); }
.faq-close__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; color: var(--c-brand-on-ink); font: 700 1rem/1.3 var(--font-ui); text-decoration: none; }
.faq-close__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .faq-close__in { grid-template-columns: 1fr; }
  .faq-close__frame { aspect-ratio: 4 / 3.6; }
  .faq-close__frame > img { object-position: 70% 40%; }
  .faq-close__card { left: 0.9rem; top: 0.9rem; max-width: calc(100% - 1.8rem); }
}
