:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#19334e;background:#edf3f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #00a8dc;outline-offset:4px}.top{height:84px;padding:18px 3vw;display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid #d4e2ee}.top img{width:158px;max-height:48px;object-fit:contain}.badge{font-size:10px;letter-spacing:1.4px;font-weight:700;padding:9px 13px;border-radius:30px;background:#eaf5fc;color:#37617d}.app-link{margin-left:auto;color:#145889;text-decoration:none;font-size:14px;font-weight:600}.shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:calc(100vh - 84px)}aside{padding:36px 22px;background:#f9fbfe;border-right:1px solid #d4e2ee}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#52718c}.intro h1{font-size:38px;letter-spacing:-1.7px;line-height:1.05;margin:14px 0}.intro p,.aside-note{font-size:13px;line-height:1.65;color:#60778a}.intro{padding:0 10px 24px}nav{display:grid;gap:7px}nav button{border:1px solid transparent;background:none;text-align:left;padding:14px 12px;border-radius:12px;color:#426078;display:flex;gap:13px;align-items:center;font-weight:600;font-size:13px}nav button small{font-size:10px;opacity:.7}nav button[aria-current=true]{background:#163d5e;color:#fff;box-shadow:0 6px 18px #163d5e20}nav button:hover:not([aria-current=true]){background:#e7f1fa}.aside-note{border-top:1px solid #d4e2ee;margin-top:28px;padding:20px 10px}main{padding:30px clamp(18px,3vw,48px);max-width:1500px;width:100%;margin:auto}.chapter-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}h2{font-size:28px;letter-spacing:-.8px;margin:7px 0}.sample-label{font-size:9px;letter-spacing:1px;color:#698196}#stage{min-height:410px;border:1px solid #cddde9;border-radius:20px;background:#fff;box-shadow:0 18px 45px #1c456313;overflow:hidden}.window-bar{display:flex;align-items:center;gap:7px;padding:15px 22px;background:#f7fafc;border-bottom:1px solid #e0e9f0;font-size:11px;color:#658097}.dot{height:7px;width:7px;border-radius:50%;background:#cad9e4}.window-bar strong{margin-left:10px;color:#305471}.canvas{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.5fr);min-height:355px}.editor{padding:25px;border-right:1px solid #e1eaf2;background:#fcfdff}.editor h3{font-size:17px;margin-top:0}.editor label{display:block;font-size:11px;font-weight:650;margin-top:17px}.editor input{display:block;width:100%;padding:11px;margin:7px 0;border:1px solid #c8dbe9;border-radius:8px;color:#23435e;background:white}.editor input[type=color]{height:42px;padding:4px}.hint{font-size:12px;line-height:1.6;color:#698094}.preview{padding:28px;background:linear-gradient(130deg,#f3f8fc,#eaf3fb);min-width:0}.site{background:#fff;box-shadow:0 8px 26px #193b5218;border-radius:10px;overflow:hidden}.site-nav{padding:17px;display:flex;justify-content:space-between;font-size:10px}.site-hero{padding:34px 24px;background:var(--accent,#174d77);color:white;min-height:190px}.site-hero h3{font-size:29px;letter-spacing:-.8px;max-width:310px;margin:0 0 12px}.site-hero p{font-size:12px;line-height:1.6;max-width:290px;opacity:.85}.mini-cta{display:inline-block;border:0;border-radius:6px;background:#fff;color:#173d5e;font-size:11px;font-weight:700;padding:10px 13px}.site-bottom{display:flex;gap:15px;justify-content:space-between;padding:19px;font-size:11px;color:#40617a}.paper{background:#fff;padding:26px;box-shadow:0 8px 26px #193b5218;border-top:5px solid var(--accent,#174d77);max-width:540px;margin:auto}.paper h3{font-size:25px;margin:20px 0 8px}.paper .meta{font-size:11px;color:#6e8496;line-height:1.8}.row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #e1eaf2;font-size:12px}.total{font-size:20px;font-weight:750;text-align:right;padding-top:18px}.chat{padding:18px;border-radius:12px;background:white;box-shadow:0 8px 22px #193b5210}.chat p,.chat li{font-size:13px;line-height:1.75}.bubble{background:#dcecf9;border-radius:12px;padding:12px;margin-bottom:18px;font-size:12px;line-height:1.6}.tag{display:inline-block;font-size:10px;padding:6px 9px;border-radius:20px;color:#1f6b65;background:#e4f5ee}.preview img{width:100%;height:270px;object-fit:cover;border-radius:12px}.template-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.template-buttons button,.action{border:1px solid #b7cfdf;color:#194a6d;background:white;padding:9px 12px;border-radius:8px;font-size:12px}.action{background:#163d5e;color:white;margin-top:10px}.metric{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.metric div{padding:15px;border-radius:10px;background:#eaf4fc;font-size:11px}.metric strong{display:block;font-size:22px;margin-bottom:6px}.story{display:flex;gap:17px;align-items:center;margin:23px 0;min-height:85px}.step-number{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:13px;background:#dcecf9;font-weight:750;color:#20618f}.story h3{font-size:17px;margin:0 0 6px}.story p{font-size:13px;color:#59748c;line-height:1.6;margin:0;max-width:750px}#step-count{margin-left:auto;white-space:nowrap;font-size:11px;color:#6c8295}.controls{display:flex;align-items:center;flex-wrap:wrap;gap:22px;background:#fff;border:1px solid #d4e2ee;border-radius:15px;padding:15px}.transport{display:flex;gap:8px}.transport button{border:1px solid #c5d9e7;border-radius:9px;padding:11px 15px;background:white;color:#234d6b;min-height:44px}.transport .primary{background:#163d5e;color:white;min-width:125px}.controls label{font-size:10px;color:#607b90}.controls select{display:block;margin-top:4px;border:0;background:#f0f6fb;padding:8px;border-radius:7px;color:#234d6b;font-size:12px}.progress-area{margin-left:auto;min-width:110px;font-size:10px;color:#668095}progress{display:block;width:120px;height:5px;margin-top:8px;accent-color:#0785ce}.disclaimer{font-size:11px;color:#6b8193;line-height:1.7;margin:17px 3px}.flash{animation:reveal .35s ease-out}@keyframes reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:950px){.shell{grid-template-columns:210px minmax(0,1fr)}aside{padding:26px 12px}.sample-label{display:none}.canvas{grid-template-columns:1fr}.editor{border-right:0;border-bottom:1px solid #e1eaf2}.editor label{display:inline-block;width:47%;margin:8px 1%}.intro h1{font-size:32px}.preview{padding:20px}}@media(max-width:640px){.top{height:70px;padding:15px;gap:12px}.top img{width:115px}.badge{font-size:8px;padding:7px}.app-link{font-size:10px}.shell{display:block}aside{padding:16px;border-right:0;border-bottom:1px solid #d4e2ee}.intro,.aside-note{display:none}nav{display:flex;overflow-x:auto;gap:6px;padding:4px}nav button{flex:none;padding:10px;font-size:11px}nav button small{display:none}main{padding:20px 14px}.chapter-head h2{font-size:25px}.editor{padding:18px}.preview{padding:15px}.story{align-items:flex-start}#step-count{display:none}.controls{gap:12px}.progress-area{display:none}.controls label{margin-left:auto}.transport button{padding:10px}.metric{gap:6px}.metric div{padding:10px}.site-hero h3{font-size:26px}}@media(prefers-reduced-motion:reduce){.flash{animation:none}}

.demo-notice{background:#153c5e;color:white;padding:13px 3vw;display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;font-size:12px}.demo-notice strong{letter-spacing:1.2px;font-size:12px}.demo-notice span{color:#c6e5f7}.badge{border:1px solid #1185c1;background:#d9f2ff;color:#124765}nav{max-height:58vh;overflow:auto}.output-label{padding:15px 20px;background:#e6f1fa;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px;color:#43637c}.output-label strong{font-size:10px;letter-spacing:1px;color:#173d5e}.output-label a{margin-left:auto;color:#135f96;font-weight:700}.real-output{display:block;border:0;width:100%;height:580px;background:white}#stage{min-height:450px}.shell{min-height:calc(100vh - 130px)}@media(max-width:640px){.demo-notice{gap:5px;text-align:center;padding:12px 20px}.demo-notice span{font-size:11px}nav{max-height:none}.real-output{height:620px}}

.output-label:after{content:"Scroll inside the preview to explore the complete example";display:block;font-size:11px;color:#476981;flex-basis:100%}.output-label{flex-wrap:wrap}@media(max-width:760px){nav:after{content:"Swipe to explore tools →";position:sticky;right:0;padding:8px;background:#f9fbfe;font-size:10px;white-space:nowrap;align-self:center}nav.explored:after{display:none}}

#stage.flash{animation:none!important;transform:none!important;opacity:1!important}.preview-status{padding:26px;background:#e7f3fb;color:#224c6b;display:flex;align-items:center;gap:18px;min-height:100px;font-size:14px}.preview-status button{padding:11px 16px;border:1px solid #a9c8dd;border-radius:9px;background:white;color:#174d77}.preview-status[hidden],#stage>[hidden]{display:none!important}

.demo-notice a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:10px 14px;border:1px solid #7197b2;border-radius:9px;white-space:nowrap}.demo-notice{justify-content:space-between;gap:10px 24px}.demo-notice span{flex:1;line-height:1.6;min-width:220px}.disclaimer a{color:#145889;font-weight:700}@media(max-width:640px){.demo-notice{justify-content:center}.demo-notice span{flex-basis:100%}.top .badge{max-width:105px;text-align:center}}

/* High-visibility demo scope notice, with finite motion and reduced-motion support. */
.demo-notice{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:24px;align-items:center;padding:25px clamp(18px,3vw,48px);background:linear-gradient(110deg,#0d2946,#174e72);border-bottom:4px solid #24c5e7;box-shadow:0 8px 24px #0b2b4920;color:#fff}
.demo-notice .notice-kicker{display:inline-block;color:#a4edff;font-size:10px;font-weight:800;letter-spacing:1.8px;min-width:0;line-height:1.3;margin:0 0 8px}
.demo-notice h2{color:#fff;font-size:clamp(20px,2.1vw,29px);line-height:1.2;letter-spacing:-.5px;margin:0 0 10px;max-width:850px}
.demo-notice p{font-size:14px;line-height:1.65;color:#d9eaf5;margin:0;max-width:850px}.demo-notice p strong{font-size:inherit;letter-spacing:0;color:#fff}
.notice-symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#c9f4ff;color:#124264;box-shadow:0 0 0 0 #6bdef277;animation:notice-focus 1.6s ease-out 3}.notice-symbol svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.demo-notice a{background:#fff;color:#123d5e;text-decoration:none;padding:15px 20px;box-shadow:0 5px 18px #061b302a;text-align:center;border:1px solid #c2eaf8;border-radius:12px;font-size:14px;transition:background .2s,box-shadow .2s}.demo-notice a:hover{background:#d8f6ff;box-shadow:0 7px 22px #061b3044}.demo-notice a small{display:block;font-size:11px;font-weight:400;margin-top:5px;color:#48647c}
@keyframes notice-focus{0%{box-shadow:0 0 0 0 #6bdef277}100%{box-shadow:0 0 0 15px #6bdef200}}
@media(max-width:950px){.demo-notice{grid-template-columns:44px minmax(0,1fr);gap:16px}.notice-symbol{width:44px;height:44px;border-radius:13px}.demo-notice a{grid-column:2;justify-self:start}}
@media(max-width:640px){.demo-notice{text-align:left;padding:20px 18px;gap:12px;align-items:start}.demo-notice .notice-copy{min-width:0}.demo-notice h2{font-size:21px}.demo-notice p{font-size:13px}.demo-notice a{grid-column:1/-1;justify-self:stretch;white-space:normal}.demo-notice .notice-kicker{font-size:9px}}
@media(prefers-reduced-motion:reduce){.notice-symbol{animation:none}.demo-notice a{transition:none}}
