*{box-sizing:border-box}:root{color-scheme:light;--ink: #17152f;--muted: #5b6282;--line: #e3e9f8;--brand: #6256ff;--cyan: #31d2f7;--lime: #b7ff4a;--danger: #ff5c70;--amber: #f6c343}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:#eef4ff}button,select,input,textarea{font:inherit}button{min-height:44px;border:0;border-radius:8px;padding:0 16px;background:#fff;color:var(--ink);box-shadow:0 8px 24px #19235014;cursor:pointer;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}button.primary{background:var(--brand);color:#fff}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:#fff;background:linear-gradient(135deg,var(--brand),var(--cyan))}.nav-actions,.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero{min-height:calc(100vh - 72px);display:grid;grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr);align-items:center;gap:32px;padding:24px 40px 64px}.hero h1{font-size:clamp(44px,6vw,86px);line-height:.95;margin:10px 0 18px;letter-spacing:0}.hero p{font-size:18px;line-height:1.7;color:var(--muted);max-width:620px}.eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--brand);font-weight:900;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.flow-preview{position:relative;min-height:420px;border-radius:8px;background:radial-gradient(circle at 20% 20%,#fff,#f8fbff 45%,#e5efff);box-shadow:0 28px 80px #232d5a24;overflow:hidden}.flow-preview:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#c9d5ef 1px,transparent 1px);background-size:18px 18px;opacity:.8}.mini-node{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;min-width:132px;padding:14px 16px;border-radius:8px;background:#fff;box-shadow:0 18px 45px #323c6e29;font-weight:900}.mini-node.start{left:48px;top:68px;border-left:6px solid #33c37e}.mini-node.agent{left:255px;top:145px;border-left:6px solid #b347ff}.mini-node.router{right:48px;top:68px;border-left:6px solid #7c5cff}.mini-node.output{right:48px;bottom:74px;border-left:6px solid #ff5c8a}.mini-wires{position:absolute;inset:0;z-index:1;width:100%;height:100%}.wire{fill:none;stroke-width:10;stroke-linecap:round;opacity:.75}.wire.active{stroke:var(--cyan);stroke-dasharray:22 18;animation:flowPulse 1.4s linear infinite}.wire.waiting{stroke:var(--amber);stroke-dasharray:10 20;animation:flowPulse 2s linear infinite}.wire.delay2{animation-delay:.35s}@keyframes flowPulse{to{stroke-dashoffset:-80}}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0 40px 40px}.feature,.how-step,.inspector-card,.admin-card,.simple-list article{border-radius:8px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 34px #28376e14}.feature{padding:20px}.feature svg{color:var(--brand)}.feature h3{margin:12px 0 6px}.feature p,.how-step,.demo-header span,.palette p,.timeline-item small,.config-grid span{color:var(--muted)}.how-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0 40px 60px}.how-step{padding:16px;display:flex;align-items:center;gap:12px}.how-step span{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#ecf0ff;color:var(--brand);font-weight:900}.product-shell{min-height:100vh;background:#f5f8ff}.demo-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;gap:14px;border-bottom:1px solid var(--line);background:#ffffffdb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.demo-header>div{display:grid;gap:3px}.tabs{display:flex;gap:8px;padding:12px 20px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line)}.tabs button{box-shadow:none;background:#f3f6ff;text-transform:capitalize}.tabs button.active{background:var(--brand);color:#fff}.workspace{min-height:calc(100vh - 72px);display:grid;grid-template-columns:76px 280px 1fr 340px;background:#f5f8ff}.app-rail{background:#13162b;padding:18px 12px;display:flex;flex-direction:column;gap:12px}.rail-btn{width:52px;height:52px;border-radius:8px;display:grid;place-items:center;color:#aeb7dc;background:#ffffff0f}.rail-btn.active{color:#10142a;background:var(--lime)}.palette{background:#fff;border-right:1px solid var(--line);padding:18px;overflow:auto}.palette h2{margin:0 0 8px}.palette-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.palette-item{display:grid;place-items:center;min-height:84px;gap:8px;text-align:center;border:1px solid;border-left-width:5px;border-radius:8px;background:#fbfcff;font-weight:800;font-size:12px}.canvas-wrap{position:relative;overflow:auto;background:#f8fbff}.canvas{position:relative;width:1240px;height:720px;background-image:radial-gradient(#d6def3 1px,transparent 1px);background-size:18px 18px}.flow-node{position:absolute;z-index:2;width:168px;min-height:86px;border-radius:8px;background:#fff;box-shadow:0 12px 34px #1e2a5a21;border:1px solid #e5eaf8;overflow:hidden}.flow-node.active{box-shadow:0 0 0 4px #6256ff2e,0 18px 50px #6256ff3d}.node-head{height:8px}.node-body{padding:12px;display:grid;gap:8px}.node-title{display:flex;align-items:center;gap:8px;min-width:0}.node-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-select{width:100%;height:36px;border-radius:8px;border:1px solid #d9e1f5;padding:0 8px;background:#f9fbff}.flow-edges{position:absolute;inset:0;z-index:1;width:1240px;height:720px;pointer-events:none}.edge{fill:none;stroke-width:5;stroke-linecap:round;opacity:.74}.edge.idle{stroke:#c7d0e8;stroke-dasharray:6 10}.edge.ready{stroke:var(--cyan)}.edge.running{stroke:var(--cyan);stroke-dasharray:18 18;animation:flowPulse 1s linear infinite}.edge.completed{stroke:#33c37e}.edge.waiting{stroke:var(--amber);stroke-dasharray:10 14;animation:flowPulse 1.8s linear infinite}.edge.bottleneck,.edge.failed{stroke:var(--danger);stroke-dasharray:14 10;animation:flowPulse .8s linear infinite}.edge.skipped{stroke:#9aa8c8;stroke-dasharray:2 12}.inspector{background:#fff;border-left:1px solid var(--line);padding:18px;overflow:auto;display:grid;align-content:start;gap:14px}.inspector-card{padding:16px}.hero-stat{display:flex;align-items:center;gap:12px}.hero-stat div{display:grid}.full{width:100%}.stack-actions{display:grid;gap:10px}.compact{display:grid;gap:6px}.flow-load{width:100%;justify-content:flex-start;margin-top:8px;background:#f4f7ff;box-shadow:none}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.timeline-item{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:10px 0;color:#59617f}.timeline-item div{display:grid;gap:3px}.timeline-dot{width:10px;height:10px;border-radius:999px;margin-top:5px;background:#c7d0e8}.timeline-dot.running{background:var(--cyan);box-shadow:0 0 0 6px #31d2f724}.timeline-dot.bottleneck,.timeline-dot.failed{background:var(--danger);box-shadow:0 0 0 6px #ff5c7024}.timeline-dot.waiting{background:var(--amber);box-shadow:0 0 0 6px #f6c34324}.simple-panel,.admin-page{padding:24px}.simple-list{display:grid;gap:12px;max-width:920px}.simple-list.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-list article{padding:18px;display:grid;gap:10px}.simple-list article span{color:var(--muted)}.panel-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.admin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:24px}.admin-card{padding:20px;display:grid;gap:10px}.admin-card strong{font-size:42px}@media(prefers-reduced-motion:reduce){.wire.active,.wire.waiting,.edge.running,.edge.waiting,.edge.bottleneck,.edge.failed{animation:none}}@media(max-width:980px){.topbar{padding:0 16px}.hero{grid-template-columns:1fr;padding:14px 16px 96px}.flow-preview{min-height:360px}.feature-grid,.how-band,.admin-grid,.simple-list.two-col{grid-template-columns:1fr;padding-left:16px;padding-right:16px}.workspace{display:block}.app-rail{position:sticky;top:0;z-index:10;flex-direction:row}.palette{display:none}.canvas-wrap{height:52vh}.canvas{transform-origin:top left;transform:scale(.62)}.inspector{border-left:0}.demo-header{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.hero h1{font-size:42px}.nav-actions,.hero-actions{width:100%}.nav-actions button,.hero-actions button{flex:1}.mini-node{min-width:112px;font-size:12px}.mini-node.agent{left:160px}.mini-node.router,.mini-node.output{right:20px}}
