/* RAKAN — cinematic scroll scenes (2026-10-24). Every scene is a tall section with a sticky stage; scenes.js sets --p (0..1, the scene's
   scroll progress) on the section and --lp (0..1) on each [data-a="from,to"] part. All motion is a function of scroll, so it plays forward
   on the way down and rewinds on the way back up. Reduced motion → every part shows its final state, no pinning. */
.scene { position: relative; height: 210vh; }
.scene .stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
[data-a] { --lp: 0; }

/* ── 1 · the closed door → RAKAN's scan room ──
   --L = the lens' starting size; --s = how many times bigger it is now (1 → 12). The lens grows by WIDTH (the SVG is redrawn at every size,
   always sharp — never a zoomed bitmap) and the scan room behind it is clipped to the lens disc, so you see it only through the keyhole first. */
.portal .stick { --L: min(38vh, 70vw); --cy: 64%; background: radial-gradient(60% 50% at 50% 57%, rgba(10, 132, 255, 0.10), transparent 70%), #010a15; }
.pt-copy { position: absolute; top: max(10vh, 76px); left: 50%; width: min(820px, calc(100% - 32px)); text-align: center; display: grid; gap: 14px; justify-items: center; z-index: 5;
  opacity: calc(1 - var(--lp) * 1.4); transform: translate(-50%, calc(var(--lp) * -80px)); }
.pt-copy h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); letter-spacing: -0.035em; line-height: 1.04; }
.pt-copy { gap: 12px; } .pt-copy p:not(.eyebrow) { margin-top: 2px; }
.pt-copy p:not(.eyebrow) { color: #9fb0c6; max-width: 54ch; font-size: 1.05rem; }
.lens { --s: calc(1 + var(--lp) * var(--lp) * 11); position: absolute; left: 50%; top: var(--cy); width: calc(var(--L) * var(--s)); aspect-ratio: 1; z-index: 3; pointer-events: none;
  transform: translate(-50%, -50%); opacity: calc(1.7 - var(--lp) * 1.7); }
.lens-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lens-spin { transform-origin: 200px 200px; animation: lensSpin 26s linear infinite; }
.lens-spin.rev { animation-duration: 40s; animation-direction: reverse; }
@keyframes lensSpin { to { transform: rotate(360deg); } }
.portal-in { --s: calc(1 + var(--lp) * var(--lp) * 11); position: absolute; inset: 0; z-index: 2; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 57%, #06244a 0%, #021022 55%, #010a15 100%);
  clip-path: circle(calc(var(--L) * var(--s) * 0.335) at 50% var(--cy)); }
.pi-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; transform: perspective(600px) rotateX(64deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(34, 195, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 195, 255, 0.16) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 40%, #000); mask-image: linear-gradient(transparent, #000 40%, #000); animation: floorRun 3s linear infinite; }
@keyframes floorRun { to { background-position: 0 64px, 0 0; } }
.scroll-hint { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 500 .7rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); opacity: calc(1 - var(--lp)); z-index: 6; }
.scroll-hint span { width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── 2 · the X-ray ── */
.xray { height: 250vh; }
.xray .stick { background: radial-gradient(50% 50% at 50% 55%, rgba(10, 132, 255, 0.12), transparent 70%); }
.xr-head { position: absolute; top: max(9vh, 74px); left: 50%; transform: translate(-50%, calc((1 - var(--lp)) * 30px)); opacity: var(--lp); text-align: center; display: grid; gap: 10px; justify-items: center; width: min(760px, calc(100% - 32px)); z-index: 3; }
.xr-head h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); letter-spacing: -0.025em; }
.xr-stage { position: relative; width: min(1160px, calc(100% - 32px)); height: 100%; }
.coin { position: absolute; left: 50%; top: 56%; width: min(30vh, 42vw); aspect-ratio: 1; transform: translate(-50%, -50%) perspective(800px) rotateY(calc(var(--p) * 540deg)); z-index: 1; }
.xray .coin { transform: translate(-50%, -50%) perspective(800px) rotateY(calc(var(--p) * 540deg)) scale(calc(1 - var(--p) * .25)); }
.coin svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 60px rgba(10, 132, 255, 0.55)); }
.coin-t { font: 800 84px var(--display); fill: #f0f9ff; }
.xr-beam { position: absolute; left: -30%; right: -30%; height: 3px; top: calc(var(--p) * 140% - 20%); background: linear-gradient(90deg, transparent, #22c3ff 30%, #fff 50%, #22c3ff 70%, transparent); box-shadow: 0 0 24px 4px rgba(34, 195, 255, 0.7); opacity: calc(1 - var(--p) * .8); }
.xr-card { --x: 0px; --y: 0px; position: absolute; left: 50%; top: 56%; width: min(300px, 40vw); padding: 18px 18px 16px; border-radius: 18px; z-index: 2;
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.92), rgba(6, 13, 24, 0.94)); border: 1px solid rgba(var(--c), 0.45); box-shadow: 0 20px 60px -20px rgba(var(--c), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: var(--lp);
  transform: translate(calc(-50% + var(--x) * var(--lp)), calc(-50% + var(--y) * var(--lp))) scale(calc(.35 + var(--lp) * .65)) rotate(calc((1 - var(--lp)) * -8deg)); }
.xr-card { --cw: min(300px, 36vw); width: var(--cw); --half: calc(min(1160px, 100vw - 32px) / 2 - var(--cw) / 2 - 6px); }
.k1 { --x: calc(-1 * var(--half)); --y: -15vh; } .k2 { --x: var(--half); --y: -15vh; } .k3 { --x: calc(-1 * var(--half)); --y: 19vh; } .k4 { --x: var(--half); --y: 19vh; }

.xr-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.xr-top svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; fill: none; stroke: rgb(var(--c)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(var(--c), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--c), 0.4); }
.xr-top h3 { font-size: 1.1rem; }
.xr-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.xr-card li { position: relative; padding-left: 20px; font-size: .86rem; color: var(--text); line-height: 1.35; }
.xr-card li::before { content: ""; position: absolute; left: 0; top: .32em; width: 10px; height: 10px; border-radius: 50%; }
.xr-card li.b::before { background: var(--high); box-shadow: 0 0 8px var(--high); }
.xr-card li.o::before { background: var(--lower); box-shadow: 0 0 8px var(--lower); }
.xr-facts { position: absolute; bottom: 4vh; left: 50%; width: min(980px, calc(100% - 32px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; z-index: 3;
  opacity: var(--lp); transform: translate(-50%, calc((1 - var(--lp)) * 40px)); }
.xr-facts div { padding: 12px 14px; border-radius: 14px; background: rgba(6, 14, 26, 0.85); border: 1px solid var(--line); display: grid; gap: 2px; text-align: center; }
.xr-facts b { font: 800 1.7rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xr-facts span { font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

/* ── 3 · inside Telegram ── */
.phone-scene { height: 240vh; }
.phone-scene .stick { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 6vw, 90px); width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.ph-copy { display: grid; gap: 14px; align-content: center; }
.ph-copy h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; }
.ph-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.ph-steps li { counter-increment: st; position: relative; display: grid; gap: 2px; padding: 12px 16px 12px 58px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 18, 32, 0.6);
  opacity: calc(.35 + var(--lp) * .65); transform: translateX(calc((1 - var(--lp)) * -14px)); transition: border-color .4s, box-shadow .4s, background .4s; }
.ph-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 16px; top: 13px; font: 700 .9rem/1 var(--mono); color: var(--cyan); }
.ph-steps li.on { border-color: rgba(34, 195, 255, 0.5); background: rgba(10, 40, 70, 0.55); box-shadow: 0 10px 40px -20px rgba(34, 195, 255, 0.7); }
.ph-steps b { color: var(--white); font-family: var(--display); }
.ph-steps span { color: var(--mute); font-size: .9rem; }
.phone { position: relative; width: min(330px, 78vw); height: min(660px, 78vh); border-radius: 46px; padding: 14px; background: linear-gradient(160deg, #1d2a3c, #070d16); box-shadow: 0 0 0 2px #2a3a52, 0 40px 120px -30px rgba(10, 132, 255, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: perspective(1200px) rotateY(calc(-14deg + var(--p) * 14deg)) rotateX(calc(6deg - var(--p) * 6deg)); }
.ph-notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 24px; border-radius: 14px; background: #000; transform: translateX(-50%); z-index: 3; }
.ph-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 46px 16px 12px; border-radius: 34px 34px 0 0; background: #17212b; }
.ph-bar img { border-radius: 50%; }
.ph-bar b { display: block; color: #fff; font: 600 .85rem/1.2 var(--body); }
.ph-bar span { color: #7f93ad; font-size: .74rem; }
.ph-view { position: relative; height: calc(100% - 104px); overflow: hidden; border-radius: 0 0 34px 34px; background: #0e1621 radial-gradient(80% 60% at 50% 0%, rgba(34, 195, 255, 0.07), transparent); }
.ph-chat { display: grid; gap: 10px; padding: 14px 12px; transform: translateY(calc(min(1, var(--p) * 1.55) * -52%)); }
.bub { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: .82rem; line-height: 1.4; display: grid; gap: 3px; opacity: var(--lp); transform: translateY(calc((1 - var(--lp)) * 20px)) scale(calc(.92 + var(--lp) * .08)); }
.bub.me { justify-self: end; background: #2b5278; color: #fff; font-family: var(--mono); border-bottom-right-radius: 4px; }
.bub.bot { background: #182533; color: #dbe7f5; border-bottom-left-radius: 4px; border: 1px solid rgba(34, 195, 255, 0.25); }
.bub.bot b { color: #fff; }
.vd { font: 700 .74rem/1.4 var(--mono); padding: 2px 8px; border-radius: 6px; justify-self: start; }
.vd.c { color: #ffc978; background: rgba(255, 181, 71, 0.14); }
.bub.pic, .bub.alert { padding: 4px; background: #182533; border-bottom-left-radius: 4px; }
.bub img { border-radius: 12px; width: 100%; height: auto; display: block; }
.bub.pic span { padding: 4px 8px; color: #9fb3c8; font-size: .74rem; }
.bub.alert { border: 1px solid rgba(255, 90, 106, 0.55); box-shadow: 0 0 30px -6px rgba(255, 90, 106, 0.6); }
.bub.alert b { padding: 4px 8px 0; color: #ff8b96; }
.bub.alert span { padding: 0 8px 6px; color: #c9d6e6; font-size: .76rem; }

/* reversible reveal for ordinary sections (scenes.js toggles .in both ways) */
.rv { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ── phones / small screens ── */
@media (max-width: 760px) {
  .scene { height: 190vh; }
  .xray { height: 230vh; }
  .xr-card { --cw: min(44vw, 230px); padding: 12px; }
  .xr-card li { font-size: .74rem; padding-left: 16px; } .xr-card li::before { width: 8px; height: 8px; }
  .xr-top svg { width: 28px; height: 28px; padding: 5px; } .xr-top h3 { font-size: .95rem; }
  .k1 { --y: -21vh; } .k2 { --y: -21vh; } .k3 { --y: 17vh; } .k4 { --y: 17vh; }
  .coin { width: min(22vh, 34vw); top: 54%; }
  .xr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); bottom: 2vh; gap: 6px; } .xr-facts div { padding: 8px; } .xr-facts b { font-size: 1.2rem; }
  .phone-scene .stick { grid-template-columns: 1fr; place-content: center; gap: 14px; }
  .ph-copy { text-align: left; } .ph-copy h2 { font-size: 1.6rem; }
  .ph-steps { display: none; }
  .phone { width: min(280px, 74vw); height: min(560px, 66vh); justify-self: center; }
}
@media (max-width: 380px) { .xr-card ul li:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; } .scene .stick { position: relative; height: auto; min-height: 100vh; padding-block: 80px; }
  [data-a] { --lp: 1 !important; } .scene { --p: 1 !important; }
  .lens, .scroll-hint, .xr-beam { display: none; } .portal-in { clip-path: none; } .pt-copy { display: none; }
  .xr-card { position: relative; left: auto; top: auto; transform: none; } .xr-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; height: auto; } .coin { display: none; }
  .ph-chat { transform: none; } .rv { opacity: 1; transform: none; transition: none; }
  .lens-spin, .pi-floor { animation: none; }
}

.threats-head { flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-inline: 16px; }
.threats-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; }

/* positions + colours live here, not in style="" attributes (the site CSP blocks inline styles) */
.xr-card.k1 { --c: 255, 181, 71; } .xr-card.k2 { --c: 45, 212, 191; } .xr-card.k3 { --c: 167, 139, 250; } .xr-card.k4 { --c: 255, 90, 106; }

/* always alive: the scene never freezes when the scroll stops (owner 2026-10-24) */
.coin svg { animation: coinSpin 6s linear infinite; transform-style: preserve-3d; }
@keyframes coinSpin { to { transform: rotateY(360deg); } }
.xr-card.on { animation: floaty 5.5s ease-in-out infinite; } .xr-card.k2.on { animation-delay: -1.4s; } .xr-card.k3.on { animation-delay: -2.8s; } .xr-card.k4.on { animation-delay: -4.1s; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.phone { animation: floaty 7s ease-in-out infinite; }
.xr-beam { animation: beamGlow 1.6s ease-in-out infinite; } @keyframes beamGlow { 50% { box-shadow: 0 0 40px 8px rgba(34, 195, 255, 0.9); } }
@media (prefers-reduced-motion: reduce) { .coin svg, .xr-card.on, .phone, .xr-beam { animation: none; } }

/* ── the scan room (inside the door). Classes are sx-* so nothing collides with the hero's .radar / .hud.
   Everything here waits for .opened (set by scenes.js once the door is open) and plays as ONE sequence; closing the door removes it. ── */
.sx-head { position: absolute; top: max(9vh, 70px); left: 50%; width: min(860px, calc(100% - 32px)); text-align: center; display: grid; gap: 10px; z-index: 4;
  opacity: 0; transform: translate(-50%, 30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sx-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; }
.sx-head p { color: #b9c9dd; font-size: clamp(.92rem, 1.4vw, 1.08rem); }
.opened .sx-head { opacity: 1; transform: translate(-50%, 0); }
.sx-main { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(1180px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; z-index: 3; }
.sx-radar { position: relative; width: min(46vh, 100%); aspect-ratio: 1; justify-self: center; transform: scale(.86); opacity: .55; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.opened .sx-radar { transform: none; opacity: 1; }
.sx-radar-svg { width: 100%; height: 100%; display: block; }
.sx-sweep { position: absolute; inset: 3.5%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 195, 255, 0) 0deg, rgba(34, 195, 255, 0) 290deg, rgba(34, 195, 255, 0.06) 320deg, rgba(34, 195, 255, 0.45) 359deg, rgba(34, 195, 255, 0) 360deg);
  animation: sxSweep 2.6s linear infinite; }
@keyframes sxSweep { to { transform: rotate(360deg); } }
.sx-core { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #0f3a6e, #041428 70%); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.5), 0 0 60px rgba(34, 195, 255, 0.55), inset 0 0 30px rgba(34, 195, 255, 0.35); }
.sx-core::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(34, 195, 255, 0.45); animation: sxPing 2.4s ease-out infinite; }
@keyframes sxPing { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.sx-core img { width: 62%; height: auto; }
.sx-blip { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transform: translate(-50%, -50%) scale(.4); opacity: 0;
  font: 600 clamp(.68rem, 1.5vh, .9rem)/1 var(--body); color: #e6eef8; padding: 7px 11px 7px 9px; border-radius: 999px; background: rgba(4, 14, 28, 0.9); border: 1px solid rgba(var(--bc), 0.6);
  box-shadow: 0 0 24px -4px rgba(var(--bc), 0.75); transition: opacity .45s var(--ease), transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.sx-blip.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sx-blip i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--bc)); animation: sxBlip 1.6s ease-out infinite; }
@keyframes sxBlip { from { box-shadow: 0 0 0 0 rgba(var(--bc), 0.7); } to { box-shadow: 0 0 0 12px rgba(var(--bc), 0); } }
.sx-blip.ok { --bc: 52, 211, 153; } .sx-blip.warn { --bc: 255, 181, 71; } .sx-blip.bad { --bc: 255, 90, 106; }
.bp1 { --x: 26%; --y: 26%; } .bp2 { --x: 76%; --y: 22%; } .bp3 { --x: 82%; --y: 62%; } .bp4 { --x: 22%; --y: 70%; } .bp5 { --x: 54%; --y: 88%; }
/* terminal */
.sx-term { border-radius: 16px; overflow: hidden; background: rgba(2, 9, 18, 0.92); border: 1px solid rgba(34, 195, 255, 0.28); box-shadow: 0 30px 90px -30px rgba(10, 132, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(24px); opacity: 0; transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.opened .sx-term { opacity: 1; transform: none; }
.sx-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(10, 30, 52, 0.75); border-bottom: 1px solid rgba(34, 195, 255, 0.18); font: 500 .74rem/1 var(--mono); color: #8fb4d6; }
.sx-dots { display: inline-flex; gap: 6px; } .sx-dots i { width: 9px; height: 9px; border-radius: 50%; background: #23384f; }
.sx-dots i:nth-child(1) { background: #ff5a6a; } .sx-dots i:nth-child(2) { background: #ffb547; } .sx-dots i:nth-child(3) { background: #34d399; }
.sx-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-timer { color: var(--cyan); font-variant-numeric: tabular-nums; }
.sx-body { padding: 14px 16px; height: clamp(250px, 40vh, 380px); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 7px; font: 500 clamp(.72rem, 1.05vw, .86rem)/1.45 var(--mono); }
.sx-ln { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; color: #c9d6e6; animation: sxLn .25s var(--ease); }
@keyframes sxLn { from { opacity: 0; transform: translateY(6px); } }
.sx-ln .pr { color: var(--cyan); }
.sx-ln .cmd.typing::after { content: "▌"; color: var(--cyan); animation: sxCaret .8s steps(2) infinite; margin-left: 2px; }
@keyframes sxCaret { 50% { opacity: 0; } }
.sx-ln .res { font-weight: 600; white-space: nowrap; }
.sx-ln .res.ok { color: #34d399; } .sx-ln .res.warn { color: #ffb547; } .sx-ln .res.bad { color: #ff5a6a; } .sx-ln .res.run { color: #7f93ad; }
.sx-ln.final { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.4); color: #e6fff4; font-weight: 700; letter-spacing: .04em; }
.sx-ln.final .pr { color: #34d399; }
/* locks: each closes with a snap when its check is done */
.sx-locks { position: absolute; left: 50%; bottom: max(4vh, 18px); transform: translate(-50%, 20px); width: min(1180px, calc(100% - 48px)); list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; z-index: 3; opacity: 0; transition: opacity .7s var(--ease) .3s, transform .7s var(--ease) .3s; }
.opened .sx-locks { opacity: 1; transform: translate(-50%, 0); }
.sx-locks li { --lc: 127, 147, 173; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px;
  background: rgba(6, 16, 30, 0.85); border: 1px solid rgba(var(--lc), 0.35); transition: border-color .4s, box-shadow .4s, background .4s; }
.sx-locks svg { grid-row: span 2; width: 30px; height: 30px; fill: none; stroke: rgb(var(--lc)); stroke-width: 1.8; stroke-linecap: round; transition: stroke .3s; overflow: visible; }
.sx-locks .shk { transform: translateY(-4px) rotate(-18deg); transform-origin: 16px 10px; transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.sx-locks b { font: 700 .86rem/1.1 var(--display); color: #e6eef8; }
.sx-locks span { font: 500 .68rem/1.2 var(--mono); color: rgb(var(--lc)); letter-spacing: .06em; text-transform: uppercase; }
.sx-locks li.run { --lc: 34, 195, 255; box-shadow: 0 0 24px -8px rgba(34, 195, 255, 0.8); }
.sx-locks li.ok { --lc: 52, 211, 153; background: rgba(6, 30, 24, 0.8); box-shadow: 0 0 26px -8px rgba(52, 211, 153, 0.8); animation: sxSnap .4s var(--ease); }
.sx-locks li.warn { --lc: 255, 181, 71; background: rgba(36, 24, 6, 0.8); box-shadow: 0 0 26px -8px rgba(255, 181, 71, 0.8); animation: sxSnap .4s var(--ease); }
.sx-locks li.ok .shk, .sx-locks li.warn .shk { transform: none; }
@keyframes sxSnap { 40% { transform: scale(1.06); } }
.sx-hud { position: absolute; display: grid; gap: 3px; padding: 10px 14px; font: 500 .62rem/1.2 var(--mono); letter-spacing: .18em; color: #7f93ad; z-index: 2; opacity: 0; transition: opacity .6s .4s; }
.opened .sx-hud { opacity: 1; }
.sx-hud b { font: 700 .9rem/1 var(--display); letter-spacing: .04em; color: #e6f6ff; }
.sx-hud::before { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(34, 195, 255, 0.6); }
.sx-tl { left: 3vw; top: 12vh; } .sx-tl::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.sx-tr { right: 3vw; top: 12vh; text-align: right; } .sx-tr::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
@media (max-width: 1100px) { .sx-hud { display: none; } }
@media (max-width: 860px) {
  .sx-main { grid-template-columns: 1fr; top: 50%; gap: 12px; }
  .sx-radar { display: none; }
  .sx-body { height: clamp(220px, 40vh, 330px); padding: 12px; gap: 6px; font-size: .7rem; }
  .sx-ln { gap: 7px; grid-template-columns: auto minmax(0, 1fr); } .sx-ln .res { grid-column: 2; white-space: normal; }
  .sx-locks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: calc(100% - 24px); bottom: 2vh; }
  .sx-locks li { padding: 7px 8px; column-gap: 6px; } .sx-locks svg { width: 22px; height: 22px; } .sx-locks b { font-size: .74rem; } .sx-locks span { font-size: .58rem; }
  .sx-head { top: max(8vh, 64px); } .sx-head p { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sx-sweep, .sx-core::after, .sx-blip i, .sx-ln .cmd.typing::after { animation: none; } }

/* ── 2 · the X-ray, v2 (owner 2026-10-24): an EYE replaces the coin. Plays ONCE when the section arrives (scenes.js adds .opened),
   resets when you scroll back above it. The iris follows the mouse (scenes.js · eyeFollow). Pure vector → sharp at any resolution. ── */
.xray { height: 170vh; }
.xray .xr-head { opacity: 0; transform: translate(-50%, 24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.xray.opened .xr-head { opacity: 1; transform: translate(-50%, 0); }
.xr-eye { position: absolute; left: 50%; top: 55%; width: min(46vw, 560px); aspect-ratio: 600 / 360; transform: translate(-50%, -50%) scale(.9); opacity: 0; z-index: 1;
  transition: opacity .8s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.xray.opened .xr-eye { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.eye-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.eye-aura { opacity: .55; animation: eyeAura 4s ease-in-out infinite; }
@keyframes eyeAura { 50% { opacity: .9; } }
.eye-edge { filter: drop-shadow(0 0 10px rgba(34, 195, 255, 0.8)); }
/* lids: closed until the section opens, then they part (and blink now and then) */
.lid { transition: transform 1s cubic-bezier(.7, 0, .2, 1) .45s; }
.lid-t { transform: translateY(0); } .lid-b { transform: translateY(0); }
.xray.opened .lid-t { transform: translateY(-190px); } .xray.opened .lid-b { transform: translateY(190px); }
.xray.opened .lid-t { animation: blinkT 7s ease-in-out 4s infinite; } .xray.opened .lid-b { animation: blinkB 7s ease-in-out 4s infinite; }
@keyframes blinkT { 0%, 94%, 100% { transform: translateY(-190px); } 97% { transform: translateY(0); } }
@keyframes blinkB { 0%, 94%, 100% { transform: translateY(190px); } 97% { transform: translateY(0); } }
.iris { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.iris-ring { transform-origin: 300px 180px; animation: irisSpin 14s linear infinite; }
@keyframes irisSpin { to { transform: rotate(360deg); } }
.pupil { transform-origin: 300px 180px; transition: transform .6s var(--ease); }
.xray.opened .pupil { animation: pupilFocus 1.4s var(--ease) 1.2s both; }
@keyframes pupilFocus { 0% { transform: scale(1.5); } 60% { transform: scale(.75); } 100% { transform: scale(1); } }
/* one scan pass over the eye, then the cards come out */
.eye-scan { transform: translateY(0); }
.xray.opened .eye-scan { animation: eyeScan 1.3s cubic-bezier(.6, 0, .3, 1) 1.2s both; }
@keyframes eyeScan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateY(440px); opacity: 0; } }
/* cards: fly from the eye to their corners, one after another */
.xray .xr-card { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-10deg); transition: opacity .6s var(--ease), transform .9s cubic-bezier(.2, .9, .25, 1.15); }
.xray.opened .xr-card { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
.xray.opened .xr-card.k1 { transition-delay: 2.3s; } .xray.opened .xr-card.k2 { transition-delay: 2.55s; } .xray.opened .xr-card.k3 { transition-delay: 2.8s; } .xray.opened .xr-card.k4 { transition-delay: 3.05s; }
.xray.opened .xr-card.k1 { animation: floaty 5.5s ease-in-out 3.4s infinite; } .xray.opened .xr-card.k2 { animation: floaty 5.5s ease-in-out 4s infinite; }
.xray.opened .xr-card.k3 { animation: floaty 5.5s ease-in-out 4.6s infinite; } .xray.opened .xr-card.k4 { animation: floaty 5.5s ease-in-out 5.2s infinite; }
.xray .xr-facts { opacity: 0; transform: translate(-50%, 30px); transition: opacity .7s var(--ease) 0s, transform .7s var(--ease) 0s; }
.xray.opened .xr-facts { opacity: 1; transform: translate(-50%, 0); transition-delay: 3.5s; }
@media (max-width: 760px) { .xray { height: 160vh; } .xr-eye { width: min(64vw, 300px); top: 53%; } }
@media (prefers-reduced-motion: reduce) { .lid, .xray .xr-card, .xr-eye, .xray .xr-facts, .xray .xr-head { transition: none !important; animation: none !important; } .xray .lid-t { transform: translateY(-190px); } .xray .lid-b { transform: translateY(190px); } }

/* ── the phone = a real-looking Telegram chat (dark theme): status bar, header, wallpaper, bubbles with time + ✓✓, inline keyboard, input bar ── */
.phone.tg { display: flex; flex-direction: column; padding: 12px; }
.phone.tg .ph-notch { top: 18px; }
.tg-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 22px 4px; font: 600 .74rem/1 var(--body); color: #e6eef8; border-radius: 34px 34px 0 0; background: #17212b; }
.tg-sig { display: inline-flex; gap: 2px; align-items: flex-end; } .tg-sig i { width: 3px; background: #e6eef8; border-radius: 1px; } .tg-sig i:nth-child(1) { height: 4px; } .tg-sig i:nth-child(2) { height: 6px; } .tg-sig i:nth-child(3) { height: 8px; } .tg-sig i:nth-child(4) { height: 10px; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 18px 12px 10px; background: #17212b; border-bottom: 1px solid #0b1219; }
.tg-head img { border-radius: 50%; flex: none; }
.tg-back, .tg-more { width: 20px; height: 20px; flex: none; fill: none; stroke: #6c7883; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tg-more { fill: #6c7883; stroke: none; }
.tg-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tg-who b { color: #fff; font: 600 .86rem/1.15 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-sub { color: #6c7883; font-size: .72rem; }
.tg-wall { flex: 1; height: auto; border-radius: 0; background-color: #0e1621;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.025) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.02) 0 3px, transparent 4px), radial-gradient(circle at 40% 85%, rgba(34, 195, 255, 0.03) 0 2px, transparent 3px), radial-gradient(80% 60% at 50% 0%, rgba(43, 82, 120, 0.25), transparent);
  background-size: 46px 46px, 64px 64px, 38px 38px, 100% 100%; }
.tg-day { justify-self: center; padding: 3px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); color: #c9d6e6; font-size: .68rem; }
.phone.tg .bub { position: relative; padding: 7px 10px 18px; font-family: var(--body); }
.phone.tg .bub.me { background: #2b5278; border-radius: 14px 14px 4px 14px; }
.tg-ca { font: 500 .78rem/1.3 var(--mono); }
.tg-meta { position: absolute; right: 9px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; font: 400 .6rem/1 var(--body); font-style: normal; color: rgba(230, 238, 248, 0.55); }
.bub.me .tg-meta { color: #7db4e6; } .tg-meta svg { width: 14px; height: 9px; fill: none; stroke: #5fb7ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-grp { display: grid; gap: 3px; max-width: 92%; opacity: var(--lp); transform: translateY(calc((1 - var(--lp)) * 20px)) scale(calc(.92 + var(--lp) * .08)); transform-origin: left bottom; }
.tg-grp .bub { max-width: 100%; opacity: 1; transform: none; border-radius: 14px 14px 14px 4px; background: #182533; border: 0; }
.tg-grp .bub.bot span { color: #c9d6e6; } .tg-grp .bub.bot span b { color: #fff; }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.tg-kb span { padding: 7px 6px; border-radius: 8px; background: rgba(43, 82, 120, 0.55); color: #fff; font: 500 .66rem/1.1 var(--body); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tg-kb span.w2 { grid-column: span 2; }
.phone.tg .bub.pic, .phone.tg .bub.alert { padding: 3px 3px 18px; border-radius: 14px 14px 14px 4px; }
.tg-input { display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; background: #17212b; border-radius: 0 0 34px 34px; color: #6c7883; font: 400 .8rem/1 var(--body); }
.tg-input span { flex: 1; }
.tg-ic { width: 20px; height: 20px; fill: none; stroke: #6c7883; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone.tg .ph-view { min-height: 0; }
/* real chat behaviour: each new message grows in at the bottom and pushes the older ones up */
.phone.tg .ph-view { display: flex; flex-direction: column; justify-content: flex-end; }
.phone.tg .ph-chat { transform: none; gap: 0; padding-bottom: 10px; }
.phone.tg .ph-chat > * { margin-top: 8px; }
.phone.tg .ph-chat > [data-a] { max-height: calc(var(--lp) * 560px); margin-top: calc(var(--lp) * 8px); overflow: hidden; }

.iris-in { transform-origin: 300px 180px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); } .pupil { transition: translate .35s cubic-bezier(.2, .8, .2, 1), transform .6s var(--ease); }

/* the lock strip = the scan's progress line (owner 2026-10-24): numbered steps, a track that fills as each check finishes with a light
   travelling along it, a scanning sweep on the step being checked, and each lock shows its own result */
.sx-locks { --prog: 0; gap: 18px; counter-reset: step; }
.sx-locks::before { content: ''; position: absolute; left: 3%; right: 3%; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; z-index: -1;
  background: linear-gradient(90deg, #34d399, #22c3ff) left / calc(var(--prog) * 100%) 100% no-repeat, rgba(127, 147, 173, 0.18); transition: background-size .6s var(--ease); box-shadow: 0 0 14px rgba(34, 195, 255, 0.35); }
.sx-locks::after { content: ''; position: absolute; top: 50%; left: calc(3% + var(--prog) * 94%); width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); z-index: -1;
  background: #e6fbff; box-shadow: 0 0 0 4px rgba(34, 195, 255, 0.35), 0 0 22px 6px rgba(34, 195, 255, 0.85); transition: left .6s var(--ease); opacity: calc(var(--prog) * 40); }
.sx-locks li { counter-increment: step; position: relative; overflow: hidden; }
.sx-locks li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 6px; right: 9px; font: 600 .58rem/1 var(--mono); color: rgba(var(--lc), 0.75); letter-spacing: .08em; }
.sx-locks li.run::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(34, 195, 255, 0.35) 50%, transparent 80%); transform: translateX(-100%); animation: lockScan .9s linear infinite; }
@keyframes lockScan { to { transform: translateX(100%); } }
.sx-locks li.run svg { animation: lockShake .5s ease-in-out infinite; }
@keyframes lockShake { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.sx-locks li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: .02em; }
@media (max-width: 860px) { .sx-locks { gap: 6px; } .sx-locks::before, .sx-locks::after { display: none; } .sx-locks li::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .sx-locks li.run::after, .sx-locks li.run svg { animation: none; } }

/* ── simplified site (owner 2026-10-24) ── */
/* the door is the opening: H1 + call to action; buttons stop catching taps once the copy has faded */
.pt-copy h1 { font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.pt-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.pt-copy.on { pointer-events: none; }
@media (max-height: 820px) { .portal .stick { --L: min(32vh, 70vw); --cy: 68%; } .pt-copy { top: max(8vh, 70px); gap: 10px; } .pt-copy h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); } }
@media (max-width: 560px) { .pt-cta .btn { padding: 12px 16px; font-size: .86rem; } }
/* five features: 3 + 2 */
.bento .s-watch, .bento .s-caught, .bento .s-aped { grid-column: span 4; }
.bento .s-group { grid-column: span 7; } .bento .s-proj { grid-column: span 5; }
@media (max-width: 980px) { .bento .s-watch, .bento .s-caught, .bento .s-aped, .bento .s-group, .bento .s-proj { grid-column: span 6; } .bento .s-aped { grid-column: span 12; } }
@media (max-width: 640px) { .bento .svc { grid-column: auto !important; } }
/* verdicts + networks in one section */
.nets-title { margin: 34px 0 12px; font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); text-align: center; }
#verdicts .nets { margin-top: 0; }
/* plans → one line */
.plans-lite .beta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(10, 132, 255, 0.14), rgba(167, 139, 250, 0.1)); border: 1px solid rgba(34, 195, 255, 0.3); box-shadow: 0 30px 80px -40px rgba(10, 132, 255, 0.6); }
.plans-lite .beta > div { display: grid; gap: 8px; } .plans-lite h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); } .plans-lite p:not(.eyebrow) { color: var(--mute); }
@media (max-width: 640px) { .plans-lite .beta { padding: 22px; justify-content: center; text-align: center; } .plans-lite .beta > div { justify-items: center; } }
.portal .stick { --L: min(34vh, 70vw); --cy: 69%; }
.pt-copy h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.pt-copy p:not(.eyebrow) { max-width: 72ch; }
@media (max-height: 820px) { .portal .stick { --L: min(29vh, 70vw); --cy: 71%; } }
@media (max-width: 560px) { .portal .stick { --L: min(30vh, 66vw); --cy: 70%; } }
.pt-copy > * { text-align: center; } .pt-copy .eyebrow { justify-content: center; }
