/* Jompom FAQ hero: big search box, quick terms, hopping 3D question marks, self-drawing squiggle. */
.jp-fq-hero{position:relative;overflow:hidden;background:var(--sun);color:var(--ink);padding:150px 0 90px;border-bottom:3px solid var(--ink)}
.jp-fq-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(28,29,30,.13) 1.6px,transparent 1.8px);background-size:28px 28px;pointer-events:none}
.jp-fq-hero .fq-squig{position:absolute;right:-60px;bottom:30px;width:420px;fill:none;stroke:#fff;stroke-width:12;stroke-linecap:round;opacity:.8;pointer-events:none}
.jp-fq-hero .fq-squig path{stroke-dasharray:1200;stroke-dashoffset:1200;animation:jp-fq-hero-draw 2.2s .4s var(--out) forwards}
@keyframes jp-fq-hero-draw{to{stroke-dashoffset:0}}
.jp-fq-hero .fq-hero-in{position:relative;max-width:900px;margin-inline:auto;text-align:center}
.jp-fq-hero .fq-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:600}
.jp-fq-hero h1{color:var(--ink);font-size:clamp(44px,7vw,104px);line-height:.92;letter-spacing:-.045em;margin:22px 0 22px}
.jp-fq-hero h1 span{display:inline-block;background:#fff;padding:0 .14em .06em;border-radius:.16em;border:3px solid var(--ink);box-shadow:.06em .06em 0 var(--ink);rotate:-2deg}
.jp-fq-hero .lead{font-size:clamp(16px,1.5vw,19px);max-width:36em;margin:0 auto;color:#2b2b2b;font-weight:500}
.jp-fq-hero .search{position:relative;margin:38px auto 0;max-width:760px;text-align:left}
.jp-fq-hero .search label{display:block;color:var(--ink);font:700 15px/1 var(--jp-display);margin:0 0 10px 6px}
.jp-fq-hero .search-box{display:flex;align-items:center;gap:12px;background:#fff;border:3px solid var(--ink);border-radius:24px;box-shadow:8px 8px 0 var(--ink);padding:10px 10px 10px 22px;transition:translate .5s var(--spring),box-shadow .5s var(--spring),rotate .5s var(--spring)}
.jp-fq-hero .search-box:focus-within{translate:-3px -3px;box-shadow:11px 11px 0 var(--ink);rotate:-.6deg}
.jp-fq-hero .search-box > svg{width:30px;height:30px;flex-shrink:0;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
.jp-fq-hero .search-box input{flex:1;min-width:0;width:auto;margin:0;border:0;border-radius:0;box-shadow:none;background:none;font:700 clamp(19px,2.4vw,28px)/1.2 var(--jp-display);color:var(--ink);padding:12px 0;letter-spacing:-.01em}
.jp-fq-hero .search-box input:focus{outline:none;border:0;box-shadow:none;background:none}
.jp-fq-hero .search-box input::placeholder{color:#9aa4ab}
.jp-fq-hero .search-box input::-webkit-search-cancel-button{display:none}
.jp-fq-hero .search-box:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:4px}
.jp-fq-hero .clear{width:48px;height:48px;flex-shrink:0;margin:0;padding:0;border-radius:14px;border:3px solid var(--ink);background:var(--sky);color:var(--ink);box-shadow:none;cursor:pointer;display:grid;place-items:center;transition:scale .4s var(--spring),rotate .4s var(--spring)}
.jp-fq-hero .clear[hidden]{display:none}
.jp-fq-hero .clear:hover,.jp-fq-hero .clear:focus{rotate:90deg;scale:1.08;background:var(--sky);color:var(--ink)}
.jp-fq-hero .clear svg{width:20px;height:20px}
.jp-fq-hero .try{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0 0 6px;font-size:14px;font-weight:600}
.jp-fq-hero .try button{margin:0;font:600 14px/1 Poppins,sans-serif;letter-spacing:normal;text-transform:none;white-space:normal;padding:8px 12px;border-radius:12px;border:2px solid var(--ink);background:rgba(255,255,255,.7);color:var(--ink);box-shadow:none;cursor:pointer;transition:translate .4s var(--spring),background .2s}
.jp-fq-hero .try button:hover,.jp-fq-hero .try button:focus{translate:0 -3px;background:#fff;color:var(--ink)}
.jp-fq-hero .toys{position:absolute;inset:0;pointer-events:none}
.jp-fq-hero .toys .scene{position:absolute;inset:0;width:100%;aspect-ratio:auto;perspective:900px}
.jp-fq-hero .toy{position:absolute;width:var(--w);aspect-ratio:1;perspective:700px}
.jp-fq-hero .toy .hop{width:100%;height:100%;transform-style:preserve-3d}
.jp-fq-hero .toy .hop.go{animation:jp-fq-hero-hop .6s var(--spring)}
@keyframes jp-fq-hero-hop{0%{translate:0 0;scale:1}35%{translate:0 -26%;scale:1.12 .9}100%{translate:0 0;scale:1}}
.jp-fq-hero .toy .ex{transition:rotate .8s var(--spring)}

@media (max-width:760px){
  .jp-fq-hero{padding:126px 0 70px}
  .jp-fq-hero .toy.t3,.jp-fq-hero .toy.t4{display:none}
}
@media (max-width:560px){
  .jp-fq-hero .search-box{padding:6px 6px 6px 14px;gap:8px;border-radius:20px}
  .jp-fq-hero .search-box > svg{width:24px;height:24px}
  .jp-fq-hero .clear{width:42px;height:42px}
}
@media (prefers-reduced-motion:reduce){
  .jp-fq-hero .fq-squig path{animation:none;stroke-dashoffset:0}
}
