.hero-friendly h1{font-size:clamp(3.4rem,5.8vw,6rem);letter-spacing:-.03em}
.flow-magic-atmosphere{left:0;right:0}
.hero-visual.chaos-playground{min-height:0;display:block;width:100%;align-self:center;--ws-shell:#71838b;--ws-edge:#435963;--ws-metal:#b6c3c7;--ws-blue:#30657b;--ws-blue-dark:#254c5c;--ws-screen:#142b35;--ws-light:#dbe9ed;--ws-amber:#b48239;--ws-signal:#355f70}
html[data-appearance-scheme="dark"] .chaos-playground{--ws-shell:#81949e;--ws-edge:#55707d;--ws-metal:#b8cbd2;--ws-blue:#3c7086;--ws-blue-dark:#244c5f;--ws-screen:#0b1c25;--ws-light:#d5eaf1;--ws-amber:#d4b377;--ws-signal:#a3cddd}
.chaos-stage{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:560/500;overflow:hidden;isolation:isolate}
.chaos-stage .friendly-bot{width:100%;height:auto;margin:0;filter:none;overflow:visible}
.chaos-stage .bot-bubble{top:5%;left:3%;max-width:200px;font-size:.9rem;backdrop-filter:none;transform:none;border-radius:14px;box-shadow:none}
.chaos-stage .bot-bubble::after{width:13px;height:13px;bottom:-8px;right:24px}
.workshop-scene{fill:none;stroke-linecap:round;stroke-linejoin:round}
.workshop-bench{stroke:var(--ap-line,#8298a4);stroke-width:2}
.workshop-chest{fill:var(--ws-blue);stroke:var(--ws-blue-dark);stroke-width:3}
.workshop-inset{fill:var(--ws-blue-dark)}
.workshop-shell{fill:var(--ws-shell);stroke:var(--ws-edge);stroke-width:3}
.workshop-screen{fill:var(--ws-screen);stroke:var(--ws-metal);stroke-width:2}
.workshop-eyes{fill:var(--ws-light)}
.workshop-indicator{fill:var(--ws-amber)}
.workshop-neck{fill:var(--ws-edge)}
.workshop-detail{stroke:var(--ws-metal);stroke-width:2;fill:none}
.workshop-fastener{fill:var(--ws-screen)}
.workshop-leg{stroke:var(--ws-edge);stroke-width:19;fill:none}
.workshop-foot{fill:var(--ws-shell);stroke:var(--ws-edge);stroke-width:3}
.workshop-arm{stroke:var(--ws-metal);stroke-width:17;fill:none}
.workshop-joint{fill:var(--ws-shell);stroke:var(--ws-edge);stroke-width:4}
.workshop-palm{fill:var(--ws-metal);stroke:var(--ws-edge);stroke-width:2}
.workshop-fingers{stroke:var(--ws-edge);stroke-width:7;fill:none;stroke-linejoin:round;stroke-linecap:round}
.module-shell{fill:var(--ws-blue-dark);stroke:var(--ws-edge);stroke-width:2}
.module-face{fill:var(--ws-blue);stroke:var(--ws-shell);stroke-width:1.5}
.module-ports{fill:none;stroke:var(--ws-amber);stroke-width:4;stroke-linecap:round}
.module-symbol{color:var(--ws-light);fill:none;stroke:currentColor;stroke-width:1.6}
.workshop-module:nth-of-type(even) .module-face{fill:var(--ws-edge)}
.chain-link{fill:none;stroke:var(--ws-signal);stroke-width:3;opacity:1;transition:opacity .15s}
.chain-link[data-connected="false"]{opacity:0}
.workshop-finish circle{fill:var(--ws-signal)}
.workshop-finish path{stroke:var(--ap-paper,#c8d1d5);stroke-width:2.5;fill:none}
.chaos-active .workshop-module,.chaos-active .workshop-finish{visibility:hidden}
.chaos-world{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.chaos-body{position:absolute;top:0;left:0;user-select:none;touch-action:none;pointer-events:auto;cursor:grab}
.chaos-body:active{cursor:grabbing}
.chaos-body--module svg{width:100%;height:100%;overflow:visible;pointer-events:none;stroke-linejoin:round;stroke-linecap:round}
.chaos-playground[data-chaos-motion="running"] .chaos-body{will-change:transform}
.chaos-playground[data-chaos-state="assembling"] .chaos-body{pointer-events:none;cursor:default}
.chaos-controls{display:flex;align-items:stretch;justify-content:center;gap:10px;margin:4px 0 10px}
.chaos-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border-radius:10px;font-size:.86rem;font-weight:750;line-height:1.2;cursor:pointer;transition:background .15s,color .15s;border:1px solid var(--ap-line,#8298a4)}
.chaos-controls svg{width:18px;height:18px;flex:none}
html[data-appearance-brand="lehmannit"] .chaos-playground .chaos-start{background:#285c72;color:#f2f7f8;border-color:#285c72}
html[data-appearance-brand="lehmannit"] .chaos-playground .chaos-start:hover{background:#1c4558}
html[data-appearance-brand="lehmannit"][data-appearance-scheme="dark"] .chaos-playground .chaos-start{background:#a1c8d7;color:#102d3a;border-color:#a1c8d7}
html[data-appearance-brand="lehmannit"][data-appearance-scheme="dark"] .chaos-playground .chaos-start:hover{background:#bedbe6}
html[data-appearance-brand="lehmannit"] .chaos-playground .chaos-reset{color:var(--ap-ink,#182d38);background:var(--ap-panel,#dce3e6);border-color:var(--ap-line,#8298a4)}
html[data-appearance-brand="lehmannit"] .chaos-playground .chaos-reset:hover:not(:disabled){background:var(--ap-soft,#b6c6ce)}
.chaos-controls button:focus-visible{outline:3px solid var(--ws-signal);outline-offset:4px}
html[data-appearance-brand="lehmannit"] .chaos-playground .chaos-controls button:disabled{cursor:default;color:var(--ap-muted,#435965);background:transparent;border-color:var(--ap-line,#8298a4)}
.chaos-status{min-height:2.8em;max-width:440px;margin:0 auto;color:var(--ap-muted,#435965);text-align:center;font-size:.8rem;line-height:1.55}
@media(max-width:1030px){.hero-visual.chaos-playground{max-width:570px;justify-self:center;margin-top:8px}}
@media(max-width:520px){.hero-friendly h1{font-size:clamp(2.6rem,13.8vw,3.5rem)}.chaos-stage .bot-bubble{top:1%;left:3%;max-width:158px;font-size:.78rem;line-height:1.35;padding:8px 12px}.chaos-controls{gap:8px;margin-top:4px}.chaos-controls button{font-size:.8rem;padding:10px 13px;min-height:46px}.chaos-status{font-size:.76rem;max-width:310px}}
@media(prefers-reduced-motion:reduce){.chaos-controls button{transition:none}.chaos-stage *{animation:none!important;transition:none!important}.chaos-body{will-change:auto}}
@media(forced-colors:active){.workshop-scene,.chaos-body--module{--ws-shell:Canvas;--ws-edge:CanvasText;--ws-metal:CanvasText;--ws-blue:Canvas;--ws-blue-dark:Canvas;--ws-screen:Canvas;--ws-light:CanvasText;--ws-amber:Highlight;--ws-signal:Highlight}.workshop-chest,.workshop-shell,.module-face{stroke:CanvasText}.workshop-eyes{fill:CanvasText}}
