/* Local, synthetic walkthroughs. Brand and ad styles remain in styles.css. */
.app-demo{width:100%;min-width:0;align-self:center;color:#233f31;font-family:inherit}.app-demo [hidden]{display:none!important}.demo-label,.demo-kicker{font-size:10px;letter-spacing:1.8px;font-weight:700}.demo-label{text-align:center;margin:0 0 20px}.demo-card-stack{height:570px;position:relative;max-width:560px;margin:auto}.demo-launch{font:inherit;cursor:pointer;text-align:left;position:absolute;display:block;width:91%;height:280px;padding:22px 25px;border:1px solid #bdcbb8;border-radius:17px;color:#233f31;box-shadow:0 18px 40px #233f3115;transition:transform .25s,box-shadow .25s;overflow:hidden}.travel-launch{top:0;left:0;background:#f9fbef;transform:rotate(-3deg);z-index:2}.finance-launch{top:263px;right:0;background:#ecebd8;transform:rotate(3deg);z-index:1}.demo-launch:hover{transform:rotate(0) translateY(-4px);box-shadow:0 22px 45px #233f3126}.launch-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;font-weight:700}.launch-top>span:last-child{font-size:8px;opacity:.7}.demo-launch>strong{font-family:Georgia,serif;font-size:31px;line-height:1.08;font-weight:400;display:block;margin-top:23px;max-width:85%}.launch-subtitle{font-size:11px;line-height:1.6;display:block;margin-top:12px;max-width:75%}.launch-foot{display:flex;justify-content:space-between;font-size:10px;position:absolute;bottom:20px;left:25px;right:25px;border-top:1px solid #233f3120;padding-top:12px}.launch-foot b{font-size:17px}.preview-circle{position:absolute;right:23px;top:120px;width:83px;height:87px}.preview-circle i{position:absolute;display:grid;place-items:center;width:25px;height:25px;background:#dbe6ce;border-radius:50%;font-size:10px;font-style:normal;animation:avatar-float 3s ease-in-out infinite}.preview-circle i:nth-child(1){left:0;top:0}.preview-circle i:nth-child(2){right:0;top:0;animation-delay:.5s}.preview-circle i:nth-child(4){left:0;bottom:0;animation-delay:1s}.preview-circle i:nth-child(5){right:0;bottom:0;animation-delay:1.5s}.preview-circle b{position:absolute;left:32px;top:30px;color:#b75837;font-size:22px}.preview-bars{position:absolute;right:25px;bottom:65px;height:65px;display:flex;align-items:end;gap:4px;opacity:.6}.preview-bars i{width:7px;background:#718767;border-radius:3px 3px 0 0;height:35%;transform-origin:bottom;animation:bar-grow 3s ease-in-out infinite alternate}.preview-bars i:nth-child(2n){height:58%;animation-delay:.3s}.preview-bars i:nth-child(3n){height:75%;animation-delay:.6s}.preview-bars i:last-child{height:100%;animation-delay:.9s}.demo-preview-pause{display:block;margin:5px auto 0;border:0;background:none;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#53634d;cursor:pointer}.demo-status,.demo-disclaimer{font-size:10px;line-height:1.5;color:#5c6b54;text-align:center;margin:12px 0 0}.demo-disclaimer{font-size:9px;max-width:470px;margin:6px auto}.demo-detail{background:#fffdf5;border:1px solid #bccbb7;border-radius:17px;box-shadow:0 24px 55px #233f311c;overflow:hidden;animation:detail-in .35s ease both}.detail-toolbar{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9dfcf}.detail-toolbar>span{font-size:8px;letter-spacing:1px}.app-demo button:focus-visible,.app-demo select:focus-visible{outline:3px solid #ad4e2f;outline-offset:4px}.detail-toolbar button,.demo-controls button{font:inherit;font-size:11px;background:#f2f4e8;border:1px solid #ccd6c2;border-radius:7px;color:#233f31;padding:9px 11px;cursor:pointer}.demo-controls button:disabled{opacity:.35;cursor:default}.demo-stage{min-height:615px}.demo-window-bar{padding:16px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.demo-window-bar>span{font-size:8px;color:#64725b;letter-spacing:.8px}.demo-scene{padding:8px 22px 0;min-height:437px}.demo-kicker{color:#8c5736;font-size:9px;margin:4px 0 12px;letter-spacing:1.5px}.demo-scene h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.12;margin:0 0 22px;letter-spacing:-.7px}.story-panel{background:#f4f6ea;border:1px solid #d5deca;border-radius:11px;padding:17px;min-height:290px}.story-panel-title{font-size:11px;font-weight:700;margin-bottom:15px}.story-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #dce3d2;animation:story-reveal .6s both;animation-delay:.6s}.story-item:nth-child(3){animation-delay:1.6s}.story-item:nth-child(4){animation-delay:2.6s}.story-item>span{font-size:11px;color:#677b5e;min-width:35px}.story-item b{font-size:12px;font-weight:600;display:block}.story-item small{font-size:10px;line-height:1.5;display:block;margin-top:4px;color:#5b6a53}.story-item em{font-size:12px;color:#718c59;margin-left:auto;font-style:normal}.story-badge{font-size:9px;line-height:1.5;display:inline-block;padding:7px 10px;background:#e5ebd4;border-radius:5px;margin-top:15px}.demo-caption{padding:18px 22px 20px}.demo-caption strong{display:block;font-size:14px;line-height:1.4}.demo-caption p{font-size:11px;line-height:1.6;margin:7px 0 0;color:#55674d}.demo-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:14px 18px;background:#f0f2e6;border-top:1px solid #d5ddcb}.demo-counter{font-size:10px;padding:0 3px}.chapter-label{font-size:9px;display:flex;align-items:center;gap:7px;margin-left:auto}.demo-chapters{font:inherit;color:#233f31;background:#fffdf5;border:1px solid #c6d1bb;border-radius:5px;padding:8px;max-width:195px}.story-people{display:flex;justify-content:center;padding:8px 0;gap:9px}.story-people i{display:grid;place-items:center;border:2px solid #fffdf5;border-radius:50%;height:38px;width:38px;font-style:normal;font-size:12px;background:#d6e2c7;animation:story-reveal .6s both;animation-delay:calc(var(--i,1)*.4s)}.story-people i:nth-child(2){background:#efd9b4;animation-delay:1s}.story-people i:nth-child(3){background:#cedad6;animation-delay:1.5s}.story-people i:nth-child(4){background:#e9cbb8;animation-delay:2s}.circle-orbit{height:125px;position:relative;max-width:280px;margin:auto}.circle-orbit>b{position:absolute;top:35px;left:calc(50% - 20px);font-size:45px;color:#8caa7a}.circle-orbit span{position:absolute;background:#fffdf5;border:1px solid #c7d5bc;border-radius:20px;padding:8px 12px;font-size:10px;animation:story-reveal 1s both}.circle-orbit span:nth-child(1){top:15px;left:0;animation-delay:.5s}.circle-orbit span:nth-child(2){top:15px;right:0;animation-delay:1s}.circle-orbit span:nth-child(3){bottom:3px;left:calc(50% - 42px);animation-delay:1.5s}.invite-envelope{display:grid;text-align:center;gap:7px;padding:15px;background:#fffdf5;border:1px solid #d6ddca;border-radius:10px;animation:envelope-in 1.5s .3s both}.invite-envelope>span{font-size:30px;color:#b6633f}.invite-envelope>b{font-family:Georgia,serif;font-size:22px;font-weight:400}.invite-envelope small{font-size:10px}.story-flow{display:flex;align-items:center;gap:5px;margin:18px 0}.flow-node{flex:1;background:#e8edda;border:1px solid #d2dbc4;border-radius:7px;padding:12px 5px;text-align:center;font-size:10px;line-height:1.4;animation:story-reveal .7s both;animation-delay:calc(.5s + var(--i)*1.2s)}.story-flow>i{font-size:12px;font-style:normal;color:#839574}.story-route{display:flex;align-items:center;font-size:10px;margin:15px 0 20px}.story-route i{flex:1;height:2px;background:#8fa181;margin:0 10px;transform-origin:left;animation:route-grow 2s .5s both}.template-card{border:1px solid #c3d0b8;background:#fffdf5;border-radius:9px;padding:17px}.template-card>span{font-size:8px;letter-spacing:1px;color:#9b613f}.template-card>b{display:block;font-family:Georgia,serif;font-weight:400;font-size:24px;margin:8px 0}.template-card>small{font-size:10px;color:#65745a}.mini-route{display:flex;justify-content:space-around;position:relative;margin-top:20px}.mini-route:before{content:'';position:absolute;top:5px;width:80%;height:2px;background:#a4b693;transform-origin:left;animation:route-grow 3s both}.mini-route i{height:12px;width:12px;background:#8da478;border:2px solid #fffdf5;border-radius:50%;z-index:1}.clone-branch{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center}.clone-branch .template-card{padding:12px}.clone-branch .template-card>b{font-size:20px}.branch-arrow{font-size:25px;color:#ac603d;animation:story-reveal 1s 1s both}.cloned{animation:clone-in 2s 1s both}.career-stages{display:flex;gap:7px}.career-stages span{flex:1;font-size:9px;background:#e5ecd6;border-radius:7px;padding:15px 5px;text-align:center;animation:story-reveal .6s both;animation-delay:calc(var(--i)*.5s)}.story-chart{margin-top:10px}.story-chart svg{display:block;width:100%;height:160px}.story-chart small{font-size:8px;color:#66765e;display:block}.draw-line{stroke-dasharray:500;stroke-dashoffset:500;animation:chart-draw 3s .3s both}.draw-line.secondary{animation-delay:1s}.time-marker{animation:time-travel 5s .5s both}.year-scrub{display:flex;align-items:center;gap:10px;font-size:9px;margin-top:15px}.year-scrub i{height:4px;background:#a6b894;flex:1}.year-scrub b{background:#e3eace;padding:5px;border-radius:4px}.money-buckets{display:flex;justify-content:space-between;gap:10px;margin:20px 0 10px}.money-buckets>div{flex:1;text-align:center;font-size:11px;animation:story-reveal .8s both;animation-delay:1s}.money-buckets i{display:block;margin:0 auto 12px;width:65px;height:75px;border:1px solid #8da37e;border-top:0;border-radius:0 0 10px 10px;background:linear-gradient(to top,#d3dfb9 70%,transparent 70%);transform-origin:bottom;animation:bucket-fill 3s 1s both}.money-buckets>div:nth-child(2) i{background:linear-gradient(to top,#e1c99f 45%,transparent 45%);animation-delay:1.6s}.money-buckets>div:nth-child(3) i{background:linear-gradient(to top,#bbd0c4 60%,transparent 60%);animation-delay:2.2s}.owner-total{text-align:center;font-family:Georgia,serif;font-size:30px;margin:22px 0}.owner-total small{display:block;font:9px sans-serif;margin-top:7px;color:#67755c}.owner-split{display:flex;align-items:center;gap:10px}.owner-split>div{flex:1;border:1px solid #cbd6bd;border-radius:8px;padding:15px 8px;text-align:center;animation:clone-in 1s .8s both}.owner-split b,.owner-split strong{display:block;font-size:10px}.owner-split strong{font-size:20px;font-weight:400;margin-top:8px}.owner-split>div:last-child{animation-delay:1.5s}.conversion-flow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 20px}.conversion-flow>div{background:#e4ecd5;padding:12px;border-radius:7px;flex:1}.conversion-flow small{display:block;font-size:9px;margin-bottom:8px}.conversion-flow b{display:block;font-size:13px;white-space:nowrap}.moving-money{font-size:12px;color:#b3653f;animation:money-move 2s 1s both}.scenario-stack{position:relative;padding:0 10px}.scenario-stack>div{background:#fffdf5;border:1px solid #cbd8be;border-radius:8px;padding:20px;margin:10px 0;animation:envelope-in 1s .4s both}.scenario-stack>div:last-child{animation-delay:1.4s;transform:translateX(10px)}.scenario-stack b{display:block;font:22px Georgia,serif}.scenario-stack small{display:block;font-size:10px;margin-top:7px}.decision-path{display:grid;gap:10px}.decision-path>div{display:flex;gap:14px;align-items:center;padding:12px;background:#fffdf5;border:1px solid #d0dac4;border-radius:7px;font-size:12px;animation:story-reveal .7s both;animation-delay:calc(var(--i)*1s)}.decision-path span{font-size:9px;color:#a26c41}.story-panel code{display:block;overflow-wrap:anywhere;font-size:10px;background:#e6ecd8;padding:8px;border-radius:5px}.story-prompt{font-size:10px;font-style:italic;line-height:1.5;background:#eee5d1;padding:10px;border-radius:6px;margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes story-reveal{from{opacity:.15;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes detail-in{from{opacity:.7;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes envelope-in{from{opacity:.2;transform:translateX(-20px) rotate(-3deg)}to{opacity:1;transform:translateX(0) rotate(0)}}@keyframes clone-in{from{opacity:.15;transform:translateX(-12px) scale(.9)}to{opacity:1;transform:translateX(0) scale(1)}}@keyframes route-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes chart-draw{to{stroke-dashoffset:0}}@keyframes time-travel{from{transform:translateX(-150px)}to{transform:translateX(110px)}}@keyframes bucket-fill{from{transform:scaleY(.3);opacity:.3}to{transform:scaleY(1);opacity:1}}@keyframes money-move{from{opacity:0;transform:translateX(-15px)}to{opacity:1;transform:translateX(0)}}@keyframes avatar-float{50%{transform:translateY(-5px)}}@keyframes bar-grow{to{transform:scaleY(.55)}}
.app-demo[data-motion="false"] *,.app-demo[data-motion="false"] *:before,.app-demo[data-motion="false"] *:after{animation-play-state:paused!important}.hero:has(.app-demo[data-mode="expanded"]){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px}.hero:has(.app-demo[data-mode="expanded"]) h1{font-size:clamp(42px,4.2vw,65px)}
@media(max-width:1100px) and (min-width:761px){.hero:has(.app-demo){grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px}.hero:has(.app-demo) h1{font-size:48px}.demo-launch{padding:21px}.demo-launch>strong{font-size:27px}.launch-subtitle{font-size:10px}.preview-circle{right:16px;width:65px}.detail-toolbar>span{display:none}.demo-scene h2{font-size:26px}.demo-stage{min-height:650px}.demo-scene{min-height:460px}.demo-controls{padding:12px}.chapter-label{width:100%;justify-content:space-between}.demo-chapters{max-width:100%;flex:1}}
@media(max-width:760px){.hero:has(.app-demo),.hero:has(.app-demo[data-mode="expanded"]){grid-template-columns:1fr;gap:35px}.app-demo{max-width:570px;justify-self:center}.demo-card-stack{max-width:460px}.demo-detail{width:100%}.demo-scene h2{font-size:29px}.hero:has(.app-demo[data-mode="expanded"]) h1{font-size:clamp(42px,8vw,65px)}}
@media(max-width:420px){.demo-launch{height:290px;padding:20px;width:94%}.finance-launch{top:275px}.demo-card-stack{height:590px}.demo-launch>strong{font-size:27px;max-width:100%}.launch-subtitle{font-size:10px;max-width:76%}.launch-top>span:last-child{font-size:7px;letter-spacing:0}.preview-circle{right:10px;width:59px;height:74px;top:145px}.preview-circle b{left:20px;top:25px}.preview-circle i{width:21px;height:21px;font-size:8px}.preview-bars{right:17px;bottom:61px;gap:3px}.preview-bars i{width:5px}.launch-foot{left:20px;right:20px;font-size:8px}.detail-toolbar>span{display:none}.demo-window-bar{padding:15px}.demo-window-bar>span{font-size:6px}.demo-scene{padding:7px 15px 0;min-height:480px}.demo-scene h2{font-size:26px}.story-panel{padding:13px;min-height:330px}.demo-caption{padding:17px 15px;min-height:145px}.demo-stage{min-height:680px}.story-item{gap:8px}.story-item b{font-size:11px}.story-item small{font-size:9px}.story-item>span{min-width:28px}.demo-controls{padding:12px;gap:6px}.demo-controls button{font-size:10px;padding:9px}.chapter-label{width:100%;justify-content:space-between}.demo-chapters{max-width:100%;flex:1}.flow-node{font-size:9px;padding:10px 3px}.owner-total{font-size:27px}.owner-split strong{font-size:18px}.conversion-flow{gap:5px}.conversion-flow>div{padding:9px}.conversion-flow b{font-size:10px}.moving-money{font-size:9px}.clone-branch{grid-template-columns:1fr 18px 1fr}.clone-branch .template-card{padding:9px}.clone-branch .template-card>b{font-size:18px}.clone-branch .template-card>small{font-size:9px}.story-panel code{font-size:8px}.story-prompt{font-size:9px}}
@media(prefers-reduced-motion:reduce){.app-demo *,.app-demo *:before,.app-demo *:after{animation:none!important;transition:none!important}.time-marker{transform:none}.draw-line{stroke-dashoffset:0}}

.app-demo[data-manual="true"] .demo-detail *{animation:none!important}.app-demo[data-manual="true"] .draw-line{stroke-dashoffset:0}

.demo-controls button[aria-disabled="true"]{opacity:.4;cursor:default}
/* Keep the reader's controls stationary as lessons change. */
.demo-stage{display:flex;flex-direction:column;height:660px;min-height:660px}.demo-window-bar{flex-shrink:0}.demo-scene{flex:1;min-height:0}.demo-caption{flex-shrink:0;min-height:112px}
@media(max-width:1100px){.demo-stage{height:760px;min-height:760px}}
@media(max-width:420px){.demo-caption{min-height:145px}}
@media(max-width:420px){.demo-launch{height:320px}.finance-launch{top:305px}.demo-card-stack{height:650px}}
