/* /start/ai/ and the AI teaser on /start/ (ledger 1228, 1377, 1415). The video player is start-film.css. Scoped under .v5 with the ai- 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-ai.js only adds the motion on top, with transform and opacity, and gives the stage back to this CSS when it ends. */

/* ---------- hero ---------- */
.v5 .ai-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 .ai-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 .ai-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 .ai-kick svg{fill:var(--blue-50);stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.v5 .ai-proof{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px;margin:26px 0 0;padding:0;font-size:15px;line-height:1.4;color:var(--ink-2)}
.v5 .ai-proof li{display:inline-flex;align-items:center;gap:7px}
.v5 .ai-proof svg{flex:0 0 auto;fill:none;stroke:var(--ok);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.v5 .ai-hgrid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:48px;align-items:center}
.v5 .ai-h1{font-size:clamp(34px,4.3vw,60px);line-height:1.08;font-weight:700;letter-spacing:-.016em;color:var(--ink);margin:0 0 20px;text-wrap:balance}
.v5 .ai-lead{max-width:34em;margin:0 0 30px}
.v5 .ai-fig{margin:0;min-width:0}
.v5 .ai-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 .ai-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 .ai-replay svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (hover: hover){
 .v5 .ai-replay:hover{background:var(--blue-50)}
}

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

/* the six report parts, three 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 .ai-cards{inset:0}
.v5 .ai-card{position:absolute;top:var(--y);inset-inline-start:var(--x);width:25cqw;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.9cqw 1.6cqw;padding:2cqw 2.2cqw 2.3cqw;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;transform-style:preserve-3d}
.v5 .ai-c1,.v5 .ai-c2,.v5 .ai-c3{--x:1.5cqw;rotate:y 14deg;transform-origin:0 50%}
.v5 .ai-c4,.v5 .ai-c5,.v5 .ai-c6{--x:73.5cqw;rotate:y -14deg;transform-origin:100% 50%}
.v5 .ai-c1,.v5 .ai-c4{--y:27cqw}
.v5 .ai-c2,.v5 .ai-c5{--y:50.5cqw}
.v5 .ai-c3,.v5 .ai-c6{--y:74cqw}
.v5 .ai-card .ai-ic{width:5.6cqw;height:5.6cqw;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 .ai-card b{font-size:3.3cqw;line-height:1.2;font-weight:600;color:var(--ink)}
.v5 .ai-card>span{grid-column:1/-1;font-size:2.65cqw;line-height:1.38;color:var(--ink-2)}
.v5 .ai-thumbs{display:flex;gap:1.2cqw}
.v5 .ai-thumbs i{display:block;width:9.6cqw;height:6.6cqw;border-radius:1cqw;background:radial-gradient(ellipse 46% 40% at 58% 64%,rgba(184,138,74,.55),rgba(184,138,74,0) 70%),linear-gradient(180deg,#E3E9F0,#CDD6E1)}
.v5 .ai-thumbs i+i{background:radial-gradient(ellipse 36% 46% at 40% 55%,rgba(184,138,74,.45),rgba(184,138,74,0) 70%),linear-gradient(180deg,#DCE3EC,#C3CEDB)}

/* the phone: the site's iPhone frame (.v5-iph) with a drawn screen */
.v5 .ai-phone{inset-inline-start:29cqw;top:18cqw;width:42cqw;z-index:2}
.v5 .ai-scr{position:relative;aspect-ratio:402/874;direction:rtl;text-align:start;color:var(--ink)}
.v5 .ai-scr :where(p){margin:0}
.v5 .ai-s1,.v5 .ai-s2{position:absolute;inset:0;padding-top:16cqw;background:#fff}
.v5 .ai-bar{margin:0 6cqw;padding-bottom:3.4cqw;border-bottom:1px solid var(--line);font-size:5.6cqw;line-height:1.2;font-weight:700;text-align:center}
.v5 .ai-tr{margin:6cqw 7cqw 0;display:grid;gap:3cqw}
.v5 .ai-t{font-size:4.9cqw;line-height:1.42;color:var(--ink-2);opacity:0}
.v5 .ai-tr{position:relative}
.v5 .ai-hint{position:absolute;inset-inline:0;top:0;font-size:4.9cqw;line-height:1.42;color:var(--ink-3)}
.v5 .ai-mic{position:absolute;inset-inline:0;bottom:36cqw;height:26cqw;display:grid;place-items:center}
.v5 .ai-ring,.v5 .ai-micb{grid-area:1/1;border-radius:50%}
.v5 .ai-ring{width:26cqw;height:26cqw;border:1.2cqw solid var(--blue);opacity:0}
.v5 .ai-micb{display:grid;place-items:center;width:20cqw;height:20cqw;background:var(--blue);box-shadow:0 2cqw 5cqw -1cqw rgba(20,99,223,.55)}
.v5 .ai-micb svg{width:10cqw;height:10cqw;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.v5 .ai-wave{position:absolute;inset-inline:0;bottom:25cqw;height:7cqw;display:flex;justify-content:center;align-items:center;gap:1.6cqw}
.v5 .ai-wave i{display:block;width:1.6cqw;height:7cqw;border-radius:1cqw;background:var(--blue-hi);transform:scaleY(.3)}
.v5 .ai-st{position:absolute;inset-inline:0;bottom:12cqw;font-size:4.3cqw;color:var(--ink-3);text-align:center}
.v5 .ai-st2{opacity:0;color:var(--blue);font-weight:600}
.v5 .ai-lede{margin:3.6cqw 7cqw 0;font-size:4.2cqw;color:var(--ink-3)}
.v5 .ai-rows{list-style:none;margin:2cqw 6cqw 0;padding:0}
.v5 .ai-row{display:grid;grid-template-columns:6.4cqw minmax(0,1fr);gap:3cqw;padding:3cqw 0;border-bottom:1px solid var(--line)}
.v5 .ai-ck{display:grid;place-items:center;width:6.4cqw;height:6.4cqw;margin-top:.4cqw;border-radius:1.6cqw;background:var(--blue)}
.v5 .ai-ck svg{width:80%;height:80%;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.v5 .ai-rb{display:grid;gap:.8cqw;justify-items:start;min-width:0}
.v5 .ai-rl{font-size:3.7cqw;font-weight:600;color:var(--blue)}
.v5 .ai-rv{font-size:4.6cqw;line-height:1.3;font-weight:600;color:var(--ink)}
.v5 .ai-rq{margin-top:.6cqw;padding:.7cqw 2cqw;border-radius:1.4cqw;background:var(--blue-50);font-size:3.6cqw;line-height:1.35;color:var(--ink-2)}
.v5 .ai-add{position:absolute;inset-inline:6cqw;bottom:8cqw;height:13.5cqw;border-radius:3.4cqw;background:var(--blue);color:#fff;font-size:5cqw;font-weight:600;display:grid;place-items:center;overflow:hidden}
.v5 .ai-add>span{grid-area:1/1}
.v5 .ai-add-b{display:inline-flex;align-items:center;gap:1.6cqw;opacity:0}
.v5 .ai-add-b svg{width:5cqw;height:5cqw;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.v5 .ai-tap{width:13cqw;height:13cqw;border-radius:50%;background:rgba(255,255,255,.55);opacity:0}

/* the spoken words: one line at a time above the phone */
.v5 .ai-say{inset-inline:0;top:4cqw;display:grid;justify-items:center;z-index:4}
.v5 .ai-w{grid-area:1/1;margin:0;max-width:94cqw;padding:1.3cqw 3cqw;border-radius:99px;background:#fff;border:1px solid var(--line);box-shadow:0 1cqw 3cqw -1cqw rgba(8,36,74,.25);font-size:3.3cqw;line-height:1.3;font-weight:500;color:var(--ink);white-space:nowrap;opacity:0}

/* the particles and the soft "poof" (made by start-ai.js, invisible at rest) */
.v5 .ai-dots{inset:0;z-index:3;pointer-events:none}
.v5 .ai-dots i,.v5 .ai-dots b{position:absolute;inset-inline-start:0;top:0;border-radius:50%;opacity:0}
.v5 .ai-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 .ai-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 .ai-stage[data-run] .ai-dots i,.v5 .ai-stage[data-run] .ai-card,.v5 .ai-stage[data-run] .ai-w{will-change:transform,opacity}

/* before start-ai.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 .ai-stage:not([data-done]) .ai-card,.v5 .ai-stage:not([data-done]) .ai-s2{opacity:0}
 .v5 .ai-stage:not([data-run]):not([data-done]) .ai-card,.v5 .ai-stage:not([data-run]):not([data-done]) .ai-s2{animation:ai-fallback .5s 2.6s both}
}
@keyframes ai-fallback{to{opacity:1}}

.v5 .ai-h2{margin:0 0 30px;color:var(--ink)}

/* ---------- the trace: each suggestion beside the sentence it came from (ledger 1415) ---------- */
.v5 .ai-shead{max-width:46em;margin-bottom:40px}
.v5 .ai-shead .ai-h2{margin-bottom:14px;text-wrap:balance}
.v5 .ai-shead .v5-lead{margin:0}
.v5 .ai-trace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.v5 .ai-said{position:sticky;top:96px;margin:0;padding:28px 30px 32px;border-radius:var(--r-xl);background:linear-gradient(170deg,var(--navy-2),var(--ink));color:#fff;box-shadow:var(--sh-2)}
.v5 .ai-said-h{display:flex;align-items:center;gap:10px;margin:0 0 22px;font-size:15px;font-weight:600;color:#C9D6EA}
.v5 .ai-said-ic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue)}
.v5 .ai-said-ic svg{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.v5 .ai-said-w{display:flex;align-items:center;gap:3px;height:22px;margin-inline-start:auto}
.v5 .ai-said-w i{display:block;width:3px;height:100%;border-radius:2px;background:var(--blue-hi);opacity:.75;transform:scaleY(.35)}
.v5 .ai-said-w i:nth-child(3n+1){transform:scaleY(.7)}
.v5 .ai-said-w i:nth-child(4n+2){transform:scaleY(1)}
.v5 .ai-said-w i:nth-child(5n+3){transform:scaleY(.5)}
.v5 .ai-said-t{margin:0;padding:0;border:0}
.v5 .ai-said-t p{margin:0;font-size:clamp(21px,1.9vw,27px);line-height:1.75;font-weight:500;color:#E4ECF8}
.v5 .ai-m{position:relative;padding:.08em .22em;margin-inline:-.04em;border-radius:6px;background:rgba(127,178,255,.16);box-shadow:inset 0 -2px 0 rgba(127,178,255,.7);color:#fff;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background .2s,box-shadow .2s,opacity .2s}
.v5 .ai-nw{white-space:nowrap}
.v5 .ai-said .ai-mn{width:20px;height:20px;font-size:11.5px;margin-inline-end:6px;vertical-align:.18em;box-shadow:0 0 0 2px var(--ink)}
.v5 .ai-draft{padding:22px 24px 12px;border-radius:var(--r-xl);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-2)}
.v5 .ai-draft-h{margin:0 0 6px;font-size:18px;font-weight:700;color:var(--ink);text-align:center}
.v5 .ai-tl{list-style:none;margin:0;padding:0}
.v5 .ai-tl li+li{border-top:1px solid var(--line)}
.v5 .ai-tb{display:grid;grid-template-columns:26px minmax(0,1fr);gap:14px;align-items:start;width:100%;min-height:44px;margin:0;padding:16px 10px;border:0;border-radius:var(--r-m);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer;transition:background .2s,opacity .2s}
.v5 .ai-tb .v5-mk{margin-top:1px;box-shadow:none}
.v5 .ai-tb .ai-rb{gap:4px}
.v5 .ai-tb .ai-rl{font-size:14px}
.v5 .ai-tb .ai-rv{font-size:17px}
.v5 .ai-tb .ai-rq{margin-top:4px;padding:4px 10px;border-radius:8px;font-size:14.5px}
.v5 .ai-tb:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
@media (hover: hover){
 .v5 .ai-tb:hover{background:var(--blue-50)}
}
.v5 .ai-trace-cap{text-align:center;margin-top:18px}
/* one suggestion picked (a tap, or a hover with a mouse): its sentence lights up, the rest steps back */
.v5 .ai-trace[data-on] .ai-m{background:transparent;box-shadow:inset 0 -1px 0 rgba(127,178,255,.3);opacity:.55}
.v5 .ai-trace[data-on] .ai-tb[aria-pressed="false"]{opacity:.5}
.v5 .ai-trace[data-on] .ai-tb[aria-pressed="true"]{background:var(--blue-50);opacity:1}
.v5 .ai-trace[data-on="1"] .ai-m1,.v5 .ai-trace[data-on="2"] .ai-m2,.v5 .ai-trace[data-on="3"] .ai-m3,.v5 .ai-trace[data-on="4"] .ai-m4,.v5 .ai-trace[data-on="5"] .ai-m5{opacity:1;background:var(--blue);box-shadow:0 0 0 3px rgba(127,178,255,.35)}
@media (hover: hover){
 .v5 .ai-trace:not([data-on]):has(.ai-tb:hover) .ai-m{opacity:.55;background:transparent;box-shadow:inset 0 -1px 0 rgba(127,178,255,.3)}
 .v5 .ai-trace:not([data-on]):has(.ai-tb[data-k="1"]:hover) .ai-m1,.v5 .ai-trace:not([data-on]):has(.ai-tb[data-k="2"]:hover) .ai-m2,.v5 .ai-trace:not([data-on]):has(.ai-tb[data-k="3"]:hover) .ai-m3,.v5 .ai-trace:not([data-on]):has(.ai-tb[data-k="4"]:hover) .ai-m4,.v5 .ai-trace:not([data-on]):has(.ai-tb[data-k="5"]:hover) .ai-m5{opacity:1;background:var(--blue);box-shadow:0 0 0 3px rgba(127,178,255,.35)}
}

/* ---------- how it works: one line, three steps on it ---------- */
.v5 .ai-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 .ai-steps li{position:relative;padding-top:34px}
.v5 .ai-viz{position:absolute;bottom:calc(100% + 26px);inset-inline:0;height:132px;display:grid;align-content:center;justify-items:center;gap:10px;padding:16px;border-radius:var(--r-l);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1);overflow:hidden}
.v5 .ai-v1{grid-template-columns:auto auto;justify-content:center;column-gap:14px}
.v5 .ai-v-mic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 6px var(--blue-50)}
.v5 .ai-v-mic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.v5 .ai-v-wave{display:flex;align-items:center;gap:4px;height:30px}
.v5 .ai-v-wave i{display:block;width:4px;height:100%;border-radius:2px;background:var(--blue-hi);transform:scaleY(.35)}
.v5 .ai-v-wave i:nth-child(odd){transform:scaleY(.7)}
.v5 .ai-v-wave i:nth-child(3n){transform:scaleY(1)}
.v5 .ai-v-q{grid-column:1/-1;padding:5px 12px;border-radius:99px;background:var(--blue-50);font-size:14px;line-height:1.3;color:var(--ink-2);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.v5 .ai-v2{grid-template-columns:repeat(3,auto);justify-content:center;gap:8px}
.v5 .ai-v2 span{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:99px;background:var(--paper);border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--ink-2)}
.v5 .ai-v2 .ai-v-on{background:var(--blue);border-color:var(--blue);color:#fff}
.v5 .ai-v3{justify-items:stretch;align-content:center;gap:8px}
.v5 .ai-v-row{display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden}
.v5 .ai-v-row .ai-ck{flex:0 0 auto;width:22px;height:22px;margin:0;border-radius:6px}
.v5 .ai-v-off{color:var(--ink-3);font-weight:500}
.v5 .ai-v-off .ai-ck{background:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.v5 .ai-v-add{display:grid;place-items:center;min-height:34px;border-radius:10px;background:var(--blue);color:#fff;font-size:14px;font-weight:600}
.v5 .ai-steps .v5-mk{position:absolute;top:-13px;inset-inline-start:0}
.v5 .ai-steps h3,.v5 .ai-pts h3{font-size:20px;line-height:1.35;font-weight:600;color:var(--ink);margin:0 0 8px}
.v5 .ai-steps p,.v5 .ai-pts p{color:var(--ink-2);max-width:34em}

/* ---------- you decide ---------- */
.v5 .ai-ctl-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.v5 .ai-pts{list-style:none;margin:0;padding:0}
.v5 .ai-pts li{padding:18px 0;border-bottom:1px solid var(--line)}
.v5 .ai-pts li:first-child{border-top:1px solid var(--line)}
.v5 .ai-priv{margin-top:22px;font-size:15px;line-height:1.55;color:var(--ink-3)}
.v5 .ai-sugg{padding:24px;background:#fff;border:1px solid var(--line);border-radius:var(--r-l);box-shadow:var(--sh-2);text-align:start}
.v5 .ai-sg-h{margin:0 0 6px;font-size:18px;font-weight:700;color:var(--ink);text-align:center}
.v5 .ai-sg{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.v5 .ai-sg .ai-ck{width:26px;height:26px;margin-top:2px;border-radius:7px}
.v5 .ai-sg-off .ai-ck{background:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.v5 .ai-sg .ai-rb{gap:4px}
.v5 .ai-sg .ai-rl{font-size:14px}
.v5 .ai-sg .ai-rv{font-size:17px}
.v5 .ai-sg .ai-rq{margin-top:4px;padding:4px 10px;border-radius:8px;font-size:14.5px}
.v5 .ai-sg-off .ai-rv,.v5 .ai-sg-off .ai-rl{color:var(--ink-3)}
.v5 .ai-sg-ed{font-size:15px;font-weight:600;color:var(--blue);padding-top:2px}
.v5 .ai-sg-add{margin:18px 0 0;display:grid;place-items:center;min-height:48px;border-radius:12px;background:var(--blue);color:#fff;font-weight:600}

/* ---------- on /start/ (Hebrew page only; ledger 1492/1493): the strip under the hero, and the AI and Pinkas sections ----------
   Shared by both sections (start-pinkas.css is loaded beside this file on /start/). Each section is the real product moment of its own page (the hero stage
   of /start/ai/ or /start/pinkas/, played by start-ai.js / start-pinkas.js) and its "how it works" steps, visible at once; one button to the full page. */
.xh-strip{background:var(--paper);border-top:1px solid var(--line)}
.xh-strip ul{list-style:none;margin:0 auto;padding-block:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.xh-strip li{min-width:0}
.xh-strip a{display:flex;align-items:center;gap:14px;min-height:64px;height:100%;padding:10px 18px;border-radius:var(--r-m);background:#fff;border:1px solid var(--line);box-shadow:var(--sh-1);color:var(--ink);text-decoration:none;transition:border-color .15s,background .15s}
.xh-strip a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media (hover: hover){
 .xh-strip a:hover{border-color:var(--blue);background:var(--blue-50)}
}
.xh-ic{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--blue-50)}
.xh-ic svg{fill:var(--blue-50);stroke:var(--blue);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.xh-tx{display:grid;gap:2px;min-width:0}
.xh-tx b{font-size:17px;line-height:1.25;font-weight:700}
.xh-tx span{font-size:15px;line-height:1.35;color:var(--ink-3)}
.xh-go{flex:0 0 auto;margin-inline-start:auto;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.v5 .xh{position:relative;padding-block:88px}
.v5 .xh.pk-tz{background:var(--paper);border-top:1px solid var(--line)}
/* desktop: the copy (head + steps) is centred beside the stage; narrow: head, stage, steps */
.v5 .xh-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:". fig" "head fig" "body fig" ". fig";column-gap:64px;align-items:start}
.v5 .pk-tz .xh-grid{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-areas:"fig ." "fig head" "fig body" "fig ."}
.v5 .xh-head{grid-area:head}
.v5 .xh-lead{max-width:34em;margin:14px 0 0;font-size:18px;line-height:1.55}
.v5 .xh-see{list-style:none;margin:0;padding:0}
.v5 .xh-see li{padding:10px 0;border-bottom:1px solid var(--line)}
.v5 .xh-see li:last-child{border-bottom:0}
.v5 .xh-see b{display:block;font-size:17px;line-height:1.35;font-weight:600;color:var(--ink)}
.v5 .xh-see span{font-size:16px;line-height:1.5;color:var(--ink-2)}
.v5 .xh-body{grid-area:body}
.v5 .xh-fig{grid-area:fig;align-self:center}
.v5 .xh .v5-h2{margin:0;color:var(--ink);text-wrap:balance}
.v5 .xh .ai-kick,.v5 .xh .pk-kick{margin-bottom:20px}
.v5 .xh-h3{margin:36px 0 6px;font-size:20px;line-height:1.3;font-weight:700;color:var(--ink)}
.v5 .xh-steps{list-style:none;margin:0;padding:0;counter-reset:none}
.v5 .xh-steps li{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:16px;row-gap:2px;padding:16px 0;border-bottom:1px solid var(--line)}
.v5 .xh-steps li:last-child{border-bottom:0}
.v5 .xh-steps .v5-mk{grid-row:span 2;margin-top:1px;box-shadow:none}
.v5 .xh-steps b{font-size:18px;line-height:1.35;font-weight:600;color:var(--ink)}
.v5 .xh-steps span:not(.v5-mk){font-size:16px;line-height:1.5;color:var(--ink-2)}
.v5 .xh-btn{margin-top:22px;color:#fff}
.v5 .xh-btn svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- widths ---------- */
@media (max-width:1100px){
 .v5 .ai-hgrid{gap:32px}
}
@media (max-width:900px){
 .v5 .ai-hero{padding-block:24px 48px}
 .v5 .ai-hgrid,.v5 .ai-ctl-grid{grid-template-columns:minmax(0,1fr)}
 .v5 .xh{padding-block:56px}
 .v5 .xh-grid,.v5 .pk-tz .xh-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "fig" "body"}
 .v5 .xh-fig{margin-top:20px}
 .v5 .xh-h3{margin-top:12px}
 .v5 .ai-stage{max-width:480px}
 .v5 .ai-lead{margin-bottom:24px}
 .v5 .ai-steps{grid-template-columns:minmax(0,1fr);border-top:0;gap:0;margin-top:8px}
 .v5 .ai-steps li{border-inline-start:1px solid var(--line);margin-inline-start:13px}
 .v5 .ai-steps li:last-child{border-inline-start-color:transparent;padding-bottom:0}
 .v5 .ai-steps .v5-mk{top:0;inset-inline-start:-13px}
 .v5 .ai-hero{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 .ai-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 .ai-trace{grid-template-columns:minmax(0,1fr);gap:16px}
 .v5 .ai-said{position:relative;top:auto;padding:22px 20px 24px}
 .v5 .ai-draft{padding:16px 12px 6px}
 .v5 .ai-shead{margin-bottom:26px}
 .v5 .ai-steps li{padding:0 0 30px;padding-inline-start:44px}
 .v5 .ai-viz{position:relative;bottom:auto;inset-inline:auto;margin-bottom:16px;height:112px}
}
@media (max-width:520px){
 .v5 .ai-hero .v5-btn-row .v5-btn{flex:1 1 0;padding-inline:12px}
 .v5 .ai-sugg{padding:18px}
 .v5 .ai-sg{grid-template-columns:26px minmax(0,1fr);gap:12px}
 .v5 .ai-sg-ed{grid-column:2}
 .v5 .xh-btn{width:100%}
 .xh-strip ul{gap:8px;padding-block:12px}
 .xh-strip a{flex-wrap:wrap;gap:8px;padding:12px;align-items:flex-start}
 .xh-ic{width:32px;height:32px;border-radius:10px}
 .xh-go{display:none}
 .xh-tx{flex:1 1 100%}
 .xh-tx b{font-size:16px}
 .xh-tx span{font-size:14px}
}
/* ---------- fix round (audit כה8, 18.11): early-access line, pause control, readable card on phones, tighter on phones ---------- */
.v5 .xh-ea{margin:12px 0 0;font-size:15px;line-height:1.4;color:var(--ink-3)}
.v5 .ai-replay[hidden],.v5 .pk-replay[hidden]{display:none}
.v5 .xh-mcard{display:none}
@media (max-width:600px){
 /* the screen of the visitor is already a phone: show the product screen as a card, full width, text 14px and up (the drawn phone is desktop only) */
 .v5 .ai-stage,.v5 .pk-stage,.v5 .ai-pp,.v5 .pk-pp{display:none}
 .v5 .xh-mcard{display:block;border:1px solid var(--line);border-radius:var(--r-m);background:#fff;box-shadow:var(--sh-1);overflow:hidden;text-align:start}
 .v5 .xh-mc-bar{margin:0;padding:10px 16px;background:var(--blue-50);color:var(--blue);font-size:15px;font-weight:700;display:flex;justify-content:space-between;gap:12px}
 .v5 .xh-mcard ul{list-style:none;margin:0;padding:0}
 .v5 .xh-mcard li{display:flex;gap:12px;align-items:flex-start;padding:10px 16px;border-top:1px solid var(--line);font-size:15px;line-height:1.4;color:var(--ink)}
 .v5 .xh-mcard li:first-child{border-top:0}
 .v5 .xh-mcard li>span:not(.xh-mc-ck):not(.xh-mc-a){flex:1 1 auto;min-width:0}
 .v5 .xh-mcard li b{display:block;font-size:14px;font-weight:600;color:var(--blue)}
 .v5 .xh-mcard li small{display:block;margin-top:2px;font-size:14px;line-height:1.35;color:var(--ink-3)}
 .v5 .xh-mc-ck{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;margin-top:2px;border-radius:7px;background:var(--blue)}
 .v5 .xh-mc-ck svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
 .v5 .xh-mc-a{flex:0 0 auto;font-size:16px;font-weight:700}
 .v5 .xh-mc-btn{margin:0;padding:10px 16px;border-top:1px solid var(--line);background:var(--blue);color:#fff;text-align:center;font-size:15px;font-weight:600}
 .v5 .xh{padding-block:24px}
 .v5 .xh .ai-kick,.v5 .xh .pk-kick{display:none}
 .v5 .xh .v5-h2{font-size:27px}
 .v5 .xh-lead{font-size:16px;margin-top:10px}
 .v5 .xh-fig{margin-top:14px}
 .v5 .ai-cap,.v5 .pk-cap{min-height:0;margin-top:2px}
 .v5 .xh-h3{margin:4px 0 0;font-size:18px}
 .v5 .xh-steps li{padding:8px 0;row-gap:0}
 .v5 .xh-steps b{font-size:16px}
 .v5 .xh-steps span:not(.v5-mk){font-size:15px;line-height:1.4}
 .v5 .xh-btn{margin-top:8px}
 .xh-strip ul{padding-block:8px}
 .xh-strip a{padding:10px 12px}
 .v5 .xh-ea{margin-top:8px}
}
@media (prefers-reduced-motion: reduce){
 .v5 .ai-m,.v5 .ai-tb,.xh-strip a{transition:none}
}

/* "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)}
/* 7.8 (D575): the photo, per-item approval, wording and counter lines under the three control points */
.v5 .ai-more{margin-top:22px}.v5 .ai-more p{margin:0 0 12px;font-size:16px;line-height:1.6;color:var(--ink-2)}.v5 .ai-more b{color:var(--ink)}
