/* Panels: responsive. Under 1024px the artifact sits below the headline; under 760px chapters become ordinary sections. */
@media(max-width:1150px){
  .panel-inner,.panel-inner:has(.capture),#essence .panel-inner,#pix .panel-inner{--cc:1fr;--ca:1.3fr;gap:36px}
  .headline{font-size:clamp(38px,4.4vw,56px)}
  .rail{right:8px}
  .phone-slide{width:31%}
}
@media(max-width:1023px){
  .rail{display:none}
  .panel-inner,.panel.is-flip .panel-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "art";gap:44px}
  .headline{font-size:clamp(44px,8vw,72px)}
  .panel-copy>p{max-width:56ch}
  .feature-list{margin-top:20px}
  .capture{width:100%;max-width:820px}
  .faq-head{grid-template-columns:1fr;gap:20px}
  .phone-slide{max-width:240px}
  .pix-art{max-width:720px}
  .booking-art{justify-items:start}
}
/* Tablets and phones: a chapter is as tall as its content, not a whole screen, so there is no blank band around it. The padding is
   the same on every chapter (36px each side, about 72-77px between the content of two chapters). scroll-margin-top keeps what
   a snap shows identical: the content still starts 84px from the top, under the header. */
@media(max-width:1023px){
  .panel,#mission,#pricing{min-height:0;padding-block:36px;scroll-margin-top:48px}
}
@media(max-height:620px){html{scroll-snap-type:none}}
@media(max-width:760px){
  /* Phones snap too, chapter by chapter; the hero keeps its bottom 84px clear of the floating controls. */
  .hero{padding-bottom:84px}
  .panel-inner,.panel.is-flip .panel-inner{gap:22px}
  .headline{font-size:clamp(34px,9.8vw,44px);line-height:1.02}
  .panel-copy>p{font-size:15px;line-height:1.5;margin-top:14px}
  .feature-list{font-size:14px;gap:6px;margin-top:14px}
  .panel-copy .text-link{font-size:15px;margin-top:14px;min-height:40px}
  /* The desktop capture is shown whole, with a margin, like a framed screen: nothing is cropped or panned. */
  .capture{max-width:none;width:100%;margin:0}
  .admin-capture{display:block;max-width:none;margin:0;padding:0;overflow:visible;border-radius:12px;background:var(--surface);box-shadow:0 22px 44px -22px #00000080,0 0 0 1px var(--rule)}
  .admin-capture picture{display:block;width:100%}
  .admin-capture img{aspect-ratio:1600/900;object-fit:contain;border-radius:12px;box-shadow:none}
  .capture-note{display:block;margin-top:10px;font-size:12px;line-height:1.4;color:var(--sub)}
  .steps h3{font-size:17px}
  .booking-art{padding-block:0}
  .booking-shot{max-width:none}
  .booking-shot img{aspect-ratio:13/31}
  .pix-scene{grid-template-columns:1fr;gap:20px;max-width:420px}
  .pix-receipt{width:90%;justify-self:start}
  .pix-connection{width:64px;justify-self:center;rotate:90deg;margin-block:6px}
  .pix-connection span{display:none}
  .pix-ledger{width:96%;justify-self:end}
  .pix-amount{font-size:52px}
  .pix-sequence{display:grid;gap:12px}
  .pix-replay{margin-left:0;justify-self:start}
  .phone-stage{justify-content:start;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 22px 16px;margin-inline:-22px;scroll-padding-inline:22px;scrollbar-width:none;overscroll-behavior-x:contain}
  .phone-slide,.phone-slide:nth-child(n){width:72%;max-width:270px;translate:none;scroll-snap-align:center}
  .phone-slide .phone-frame{rotate:0deg!important}
  .phone-frame{padding:8px;border-radius:34px}.phone-frame img{border-radius:27px}
  .essence-rings{left:auto;right:-30%;bottom:-8%;width:70%}
  .autonomy h3{font-size:clamp(34px,9.5vw,48px)}
  .faq-list{grid-template-columns:1fr;gap:0}
  .faq-list>div:last-child details:first-child{border-top:0}
  .faq-list summary{font-size:16px;min-height:72px}
  .faq-list details>p{font-size:15px;padding-right:12px}
}
@media(prefers-reduced-motion:reduce){.pix-receipt{transition:none}}

@media(max-width:1023px){#mission .panel-inner{grid-template-areas:"copy" "art" "closing"}#mission .headline{font-size:clamp(40px,7.4vw,64px)}}
@media(max-width:760px){
  #mission .headline{font-size:clamp(34px,9.8vw,44px)}
  .values{grid-template-columns:1fr}
  .closing-line{font-size:clamp(30px,8.4vw,38px)}
  .closing-actions{display:grid;gap:6px}
  .closing-actions .button{justify-self:start}
  .values li{padding-block:16px}
  .value-number{font-size:44px}
  .values h4{font-size:19px}
  .values p{font-size:15px}
}
