/* Scoped navigation and interactive systems-stage revision. */
.site-header{position:sticky;top:12px;z-index:90;max-width:1240px;height:82px;margin:14px auto 0;padding:12px 20px;gap:24px;background:#fff;border:1px solid #dce4ee;border-radius:16px;isolation:isolate}
.site-header .brand{padding-right:20px;border-right:1px solid #dce4ee}
.site-header .mark{width:39px;height:39px;border-radius:10px;font-size:24px}
.site-header .wordmark{font-size:24px}.site-header .wordmark small{font-size:10px;letter-spacing:.07em}
#nav{gap:4px;margin-left:auto;padding:5px;background:#f4f7fd;border-radius:11px;align-items:center}
#nav>a,#nav .services-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:0;border-radius:7px;background:transparent;color:#46576e;font:600 15px/1.3 'Source Sans 3',sans-serif;text-decoration:none}
#nav>a:after{display:none}
#nav>a[aria-current],#nav .services-toggle[data-active],#nav .services-toggle[aria-expanded=true]{background:#fff;color:#173ca9}
#nav>a:hover,#nav .services-toggle:hover{background:#e6edfc;color:#173ca9}
.services-toggle svg{width:14px;height:14px;transition:transform 180ms ease-out}
.services-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.site-header>.header-cta{display:inline-flex;font-size:15px;min-height:44px;padding:11px 16px;gap:14px}
.nav-service{display:contents}
.services-menu{position:absolute;top:calc(100% + 10px);left:0;right:0;padding:16px;background:#fff;border:1px solid #dce4ee;border-radius:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.services-menu[hidden]{display:none!important}
#nav .service-destination{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:14px;padding:20px;min-height:130px;border-radius:10px;color:#172131;text-decoration:none;background:#f4f7fd}
.service-destination:hover,.service-destination:focus-visible{background:#e6edfc!important}
.service-destination .icon{width:40px;height:40px;background:#fff;border-radius:9px}
.service-destination strong{display:block;font:650 18px/1.3 Archivo,sans-serif}
.service-destination small{display:block;margin-top:8px;font:400 15px/1.5 'Source Sans 3',sans-serif;color:#526174;max-width:28ch}
.site-header:has(.services-toggle[aria-expanded=true]){border-color:#9eb5ed}
.hero{padding-top:48px;gap:44px;grid-template-columns:1fr 1.08fr}
.hero h1{font-size:clamp(2.8rem,4.5vw,4rem)}
.system-stage{margin:0;min-width:0;border-radius:20px;overflow:hidden;background:#f4f7fd;border:1px solid #dce4ee}
.stage-visual{position:relative;height:350px;background:#fff;overflow:hidden}
.stage-visual img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;pointer-events:none}
.stage-visual .stage-linework{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.stage-linework .trace{stroke:#2454ed;stroke-width:1.5;fill:none;stroke-linecap:round;opacity:.8}
.stage-linework .trace-ground{stroke:#dce4ee;stroke-width:1;fill:none}
.stage-anchor{position:absolute;z-index:3;display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:7px;background:#fff;border:1px solid #dce4ee;color:#173ca9;font:600 13px/1.2 'Source Sans 3',sans-serif}
.stage-anchor svg{width:17px;height:17px}.anchor-hardware{left:20px;top:25px}.anchor-software{right:20px;top:25px}.anchor-fleet{right:20px;bottom:18px}
.stage-anchor[data-current]{border-color:#2454ed;background:#eaf0ff}
.stage-console{position:relative;padding:23px 25px 18px;background:#172131;color:#fff}
.stage-console-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.stage-console h2{font:600 20px/1.3 Archivo,sans-serif;color:#fff;letter-spacing:-.015em}
.stage-replay{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;background:transparent;color:#c2d3f7;border:0;border-radius:6px;padding:7px 0;font:600 13px/1.3 'Source Sans 3',sans-serif}
.stage-replay svg{width:15px;height:15px}.stage-replay:hover{color:#fff}.stage-replay:focus-visible{outline-color:#aec9ff}
.stage-console .stage-diagram{display:block;width:100%;height:122px;overflow:visible}
.stage-diagram .circuit-line{stroke:#789ffb;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.stage-diagram .circuit-pad{fill:#172131;stroke:#789ffb;stroke-width:1.4}
.stage-diagram .circuit-core{fill:#2454ed;stroke:#8cadff;stroke-width:1}
.stage-diagram .circuit-icon{fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.stage-diagram .circuit-text{font:500 13px 'Source Sans 3',sans-serif;fill:#dce6ff}
.stage-diagram [hidden]{display:none}
.stage-description{font:400 15px/1.55 'Source Sans 3',sans-serif;color:#d2dcf0;min-height:47px;margin:16px 0 19px}
.stage-controls{display:flex;gap:7px;padding:4px;background:#243146;border-radius:9px}
.stage-mode{flex:1;min-width:0;min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;background:transparent;color:#c2d3f7;font:600 14px/1.3 'Source Sans 3',sans-serif}
.stage-mode svg{width:17px;height:17px}.stage-mode[aria-pressed=true]{background:#fff;color:#173ca9}.stage-mode:hover:not([aria-pressed=true]){background:#32435f;color:#fff}
.stage-mode:focus-visible{outline:2px solid #aec9ff;outline-offset:2px}
.system-stage>figcaption{padding:12px 20px;color:#526174;font:400 12px/1.5 'Source Sans 3',sans-serif}
.system-stage>.stage-controls{border-radius:0;padding:8px;background:#f4f7fd;border-bottom:1px solid #dce4ee}
.system-stage>.stage-controls .stage-mode{color:#46576e;min-height:40px}
.system-stage>.stage-controls .stage-mode[aria-pressed=true]{background:#2454ed;color:white}
.system-stage>.stage-controls .stage-mode:hover:not([aria-pressed=true]){background:#e6edfc;color:#173ca9}
#nav .service-destination:after{display:none}
@media(min-width:901px) and (max-width:1280px){.site-header{margin-inline:24px}.site-header .brand{padding-right:12px}.site-header{gap:16px}#nav>a,#nav .services-toggle{padding-inline:13px}}
@media(max-width:1100px){.site-header .wordmark small{font-size:9px}.site-header>.header-cta{font-size:14px;padding-inline:12px;gap:9px}.stage-visual{height:300px}}
@media(max-width:900px){
 .site-header{margin:10px 20px 0;padding:10px 14px;height:76px;top:8px;gap:12px;border-radius:13px}
 .site-header .brand{border-right:0;padding-right:0}.site-header .menu{margin-left:auto;background:#f4f7fd;border:0;border-radius:8px;min-width:44px;min-height:44px}
 .site-header>.header-cta{display:none}
 #nav{position:absolute;top:calc(100% + 8px);left:0;right:0;margin:0;padding:10px;background:#fff;border:1px solid #dce4ee;border-radius:13px;align-items:stretch;gap:3px;max-height:calc(100dvh - 110px);overflow:auto}
 #nav:not(.open){display:none}#nav.open{display:flex;flex-direction:column}
 #nav>a,#nav .services-toggle{font-size:17px;justify-content:space-between;padding:14px 16px;width:100%;min-height:50px;border-radius:8px}
 #nav>a[aria-current],#nav .services-toggle[data-active],#nav .services-toggle[aria-expanded=true]{background:#eaf0ff}
 .nav-service{display:block}.services-menu{position:static;display:grid;grid-template-columns:minmax(0,1fr);border:0;padding:7px 0 10px;gap:6px;border-radius:0}
 #nav .service-destination{min-height:0;padding:15px 13px;gap:12px}.service-destination strong{font-size:17px}.service-destination small{font-size:14px;margin-top:5px;max-width:none}
 .hero{grid-template-columns:minmax(0,1fr);padding-top:36px;gap:34px}
 .system-stage{max-width:620px;width:100%;justify-self:center}.hero h1{font-size:clamp(2.6rem,6vw,3.6rem)}
}
@media(max-width:480px){
 .hero h1{font-size:clamp(2.3rem,10.4vw,2.9rem)}.hero h1 em{white-space:normal}
 .site-header{margin-inline:16px}.site-header .wordmark small{font-size:9px}.site-header .mark{width:36px;height:36px}.site-header .wordmark{font-size:23px}
 .stage-visual{height:245px}.stage-console{padding:20px 18px 16px}.stage-console h2{font-size:18px}.stage-replay{font-size:12px;gap:4px}
 .stage-mode{font-size:13px;gap:5px}.stage-mode svg{width:15px;height:15px}.stage-description{font-size:14px;min-height:65px}
 .stage-anchor{font-size:11px;padding:7px 9px;gap:4px}.stage-anchor svg{width:14px;height:14px}.anchor-hardware{left:12px;top:14px}.anchor-software{right:12px;top:14px}.anchor-fleet{right:12px;bottom:12px}
 .stage-console .stage-diagram{height:105px}.system-stage>figcaption{font-size:12px;padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.services-toggle svg{transition:none}.stage-linework .trace{opacity:.8}}
