/* ─── PICPAY SHOP · WIREFRAMES (Oct 31 2026) ─── the shopping journey as three phones side by side: 0 the home · 1 a store · 2 the checkout.
   Unbranded, drawn with short.css's .wx primitives in the page's tokens, 1em = 1% of the stage. The Shop's colour is Menthe (the stage, the accent), where Itaú's is Nectarine.
   The phone the tab (or the step you're reading) points at comes forward and builds in, the others wait, dimmed; the arrow into it darkens and a tap ring marks
   what was pressed on the phone before (the store's tile on the home, a buy button on the store). Paused / reduced motion: no build-in, no ticking */
.wx-box:has(>.ws){background:color-mix(in oklab,var(--mint) 72%,var(--bg))}
html[data-theme="dark"] .wx-box:has(>.ws){background:color-mix(in oklab,var(--sage) 12%,var(--bg))}
.ws{--wa:var(--olive);--wt:color-mix(in oklab,var(--mint) 72%,var(--wp));--wbn:color-mix(in oklab,var(--ink) 86%,var(--olive))}
html[data-theme="dark"] .ws{--wt:color-mix(in oklab,var(--sage) 20%,var(--wp));--wbn:color-mix(in oklab,var(--olive) 50%,var(--wp))}
.ws-ph{position:absolute;left:calc(10em + var(--n) * 29em);top:8.6em;width:22em;height:47.6em;overflow:hidden;border:1px solid var(--wl);border-radius:3.4em;background:var(--wp);opacity:.5;scale:.95;box-shadow:0 1.6em 3.6em -2em color-mix(in oklab,var(--ink) 30%,transparent),0 0 0 .55em color-mix(in oklab,var(--ink) 5%,transparent);transition:opacity .5s ease,scale .7s var(--e-bloom),translate .7s var(--e-bloom),box-shadow .7s ease}
.ws-ph.on{opacity:1;scale:1;translate:0 -1em;box-shadow:0 2.8em 5.2em -2em color-mix(in oklab,var(--ink) 42%,transparent),0 0 0 .55em color-mix(in oklab,var(--ink) 7%,transparent)}
.ws-ph::before{content:'';position:absolute;z-index:3;top:1.1em;left:50%;width:5.6em;height:1.4em;margin-left:-2.8em;border-radius:.7em;background:var(--ws)}
.ws-one .ws-ph{left:39em}
html.still .ws-ph{transition:opacity .2s ease}
@media (prefers-reduced-motion:reduce){.ws-ph{transition:opacity .2s ease}}
.ws-sc{position:absolute;inset:3.6em 1.5em 0;display:flex;flex-direction:column;gap:1.1em}
/* 0 · home */
.ws .ws-srch{flex:1;display:flex;align-items:center;gap:.6em;min-width:0;height:2em;padding:0 .8em;border-radius:1em;background:var(--wk)}
.ws-srch>i:first-child{flex:none;width:.9em;height:.9em;border-radius:50%;border:1px solid var(--ws)}
.ws-ic{position:relative;flex:none;width:1.9em;height:1.9em;border-radius:50%;border:1px solid var(--wl)}
.ws-bell::after{content:'';position:absolute;top:-.25em;right:-.25em;width:.8em;height:.8em;border-radius:50%;background:var(--wa);box-shadow:0 0 0 .2em var(--wp)}
.ws-menu{border-color:transparent;background:var(--wk)}
.ws-menu::before,.ws-menu::after{content:'';position:absolute;left:31%;right:31%;height:1px;background:color-mix(in oklab,var(--ink) 55%,transparent)}
.ws-menu::before{top:41%}.ws-menu::after{top:57%}
.ws-tabs{display:flex;gap:1.3em;margin:0 -1.5em;padding:0 1.5em .7em;overflow:hidden;border-bottom:1px solid var(--wl)}
.ws-tabs i{position:relative;flex:none;width:var(--w);height:.8em;border-radius:.4em;background:var(--wk)}
.ws-tabs i.on{background:var(--ws)}
.ws-tabs i.on::after{content:'';position:absolute;left:0;right:0;top:calc(100% + .45em);height:.25em;border-radius:.15em;background:var(--wa)}
.ws-car{position:relative}
.ws-ban{position:relative;height:8.8em;overflow:hidden;border-radius:1.1em;background:var(--wbn)}
.ws-ban::before{content:'';position:absolute;left:1.6em;top:2.2em;width:7.4em;height:7.4em;border-radius:50%;background:color-mix(in oklab,var(--wp) 12%,transparent)}
.ws-ban::after{content:'';position:absolute;left:4.6em;top:3.4em;width:3.8em;height:3.8em;border-radius:.8em;rotate:-14deg;background:color-mix(in oklab,var(--sage) 40%,transparent)}
.ws-badge{position:absolute;z-index:1;left:1em;top:1em;width:1.9em;height:1.9em;border-radius:.55em;background:var(--wa)}
.ws-bh{position:absolute;z-index:1;right:1.2em;bottom:1.2em;display:flex;flex-direction:column;align-items:flex-end;gap:.45em}
.ws .ws-bh .k{background:color-mix(in oklab,var(--wp) 70%,transparent)}
.ws .ws-bh .k.h{height:2.2em;background:var(--sage)}
.ws-peek{position:absolute;top:.9em;bottom:.9em;left:-1.35em;width:.95em;border-radius:0 .6em .6em 0;background:color-mix(in oklab,var(--wa) 55%,var(--wp))}
.ws-peek.r{left:auto;right:-1.35em;border-radius:.6em 0 0 .6em;background:color-mix(in oklab,var(--rose) 62%,var(--wp))}
.ws-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9em}
.ws-tile{display:flex;flex-direction:column;align-items:center;gap:.55em;min-width:0}
.ws-lg{position:relative;width:100%;aspect-ratio:1;border-radius:.9em;background:var(--t)}
.ws-lg::after{content:'';position:absolute;inset:31%;border-radius:var(--g,50%);background:color-mix(in oklab,var(--wp) 82%,transparent)}
.ws-cb{position:relative;z-index:1;width:86%;height:1.1em;margin-top:-1.1em;border-radius:.55em;background:var(--ink);box-shadow:0 0 0 .2em var(--wp)}
.ws-cb::after,.ws-cbl::after{content:'';position:absolute;left:20%;right:20%;top:50%;height:.3em;margin-top:-.15em;border-radius:.15em;background:color-mix(in oklab,var(--wp) 62%,transparent)}
.ws-clk{display:flex;align-items:center;gap:.5em}
.ws-clk>i:first-child{position:relative;flex:none;width:1.15em;height:1.15em;border-radius:50%;border:1px solid var(--ws)}
.ws-clk>i:first-child::after{content:'';position:absolute;left:50%;bottom:50%;width:1px;height:34%;margin-left:-.5px;background:var(--ink);transform-origin:50% 100%}
.ws-flash{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9em}
.ws-flash>i{position:relative;height:14em;border-radius:1em;background:var(--t)}
.ws-flash>i::before{content:'';position:absolute;left:.9em;top:.9em;width:2.4em;height:2.4em;border-radius:.65em;background:color-mix(in oklab,var(--wp) 85%,transparent)}
.ws-flash b{position:absolute;left:.9em;right:.9em;top:4.3em;height:.4em;overflow:hidden;border-radius:.2em;background:color-mix(in oklab,var(--wp) 32%,transparent)}
.ws-flash b::after{content:'';position:absolute;left:0;top:0;bottom:0;width:var(--p,62%);border-radius:inherit;background:var(--wp)}
/* 1 · a store */
.ws-hero{position:absolute;left:0;right:0;top:0;height:11.4em;overflow:hidden;background:color-mix(in oklab,var(--water) 60%,var(--wp))}
.ws-hero::before{content:'';position:absolute;right:-2.4em;top:-3.4em;width:12em;height:12em;border-radius:50%;background:color-mix(in oklab,var(--wp) 16%,transparent)}
.ws-hero::after{content:'';position:absolute;left:2.6em;top:5em;width:5.6em;height:5.6em;border-radius:50%;background:color-mix(in oklab,var(--ink) 14%,transparent)}
.ws-gl{border-color:transparent;background:color-mix(in oklab,var(--wp) 78%,transparent)}
.ws-store{display:flex;align-items:center;gap:1em;margin-top:1.4em;padding:1.1em;border:1px solid var(--wl);border-radius:1em;background:var(--wp);box-shadow:0 1.2em 2.4em -1.6em color-mix(in oklab,var(--ink) 45%,transparent)}
.ws-slg{position:relative;flex:none;width:3.6em;height:3.6em;border-radius:.85em;background:var(--water)}
.ws-slg::after{content:'';position:absolute;inset:30%;border-radius:50%;background:color-mix(in oklab,var(--wp) 82%,transparent)}
.ws-cbl{position:relative;flex:none;width:5.8em;height:1.25em;border-radius:.625em;background:var(--ink)}
.ws .ws-was{position:relative;opacity:.8}
.ws .ws-was::after{content:'';position:absolute;left:-.25em;right:-.25em;top:50%;height:1px;background:color-mix(in oklab,var(--ink) 50%,transparent)}
.ws-prods{display:grid;grid-auto-flow:column;grid-auto-columns:8.2em;gap:1em}
.ws-pr{display:flex;flex-direction:column;gap:.55em;min-width:0}
.ws-pi{position:relative;aspect-ratio:1/1.05;border-radius:.9em;background:var(--t)}
.ws-pi::after{content:'';position:absolute;inset:24% 28%;border-radius:.6em;background:color-mix(in oklab,var(--wp) 22%,transparent)}
.ws .ws-pr .k.a{margin-top:.15em;background:var(--wa)}
.ws-buy{position:relative;height:2em;margin-top:.2em;border-radius:1em;background:var(--wk)}
.ws-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:6.4em;gap:.8em}
.ws-thumbs i{height:6em;border-radius:.8em;background:color-mix(in oklab,var(--t) 70%,var(--wp))}
.ws-fade{position:absolute;left:0;right:0;bottom:0;height:7.6em;background:linear-gradient(color-mix(in oklab,var(--wp) 0%,transparent),var(--wp) 58%)}
.ws .ws-cta{position:absolute;left:1.5em;right:1.5em;bottom:1.5em;display:flex;align-items:center;justify-content:center;height:2.8em;border-radius:1.4em;background:var(--ink)}
.ws .ws-cta .k{background:color-mix(in oklab,var(--wp) 45%,transparent)}
/* 2 · the checkout */
.ws-ord{display:flex;align-items:center;gap:1em;padding:1em;border:1px solid var(--wl);border-radius:1em}
.ws-oi{flex:none;width:3.2em;height:3.2em;border-radius:.75em;background:var(--water)}
.ws-pay{display:flex;flex-direction:column;border:1px solid var(--wl);border-radius:1em}
.ws-opt{display:flex;align-items:center;gap:.8em;height:3.1em;padding:0 1em}
.ws-opt+.ws-opt{border-top:1px solid var(--wl)}
.ws-rd{flex:none;width:1.25em;height:1.25em;border-radius:50%;border:1px solid var(--ws)}
.ws-opt.on .ws-rd{border:.38em solid var(--wa)}
.ws-oic{flex:none;width:1.9em;height:1.35em;border-radius:.3em;background:var(--wk)}
.ws-opt.on .ws-oic{background:var(--ws)}
.ws-safe{display:flex;flex-direction:column;gap:.9em;padding:1.1em;border-radius:1em;background:var(--wt)}
.ws-lock{position:relative;flex:none;width:2.6em;height:2.6em;border-radius:50%;background:var(--wa)}
.ws-lock b{position:absolute;left:31%;right:31%;top:47%;height:30%;border-radius:.2em;background:var(--wp)}
.ws-lock b::before{content:'';position:absolute;left:14%;right:14%;bottom:90%;height:.6em;border:.17em solid var(--wp);border-bottom:0;border-radius:.6em .6em 0 0}
.ws-ckr{display:flex;align-items:center;gap:.8em}
.ws-ck{position:relative;flex:none;width:1.2em;height:1.2em;border-radius:50%;background:var(--wa)}
.ws-ck::after{content:'';position:absolute;left:37%;top:20%;width:24%;height:44%;border:solid var(--wp);border-width:0 .14em .14em 0;rotate:45deg}
.ws-foot{position:absolute;left:1.5em;right:1.5em;bottom:1.4em;display:flex;flex-direction:column;align-items:center;gap:.7em}
.ws .ws-foot .bt.p{width:100%;height:2.9em}
.ws-sec{display:flex;align-items:center;gap:.5em}
.ws-lk{position:relative;flex:none;width:.8em;height:.62em;margin-top:.3em;border-radius:.14em;background:var(--ws)}
.ws-lk::before{content:'';position:absolute;left:16%;right:16%;bottom:88%;height:.4em;border:.1em solid var(--ws);border-bottom:0;border-radius:.4em .4em 0 0}
/* the flow: arrows between the phones, the one into the lit phone in ink; a tap ring on what led there */
.ws-ar{position:absolute;left:calc(33.6em + var(--n) * 29em);top:31.6em;width:3.8em;height:1px;color:color-mix(in oklab,var(--ink) 26%,transparent);background:currentColor;transition:color .5s ease}
.ws-ar::after{content:'';position:absolute;right:.17em;top:50%;width:.8em;height:.8em;margin-top:-.4em;border:solid currentColor;border-width:1px 1px 0 0;rotate:45deg}
.ws:has(>.ws-ph[data-s="1"].on) .ws-ar[data-a="1"],.ws:has(>.ws-ph[data-s="2"].on) .ws-ar[data-a="2"]{color:var(--ink)}
.ws-tap{position:absolute;z-index:2;left:50%;top:50%;width:2.8em;height:2.8em;margin:-1.4em 0 0 -1.4em;border-radius:50%;background:color-mix(in oklab,var(--wp) 30%,transparent);box-shadow:0 0 0 .14em var(--wp),0 0 0 .3em color-mix(in oklab,var(--ink) 40%,transparent);opacity:0;scale:.5;transition:opacity .3s ease,scale .45s var(--e-bloom)}
.ws:has(>.ws-ph[data-s="1"].on) .ws-ph[data-s="0"] .ws-tap,.ws:has(>.ws-ph[data-s="2"].on) .ws-ph[data-s="1"] .ws-tap{opacity:1;scale:1;animation:ws-tap 2s ease-out .4s infinite}
/* build-in: the blocks rise in turn; the cashback chips pop, the clock ticks, the deals' time runs down, the products rise one by one,
   the chosen way to pay fills, the lock closes and the checks pop */
.ws-sc>:nth-child(2){--i:1}.ws-sc>:nth-child(3){--i:2}.ws-sc>:nth-child(4){--i:3}.ws-sc>:nth-child(5){--i:4}.ws-sc>:nth-child(6){--i:5}.ws-sc>:nth-child(n+7){--i:6}
.ws-tile:nth-child(2){--c:1}.ws-tile:nth-child(3){--c:2}.ws-tile:nth-child(4){--c:3}
.ws-ph.on .ws-sc>*{animation:wx-in .55s var(--e-bloom) both;animation-delay:calc(var(--dl,0s) + .12s + var(--i,0) * 55ms)}
.ws-ph.on :is(.ws-cta,.ws-foot){animation:wx-in .6s var(--e-bloom) both;animation-delay:calc(var(--dl,0s) + .5s)}
.ws-ph.on .ws-cb{animation:wx-pop .4s var(--e-knob) both;animation-delay:calc(var(--dl,0s) + .55s + var(--c,0) * 70ms)}
.ws-ph.on .ws-clk>i:first-child::after{animation:ws-tick 6s steps(12) infinite}
.ws-ph.on .ws-flash b::after{animation:ws-drain 1.4s var(--e-bloom) both;animation-delay:calc(var(--dl,0s) + .7s)}
.ws-ph.on .ws-pr{animation:wx-in .55s var(--e-bloom) both;animation-delay:calc(var(--dl,0s) + .32s + var(--j,0) * 80ms)}
.ws-ph.on .ws-cbl{animation:wx-pop .4s var(--e-knob) both;animation-delay:calc(var(--dl,0s) + .45s)}
.ws-ph.on .ws-opt.on .ws-rd{animation:ws-rd .5s var(--e-knob) both;animation-delay:calc(var(--dl,0s) + .55s)}
.ws-ph.on .ws-lock b::before{animation:ws-shut .5s var(--e-knob) both;animation-delay:calc(var(--dl,0s) + .75s)}
.ws-ph.on .ws-ck{animation:wx-pop .4s var(--e-knob) both;animation-delay:calc(var(--dl,0s) + .9s + var(--j,0) * .15s)}
@keyframes ws-tick{to{rotate:1turn}}
@keyframes ws-drain{from{width:100%}}
@keyframes ws-rd{from{border-width:1px;border-color:var(--ws)}}
@keyframes ws-shut{from{translate:0 -.32em}}
@keyframes ws-tap{0%{box-shadow:0 0 0 .14em var(--wp),0 0 0 .3em color-mix(in oklab,var(--ink) 40%,transparent),0 0 0 .3em color-mix(in oklab,var(--ink) 25%,transparent)}70%,100%{box-shadow:0 0 0 .14em var(--wp),0 0 0 .3em color-mix(in oklab,var(--ink) 40%,transparent),0 0 0 1.6em color-mix(in oklab,var(--ink) 0%,transparent)}}
