/* Extracted motion-demo styles from the AhanaWire install page. Scoped under .aw-demo. */
.aw-demo, .aw-demo * { box-sizing: border-box; }
.aw-demo {--bg:#f4f8fc;--ink:#12263a;--muted:#4b6073;--teal:#0c7c74;--deep:#085e58;--line:#d5e2ee;--navy:#16324c;--gold:#c48c32;--light:#e5f6f4}
.aw-demo .demo{background:#102b39;color:#e9f3f3;border-radius:15px;overflow:hidden;box-shadow:0 16px 45px #102b3914}
.aw-demo .demo-top{display:flex;justify-content:space-between;align-items:center;padding:17px 23px;border-bottom:1px solid #31505a;font-size:10px;letter-spacing:.12em;color:#bed2da;gap:10px}
.aw-demo .demo-top span{display:flex;align-items:center;gap:9px}
.aw-demo .live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#67d8bc}
.aw-demo .demo button{color:#cfdfdf;background:transparent;border:0;font-size:11px;padding:5px 0}
.aw-demo .demo-top button, .aw-demo .demo-bottom button{min-height:34px;letter-spacing:.01em}
.aw-demo .stage-tabs{display:grid;grid-template-columns:repeat(5,1fr);margin:0 24px;border-bottom:1px solid #31505a;gap:20px}
.aw-demo .stage-tabs button{text-align:left;padding:16px 0;color:#99afb8;border-bottom:2px solid transparent}
.aw-demo .stage-tabs button span{margin-left:9px}
.aw-demo .stage-tabs button.selected{color:#c2e9dc;border-color:#5fc6ad}
.aw-demo .demo-content{padding:35px 28px;display:grid;grid-template-columns:32% 1fr;gap:28px;min-height:331px;align-items:center}
.aw-demo .demo-story>p:first-child{font-size:10px;color:#8ac8b9;letter-spacing:.15em;font-weight:700;margin-bottom:14px}
.aw-demo .demo-story h3{font-size:25px;line-height:1.15;min-height:58px}
.aw-demo .demo-story>p{font-size:12px;color:#b9ccd3;min-height:58px;line-height:1.6}
.aw-demo .terminal{border:1px solid #314e5c;background:#0b202b;border-radius:7px;padding:12px}
.aw-demo .window-dots{color:#456573;font-size:7px;letter-spacing:3px}
.aw-demo .terminal pre{font-size:10px;color:#a1e5ce;line-height:1.7;white-space:pre-wrap;word-break:break-word;padding:5px 0;margin:5px 0}
.aw-demo .terminal>span{font-size:10px;color:#8aa6b2}
.aw-demo .network{display:block;width:100%;height:auto}
.aw-demo .site-box{fill:#173745;stroke:#3a5761}
.aw-demo .app-box{fill:#244552}
.aw-demo .network text{font-family:"Segoe UI","Helvetica Neue",sans-serif}
.aw-demo .site-label{font-size:10px;fill:#aac2c9;letter-spacing:1px;font-weight:700}
.aw-demo .center{text-anchor:middle;fill:#e1eeee;font-size:13px}
.aw-demo .edge{fill:#0e716b;stroke:#4aa89b}
.aw-demo .edge-text{font-size:12px;font-weight:700;letter-spacing:1px}
.aw-demo .port-text{font-size:10px;fill:#a1d5ce}
.aw-demo .link-path{stroke:#d9aa55;stroke-width:2;fill:none;stroke-dasharray:4 4}
.aw-demo .wire-label{font-size:10px;fill:#b9d7cd}
.aw-demo .gold-stroke{stroke:#87b4ae;stroke-width:1;fill:none}
.aw-demo .cache-line{stroke:#6a8f93;stroke-dasharray:3 3}
.aw-demo .disk{fill:#1b3945;stroke:#64868b}
.aw-demo .cache-text{font-size:11px;fill:#c5d8dc}
.aw-demo .other-edge{font-size:9px;fill:#9fb8c1}
.aw-demo .demo[data-stage="2"] #packet, .aw-demo .demo[data-stage="3"] #packet{opacity:1;animation:packet 2.4s linear infinite}
.aw-demo .demo[data-stage="3"] #packet{width:11px}
.aw-demo .demo.paused #packet{animation-play-state:paused}
@keyframes packet{0%{transform:translateX(-25px);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateX(155px);opacity:0}}
.aw-demo .demo-meters{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:2px 10px}
.aw-demo .demo-meters span{display:block;color:#b0c9d0;font-size:8px;letter-spacing:.1em;font-weight:700}
.aw-demo .demo-meters strong{display:block;font-size:23px;color:#e4f3ee;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:4px 0}
.aw-demo .demo-meters small{color:#a5bdc5;font-size:9px}
.aw-demo .meter-track{height:4px;background:#34545d;border-radius:3px;overflow:hidden;margin-top:9px}
.aw-demo .meter-track i{display:block;width:100%;min-width:4px;height:100%;background:#d9aa55;transition:width 1s ease}
.aw-demo .demo-bottom{display:flex;justify-content:space-between;padding:11px 24px;gap:20px;align-items:center;background:#0d2531;border-top:1px solid #284652}
.aw-demo .demo-bottom p{margin:0;color:#b6cdd4;font-size:10px;max-width:85%}
.aw-demo .caption{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0 0}
.aw-demo .copy-status{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);padding:10px 16px;background:var(--navy);color:white;border-radius:6px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s}
.aw-demo .copy-status.show{opacity:1}
@media(max-width:950px){.aw-demo .hero{gap:30px}.aw-demo .demo-content{grid-template-columns:30% 1fr;gap:16px;padding:24px 20px}.aw-demo .demo-story h3{font-size:21px}.aw-demo .metrics article{padding:20px}.aw-demo .metrics strong{font-size:34px}.aw-demo .result-card{padding:20px}.aw-demo .closing{flex-wrap:wrap}.aw-demo .cost b{font-size:30px}.aw-demo nav{gap:18px}.aw-demo h1{font-size:48px}}
@media(max-width:700px){.aw-demo{scroll-padding-top:15px}.aw-demo header{padding:18px 22px;display:block}.aw-demo .brand{font-size:13px}.aw-demo nav{justify-content:space-between;margin-top:17px;gap:8px}.aw-demo nav a{font-size:12px;min-height:30px;display:flex;align-items:center}.aw-demo .nav-key{padding-left:12px}.aw-demo main{padding:0 22px}.aw-demo .hero{grid-template-columns:1fr;gap:30px;padding:38px 0 28px}.aw-demo h1{font-size:47px}.aw-demo .eyebrow{font-size:9px;letter-spacing:.14em}.aw-demo .hero-lead{font-size:16px}.aw-demo .hero-visual{padding:21px}.aw-demo .hero-visual>.eyebrow{font-size:9px}.aw-demo .byte-box{padding:14px 17px}.aw-demo .byte-box strong{font-size:31px;margin-bottom:9px}.aw-demo .byte-grid{height:28px}.aw-demo .actions{gap:17px}.aw-demo .button{font-size:12px;padding:13px 17px}.aw-demo .text-link{font-size:12px}.aw-demo .hero-note{font-size:11px}.aw-demo .metrics{grid-template-columns:1fr}.aw-demo .metrics article{padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;align-items:center}.aw-demo .metrics article+article{border-left:0;border-top:1px solid var(--line)}.aw-demo .metrics p{font-size:8px;margin:0}.aw-demo .metrics strong{grid-column:2;grid-row:1 / 3;font-size:32px;text-align:right}.aw-demo .metrics strong span{font-size:14px}.aw-demo .metrics article div{font-size:10px;max-width:145px}.aw-demo .scope-strip{font-size:10px;padding:14px 0 0}.aw-demo section:not(.hero){margin-top:46px}.aw-demo .section-heading{display:block;margin-bottom:20px}.aw-demo .section-heading>p{margin-top:14px;font-size:11px}.aw-demo h2{font-size:29px}.aw-demo .demo-top{padding:11px 14px;font-size:8px}.aw-demo .demo-top button{font-size:9px}.aw-demo .stage-tabs{margin:0 14px;gap:9px}.aw-demo .stage-tabs button{font-size:9px;padding:14px 0}.aw-demo .stage-tabs button span{display:block;margin:4px 0 0}.aw-demo .demo-content{display:flex;flex-direction:column;padding:24px 13px;gap:12px;align-items:stretch}.aw-demo .demo-story{padding:0 9px}.aw-demo .demo-story>p:first-child{margin-bottom:8px;font-size:9px}.aw-demo .demo-story h3{font-size:23px;min-height:0;margin-bottom:9px}.aw-demo .demo-story>p{min-height:0;margin-bottom:12px;font-size:12px}.aw-demo .terminal{padding:9px 12px}.aw-demo .terminal pre{font-size:10px;margin:3px 0;padding:3px 0}.aw-demo .terminal>span{font-size:9px}.aw-demo .network{margin-top:0}.aw-demo .demo-meters{gap:10px;padding:5px}.aw-demo .demo-meters span{font-size:7px}.aw-demo .demo-meters strong{font-size:20px}.aw-demo .demo-meters small{font-size:8px}.aw-demo .demo-bottom{padding:10px 14px;gap:10px}.aw-demo .demo-bottom p{font-size:9px;max-width:82%}.aw-demo .demo-bottom button{font-size:9px;white-space:nowrap}.aw-demo .caption{font-size:10px}.aw-demo .requirements{grid-template-columns:1fr;gap:22px;padding:21px}.aw-demo .requirements p{font-size:12px}.aw-demo .install-steps li{grid-template-columns:31px 1fr;gap:12px;padding:24px 0}.aw-demo .step-num{width:29px;height:29px;font-size:10px}.aw-demo .step-body h3{font-size:18px}.aw-demo .step-body p{font-size:13px}.aw-demo .step-body p.hint{font-size:11px}.aw-demo .code-block pre{padding:43px 12px 16px;font-size:10px;line-height:1.9}.aw-demo .code-block:not(:has(button)) pre{padding-top:16px}.aw-demo .code-block .copy{top:8px;right:8px}.aw-demo .notice{padding:14px;font-size:11px}.aw-demo details{padding:17px;font-size:12px}.aw-demo summary{font-size:13px}.aw-demo .result-grid{grid-template-columns:1fr;gap:14px}.aw-demo .result-card{padding:23px}.aw-demo .result-card p{font-size:13px}.aw-demo .result-icon{float:left;margin:0 12px 10px 0}.aw-demo .result-card h3{padding-top:5px;min-height:36px}.aw-demo .cost>div{margin:0}.aw-demo .cost small{font-size:10px}.aw-demo .comparison{grid-template-columns:1fr;gap:20px;margin-top:30px}.aw-demo .bars{padding:20px 16px}.aw-demo .bar{grid-template-columns:65px 1fr 75px;gap:7px}.aw-demo .ratio-note{font-size:11px;padding:16px}.aw-demo .method{padding:23px}.aw-demo .method h2{font-size:25px}.aw-demo .method-grid{grid-template-columns:1fr;gap:6px}.aw-demo .method p{font-size:11px}.aw-demo .method .eyebrow{font-size:9px}.aw-demo .source-links{gap:13px}.aw-demo .source-links a{font-size:10px}.aw-demo .closing{padding:24px;gap:20px}.aw-demo .closing h2{font-size:28px}.aw-demo .closing .eyebrow{font-size:9px}.aw-demo .closing p:last-child{font-size:12px}.aw-demo footer{margin-top:35px;padding-top:23px;gap:14px}.aw-demo footer p{font-size:10px}.aw-demo footer>div{margin-left:0;gap:22px}.aw-demo footer>div a{min-height:30px;display:flex;align-items:center}}
@media(prefers-reduced-motion:reduce){.aw-demo{scroll-behavior:auto}.aw-demo *, .aw-demo *::before, .aw-demo *::after{animation:none!important;transition:none!important}.aw-demo #packet{transform:translateX(60px)}}
.aw-demo .restore-text{font-size:10px;fill:#8fe6c9;opacity:0}
.aw-demo #restore-g{opacity:0;transition:opacity .4s}
.aw-demo .demo[data-stage="4"] #restore-g{opacity:1}
.aw-demo .demo[data-stage="4"] .restore-text{opacity:1}
.aw-demo #restore-bar{transition:width 1.6s ease}
.aw-demo .demo[data-stage="2"] #egress-value{color:#f6c768;font-weight:700}

.aw-demo { margin: 0 0 56px; }
.aw-demo .section-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:28px; flex-wrap:wrap; }
.aw-demo .section-heading h2 { margin:0; font-size: clamp(28px, 3.2vw, 40px); letter-spacing:-.03em; }
.aw-demo .section-heading p { margin:0; color: var(--muted, #4b6073); max-width: 420px; }
.aw-demo .eyebrow { font-size:11px; letter-spacing:.17em; font-weight:750; color:#085e58; margin-bottom:18px; display:flex; align-items:center; gap:9px; text-transform:uppercase; }
.copy-status { position:fixed; bottom:20px; left:50%; transform:translateX(-50%) translateY(20px); background:#16324c; color:#fff; padding:10px 16px; border-radius:8px; font-size:13px; opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:20; }
.copy-status.show { opacity:1; transform:translateX(-50%) translateY(0); }
