/* © Pillar Delta AI 2026 — developed by Pillar Delta AI.
   MeaningMemory™ and ZEROTRACE™ are trademarks of Pillar Delta PC. */
/* ZEROTRACE · the marketing page · scene 0, the way in (step A2).
   The grey card is the way-in card (sources in docs/PORTED.md: the same dark grey in both looks, the seam, the label on it,
   the legend); its beams are drawn by m-wayin.js. The veil covers the band and the page while the way in plays, once
   per visit; scene 0 stays above it. The order and times of the way in live in m-wayin.js. Copied, never
   linked; see docs/PORTED.md. */

/* ---- the grey card: flat beams run toward your boundary ---- */
.wi-card{--wi-in:#30D158;--wi-out:#4DA3FF;--wi-way:rgba(235,235,245,.42);
 position:relative;width:min(1120px,100%);height:clamp(200px,31vh,280px);margin-top:40px;border-radius:28px;background:#2C2C2E;
 overflow:hidden;box-shadow:var(--lift)}
.wi-card canvas{position:absolute;inset:0;width:100%;height:100%}
.wi-seam{position:absolute;left:80%;top:44px;bottom:50px;width:1px;
 background:linear-gradient(transparent,rgba(255,255,255,.34) 30%,rgba(255,255,255,.34) 70%,transparent)}
.wi-now{position:absolute;left:80%;top:20px;transform:translateX(-50%);font:500 12px/1 var(--sans);color:rgba(235,235,245,.62);white-space:nowrap}
.wi-leg{position:absolute;left:28px;right:28px;bottom:20px;display:flex;flex-wrap:wrap;gap:6px 22px;text-align:left;
 font:400 12px/1.2 var(--sans);color:rgba(235,235,245,.62)}
.wi-leg i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px;vertical-align:1px}
.wi-leg .g{background:#30D158}.wi-leg .b{background:#4DA3FF}
.wayin .wi-card+.go{margin-top:38px}

/* ---- the way in, once per visit: the veil hides the band and the rest of the page; scene 0 plays above it ---- */
.wi-veil{position:fixed;inset:0;z-index:60;background:var(--bg)}
.wi-veil.out{pointer-events:none}
html.wi-on .wayin{position:relative;z-index:61}
/* the claim lights left to right: a mask slides across it (m-wayin.js moves it; at rest it shows the whole claim) */
html.wi-on .wayin .claim{-webkit-mask-image:linear-gradient(90deg,#000 42%,rgba(0,0,0,.16) 58%);mask-image:linear-gradient(90deg,#000 42%,rgba(0,0,0,.16) 58%);
 -webkit-mask-size:260% 100%;mask-size:260% 100%;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

/* ---- phones ---- */
@media (max-width:640px){
 .wi-card{height:220px;border-radius:24px;margin-top:34px}
 .wi-seam,.wi-now{left:72%}
 .wi-leg{left:16px;right:16px;bottom:14px;gap:6px 14px;font-size:11px}
 .wayin .wi-card+.go{margin-top:32px}}
