/* Marketing FAQ (owner, 2026-10-17): one shared design for the landing, pricing and product pages.
   A huge centred heading, a ~1000px column and one rounded warm-grey card per question with an
   orange "+" that turns into "×" when open. Native <details>/<summary> keeps keyboard and
   screen-reader behaviour; the expand animation is progressive (browsers that cannot animate to
   height:auto just open instantly) and is off with reduced motion. Colours: brand.css tokens. */
section.liva-faq{--faq-ink:var(--liva-ink,#161e28);--faq-muted:#5c616b;--faq-card:var(--liva-surface,#f3f1ec);--faq-card-hover:#eeebe4;--faq-accent:var(--liva-accent-strong,#e8441a);box-sizing:border-box;display:block;width:100%;max-width:1064px;margin-left:auto;margin-right:auto;padding:clamp(72px,9vw,120px) 32px 0;color:var(--faq-ink);interpolate-size:allow-keywords}
:root[data-design=purple] section.liva-faq{--faq-ink:#2e194a;--faq-muted:#6d5a80;--faq-card-hover:#ece6f7}
.liva-faq *{box-sizing:border-box}
.liva-faq .liva-faq-title{margin:0 0 clamp(32px,4.5vw,60px);text-align:center;font-family:var(--nela-heading-font,"DM Sans","Plus Jakarta Sans",system-ui,sans-serif);font-size:clamp(36px,5.4vw,68px)!important;font-weight:700!important;line-height:1.05!important;letter-spacing:-.045em!important;color:var(--faq-ink);text-wrap:balance}
.liva-faq .liva-faq-lead{max-width:620px;margin:calc(clamp(32px,4.5vw,60px) * -.55) auto clamp(32px,4.5vw,56px);text-align:center;font-size:16px;line-height:1.65;color:var(--faq-muted);text-wrap:pretty}
.liva-faq-list{display:flex;flex-direction:column;gap:16px;margin:0;padding:0}
.liva-faq-item{margin:0;padding:0;border:0;border-radius:22px;background:var(--faq-card);box-shadow:none;transition:background-color .2s}
.liva-faq-item:hover{background:var(--faq-card-hover)}
.liva-faq-question{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:22px;list-style:none;cursor:pointer;color:var(--faq-ink);font-size:clamp(17px,1.5vw,20px);font-weight:700;line-height:1.4;letter-spacing:-.01em}
.liva-faq-question::-webkit-details-marker{display:none}
.liva-faq-question::marker{content:""}
.liva-faq-question:focus-visible{outline:2px solid var(--liva-accent-text,#b93a0d);outline-offset:3px}
.liva-faq .liva-faq-q{margin:0;padding:0;font:inherit;color:inherit;letter-spacing:inherit;text-wrap:pretty}
.liva-faq-icon{position:relative;flex:none;width:28px;height:28px;color:var(--faq-accent);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.liva-faq-icon::before,.liva-faq-icon::after{content:"";position:absolute;left:3px;top:12.5px;width:22px;height:3px;border-radius:2px;background:currentColor}
.liva-faq-icon::after{transform:rotate(90deg)}
.liva-faq-item[open] .liva-faq-icon{transform:rotate(45deg)}
.liva-faq-answer{padding:0 84px 30px 32px;color:var(--faq-muted);font-size:16px;line-height:1.7}
.liva-faq .liva-faq-answer p{margin:0;color:var(--faq-muted);font-size:16px;line-height:1.7;text-wrap:pretty}
.liva-faq .liva-faq-answer p+p{margin-top:12px}
.liva-faq .liva-faq-answer a{display:inline-block;margin-top:12px;color:var(--liva-accent-text,#b93a0d);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.liva-faq .liva-faq-answer a:hover{color:var(--faq-ink)}
.liva-faq .liva-faq-answer a:focus-visible{outline:2px solid var(--liva-accent-text,#b93a0d);outline-offset:3px;border-radius:3px}
/* Smooth open/close where the browser can animate to the content height. */
@supports (interpolate-size:allow-keywords){
 @media (prefers-reduced-motion:no-preference){
  .liva-faq-item::details-content{block-size:0;overflow-y:clip;transition:block-size .35s cubic-bezier(.2,.7,.2,1),content-visibility .35s allow-discrete}
  .liva-faq-item[open]::details-content{block-size:auto}
 }
}
@media (prefers-reduced-motion:reduce){.liva-faq-item,.liva-faq-icon{transition:none}}
.feature-page section.liva-faq{padding-top:clamp(16px,3vw,40px);margin-bottom:clamp(64px,8vw,110px)}
@media (max-width:640px){
 section.liva-faq{padding-left:16px;padding-right:16px}
 .liva-faq-list{gap:12px}
 .liva-faq-item,.liva-faq-question{border-radius:18px}
 .liva-faq-question{gap:16px;padding:20px 20px;font-size:16px}
 .liva-faq-icon{width:24px;height:24px}
 .liva-faq-icon::before,.liva-faq-icon::after{left:3px;top:10.75px;width:18px;height:2.5px}
 .liva-faq-answer{padding:0 20px 22px}
 .liva-faq .liva-faq-answer p{font-size:15px}
}
