/* Motion Edition — local CSS only. Decorative animation never represents a live service. */
:root{--v5-navy:#0b1830;--v5-blue:#3658d6;--v5-cyan:#60e9df;--v5-violet:#a9a3ff;--v5-paper:#f5f7fc;--v5-line:#dce4f1}
body{background:radial-gradient(ellipse at 92% 0,#dfe8ff 0,transparent 42%),radial-gradient(ellipse at 0 28%,#e4f7f5 0,transparent 35%),var(--v5-paper);font-family:Inter,'Segoe UI Variable Text','Segoe UI',system-ui,sans-serif}
header{border-top:0;padding-block:14px;gap:18px;box-shadow:0 6px 28px #1c2f5710;background:#ffffffee}
.logo{background:linear-gradient(145deg,#172d59,#3658d6);box-shadow:0 5px 15px #3658d640;border-radius:14px;color:#fff;position:relative}.logo:after{content:'';position:absolute;right:5px;top:5px;width:6px;height:6px;border-radius:100%;background:#76f2dc;box-shadow:0 0 8px #76f2dc}
header nav a{position:relative;transition:background .2s,color .2s}header nav a:hover{background:#edf2ff;text-decoration:none;color:#2d4ab4}header nav a[aria-current=page]{background:#e9edff;color:#2c48af}
.motion-reading{height:3px;position:fixed;inset:0 0 auto;z-index:110;pointer-events:none;background:#5067bb16}.motion-reading i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#596eea,#0aa98c);transform:scaleX(0);transform-origin:left}
main{max-width:1320px;padding-top:32px}.hero.motion-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:24px;min-height:230px;padding:clamp(24px,3.4vw,48px);border-radius:26px!important;background:radial-gradient(ellipse at 90% 20%,#254d91 0,transparent 58%),linear-gradient(120deg,#0b1830 0%,#142b54 60%,#123e55 100%)!important;box-shadow:0 22px 56px #1c38652c;isolation:isolate;overflow:hidden}
body[data-page=index] .hero.motion-hero{min-height:365px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero.motion-hero:after{content:'';width:auto;height:auto;inset:0;border:0;border-radius:0;box-shadow:none;z-index:-1;background-image:linear-gradient(#c7dcff09 1px,transparent 1px),linear-gradient(90deg,#c7dcff09 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(100deg,transparent 5%,#000 100%)}
.motion-copy{min-width:0;position:relative;z-index:2}.motion-copy h1{font-size:clamp(1.9rem,3.2vw,3rem);line-height:1.09;letter-spacing:-.045em;margin:14px 0 18px}.motion-copy p{font-size:15.5px;line-height:1.65;max-width:66ch;color:#d9e7ff}.motion-copy .eyebrow{color:#9df4e3;letter-spacing:.16em;font-size:10.5px}body[data-page=index] .motion-copy h1{font-size:clamp(2.5rem,4.8vw,4.4rem);max-width:12ch;line-height:1.01}.motion-copy .hero-actions .primary:not(.secondary){background:#e7fff8;color:#0e4c49;box-shadow:0 7px 24px #00122630}.motion-copy .primary:not(.secondary):hover{background:#a4f6e1;color:#123c45}.motion-copy .hero-actions .secondary{border-color:#b8d5ff55;background:#ffffff12;color:#fff}.motion-art{position:relative;min-width:0;align-self:center;margin:0;z-index:1}.motion-art svg{width:100%;height:auto;max-height:270px;display:block;overflow:visible}.motion-art figcaption{color:#b2c7e6;font-size:10px;letter-spacing:.1em;text-transform:uppercase;text-align:center;margin-top:3px}.motion-art .trace{stroke-dasharray:4 14;animation:v5trace 2s linear infinite}.motion-art .trace.delay{animation-delay:-.8s}.motion-art .halo{transform-box:fill-box;transform-origin:center;animation:v5halo 3.4s ease-in-out infinite}.motion-art .float{transform-box:fill-box;transform-origin:center;animation:v5float 4.6s ease-in-out infinite}.motion-art .float.second{animation-delay:-2.2s}.motion-art .ping{transform-box:fill-box;transform-origin:center;animation:v5ping 2.4s ease-out infinite}.motion-art .ping.second{animation-delay:-1.2s}.motion-art .spark{stroke-dasharray:8 6;animation:v5trace 3.2s linear infinite}.motion-art .node-shell{fill:#152c4c;stroke:#6684b3;stroke-width:1.2}.motion-art .node-text{fill:#eef4ff;font-size:11px;font-weight:650;letter-spacing:.1px}.motion-art .node-sub{fill:#a9c2e5;font-size:8.5px}.motion-art .node-icon{fill:none;stroke:#85efe1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.motion-art .line-base{fill:none;stroke:#638ab2;stroke-width:1.3;opacity:.58}.motion-art .trace{fill:none;stroke:#7df6dc;stroke-width:2.5;stroke-linecap:round;filter:drop-shadow(0 0 3px #72f6d9)}
@keyframes v5trace{to{stroke-dashoffset:-72}}@keyframes v5halo{0%,100%{opacity:.32;transform:scale(.97)}50%{opacity:.7;transform:scale(1.04)}}@keyframes v5float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes v5ping{0%{opacity:.65;transform:scale(.7)}90%,100%{opacity:0;transform:scale(1.7)}}
.motion-preferences{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-8px 0 16px;color:#50627e;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.motion-toggle{display:flex;align-items:center;gap:7px;background:#fff;color:#394f7e;border:1px solid #d6e0ee;font-size:11px;padding:6px 11px;border-radius:99px;font-weight:700;text-transform:none;letter-spacing:0}.motion-toggle:hover{background:#e9efff;color:#263c73}.motion-toggle svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8}.motion-toggle[aria-pressed=false]{background:#eff2f6;color:#4a596f}
.panel,.labcard,.tile{border-color:#dce5f1!important;border-radius:19px!important;box-shadow:0 6px 25px #213e7a08!important}.panel{padding:clamp(17px,2.2vw,30px);scroll-margin-top:105px}.sectionhead h2,.panel h2{color:#152946}.panel>.eyebrow,.sectionhead .eyebrow{color:#4767b8}.studio-grid{gap:16px}.studio-tile{position:relative;overflow:hidden;min-height:172px;padding:21px;border:1px solid #dce4f0;border-radius:17px;background:linear-gradient(145deg,#fff 30%,#f5f7ff);transition:transform .24s cubic-bezier(.2,.75,.3,1),box-shadow .24s,border-color .24s;isolation:isolate}.studio-tile:after{content:'';position:absolute;width:115px;height:115px;right:-45px;bottom:-50px;border-radius:50%;background:var(--tile-tint,#e0e9ff);z-index:-1;transition:transform .4s}.studio-tile:hover,.studio-tile:focus-visible{transform:translateY(-5px);box-shadow:0 15px 30px #263f7b17;text-decoration:none;border-color:#8ca4e1}.studio-tile:hover:after{transform:scale(1.75)}.studio-tile .motion-tile-icon{float:right;margin:0 0 10px 12px}.motion-tile-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;color:var(--tile-color,#3658d6);background:var(--tile-tint,#e8edff);flex:none;transition:transform .25s}.motion-tile-icon svg{width:24px;height:24px}.studio-tile:hover .motion-tile-icon,.labcard:hover .motion-tile-icon{transform:translateY(-3px) rotate(-5deg)}.studio-tile h3{font-size:1.35rem;color:#183052}.studio-tile small{color:var(--tile-color,#3658d6)}.studio-tile>span:not(.motion-tile-icon){display:inline-block;transition:transform .22s}.studio-tile:hover>span:not(.motion-tile-icon){transform:translateX(4px)}
.labcard{position:relative;overflow:hidden;min-height:220px;padding:19px 21px 15px;transition:transform .22s,box-shadow .22s,border-color .22s!important}.labcard .motion-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.labcard .motion-tile-icon{width:39px;height:39px;border-radius:11px}.labcard .motion-tile-icon svg{width:21px;height:21px}.labcard:before{content:'';height:3px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,var(--tile-color,#3658d6),transparent);opacity:.65}.labcard:hover{transform:translateY(-4px);box-shadow:0 13px 28px #243c7419!important;border-color:#8ca4e1!important}.labcard h3{font-size:1.15rem}.labcard .cardfoot{color:#3153b8}.labcard .cardfoot>span{transition:transform .2s}.labcard:hover .cardfoot>span{transform:translateX(4px)}.featuretiles>a{transition:transform .2s,box-shadow .2s}.featuretiles>a:hover{transform:translateY(-4px);box-shadow:0 10px 25px #213e7a16}.metrics>div{position:relative;border-radius:17px;border-color:#dce5f1;overflow:hidden;background:linear-gradient(160deg,#fff,#f6f8fd)}.metrics>div:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#7285de,#67cfca);opacity:.45}.metrics strong{color:#243f86}
.motion-reveal.motion-enter{animation:v5enter .48s cubic-bezier(.2,.75,.25,1) both}@keyframes v5enter{from{opacity:.74;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.motion-tracebox{background:#101e37;border-radius:16px;padding:17px 19px;margin:17px 0;color:#f2f6ff;box-shadow:inset 0 0 0 1px #7da8ed28}.motion-tracebox h3{margin:0;font-size:16px;color:#f3f7ff}.motion-tracebox .trace-description{color:#c3d5f2;font-size:12px;margin:7px 0 12px}.motion-tracebar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.motion-tracebar button{position:relative;text-align:left;display:flex;flex-direction:column;gap:3px;background:#243956;border:1px solid #536b91;color:#e1ebff;padding:11px;border-radius:10px;min-width:0;transition:background .2s,border-color .2s}.motion-tracebar button:not(:last-child):after{content:'›';position:absolute;right:-9px;top:35%;color:#9fbbed}.motion-tracebar button small{font-size:10px;color:#b6c8e6}.motion-tracebar button[aria-pressed=true]{background:#1e615f;border-color:#8df1d6;color:#fff}.motion-tracebar button[aria-pressed=true] small{color:#c7fff3}.motion-tracebar button[aria-pressed=true]:before{content:'';position:absolute;inset:0;border-radius:10px;box-shadow:0 0 18px #70e9d245;animation:v5halo 2.4s infinite}.motion-tracefooter{display:flex;align-items:center;gap:12px;margin-top:12px}.motion-tracefooter p{margin:0;color:#d1e1f6;font-size:13px;flex:1}.motion-tracefooter button{background:#344d7c;border:1px solid #6a87b5;color:white;padding:7px 12px;white-space:nowrap}
/* Simulations: actual existing controls drive these visual changes. */
.sim{background:linear-gradient(145deg,#f8faff,#eff5fa);border-radius:18px;border-color:#dce5f0;padding:18px}.stage{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 75% 20%,#1f4b6b 0,transparent 65%),linear-gradient(120deg,#0b1830,#142d4b)!important;border:1px solid #344e74;box-shadow:0 8px 24px #13294c1c;padding:24px;min-height:210px}.stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#b0d1ff0b 1px,transparent 1px),linear-gradient(90deg,#b0d1ff0b 1px,transparent 1px);background-size:22px 22px}.stage .device{min-height:158px;background:linear-gradient(145deg,#ffffff12,#ffffff06);border:1px solid #8ba7cd44;box-shadow:inset 0 1px 0 #ffffff14;padding:16px}.stage .device small{color:#bcd6f5}.stage .wire{height:3px;background:#82a9d05c;box-shadow:0 0 12px #6ca9ea28}.stage .wire:after{border-left-color:#9acbe4}.stage .packet.go{animation:v5packet .85s ease-in-out;box-shadow:0 0 16px #90ffe2;background:#b2ffe8;width:12px;height:12px;top:-4px}.stage .packet.go:before{content:'';position:absolute;right:7px;top:4px;width:30px;height:4px;border-radius:8px;background:linear-gradient(90deg,transparent,#75f3d6);opacity:.7}.stage.motion-event .device:last-child{animation:v5receive .72s ease-out}.stage.motion-event .wire{animation:v5wire .72s ease-out}.stage .motion-result{width:94px;height:76px;display:block;margin:0 auto;color:#85efe1;filter:drop-shadow(0 4px 9px #0a172a70)}.stage .motion-result svg{width:100%;height:100%;stroke:currentColor}.stage .motion-result .motion-icon-main{fill:#9df4e319}.stage .led{position:relative;width:44px;height:44px;box-shadow:inset 0 3px 5px #fff4,0 3px 12px #0003}.stage .led.on{box-shadow:0 0 25px #5dfca99c,inset 0 3px 6px #fff6}.stage .led.on:after{content:'';position:absolute;inset:-7px;border-radius:100%;border:1px solid #90ffd9;animation:v5ping 1.8s ease-out infinite}.sim-metric,.lab-telemetry>div{border-radius:13px;background:linear-gradient(135deg,#fff,#f1f5fd);box-shadow:0 2px 10px #284e8808}.sim-meter i{transition:width .25s ease}.simchart,.live-chart{border-radius:12px}.simchart polyline{stroke-linecap:round;stroke-linejoin:round}.simchart circle:last-child{animation:v5dot .65s ease-out;transform-box:fill-box;transform-origin:center}.liveboard{box-shadow:0 10px 26px #132a4826;background:radial-gradient(ellipse at 90% 0,#213d66,transparent 60%),#101d32}.flow-node.hot{box-shadow:0 0 20px #60f4c848}.flow-node.hot:before{content:'';position:absolute;inset:0;border:1px solid #91ffe4;border-radius:11px;animation:v5halo .65s ease-out}.simcontrols button:first-of-type{background:linear-gradient(135deg,#3658d6,#2549b0);box-shadow:0 4px 12px #3658d624}.simcontrols button:first-of-type:hover{background:#2646a8}.simlog{border:1px solid #2b4266;background:#0e1c30;color:#b2f4e2}.command{border-radius:13px;box-shadow:0 6px 15px #152d5212}.commandbar{background:#1b304e}.stepnum{background:#e7edff;color:#3c57ae}.check:has(input:checked){color:#087561}.labnav a{transition:background .2s,color .2s}.labnav a.motion-current{background:#e8eeff;color:#2c4bb3;border-color:#b6c6ed}.chatline{animation:v5enter .22s ease-out both}.tutor-drawer:not([hidden]){animation:v5drawer .22s cubic-bezier(.2,.75,.25,1) both}.tutor-launch{background:linear-gradient(135deg,#1b315b,#3658d6);box-shadow:0 10px 28px #274c9d47;transition:transform .2s}.tutor-launch:hover{transform:translateY(-3px)}.tutor-top{background:linear-gradient(135deg,#142649,#3658d6 80%,#167d83)}
@keyframes v5packet{0%{left:0;opacity:0}12%{opacity:1}85%{opacity:1}100%{left:calc(100% - 7px);opacity:0}}@keyframes v5receive{0%,100%{border-color:#8ba7cd44}70%{border-color:#80f4db;box-shadow:0 0 20px #70f4d33b,inset 0 0 30px #5ef3cf0b}}@keyframes v5wire{0%,100%{box-shadow:0 0 12px #6ca9ea28}50%{box-shadow:0 0 13px #82ffe6a0}}@keyframes v5dot{0%{transform:scale(.6)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes v5drawer{from{opacity:.8;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
html.motion-off *,html.motion-off *:before,html.motion-off *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html.motion-off{scroll-behavior:auto!important}html.motion-background .motion-art *,html.motion-background .motion-art *:before{animation-play-state:paused!important}.motion-art.motion-outside *{animation-play-state:paused!important}
@media(max-width:950px){.hero.motion-hero,body[data-page=index] .hero.motion-hero{grid-template-columns:1fr 1fr;gap:12px;min-height:0;padding:30px}.motion-copy h1{font-size:2rem}body[data-page=index] .motion-copy h1{font-size:clamp(2.5rem,5.5vw,3.5rem)}}
@media(max-width:650px){header{padding:12px 15px}.hero.motion-hero,body[data-page=index] .hero.motion-hero{grid-template-columns:1fr;padding:24px;gap:20px}.motion-art svg{max-height:180px}.motion-copy p{font-size:14px}.motion-art figcaption{font-size:9px}.motion-tracebar{grid-template-columns:1fr 1fr}.motion-tracebar button:after{display:none}.motion-tracefooter{align-items:flex-start;flex-direction:column}.motion-preferences{font-size:10px}.stage{padding:13px;min-height:0}.stage .device{padding:10px;min-height:130px}.motion-reading{z-index:110}.panel{scroll-margin-top:16px}.labcard{min-height:0}main{padding-top:16px}}
@media(prefers-reduced-motion:reduce){.motion-art *, .motion-enter,.motion-event *, .motion-event *:after,.motion-tracebar button:before{animation:none!important;transition:none!important}}
@media print{.motion-art,.motion-preferences,.motion-reading,.motion-tracebox{display:none!important}.hero.motion-hero{display:block!important;background:white!important;color:#14253c;box-shadow:none}.motion-copy p,.motion-copy .eyebrow{color:#14253c}}
