/* ContinuityGrid(TM) landing section: animated governance illustration. Scoped to #loginView .cgx.
 * Text colours use the same strong prefix as landing.css because older #loginView rules set generic p/h2/button colours. */
html:root:root:root:root:root:root #loginView .cgx{
  --cgx-cyan:#22d3ee;--cgx-green:#34d399;--cgx-red:#fb7185;--cgx-amber:#fbbf24;--cgx-violet:#a78bfa;
  max-width:var(--cz-max);margin:0 auto;padding:clamp(72px,10vw,128px) var(--cz-pad);background:transparent!important;border:0!important;border-top:1px solid var(--cz-line)!important;
}
html:root:root:root:root:root:root #loginView .cgx h2{margin:0;font-size:clamp(2.4rem,6vw,5rem);line-height:1.02!important;font-weight:800;letter-spacing:-.045em;color:#fff!important}
html:root:root:root:root:root:root #loginView .cgx-lead{margin:22px 0 0;max-width:720px;font-size:1.12rem;line-height:1.62!important;color:var(--cz-mute)!important}
html:root:root:root:root:root:root #loginView .cgx-lead b{color:#fff!important}

/* Illustration */
#loginView .cgx-demo{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:clamp(16px,2.4vw,28px);margin-top:clamp(36px,5vw,60px);align-items:stretch}
#loginView .cgx-stage{position:relative;border-radius:22px;border:1px solid var(--cz-line);overflow:hidden;
  background:radial-gradient(120% 90% at 50% 40%,rgba(34,211,238,.10),transparent 60%),radial-gradient(80% 70% at 100% 0%,rgba(139,92,246,.14),transparent 60%),#060d18;
  box-shadow:0 40px 120px -56px rgba(34,211,238,.45),0 24px 60px -32px rgba(0,0,0,.85)}
#loginView .cgx-stage::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:36px 36px;-webkit-mask-image:radial-gradient(90% 80% at 50% 50%,#000,transparent);mask-image:radial-gradient(90% 80% at 50% 50%,#000,transparent);pointer-events:none}
#loginView .cgx-svg{position:relative;display:block;width:100%;height:auto}
#loginView .cgx-badge{position:absolute;left:14px;top:12px;font-size:11px;letter-spacing:.14em;font-weight:700;color:rgba(168,179,203,.85);text-transform:uppercase}

/* SVG parts */
#loginView .cgx-agent rect{fill:rgba(255,255,255,.045);stroke:rgba(255,255,255,.16);stroke-width:1.2;transition:stroke .4s,fill .4s,filter .4s}
#loginView .cgx-agent .cgx-name{fill:#eef2ff;font:700 13px Inter,system-ui,sans-serif}
#loginView .cgx-agent .cgx-st{fill:#a8b3cb;font:500 10.5px Inter,system-ui,sans-serif;transition:fill .4s}
#loginView .cgx-agent .cgx-dot{fill:#64748b;transition:fill .4s}
#loginView .cgx-agent.is-sel rect{stroke:var(--cgx-cyan);fill:rgba(34,211,238,.09);filter:drop-shadow(0 0 10px rgba(34,211,238,.35))}
#loginView .cgx-agent.is-sel .cgx-dot{fill:var(--cgx-cyan)}
#loginView .cgx-agent.is-sel .cgx-st{fill:#a5f3fc}
#loginView .cgx-agent.is-good rect{stroke:var(--cgx-green);fill:rgba(52,211,153,.09);filter:drop-shadow(0 0 10px rgba(52,211,153,.35))}
#loginView .cgx-agent.is-good .cgx-dot{fill:var(--cgx-green)}
#loginView .cgx-agent.is-good .cgx-st{fill:#a7f3d0}
#loginView .cgx-agent.is-bad rect{stroke:var(--cgx-red);fill:rgba(251,113,133,.09)}
#loginView .cgx-agent.is-bad .cgx-dot{fill:var(--cgx-red)}
#loginView .cgx-agent.is-bad .cgx-st{fill:#fecdd3}
#loginView .cgx-agent.is-hold rect{stroke:var(--cgx-amber);stroke-dasharray:5 4}
#loginView .cgx-agent.is-hold .cgx-dot{fill:var(--cgx-amber)}
#loginView .cgx-agent.is-hold .cgx-st{fill:#fde68a}

#loginView .cgx-wire{fill:none;stroke:rgba(255,255,255,.14);stroke-width:1.6}
#loginView .cgx-flow{fill:none;stroke:var(--cgx-cyan);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:3 11;opacity:0;transition:opacity .35s,stroke .35s}
#loginView .cgx-flow.f,#loginView .cgx-flow.r{opacity:1;animation:cgxDash 1s linear infinite}
#loginView .cgx-flow.r{animation-direction:reverse}
#loginView .cgx-flow.h{opacity:.9;stroke:var(--cgx-amber);stroke-dasharray:2 7}
#loginView .cgx-flow.x{opacity:1;stroke:var(--cgx-red);stroke-dasharray:6 6}
#loginView .cgx-flow.ok{stroke:var(--cgx-green)}
@keyframes cgxDash{to{stroke-dashoffset:-14}}

#loginView .cgx-ring{fill:none;stroke:rgba(34,211,238,.35);stroke-width:1.4;transform-box:fill-box;transform-origin:center}
#loginView .cgx-ring.a{stroke-dasharray:4 10;animation:cgxSpin 26s linear infinite}
#loginView .cgx-ring.b{stroke:rgba(139,92,246,.45);stroke-dasharray:18 8 2 8;animation:cgxSpin 18s linear infinite reverse}
#loginView .cgx-core{fill:#08121f;stroke:rgba(34,211,238,.55);stroke-width:1.6;filter:drop-shadow(0 0 18px rgba(34,211,238,.35))}
#loginView .cgx-gate.is-pulse .cgx-core{animation:cgxPulse 1.4s ease-in-out infinite}
@keyframes cgxSpin{to{transform:rotate(360deg)}}
@keyframes cgxPulse{50%{stroke:rgba(52,211,153,.9);filter:drop-shadow(0 0 28px rgba(52,211,153,.55))}}
#loginView .cgx-gatelabel{fill:#a8b3cb;font:700 10.5px Inter,system-ui,sans-serif;letter-spacing:.2em}
#loginView .cgx-gatest{fill:#a5f3fc;font:600 12px Inter,system-ui,sans-serif}
#loginView .cgx-pill rect{fill:rgba(34,211,238,.1);stroke:rgba(34,211,238,.45);stroke-width:1.2;transition:fill .4s,stroke .4s}
#loginView .cgx-pill text{fill:#e6fbff;font:700 12px Inter,system-ui,sans-serif}
#loginView .cgx-pill.is-off rect{fill:rgba(255,255,255,.04);stroke:rgba(255,255,255,.16)}
#loginView .cgx-pill.is-off text{fill:#94a3b8}
#loginView .cgx-pill.is-bump rect{fill:rgba(251,191,36,.13);stroke:rgba(251,191,36,.7)}
#loginView .cgx-chip rect{fill:rgba(255,255,255,.06);stroke:rgba(255,255,255,.2);stroke-width:1.1}
#loginView .cgx-chip text{fill:#eef2ff;font:700 12px Inter,system-ui,sans-serif}
#loginView .cgx-chip line{stroke:rgba(255,255,255,.22);stroke-width:1.4;stroke-dasharray:3 4}

#loginView .cgx-group{fill:rgba(255,255,255,.03);stroke:rgba(255,255,255,.2);stroke-width:1.3;stroke-dasharray:6 6;transition:stroke .4s,fill .4s}
#loginView .cgx-res.is-lock .cgx-group{stroke:var(--cgx-cyan);stroke-dasharray:none;fill:rgba(34,211,238,.05);filter:drop-shadow(0 0 14px rgba(34,211,238,.3))}
#loginView .cgx-res.is-warn .cgx-group{stroke:var(--cgx-amber)}
#loginView .cgx-res.is-good .cgx-group{stroke:var(--cgx-green);fill:rgba(52,211,153,.05);filter:drop-shadow(0 0 14px rgba(52,211,153,.3))}
#loginView .cgx-rtitle{fill:#a8b3cb;font:700 10.5px Inter,system-ui,sans-serif;letter-spacing:.16em}
#loginView .cgx-node rect{fill:rgba(255,255,255,.05);stroke:rgba(255,255,255,.14);stroke-width:1.1}
#loginView .cgx-node text{fill:#eef2ff;font:600 12.5px Inter,system-ui,sans-serif}
#loginView .cgx-node .cgx-ns{fill:#a8b3cb;font:500 10.5px Inter,system-ui,sans-serif}
#loginView .cgx-node .cgx-ndot{fill:var(--cgx-red);transition:fill .4s}
#loginView .cgx-res.is-lock .cgx-ndot{fill:var(--cgx-amber)}
#loginView .cgx-res.is-warn .cgx-ndot{fill:var(--cgx-amber)}
#loginView .cgx-res.is-good .cgx-ndot{fill:var(--cgx-green)}
#loginView .cgx-rstat{fill:#a5f3fc;font:600 12px Inter,system-ui,sans-serif}
#loginView .cgx-res.is-good .cgx-rstat{fill:#a7f3d0}

/* Step list */
#loginView .cgx-side{display:flex;flex-direction:column;gap:12px;min-width:0}
#loginView .cgx-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;flex:1}
html:root:root:root:root:root:root #loginView .cgx-step{position:relative;display:block;width:100%;text-align:left;cursor:pointer;padding:14px 16px 14px 52px;border-radius:16px!important;border:1px solid var(--cz-line)!important;background:var(--cz-card)!important;color:var(--cz-text)!important;overflow:hidden;font-family:inherit;transition:border-color .3s,background .3s}
html:root:root:root:root:root:root #loginView .cgx-step:hover{border-color:rgba(34,211,238,.4)!important}
#loginView .cgx-step .n{position:absolute;left:14px;top:14px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;border:1.5px solid rgba(255,255,255,.3);color:#cbd5e1;transition:all .3s}
html:root:root:root:root:root:root #loginView .cgx-step .t{display:block;font-size:15px;font-weight:700;color:#fff!important;letter-spacing:-.01em}
html:root:root:root:root:root:root #loginView .cgx-step .d{display:none;margin-top:6px;font-size:13.5px;line-height:1.55;color:var(--cz-mute)!important}
html:root:root:root:root:root:root #loginView .cgx-step.is-active{border-color:rgba(34,211,238,.6)!important;background:var(--cz-card2)!important}
#loginView .cgx-step.is-active .n{background:var(--cgx-cyan);border-color:var(--cgx-cyan);color:#04111c}
html:root:root:root:root:root:root #loginView .cgx-step.is-active .d{display:block}
html:root:root:root:root:root:root #loginView .cgx-ctl::before,html:root:root:root:root:root:root #loginView .cgx-ctl::after{content:none!important;display:none!important}
#loginView .cgx-step .bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:linear-gradient(90deg,var(--cgx-cyan),var(--cgx-violet))}
#loginView .cgx-step.is-active .bar{animation:cgxBar var(--cgx-dur,4400ms) linear forwards}
#loginView .cgx.is-paused .cgx-step.is-active .bar{animation:none;width:100%;opacity:.35}
@keyframes cgxBar{to{width:100%}}
html:root:root:root:root:root:root #loginView .cgx-ctl{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:999px!important;border:1px solid rgba(255,255,255,.28)!important;background:transparent!important;color:var(--cz-text)!important;font:700 13px Inter,system-ui,sans-serif;cursor:pointer}
html:root:root:root:root:root:root #loginView .cgx-ctl:hover{background:rgba(255,255,255,.08)!important}
#loginView .cgx-note{margin:2px 0 0;font-size:12px;color:#7f8ba3}

/* Moat */
html:root:root:root:root:root:root #loginView .cgx-moat-head{margin:clamp(56px,8vw,96px) 0 0;max-width:820px}
html:root:root:root:root:root:root #loginView .cgx-moat-head h3{margin:0;font-size:clamp(1.7rem,3.4vw,2.7rem);line-height:1.1!important;letter-spacing:-.035em;font-weight:800;color:#fff!important}
html:root:root:root:root:root:root #loginView .cgx-moat-head p{margin:14px 0 0;font-size:1.08rem;line-height:1.6!important;color:var(--cz-mute)!important}
#loginView .cgx-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:clamp(24px,4vw,40px)}
html:root:root:root:root:root:root #loginView .cgx-card{position:relative;padding:24px 24px 26px;border-radius:18px!important;border:1px solid var(--cz-line)!important;background:var(--cz-card)!important;overflow:hidden;transition:border-color .3s,background .3s,transform .3s}
html:root:root:root:root:root:root #loginView .cgx-card:hover{border-color:rgba(34,211,238,.45)!important;background:var(--cz-card2)!important;transform:translateY(-2px)}
#loginView .cgx-card::after{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.16),transparent 70%);pointer-events:none}
html:root:root:root:root:root:root #loginView .cgx-card .k{display:block;font-size:11.5px;letter-spacing:.16em;font-weight:800;color:var(--cz-cyan)!important}
html:root:root:root:root:root:root #loginView .cgx-card h4{margin:10px 0 8px;font-size:1.22rem;line-height:1.25!important;letter-spacing:-.02em;color:#fff!important}
html:root:root:root:root:root:root #loginView .cgx-card p{margin:0;font-size:.98rem;line-height:1.6!important;color:var(--cz-mute)!important}
html:root:root:root:root:root:root #loginView .cgx-strip{margin-top:20px;padding:clamp(22px,3vw,32px) clamp(22px,3.4vw,40px);border-radius:20px!important;border:1px solid rgba(34,211,238,.35)!important;background:linear-gradient(120deg,rgba(34,211,238,.10),rgba(139,92,246,.12))!important;display:flex;flex-wrap:wrap;gap:18px 32px;align-items:center;justify-content:space-between}
html:root:root:root:root:root:root #loginView .cgx-strip p{margin:0;max-width:760px;font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.5!important;color:#e6edfb!important}
html:root:root:root:root:root:root #loginView .cgx-strip p b{color:#fff!important}

html.cz-js #loginView .cgx-reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
html.cz-js #loginView .cgx-reveal.is-in{opacity:1;transform:none}

@media (max-width:980px){
  #loginView .cgx-demo{grid-template-columns:1fr}
  #loginView .cgx-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  #loginView .cgx-cards{grid-template-columns:1fr}
  #loginView .cgx-badge{display:none}
}
@media (prefers-reduced-motion:reduce){
  #loginView .cgx-ring,#loginView .cgx-flow.f,#loginView .cgx-flow.r,#loginView .cgx-gate.is-pulse .cgx-core,#loginView .cgx-step.is-active .bar{animation:none!important}
  #loginView .cgx-step.is-active .bar{width:100%;opacity:.35}
  html.cz-js #loginView .cgx-reveal{opacity:1;transform:none;transition:none}
  #loginView .cgx-agent rect,#loginView .cgx-flow,#loginView .cgx-group{transition:none}
}
@media (forced-colors:active){
  #loginView .cgx-agent.is-sel rect,#loginView .cgx-agent.is-good rect{stroke:Highlight}
  #loginView .cgx-agent.is-bad rect{stroke:Mark}
}
