/* /start/pinkas/ and the Pinkas teaser on /start/ (ledger 1415). Scoped under .v5 with the pk- prefix; the incumbent tokens of start-v5.css; no inline styles, no data: URIs (CSP).
   The hero stage is one composition sized in container units (cqw): the CSS below IS its rest frame (also the prefers-reduced-motion frame and the no-JavaScript frame).
   start-pinkas.js only adds the motion on top, with transform and opacity, and gives the stage back to this CSS when it ends. The video player is start-film.css. */

/* ---------- hero ---------- */
.v5 .pk-hero{position:relative;isolation:isolate;background:radial-gradient(48% 62% at 24% 50%,rgba(127,178,255,.24),rgba(127,178,255,0) 72%),linear-gradient(180deg,var(--paper) 0%,#fff 100%);padding-block:40px 72px;overflow:hidden}
.v5 .pk-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle,rgba(8,36,74,.09) 1px,transparent 1.4px) 0 0/22px 22px;-webkit-mask-image:radial-gradient(52% 70% at 24% 50%,#000,transparent 75%);mask-image:radial-gradient(52% 70% at 24% 50%,#000,transparent 75%)}
.v5 .pk-hgrid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:48px;align-items:center}
.v5 .pk-kick{display:inline-flex;align-items:center;gap:8px;min-height:34px;margin:0 0 18px;padding:0 14px;border-radius:99px;background:#fff;border:1px solid #CFDDF4;box-shadow:0 1px 2px rgba(8,36,74,.05);font-size:14.5px;font-weight:600;color:var(--blue)}
.v5 .pk-kick svg{fill:var(--blue-50);stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-h1{font-size:clamp(34px,4.1vw,58px);line-height:1.1;font-weight:700;letter-spacing:-.016em;color:var(--ink);margin:0 0 20px;text-wrap:balance}
.v5 .pk-lead{max-width:34em;margin:0 0 30px}
.v5 .pk-fig{margin:0;min-width:0}
.v5 .pk-cap{min-height:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;margin-top:6px;font-size:14px;line-height:1.45;color:var(--ink-3)}
.v5 .pk-replay{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--blue);font:600 15px/1 "IBM Plex Sans Hebrew",sans-serif;cursor:pointer}
.v5 .pk-replay svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (hover: hover){
 .v5 .pk-replay:hover{background:var(--blue-50)}
}

/* ---------- the stage: 100 x 106 container units, physical coordinates (dir ltr), text inside is rtl ---------- */
.v5 .pk-stage{position:relative;container-type:inline-size;width:100%;max-width:560px;margin-inline:auto;aspect-ratio:100/106;direction:ltr;perspective:220cqw;perspective-origin:50% 42%;contain:layout paint}
.v5 .pk-stage>*{position:absolute}
.v5 .pk-lines{inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:var(--blue);stroke-width:1}
.v5 .pk-lines path,.v5 .pk-lines ellipse{vector-effect:non-scaling-stroke}
.v5 .pk-grid{opacity:.16}
.v5 .pk-orbit{opacity:.3}
.v5 .pk-link{opacity:.45;stroke-dasharray:1.2 1.4}

/* the four cards, two on each side of the phone, turned a little toward it. The cards are dir=rtl, so inset-inline-start is their right edge: --x counts from the right */
.v5 .pk-cards{inset:0}
.v5 .pk-card{position:absolute;top:var(--y);inset-inline-start:var(--x);width:29.5cqw;display:grid;gap:1.2cqw;padding:2.2cqw 2.4cqw 2.5cqw;background:#fff;border:1px solid var(--line);border-radius:2.6cqw;box-shadow:0 .4cqw 1cqw rgba(8,36,74,.06),0 3.6cqw 6cqw -2cqw rgba(8,36,74,.22);text-align:start;font-size:2.45cqw;line-height:1.35;color:var(--ink-2)}
.v5 .pk-c1,.v5 .pk-c2{--x:.5cqw;rotate:y 14deg;transform-origin:0 50%}
.v5 .pk-c3,.v5 .pk-c4{--x:70cqw;rotate:y -14deg;transform-origin:100% 50%}
.v5 .pk-c1{--y:14cqw}
.v5 .pk-c2{--y:56cqw}
.v5 .pk-c3{--y:12cqw}
.v5 .pk-c4{--y:62cqw}
.v5 .pk-ch{display:flex;align-items:center;gap:1.6cqw}
.v5 .pk-ch b{font-size:3.1cqw;white-space:nowrap;line-height:1.2;font-weight:600;color:var(--ink)}
.v5 .pk-ic{flex:0 0 auto;width:5.2cqw;height:5.2cqw;padding:1cqw;border-radius:1.6cqw;background:var(--blue-50);fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-tag{display:inline-flex;align-items:center;gap:.9cqw;justify-self:start;padding:.6cqw 1.6cqw;border-radius:99px;background:#E8F5EC;color:var(--ok);font-weight:600;font-size:2.2cqw;white-space:nowrap}
.v5 .pk-tag svg{width:2.8cqw;height:2.8cqw;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-amt{font-size:4.2cqw;line-height:1.1;font-weight:700;color:var(--ink);direction:ltr;text-align:end}
.v5 .pk-opt{display:inline-flex;align-items:center;gap:1.2cqw;font-weight:600;color:var(--ink);white-space:nowrap}
.v5 .pk-box{display:grid;place-items:center;flex:0 0 auto;width:3.4cqw;height:3.4cqw;border-radius:.8cqw;background:var(--blue)}
.v5 .pk-box svg{width:80%;height:80%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-co{display:flex;justify-content:space-between;align-items:baseline;gap:1cqw;padding-bottom:.8cqw;border-bottom:1px solid var(--line)}
.v5 .pk-co b{font-size:2.8cqw;color:var(--ink);white-space:nowrap}
.v5 .pk-co span{font-size:2.8cqw;font-weight:700;color:var(--blue)}
.v5 .pk-job{display:flex;justify-content:space-between;gap:1cqw;font-size:2.3cqw;white-space:nowrap}
.v5 .pk-job span+span{font-weight:600;color:var(--ink)}
.v5 .pk-mo{display:grid;grid-template-columns:1fr 1fr;gap:1.6cqw}
.v5 .pk-mo>span{display:grid;gap:.4cqw}
.v5 .pk-mo small{font-size:2.3cqw;color:var(--ink-3)}
.v5 .pk-mo b{font-size:2.8cqw;font-weight:700;color:var(--ink)}
.v5 .pk-mo i{display:block;height:1.2cqw;border-radius:99px;background:var(--blue);transform-origin:100% 50%}
.v5 .pk-mo-b i{background:var(--blue-hi);transform:scaleX(.6)}

/* the papers on the desk (the start of the pass only; invisible at rest) */
.v5 .pk-papers{inset:0;z-index:1;pointer-events:none}
.v5 .pk-papers i{position:absolute;width:20cqw;height:26cqw;border-radius:1cqw;background:linear-gradient(#DCE3EC,#DCE3EC) 2.4cqw 4cqw/12cqw .9cqw no-repeat,linear-gradient(#E6EBF2,#E6EBF2) 2.4cqw 7.4cqw/15cqw .7cqw no-repeat,linear-gradient(#E6EBF2,#E6EBF2) 2.4cqw 10cqw/13cqw .7cqw no-repeat,linear-gradient(#E6EBF2,#E6EBF2) 2.4cqw 12.6cqw/15cqw .7cqw no-repeat,linear-gradient(#E6EBF2,#E6EBF2) 2.4cqw 15.2cqw/10cqw .7cqw no-repeat,#fff;border:1px solid var(--line);box-shadow:0 1.6cqw 3cqw -1cqw rgba(8,36,74,.28);opacity:0}
.v5 .pk-p1{inset-inline-start:6cqw;top:14cqw}
.v5 .pk-p2{inset-inline-start:22cqw;top:6cqw}
.v5 .pk-p3{inset-inline-start:58cqw;top:8cqw}
.v5 .pk-p4{inset-inline-start:74cqw;top:30cqw}
.v5 .pk-p5{inset-inline-start:8cqw;top:52cqw}
.v5 .pk-p6{inset-inline-start:66cqw;top:58cqw}
.v5 .pk-p7{inset-inline-start:38cqw;top:62cqw}

/* the phone: the site's iPhone frame (.v5-iph) with a drawn "מי חייב לי" screen */
.v5 .pk-phone{inset-inline-start:30.5cqw;top:9cqw;width:39cqw;z-index:2}
.v5 .pk-scr{position:relative;aspect-ratio:402/874;direction:rtl;text-align:start;color:var(--ink);padding-top:16cqw;background:#fff}
.v5 .pk-scr :where(p,ul){margin:0}
.v5 .pk-top{margin:0 6cqw;padding-bottom:3cqw;border-bottom:1px solid var(--line);font-size:4.4cqw;font-weight:600;color:var(--ink-3);text-align:center}
.v5 .pk-title{display:flex;justify-content:space-between;align-items:baseline;margin:5cqw 7cqw 3cqw}
.v5 .pk-title b{font-size:6.6cqw;font-weight:700}
.v5 .pk-title span{font-size:5.4cqw;font-weight:700;color:var(--blue)}
.v5 .pk-rows{list-style:none;padding:0;margin:0 5cqw;display:grid;gap:2.6cqw}
.v5 .pk-row{display:flex;justify-content:space-between;align-items:center;gap:2cqw;padding:3.4cqw 3.6cqw;border-radius:3cqw;background:var(--paper);border:1px solid var(--line)}
.v5 .pk-rn,.v5 .pk-ra{display:grid;gap:.6cqw}
.v5 .pk-ra{text-align:end}
.v5 .pk-rn b,.v5 .pk-ra b{font-size:4.6cqw;font-weight:700}
.v5 .pk-ra b{color:var(--ink)}
.v5 .pk-rn small,.v5 .pk-ra small{font-size:3.6cqw;color:var(--ink-3)}
.v5 .pk-ra small{color:var(--warn);font-weight:600}
.v5 .pk-r1{border-color:#B9CEF0;background:var(--blue-50)}
.v5 .pk-pay{display:grid;place-items:center;height:12cqw;margin:5cqw 5cqw 0;border-radius:3.4cqw;background:var(--blue);color:#fff;font-size:4.8cqw;font-weight:600}
.v5 .pk-tabs{position:absolute;inset-inline:0;bottom:0;display:flex;justify-content:space-around;padding:3.4cqw 3cqw 7cqw;border-top:1px solid var(--line);background:#fff;font-size:3.6cqw;font-weight:600;color:var(--ink-3)}
.v5 .pk-tabs .pk-on{color:var(--blue)}

/* the particles and the soft "poof" (made by start-pinkas.js, invisible at rest) */
.v5 .pk-dots{inset:0;z-index:3;pointer-events:none}
.v5 .pk-dots i,.v5 .pk-dots b{position:absolute;inset-inline-start:0;top:0;border-radius:50%;opacity:0}
.v5 .pk-dots i{width:3cqw;height:3cqw;margin:-1.5cqw;background:radial-gradient(circle,var(--blue-hi) 0 30%,rgba(20,99,223,.42) 52%,rgba(20,99,223,0) 72%)}
.v5 .pk-dots b{width:64cqw;height:64cqw;margin:-32cqw;background:radial-gradient(circle,rgba(127,178,255,.75),rgba(127,178,255,.28) 42%,rgba(127,178,255,0) 68%)}
.v5 .pk-stage[data-run] .pk-dots i,.v5 .pk-stage[data-run] .pk-card,.v5 .pk-stage[data-run] .pk-papers i{will-change:transform,opacity}

/* before start-pinkas.js runs (motion allowed, scripting on): the parts that arrive later are not shown yet; if the script never runs they appear on their own */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled){
 .v5 .pk-stage:not([data-done]) .pk-card,.v5 .pk-stage:not([data-done]) .pk-rows,.v5 .pk-stage:not([data-done]) .pk-pay{opacity:0}
 .v5 .pk-stage:not([data-run]):not([data-done]) .pk-card,.v5 .pk-stage:not([data-run]):not([data-done]) .pk-rows,.v5 .pk-stage:not([data-run]):not([data-done]) .pk-pay{animation:pk-fallback .5s 2.6s both}
}
@keyframes pk-fallback{to{opacity:1}}

/* ---------- from the report to the payment: four steps on one line ---------- */
.v5 .pk-h2{margin:0 0 30px;color:var(--ink);text-wrap:balance}
.v5 .pk-steps{list-style:none;margin:192px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 40px;border-top:1px solid var(--line)}
.v5 .pk-steps li{position:relative;padding-top:34px}
.v5 .pk-steps .v5-mk{position:absolute;top:-13px;inset-inline-start:0}
.v5 .pk-steps h3{font-size:20px;line-height:1.35;font-weight:600;color:var(--ink);margin:0 0 8px}
.v5 .pk-steps p{color:var(--ink-2);margin:0}
.v5 .pk-viz{position:absolute;bottom:calc(100% + 26px);inset-inline:0;height:132px;display:grid;align-content:center;justify-items:stretch;gap:8px;padding:16px;border-radius:var(--r-l);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1);overflow:hidden;font-size:14px;line-height:1.3;color:var(--ink-2)}
.v5 .pk-v1{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;justify-items:center;gap:6px}
.v5 .pk-vdoc{display:grid;justify-items:center;gap:6px;text-align:center;font-weight:600;color:var(--ink)}
.v5 .pk-vdoc svg{width:34px;height:34px;padding:6px;border-radius:10px;background:var(--blue-50);fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-varr{width:22px;height:22px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-vco{display:grid;justify-items:center;gap:2px;padding:8px 12px;border-radius:12px;background:var(--blue-50);border:1px solid #B9CEF0;font-weight:700;color:var(--blue)}
.v5 .pk-vco b{font-weight:600;color:var(--ink)}
.v5 .pk-vrow{display:flex;justify-content:space-between;align-items:center;min-height:38px;padding:0 12px;border-radius:10px;background:var(--paper);border:1px solid var(--line)}
.v5 .pk-vrow b{font-weight:600;color:var(--ink)}
.v5 .pk-vrow span{font-weight:700;color:var(--ink)}
.v5 .pk-vamt{display:block;padding:6px 12px;border-radius:10px;border:1.5px solid var(--blue);font-size:22px;font-weight:700;color:var(--ink);text-align:end;direction:ltr}
.v5 .pk-viz .pk-opt{gap:8px;font-size:14.5px}
.v5 .pk-viz .pk-box{width:22px;height:22px;border-radius:6px}
.v5 .pk-v4 .pk-mo{gap:14px}
.v5 .pk-v4 .pk-mo small{font-size:13px}
.v5 .pk-v4 .pk-mo b{font-size:20px}
.v5 .pk-v4 .pk-mo i{height:8px}

/* ---------- what it is, and what you see (owner 19.11, ledger 1651) ---------- */
.v5 .pk-what{padding-block:56px 8px}
.v5 .pk-what .pk-h2{margin-bottom:14px}
.v5 .pk-wl{max-width:40em;margin:0}
.v5 .pk-vnow{border-color:var(--blue);background:var(--blue-50)}
.v5 .pk-vnow span{color:var(--blue)}
.v5 .pk-see-sec{padding-block:8px 64px}
.v5 .pk-see{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.v5 .pk-see li{padding:22px 24px;border-radius:var(--r-l);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1)}
.v5 .pk-sic{display:grid;place-items:center;width:40px;height:40px;margin-bottom:14px;border-radius:12px;background:var(--blue-50)}
.v5 .pk-sic svg{width:22px;height:22px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v5 .pk-see h3{font-size:20px;line-height:1.35;font-weight:600;color:var(--ink);margin:0 0 6px}
.v5 .pk-see p{margin:0;color:var(--ink-2)}
@media (max-width:760px){
 .v5 .pk-what{padding-block:36px 0}
 .v5 .pk-see{grid-template-columns:minmax(0,1fr);gap:12px}
 .v5 .pk-see-sec{padding-block:0 48px}
}

/* ---------- on /start/ (Hebrew page only): the Pinkas section shares its layout with the AI section (start-ai.css, "on /start/") ---------- */
.v5 .pk-nw{white-space:nowrap}

/* ---------- widths ---------- */
@media (max-width:1100px){
 .v5 .pk-hgrid{gap:32px}
 .v5 .pk-steps{grid-template-columns:repeat(2,minmax(0,1fr));border-top:0;margin-top:8px;gap:40px 32px}
 .v5 .pk-steps li{padding-top:0}
 .v5 .pk-viz{position:relative;bottom:auto;inset-inline:auto;margin-bottom:22px}
 .v5 .pk-steps .v5-mk{position:static;margin-bottom:10px}
}
@media (max-width:900px){
 .v5 .pk-hero{padding-block:24px 48px;background:radial-gradient(70% 40% at 50% 74%,rgba(127,178,255,.24),rgba(127,178,255,0) 72%),linear-gradient(180deg,var(--paper) 0%,#fff 100%)}
 .v5 .pk-hero::before{-webkit-mask-image:radial-gradient(80% 40% at 50% 74%,#000,transparent 75%);mask-image:radial-gradient(80% 40% at 50% 74%,#000,transparent 75%)}
 .v5 .pk-hgrid{grid-template-columns:minmax(0,1fr)}
 .v5 .pk-stage{max-width:480px}
 .v5 .pk-lead{margin-bottom:24px}
}
@media (max-width:640px){
 .v5 .pk-steps{grid-template-columns:minmax(0,1fr);gap:0}
 .v5 .pk-steps li{padding:0 0 30px;padding-inline-start:44px;border-inline-start:1px solid var(--line);margin-inline-start:13px}
 .v5 .pk-steps li:last-child{border-inline-start-color:transparent;padding-bottom:0}
 .v5 .pk-steps .v5-mk{position:absolute;top:0;inset-inline-start:-13px;margin:0}
 .v5 .pk-viz{height:112px;margin-bottom:16px}
}
@media (max-width:520px){
 .v5 .pk-hero .v5-btn-row .v5-btn{flex:1 1 0;padding-inline:12px}
}

/* "what is available today" box (AZ-SCAN L5, 19.11): the dedicated page says who can use the feature today */
.v5 .xh-now{margin:16px 0 0;padding:12px 16px;max-width:60ch;border:1px solid var(--line);border-radius:var(--r-m);background:var(--blue-50);font-size:15px;line-height:1.6;color:var(--ink-2)}
.v5 .xh-now b{color:var(--ink)}
