/* Modern view hero animation. Every name starts with mo-. Markup is inline in modern-view.html; motion is mo-demo.js (GSAP). */
/* The page: the animation sits full width inside the dark hero band, where the screenshot used to overlap it. */
.feature-hero-band.mo-band{padding-bottom:64px}
/* The text under the headline may run as wide as the headline. */
.page-hero.mo-band .lead{max-width:none;text-wrap:pretty}
.mo-band .mo-demo{margin-top:44px}
@media (max-width:640px){.feature-hero-band.mo-band{padding-bottom:40px}.mo-band .mo-demo{margin-top:32px}}
.mo-demo{--mo-sans:var(--font,Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);--mo-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;position:relative;display:grid;gap:14px;min-width:0;font-family:var(--mo-sans);font-size:16px;line-height:1.45;color:#e6ebf5;text-align:left}
.mo-demo *{box-sizing:border-box}
.mo-demo svg{display:inline-block;max-width:none}
.mo-demo i{font-style:normal}
.mo-h{visibility:hidden}
.mo-grow{flex:1}
.mo-stage{position:relative;container-type:inline-size}
.mo-winwrap{position:relative;width:100%;aspect-ratio:972/608;overflow:hidden;container-type:inline-size;border-radius:10px;box-shadow:0 30px 70px -30px rgba(0,0,0,.85),0 0 0 1px rgba(140,232,189,.2)}
.mo-win{position:absolute;left:0;top:0;width:972px;height:608px;transform-origin:0 0;--mo-auto:tan(atan2(100cqw,972px));transform:scale(var(--mo-s,var(--mo-auto)));background:#0d1816;overflow:hidden;font-size:13px;line-height:1.45;color:#132a2c}
.mo-body{position:absolute;inset:0}
.mo-ptr{position:absolute;left:0;top:0;width:22px;height:22px;z-index:9;pointer-events:none}

/* WND Terminal's bar and status line */
.mo-bar{position:absolute;left:0;right:0;top:0;height:36px;display:flex;align-items:center;gap:7px;padding:0 10px 0 11px;background:#132a2c;z-index:3}
.mo-logo{width:15px;height:15px;border-radius:5px;background:#19c37d;flex:none}
.mo-app{font-size:12.5px;font-weight:600;color:#f2fbf6;white-space:nowrap;margin-right:6px}
.mo-tab{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:500;line-height:1;color:#f2fbf6;background:#0d1816;border-radius:8px 8px 0 0;padding:9px 12px;align-self:flex-end;white-space:nowrap;transition:background .3s ease,color .3s ease}
.mo-tab i{width:6px;height:6px;border-radius:50%;background:#19c37d;display:block}
.mo-mod .mo-tab{background:#eef2f0;color:#132a2c}
.mo-tb{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;line-height:1;color:#cfe3dc;border:1px solid #2b4a4a;border-radius:7px;padding:6px 9px;white-space:nowrap;transition:background .25s ease,border-color .25s ease,color .25s ease}
.mo-tb b{font-family:var(--mo-mono);font-size:9.5px;font-weight:600;color:#9fb8b0;border:1px solid #2b4a4a;border-radius:4px;padding:2px 4px}
.mo-tbm i{width:11px;height:9px;border:1.5px solid currentColor;border-radius:2px;display:block;box-shadow:inset 0 2.5px 0 -1px currentColor}
.mo-mod .mo-tbm{color:#8ff5c2;border-color:#19c37d;background:rgba(25,195,125,.16)}
.mo-status{position:absolute;left:0;right:0;bottom:0;height:22px;display:flex;align-items:center;gap:13px;padding:0 11px;background:#0a1413;border-top:1px solid #1c3334;font-size:10.5px;line-height:1;color:#a9c0b9;white-space:nowrap;z-index:3}
.mo-status b{font-weight:400;color:#8ce8bd}
.mo-state{color:#cfe3dc}
.mo-pill{font-size:9.5px;font-weight:700;line-height:1;color:#8ff5c2;border:1px solid #19c37d;border-radius:999px;padding:3px 7px;display:none}
.mo-mod .mo-pill{display:inline-block}
.mo-mod .mo-pos{display:none}
.mo-view{position:absolute;left:0;right:0;top:36px;height:550px;overflow:hidden}

/* Classic screen: every piece of text sits on a row and a column */
.mo-cl{position:absolute;inset:0;background:#0d1816}
.mo-scr{position:absolute;left:138px;top:13px;width:80ch;height:528px;font-family:var(--mo-mono);font-size:14.5px;line-height:22px;color:#8ce8bd}
.mo-t{position:absolute;white-space:pre}
.mo-w{color:#f2fbf6;font-weight:600}
.mo-v{color:#f2fbf6}
.mo-cy{color:#8fd6ff}
.mo-ul{position:absolute;height:1px;margin-top:20px;background:#3f6b5c}
.mo-cur{position:absolute;left:0;top:0;width:1ch;height:17px;margin-top:3px;background:#8ce8bd;animation:mo-blink 1.1s steps(1) infinite}
@keyframes mo-blink{50%{opacity:0}}
.mo-r0{top:0px}.mo-r1{top:22px}.mo-r2{top:44px}.mo-r4{top:88px}.mo-r5{top:110px}.mo-r6{top:132px}.mo-r7{top:154px}.mo-r8{top:176px}.mo-r9{top:198px}.mo-r10{top:220px}.mo-r11{top:242px}.mo-r12{top:264px}.mo-r13{top:286px}.mo-r22{top:484px}.mo-r23{top:506px}
.mo-c0{left:0ch}.mo-c1{left:1ch}.mo-c10{left:10ch}.mo-c14{left:14ch}.mo-c21{left:21ch}.mo-c32{left:32ch}.mo-c34{left:34ch}.mo-c56{left:56ch}.mo-c62{left:62ch}.mo-c66{left:66ch}.mo-c71{left:71ch}.mo-c72{left:72ch}.mo-c74{left:74ch}
.mo-w8{width:8ch}.mo-w10{width:10ch}.mo-w20{width:20ch}.mo-w46{width:46ch}
.mo-g0{top:0px}.mo-g1{top:28px}.mo-g2{top:56px}.mo-g3{top:84px}.mo-g4{top:112px}.mo-g5{top:140px}.mo-g6{top:168px}.mo-g7{top:196px}

/* Modern view: the same screen as a form */
.mo-mv{position:absolute;inset:0;background:linear-gradient(180deg,#e7edea,#f3f6f4)}
.mo-card{position:absolute;left:126px;top:70px;width:720px;border-radius:14px;overflow:hidden;background:#fff;color:#132a2c;box-shadow:0 22px 44px -26px rgba(19,42,44,.55),0 0 0 1px #dde5e0}
.mo-cd2{left:96px;top:11px;width:780px}
.mo-hd{padding:13px 22px 12px;border-bottom:1px solid #e6ebe8;background:linear-gradient(180deg,#f3faf6,#fff)}
.mo-cr{display:flex;align-items:center;gap:8px;height:20px;font-size:11.5px;line-height:20px;white-space:nowrap}
.mo-cn{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.mo-cn i{width:7px;height:7px;border-radius:50%;background:#19c37d;display:block}
.mo-tg{font-family:var(--mo-mono);font-size:10.5px;color:#6b7c76}
.mo-chip{display:inline-flex;align-items:center;height:18px;padding:0 8px;border:1px solid #dbe2de;border-radius:999px;background:#f1f4f2;font-size:10px;font-weight:700;line-height:16px;color:#35524b;white-space:nowrap}
.mo-chip.mo-code{font-family:var(--mo-mono);border-color:#bfe6d2;background:#e7f8ef;color:#0a7a4c}
.mo-chip.mo-lay{border-color:#bfe6d2;background:#e7f8ef;color:#075c40}
.mo-chip.mo-posn{border-color:#c9d8f2;background:#edf3fd;color:#274a86}
.mo-tr{display:flex;align-items:center;gap:10px;height:30px;margin-top:4px}
.mo-ti{font-size:22px;font-weight:800;line-height:30px;letter-spacing:-.02em;white-space:nowrap}
.mo-cd2 .mo-ti{font-size:17px}
.mo-act{margin-left:auto;display:flex;align-items:center;gap:6px}
.mo-gb{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:600;line-height:1;padding:7px 10px;border:1px solid #d5dcd8;border-radius:8px;background:#fff;color:#132a2c;white-space:nowrap}
.mo-gb.mo-dk{background:#132a2c;border-color:#132a2c;color:#f2fbf6}
.mo-kb{font-family:var(--mo-mono);font-size:9.5px;font-weight:600;line-height:1;color:#55706a;background:#eef2ef;border:1px solid #dbe2de;border-radius:4px;padding:2px 4px}
.mo-ebw,.mo-mw{height:0;overflow:hidden}
.mo-eb{display:flex;align-items:center;gap:14px;padding:10px 22px;background:#f1f6f3;border-bottom:1px solid #e6ebe8;font-size:11.5px;line-height:1.45;color:#35524b}
.mo-eb>span:first-child{flex:1;min-width:0}
.mo-msg{display:flex;align-items:center;gap:9px;margin:12px 22px 0;padding:9px 12px;border:1px solid #bfe6d2;border-radius:8px;background:#e7f8ef;color:#075c40;font-family:var(--mo-mono);font-size:12px;font-weight:600;line-height:18px}
.mo-msg i{width:9px;height:5px;margin-top:-3px;border:solid #0f9f66;border-width:0 0 2px 2px;transform:rotate(-45deg);display:block}
.mo-bd{padding:13px 22px 0}
.mo-ins{height:20px;margin-bottom:9px;font-size:12.5px;line-height:20px;color:#5b6b66;white-space:nowrap}
.mo-row{display:flex;align-items:center;height:48px;border-top:1px solid #edf1ee}
.mo-fl{flex:none;width:172px;font-size:13px;font-weight:600;line-height:20px;white-space:nowrap}
.mo-fl span{display:inline-block;border-radius:5px;box-shadow:0 0 0 0 transparent;transition:box-shadow .2s ease,background .2s ease}
.mo-edit .mo-fl span,.mo-edit .mo-ti span{box-shadow:0 0 0 5px #fff,0 0 0 6px #b9c7bf}
.mo-fl span.mo-sel{background:#cfeedd;box-shadow:0 0 0 5px #cfeedd,0 0 0 7px #0f9f66}
.mo-fl span.mo-ren{box-shadow:0 0 0 5px #fff,0 0 0 7px #0f9f66}
.mo-in{flex:none;display:flex;align-items:center;height:32px;padding:0 10px;border:1px solid #d9dfdc;border-radius:8px;background:#f4f6f5;font-family:var(--mo-mono);font-size:13px;font-weight:600;line-height:20px;color:#132a2c;white-space:pre}
.mo-in.mo-f{background:#fff;border-color:#0f9f66;box-shadow:0 0 0 2px rgba(15,159,102,.28)}
.mo-in.mo-f .mo-iv::after{content:"";display:inline-block;width:1px;height:15px;margin-left:1px;vertical-align:-3px;background:#132a2c;animation:mo-blink 1s steps(1) infinite}
.mo-iw0{width:226px}.mo-iw1{width:96px}.mo-iw2{width:104px}.mo-iw3{width:112px}
.mo-hint{margin-left:10px;font-size:11.5px;line-height:16px;color:#7b8a85;white-space:nowrap}
.mo-gb.mo-today{margin-left:8px;padding:6px 8px;font-size:11px}
.mo-keys{display:flex;align-items:center;gap:6px;margin-top:8px;padding:12px 22px;border-top:1px solid #e6ebe8;background:#fafbfa}
.mo-edit .mo-keys{opacity:.5}
.mo-pb{margin-left:auto;display:inline-flex;align-items:center;gap:9px;padding:9px 11px 9px 15px;border-radius:9px;background:#0f9f66;color:#fff;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;box-shadow:0 8px 16px -8px rgba(15,159,102,.8)}
.mo-pb .mo-kb{color:#eafff4;background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.3)}

/* A list as a grid */
.mo-cd2 .mo-bd{padding-top:11px}
.mo-cmd{display:flex;align-items:center;gap:12px;height:34px;font-size:13px;font-weight:600}
.mo-cmd>span:first-child{width:86px}
.mo-cmd .mo-in{flex:1;height:30px}
.mo-cmd .mo-in.mo-pg{flex:none;font-size:11px;padding:0 9px}
.mo-cd2 .mo-ins{margin:7px 0 6px}
.mo-grid{border:1px solid #e3e9e5;border-radius:10px;overflow:hidden}
.mo-gh,.mo-r{display:grid;grid-template-columns:98px 1fr 170px;align-items:center;padding:0 11px}
.mo-gh{height:29px;background:#fafbfa;border-bottom:1px solid #e3e9e5;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1;text-transform:uppercase;color:#55706a}
.mo-gv{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:5px 7px;margin-left:-7px;border-radius:6px}
.mo-gv i{width:0;height:0;border:4px solid transparent;border-top:0;border-bottom:6px solid #0f9f66;display:none}
.mo-sorted .mo-gv{color:#132a2c;background:#e7f8ef}
.mo-sorted .mo-gv i{display:block}
.mo-gr{position:relative;height:224px}
.mo-r{position:absolute;left:0;right:0;height:28px;border-bottom:1px solid #eef2ef;background:#fff;font-family:var(--mo-mono);font-size:12px;line-height:1;color:#132a2c}
.mo-cb{display:flex;align-items:center;width:64px;height:20px;padding:0 6px;border:1px solid #d9dfdc;border-radius:6px;background:#f4f6f5;font-weight:600}
.mo-cb.mo-f{background:#fff;border-color:#0f9f66;box-shadow:0 0 0 2px rgba(15,159,102,.28)}
.mo-cb.mo-f span::after{content:"";display:inline-block;width:1px;height:12px;margin-left:1px;vertical-align:-2px;background:#132a2c;animation:mo-blink 1s steps(1) infinite}
.mo-gf{display:flex;align-items:center;gap:6px;height:36px;font-size:11.5px;color:#5b6b66}
.mo-gf .mo-gb{padding:6px 9px;font-size:11px}
.mo-cd2 .mo-keys{margin-top:2px;padding:10px 22px;gap:5px}
.mo-cd2 .mo-keys .mo-gb{padding:6px 8px;gap:6px}
.mo-cd2 .mo-keys .mo-more{color:#55706a}

/* What moves between the two views: each label travels from where the host put it to where the form shows it */
.mo-fx{position:absolute;inset:0;z-index:4;pointer-events:none}
.mo-fly{position:absolute;left:0;top:0;white-space:pre}
.mo-fly span{position:absolute;left:0;top:0;white-space:pre}
.mo-fbx{position:absolute;left:0;top:0;border:1px solid #3f6b5c}
.mo-chord{position:absolute;left:374px;top:490px;z-index:6;display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:12px;background:rgba(10,20,19,.92);box-shadow:0 14px 30px -10px rgba(0,0,0,.7),0 0 0 1px rgba(140,232,189,.3);font-size:13px;font-weight:600;color:#a9c0b9;white-space:nowrap}
.mo-k{display:inline-block;font-family:var(--mo-mono);font-size:13px;font-weight:600;line-height:1;padding:8px 10px;border:1px solid #b9c7bf;border-bottom-width:3px;border-radius:7px;background:#fff;color:#132a2c}

/* end card: real links, so it sits outside the inert window */
.mo-end{position:absolute;inset:0;z-index:5;display:grid;place-items:center;border-radius:10px;background:#0d1816;box-shadow:inset 0 0 0 1px rgba(140,232,189,.2)}
.mo-endi{display:grid;gap:clamp(8px,2.2cqw,16px);justify-items:center;text-align:center;padding:0 6cqw}
.mo-eh{font-size:clamp(20px,5.2cqw,56px);font-weight:800;line-height:1.06;letter-spacing:-.025em;color:#fff}
.mo-mask{display:block;overflow:hidden;padding-bottom:.1em}
.mo-ln{display:block}
.mo-ep{font-size:clamp(13px,2.1cqw,20px);line-height:1.45;color:#aab5c8;max-width:32em}
.mo-ecta{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.mo-en{font-size:12.5px;color:#aab5c8}

/* caption and chapters under the window */
.mo-foot{display:grid;gap:6px}
.mo-caps{display:grid;min-height:1.7em;padding-top:2px}
.mo-capn{grid-area:1/1;opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease}
.mo-capn.mo-on{opacity:1;transform:none}
.mo-cap{font-size:19px;font-weight:600;line-height:1.4;color:#f2f6fb;text-wrap:pretty}
.mo-navb{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap}
.mo-ch{display:flex;flex-wrap:wrap;gap:0 16px}
.mo-chb{font:inherit;font-size:13.5px;display:flex;align-items:center;gap:8px;padding:8px 0;border:0;background:none;color:#aab5c8;cursor:pointer;border-radius:4px}
.mo-chb:hover{color:#fff}
.mo-chb.mo-on{color:#fff;font-weight:600}
.mo-tk{width:14px;height:2px;border-radius:2px;background:#33435c;overflow:hidden;transition:width .3s ease}
.mo-tk i{display:block;height:100%;background:#19c37d;transform:scaleX(var(--mo-p,0));transform-origin:left center}
.mo-chb.mo-on .mo-tk{width:30px}
.mo-chb.mo-past{--mo-p:1}
.mo-fine{font-size:12px;color:#aab5c8}
.mo-pp{font:inherit;font-size:12.5px;font-weight:600;padding:6px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;cursor:pointer}
.mo-pp[hidden]{display:none}
.mo-chb:focus-visible,.mo-pp:focus-visible,.mo-end a:focus-visible{outline:2px solid #39ff8f;outline-offset:3px}
@media (max-width:900px){.mo-caps{min-height:3em}.mo-cap{font-size:17px}}
@media (max-width:560px){.mo-caps{min-height:4.4em}.mo-cap{font-size:15.5px}.mo-chb{padding:12px 0}.mo-ch{gap:0 13px}.mo-en{display:none}.mo-end .btn{padding:9px 14px;font-size:.88rem}}
@media (prefers-reduced-motion:reduce){.mo-capn,.mo-tk,.mo-tab,.mo-tb,.mo-fl span{transition:none}.mo-cur,.mo-in.mo-f .mo-iv::after,.mo-cb.mo-f span::after{animation:none}}
