@font-face{font-family:Aspekta;src:url('/fonts/aspekta-variable.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f7f8fa;color:#17232e;font:14px Aspekta,Arial,sans-serif}button,input,a{touch-action:manipulation}button,a{color:inherit}button{font:inherit;cursor:pointer}header{height:70px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e5eb}header a{text-decoration:none;font-size:12px;letter-spacing:.08em}header a:first-child{font-weight:750;letter-spacing:.2em}header span{color:#657383;font-size:12px}main{max-width:1400px;margin:auto;padding:42px 5vw}.intro{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.16em;color:#6e7e8c}h1{font-size:42px;font-weight:450;letter-spacing:-.045em;line-height:1.05;margin:12px 0 0}.intro>p{max-width:340px;color:#697787;line-height:1.6}.lab{display:grid;grid-template-columns:1.2fr 1fr;min-height:470px;border:1px solid #dce3eb;border-radius:20px;overflow:hidden;background:#fff}.scene-panel{position:relative;background:radial-gradient(ellipse at 50% 30%,#fafbfb,#dce2e5 80%);min-height:470px}#twin-stage{position:absolute;inset:0}#twin-stage canvas{width:100%;height:100%;display:block;touch-action:none}#scene-message{color:#95a9c0;position:absolute;left:25px;top:22px;font-size:12px}.scene-label{position:absolute;top:22px;left:24px;display:flex;gap:18px;font-size:11px;color:#4f6578;pointer-events:none}.scene-label span,.chart-legend span{display:flex;align-items:center;gap:7px}.chest-dot,.waist-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#54a9ff;box-shadow:0 0 8px #54a9ff70}.waist-dot{background:#e5b373;box-shadow:none}.scene-note{position:absolute;bottom:22px;left:24px;font-size:10px;line-height:1.6;color:#62778a;pointer-events:none}.evidence-panel{padding:25px 26px;display:flex;flex-direction:column;gap:19px}.scenario-tabs{display:flex;background:#f0f3f7;border-radius:9px;padding:4px;gap:4px}.scenario-tabs button{border:0;background:none;border-radius:6px;padding:8px 0;flex:1;color:#738091;font-size:12px}.scenario-tabs button[aria-pressed=true]{background:#fff;color:#182535;box-shadow:0 1px 3px #1b355b15}.signal-values{display:grid;grid-template-columns:1fr 1fr;gap:18px}.signal-values span,.gate>span{font-size:9px;color:#8190a0;letter-spacing:.09em}.signal-values strong{display:block;font-size:30px;font-weight:450;letter-spacing:-.04em;margin-top:8px}.signal-values small{font-size:12px;color:#8592a0;letter-spacing:0}.signal-values p{font-size:10px;margin:5px 0 0;color:#718096}#twin-chart{width:100%;height:130px;display:block}.chart-legend{display:flex;gap:17px;font-size:10px;color:#8793a1;margin-top:-10px}.chart-legend span:last-child{margin-left:auto}.gate{border-top:1px solid #edf0f3;padding-top:13px}.gate p{font-size:13px;margin:8px 0 0}.scrubber{display:flex;gap:12px;align-items:center}.scrubber button{min-width:48px;background:#192b43;color:white;border:0;border-radius:6px;padding:7px;font-size:11px}.scrubber input{flex:1;min-width:60px;accent-color:#3b87d9}.scrubber output{font-size:10px;font-variant-numeric:tabular-nums;min-width:40px;color:#738294}#gait-controls{font-size:11px;color:#647389}#gait-controls input{width:100%;accent-color:#3b87d9}#gait-controls p{margin:4px 0}.export-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8b97a4}.export-row button{border:0;background:none;color:#3b72aa;font-size:11px}.method{margin-top:22px;border-top:1px solid #dfe4ea;padding:16px 0;color:#718094;font-size:12px;line-height:1.65}.method summary{cursor:pointer}.method p{max-width:940px}.method a{color:#3d72a2}body.embedded header,body.embedded .intro,body.embedded .method{display:none}body.embedded main{padding:0;max-width:none}body.embedded .lab{border:0;border-radius:0;min-height:510px}body.embedded .scene-panel{min-height:510px}body.embedded .evidence-panel{padding:24px 22px;gap:18px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #3b87d9;outline-offset:3px}@media(max-width:760px){header{padding:0 22px}header span{display:none}main{padding:28px 18px}.intro{display:block}.intro h1{font-size:34px}.intro>p{margin-top:18px}.lab{grid-template-columns:1fr}.scene-panel{min-height:300px}body.embedded .scene-panel{min-height:270px}body.embedded .lab{min-height:0}.evidence-panel{padding:22px}.signal-values strong{font-size:27px}}
/* Compact embedded view keeps controls visible beside the scene on tablet-sized cards. */
body.embedded .evidence-panel{padding:20px;gap:12px}body.embedded #twin-chart{height:95px}body.embedded .signal-values strong{font-size:26px}body.embedded .signal-values p{font-size:9px}body.embedded .chart-legend{margin-top:-3px;gap:12px}body.embedded .gate p{font-size:12px}body.embedded .signal-values{gap:10px}body.embedded .scene-label{gap:12px;font-size:10px}@media(min-width:560px){body.embedded .lab{grid-template-columns:1.05fr 1fr;min-height:550px}body.embedded .scene-panel{min-height:550px}}

/* The landing embed shows motion, with only a compact scenario switcher. */
body.embedded .lab{display:block;position:relative;min-height:440px}
body.embedded .scene-panel{min-height:440px}
body.embedded .evidence-panel{position:absolute;bottom:18px;left:20px;right:20px;padding:0;display:block}
body.embedded .evidence-panel>*:not(.scenario-tabs){display:none}
body.embedded .scenario-tabs{max-width:300px;margin:auto;background:#f4f7facf;backdrop-filter:blur(12px);border:1px solid #d4dde6}
body.embedded .scene-note{display:none}
@media(max-width:760px){body.embedded .lab,body.embedded .scene-panel{min-height:380px}}

body.embedded .lab,body.embedded .scene-panel{height:100svh;min-height:100svh}body.embedded #twin-chart{display:none}
/* Embedded: a translucent live trace floats above the scenario switcher. */
body.embedded .evidence-panel{display:flex;flex-direction:column;align-items:center;gap:8px}
body.embedded .evidence-panel>#twin-chart{display:block;order:-1;width:100%;max-width:420px;height:66px;background:#f8fafcb3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #dde4ec;border-radius:12px}
body.embedded .scenario-tabs{width:100%}
@media(max-width:560px){body.embedded .evidence-panel>#twin-chart{height:54px}}
