/* © Pillar Delta AI 2026 — developed by Pillar Delta AI.
   MeaningMemory™ and ZEROTRACE™ are trademarks of Pillar Delta PC. */
/* ZEROTRACE · the marketing page · scene 2, the check. The page's layout: one answer first —
   3 details hidden, the sentence, the reading, the source — and beside it what it rests on: the same request twice,
   as written inside your building and as it leaves, with the line where ZEROTRACE reads it between them.
   The right-hand side is driven by the reader's scroll. One number, --ck, runs from 0 to 1 while the stage crosses the
   screen, and every step is worked out from it here: a line reads the request, the name, the policy number and the
   IBAN are marked with their labels, the request crosses the line, the copy that leaves is uncovered with codes, and
   below a second line the answer comes back with the real details put back.
   - Where the browser has scroll-driven animations, CSS moves --ck (animation-timeline: view(); range cover 15% → 58%).
   - Elsewhere m-check.js sets the same --ck from the same range on each scroll frame (ZT.onScroll).
   - At rest --ck is 1: still mode, reduced motion and a page without scripts all show the end state.
   The found details are marked in ink, not red: red is only for what needs a person, and nothing here does. */

@property --ck{syntax:"<number>";inherits:true;initial-value:1}
@keyframes ck-read{from{--ck:0}to{--ck:1}}
@supports (animation-timeline:view()){
 @media (prefers-reduced-motion:no-preference){
  html:not(.still) .ck-stage{animation-name:ck-read;animation-timing-function:linear;animation-fill-mode:both;
   animation-duration:1ms;animation-duration:auto;animation-timeline:view();animation-range:cover 15% cover 58%}}}

.ck-ans{margin-top:clamp(36px,4vw,56px);align-items:center}   /* the answer sits level with the middle of the three steps, as scene 1 does */

/* ---- what it rests on: the request as written, the line, the request as it leaves ---- */
.ck-stage{--ck:1;position:relative;min-width:0}
.ck-v{position:relative;padding:16px 20px 18px;border-radius:var(--r-in);background:var(--pl2)}
.ck-text{margin:4px 0 0;font-size:16px;line-height:2.35;color:var(--text)}

/* the request as written; a line reads it, left to right */
.ck-in{--m:clamp(0,calc(var(--ck) / .4),1);opacity:clamp(0,calc(var(--ck) * 7),1);transform:translateY(calc((1 - var(--m)) * (1 - var(--m)) * -14px))}
.ck-scan{--s:clamp(0,calc((var(--ck) - .1) / .32),1);position:absolute;top:10px;bottom:10px;left:calc(var(--s) * (100% - 1.5px));width:1.5px;
 background:var(--acc);opacity:min(.9,calc(var(--s) * 8),calc((1 - var(--s)) * 8))}

/* the details it finds are marked in ink, each with its label in mono above it */
.pii{position:relative;white-space:nowrap;border-radius:4px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;
 background:color-mix(in srgb,var(--text) calc(var(--k) * 7%),transparent);
 box-shadow:inset 0 -1.5px 0 color-mix(in srgb,var(--text) calc(var(--k) * 100%),transparent)}
.pii.n1{--k:clamp(0,calc((var(--ck) - .16) * 16),1)}
.pii.n2{--k:clamp(0,calc((var(--ck) - .24) * 16),1)}
.pii.n3{--k:clamp(0,calc((var(--ck) - .32) * 16),1);white-space:normal}   /* an IBAN may break between its groups, as people write it */
.pii .chip{position:absolute;left:3px;bottom:calc(100% - 1px);font:500 10px/1 var(--mono);font-style:normal;color:var(--ink2);white-space:nowrap;
 opacity:var(--k);transform:translateY(calc((1 - var(--k)) * 4px))}

/* the line where ZEROTRACE reads every request; the request crosses it, downwards */
.ck-gate{position:relative;height:58px}
.ck-gate::before{content:"";position:absolute;left:0;right:0;top:50%;height:1.5px;margin-top:-.75px;background:var(--acc);opacity:.85}
.ck-gate b{position:absolute;left:20px;top:50%;transform:translateY(-50%);padding:0 10px;background:var(--pl);
 font:600 10.5px/1.2 var(--mono);letter-spacing:.18em;color:var(--acc);white-space:nowrap}
.ck-dot{--d:clamp(0,calc((var(--ck) - .42) / .14),1);position:absolute;right:56px;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;
 border-radius:50%;background:var(--acc);opacity:min(1,calc(var(--d) * 6),calc((1 - var(--d)) * 6));
 transform:translateY(calc((var(--d) - .5) * 52px))}
.ck-ring{--g:clamp(0,calc((var(--ck) - .5) / .14),1);position:absolute;right:56px;top:50%;width:30px;height:30px;margin:-15px -10.5px 0 0;
 border-radius:50%;box-shadow:0 0 0 1.5px var(--acc);opacity:calc(min(1,calc(var(--g) * 20)) * (1 - var(--g)) * .9);
 transform:scale(calc(.6 + var(--g) * 1.3))}

/* what leaves: uncovered from the line downwards, and it carries codes */
.ck-out{--o:clamp(0,calc((var(--ck) - .5) / .2),1);clip-path:inset(0 0 calc((1 - var(--o)) * 100%) 0 round var(--r-in))}
.code{display:inline-block;white-space:nowrap;padding:0 6px;border-radius:5px;font:500 .84em/1.6 var(--mono);color:var(--text);
 background:var(--fill);opacity:var(--k);transform:scale(calc(.9 + var(--k) * .1))}
.cw{white-space:nowrap}                                           /* a code and the comma after it stay on one line */
.code.c1{--k:clamp(0,calc((var(--ck) - .6) * 14),1)}
.code.c2{--k:clamp(0,calc((var(--ck) - .64) * 14),1)}
.code.c3{--k:clamp(0,calc((var(--ck) - .68) * 14),1)}

/* the answer comes back: the second line, where ZEROTRACE puts the real details back, then the answer as people read it */
.ck-bgate{opacity:clamp(0,calc((var(--ck) - .72) * 12),1)}
.ck-gl{position:absolute;right:20px;top:50%;transform:translateY(-50%);padding:0 10px;background:var(--pl);font-size:12.5px;line-height:1.2;
 color:var(--ink2);white-space:nowrap}
.ck-back{--o:clamp(0,calc((var(--ck) - .78) / .12),1);clip-path:inset(0 0 calc((1 - var(--o)) * 100%) 0 round var(--r-in))}
.pii.b1{--k:clamp(0,calc((var(--ck) - .86) * 16),1)}
.pii.b2{--k:clamp(0,calc((var(--ck) - .9) * 16),1)}
.pii.b3{--k:clamp(0,calc((var(--ck) - .94) * 16),1);white-space:normal}

@media (max-width:860px){.ck-v{padding:14px 16px 16px}.ck-text{font-size:15.5px}}
