.history-lab{margin:100px 0 90px;padding-top:48px;border-top:1px solid var(--line)}
.feature-heading{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:end;margin-bottom:36px}
.feature-heading h2{font-size:48px;margin:20px 0 0;letter-spacing:-2px}.feature-heading>p{font-size:15px;color:var(--muted);max-width:440px;margin:0 0 4px}
.history-demo{border:1px solid #cfdae9;border-radius:12px;overflow:hidden;background:#eef2f8}
.demo-topbar{display:grid;grid-template-columns:1fr 320px;background:#e8edf5;border-bottom:1px solid #d9e1ec;color:#748197;font:10px Consolas,monospace;letter-spacing:1.6px}
.demo-topbar>span{display:flex;gap:8px;align-items:center;padding:13px 20px}.demo-topbar>span:last-child{border-left:1px solid #d9e1ec;justify-content:space-between}.demo-topbar kbd{font-size:9px;padding:3px 6px}
.demo-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:center;min-height:390px}
.demo-canvas{position:relative;margin:0 25px;box-shadow:0 5px 20px #23416c0c;background:#fff;border:1px solid #e0e6ee;border-radius:4px}
.demo-canvas>img{display:block;width:100%;height:auto;border-radius:3px}.demo-annotations{position:absolute;inset:0;width:100%;height:100%}.demo-annotations>*:not(defs){transition:opacity .45s,transform .45s}.demo-canvas-label{position:absolute;bottom:-30px;text-align:center;width:100%;color:#8d97a6;font-size:9px}
.demo-map{position:relative;width:320px;height:370px;border-left:1px solid #d9e1ec;align-self:stretch}.demo-connections{position:absolute;inset:0;width:100%;height:100%;stroke:#aebed4;stroke-width:1.5}.demo-connections path{transition:opacity .4s}.cross-apply{stroke:var(--blue);stroke-dasharray:5 4}
.demo-node{position:absolute;width:132px;height:40px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cbd5e4;border-radius:6px;background:#fff;color:#566376;font-size:10px;transform:translateX(-50%);transition:opacity .4s,border-color .4s,box-shadow .4s}.demo-node b{color:#55708f;font-size:18px;font-weight:500}.demo-node>span{position:absolute;top:-21px;font:8px Consolas,monospace;letter-spacing:.7px;color:#7e8ea4;white-space:nowrap}
.node-capture{top:8px;left:50%}.node-arrow{top:83px;left:50%}.node-note{top:186px;left:26%}.node-branch,.node-group{top:186px;left:74%}.node-apply{top:288px;left:74%}.node-group{opacity:0;pointer-events:none}
.history-demo[data-step="0"] .node-capture,.history-demo[data-step="1"] .node-arrow,.history-demo[data-step="2"] .node-note,.history-demo[data-step="3"] .node-branch,.history-demo[data-step="4"] .node-apply,.history-demo[data-step="5"] .node-group{border-color:#0068ee;box-shadow:0 0 0 3px #0068ee10;color:#075fc9}
.history-demo[data-step="0"] :is(.demo-arrow,.node-arrow,.connect-arrow),.history-demo[data-step="0"] :is(.node-note,.connect-note),.history-demo[data-step="1"] :is(.node-note,.connect-note),.history-demo[data-step="0"] :is(.node-branch,.connect-branch),.history-demo[data-step="1"] :is(.node-branch,.connect-branch),.history-demo[data-step="2"] :is(.node-branch,.connect-branch),.history-demo[data-step="0"] :is(.node-apply,.connect-apply,.cross-apply),.history-demo[data-step="1"] :is(.node-apply,.connect-apply,.cross-apply),.history-demo[data-step="2"] :is(.node-apply,.connect-apply,.cross-apply),.history-demo[data-step="3"] :is(.node-apply,.connect-apply,.cross-apply),.history-demo[data-step="5"] :is(.node-branch,.node-apply,.connect-apply,.cross-apply){opacity:0}
.history-demo[data-step="0"] .demo-note,.history-demo[data-step="1"] .demo-note,.history-demo[data-step="3"] .demo-note,.history-demo[data-step="0"] .demo-marker,.history-demo[data-step="1"] .demo-marker,.history-demo[data-step="2"] .demo-marker{opacity:0;transform:translateY(5px)}
.history-demo[data-step="5"] .node-group{opacity:1}.history-demo[data-step="4"] .node-note{border-color:#77a9e9}
.demo-explanation{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#fff;padding:26px 29px;border-top:1px solid #d9e1ec;min-height:151px}.demo-step-label{font:9px Consolas,monospace;letter-spacing:1.3px;color:var(--blue)}.demo-explanation h3{font-size:19px;margin:9px 0 6px}.demo-explanation p{font-size:12px;color:var(--muted);margin:0;max-width:640px;min-height:40px}.demo-controls{display:flex;align-items:center;gap:7px;flex:none}.demo-controls button{font:11px "Segoe UI",sans-serif;color:#52637d;background:#fff;border:1px solid #ccd7e6;border-radius:6px;padding:10px 13px;cursor:pointer}.demo-controls button:hover{border-color:var(--blue);color:var(--blue)}.demo-controls button:last-child{font-size:16px;padding:6px 12px}.demo-controls button:focus-visible,.demo-steps button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.demo-steps{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid #d9e1ec}.demo-steps button{font:10px Consolas,monospace;color:#7c899e;background:transparent;border:0;border-right:1px solid #d9e1ec;padding:13px 5px;cursor:pointer;white-space:nowrap}.demo-steps button:last-child{border:0}.demo-steps button[aria-current]{color:var(--blue);background:#e1edff;box-shadow:inset 0 -2px var(--blue)}.demo-footnote{font-size:10px;color:#8290a4;text-align:center;margin:15px 0 32px}
.history-powers{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}.history-powers h3{font-size:16px;margin-bottom:10px}.history-powers p{font-size:13px;color:var(--muted);margin:0}
.objects-feature{padding:45px 0 83px;border-top:1px solid var(--line)}.objects-shot{margin:0;border:5px solid #20242b;border-radius:11px;overflow:hidden;box-shadow:0 15px 40px #263d5c0a}.objects-shot img{display:block;width:100%;height:auto}.object-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:30px}.object-actions>div{display:flex;align-items:flex-start;gap:14px;color:var(--muted);font-size:12px;line-height:1.6}.object-actions strong{display:block;font-weight:600;color:#263244;font-size:13px;margin-bottom:5px}.object-actions kbd{margin-top:3px}.object-symbol{font-size:23px;color:var(--blue);line-height:1.3}
@media(max-width:1000px){.feature-heading{gap:35px}.feature-heading h2{font-size:42px}.demo-topbar,.demo-workspace{grid-template-columns:minmax(0,1fr) 280px}.demo-map{width:280px}.demo-node{width:113px;font-size:9px}.demo-explanation{padding:23px}.demo-explanation h3{font-size:17px}.demo-controls{flex-direction:column;align-items:stretch}.demo-controls button:last-child{align-self:flex-end}.demo-canvas{margin:0 18px}.history-powers{gap:25px}}
@media(max-width:700px){.history-lab{margin:59px 0 54px;padding-top:28px}.feature-heading{grid-template-columns:1fr;gap:20px;margin-bottom:28px}.feature-heading h2{font-size:39px}.feature-heading>p{font-size:14px;max-width:100%}.history-demo{margin:0 -8px}.demo-topbar{display:flex;justify-content:space-between}.demo-topbar>span{font-size:8px;letter-spacing:1px;padding:12px}.demo-topbar>span:last-child{border:0}.demo-topbar kbd{display:none}.demo-workspace{display:flex;flex-direction:column;padding-top:23px;gap:37px}.demo-canvas{margin:0 17px}.demo-canvas-label{font-size:8px;bottom:-24px}.demo-map{width:100%;max-width:320px;height:351px;border:0;align-self:center}.demo-node{width:124px;font-size:10px}.node-apply{top:277px}.demo-explanation{display:block;padding:22px 19px;min-height:219px}.demo-explanation h3{font-size:18px;line-height:1.35}.demo-explanation p{font-size:12px;min-height:59px}.demo-controls{flex-direction:row;justify-content:flex-end;margin-top:14px}.demo-steps{grid-template-columns:repeat(3,1fr)}.demo-steps button{font-size:9px;padding:13px 0;border-bottom:1px solid #d9e1ec}.demo-steps button:nth-child(3){border-right:0}.demo-footnote{font-size:9px;margin:15px 0 24px}.history-powers{grid-template-columns:1fr;gap:12px}.history-powers h3{margin-bottom:7px}.history-powers p{font-size:13px}.objects-feature{padding:29px 0 55px}.objects-shot{margin:0 -8px;border-width:3px}.object-actions{grid-template-columns:1fr;gap:21px;margin-top:24px}.object-actions>div{gap:15px}.object-actions kbd,.object-symbol{flex:none;width:29px;text-align:center}.object-actions strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.demo-annotations>*:not(defs),.demo-node,.demo-connections path{transition:none}}
