@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;550;600;650;700;750&family=Geist+Mono:wght@400;500&display=swap');
:root{color-scheme:light}*{box-sizing:border-box}body{margin:0;background:#f8fafc;color:#172232;font-family:Geist,Arial,sans-serif}button,select{font:inherit}button{cursor:pointer;transition:background .18s,transform .18s}button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7770d9;outline-offset:3px}.demo-page{padding:40px 26px 50px;background:#f8fafc;min-height:100dvh}.hero-copy{max-width:1000px;margin:0 auto 34px;text-align:center}.brand-label{font-size:23px;font-weight:750;color:#173e56;letter-spacing:-1px}.brand-label span{font-size:12px;letter-spacing:0;font-weight:400;color:#667383;margin-left:8px}.hero-copy h1{font-size:clamp(32px,4.3vw,58px);letter-spacing:-2.8px;line-height:1.1;font-weight:650;margin:22px 0 18px}.hero-copy h1 span{color:#526477}.hero-copy>p{font-size:15px;line-height:1.7;max-width:720px;margin:auto;color:#5e6a79}.demo-stage{max-width:1440px;position:relative;margin:auto;padding:0 24px;border-radius:20px;background:#102a3b;color:#eaf0f4;isolation:isolate;box-shadow:0 32px 65px -28px #122c4555;outline-offset:6px}.demo-stage:before{content:'';position:absolute;inset:0;border-radius:20px;background:linear-gradient(#102a3bec,#102a3bba),url('./assets/landscape.webp') center/cover;z-index:-2}.demo-stage:after{content:'';position:absolute;inset:0;background-image:radial-gradient(#b8cddd30 .7px,transparent .7px);background-size:20px 20px;pointer-events:none;z-index:-1;border-radius:20px}.stage-toolbar{height:53px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#bfccd6;gap:10px}.stage-toolbar>div{display:flex;align-items:center;gap:10px}.stage-toolbar button{background:#ffffff0a;border:1px solid #ffffff24;border-radius:6px;color:#dce5ec;width:31px;height:29px;font-size:19px}.sample-label{font-size:10px;color:#adc0ce}.workspace{border:1px solid #d7dfeb;border-radius:12px;background:white;color:#172232;overflow:hidden;margin-right:277px;height:520px;box-shadow:0 9px 28px #020b1840}.app-header{height:52px;border-bottom:1px solid #e3e7ee;display:flex;align-items:center;padding:0 19px;gap:20px;background:#fff}.app-logo{width:112px;flex-shrink:0;color:#204c68;text-decoration:none}.app-logo img{display:block;width:82px;height:32px;object-fit:contain}.crumb{font-size:11px;font-weight:550;display:flex;gap:10px}.crumb span{color:#8292a6}.account{margin-left:auto;border-radius:50%;width:27px;height:27px;background:#edf0f8;color:#5257a0;display:grid;place-items:center;font-size:10px}.app-layout{display:flex;height:calc(100% - 52px)}.sidebar{width:155px;background:#101827;flex-shrink:0;padding:14px 8px;position:relative;color:#b6c0d1}.nav-item{width:100%;display:flex;align-items:center;gap:8px;font-size:10px;padding:11px 9px;border:0;background:none;color:inherit;border-radius:6px;text-align:left;white-space:nowrap}.nav-item>span{font-size:15px;width:16px}.nav-item.selected{background:#302858;color:white;font-weight:600;margin-top:10px}.nav-item.sub{font-size:9px;padding:10px 8px 10px 15px}.nav-item b{margin-left:auto;background:#a84051;color:#fff;font-size:8px;border-radius:12px;padding:2px 4px}.sidebar>small{font-size:7px;letter-spacing:1.2px;margin:14px 9px 5px;display:block;color:#94a1b7}.sidebar .target{box-shadow:inset 0 0 0 1px #8e8ceb;background:#3d3569;color:#fff}.nav-footer{position:absolute;bottom:18px;left:17px;color:#9aa9bf;font-size:9px;line-height:1.6}.app-content{background:#f1f3f8;padding:22px;flex:1;min-width:0;overflow:hidden}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.page-heading h2{font-size:22px;font-weight:650;letter-spacing:-.6px;margin:0}.quiet-chip{font-size:8px;color:#566475;background:#e8ecf3;padding:6px 9px;border-radius:5px}.panel{background:#fff;border:1px solid #e4e8ef;border-radius:10px;padding:16px;min-width:0;box-shadow:0 2px 4px #13253b04}.panel h3{font-size:11px;font-weight:650;margin:0 0 6px}.panel p{font-size:10px;line-height:1.65}.panel small{font-size:9px;color:#626f80}.panel>.metric{display:block;font-size:36px;font-weight:600;letter-spacing:-1.8px;line-height:1.2;margin:7px 0}.panel>span{font-size:8px;color:#647183;display:block}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.metric-grid .panel{padding:13px 10px}.danger-text{color:#bd4252}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.muted{color:#647285;margin:0 0 14px;font-size:8px!important}.chart-row{display:flex;align-items:center;gap:16px;justify-content:center;min-height:116px}.ring{width:105px;height:105px;border-radius:50%;background:conic-gradient(#cf5664 0 23.53%,#e79556 23.53% 58.82%,#e4bc67 58.82% 88.24%,#619479 88.24%);padding:15px;flex-shrink:0;transform:rotate(-20deg)}.ring>div{height:100%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(20deg)}.ring strong{font-size:23px;font-weight:600}.ring small{font-size:7px}.ring.resolved{background:conic-gradient(#619479 0 48%,#e6eaf0 48%)}.legend{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:8px;color:#536276}.legend li{display:flex;align-items:center;gap:6px}.severity-dot{width:6px;height:6px;border-radius:2px;background:#cf5664}.c1{background:#e79556}.c2{background:#e4bc67}.c3{background:#619479}.bars{display:grid;gap:11px;padding-top:8px}.bars>div{display:grid;grid-template-columns:1fr 100px 40px;gap:12px;align-items:center;font-size:8px;color:#59697d}.bars>div>div{height:5px;background:#9dacca;border-radius:3px}.bars b{font-size:8px;font-weight:400;white-space:nowrap}.guide{position:absolute;right:24px;top:95px;width:252px;padding:22px 2px 22px 18px;color:#f4f7fa}.guide-top{display:flex;align-items:center;gap:14px;color:#b2c6d4;font-size:9px;letter-spacing:1.4px;font-weight:500}.guide-top i{height:1px;background:#ffffff25;flex:1}.guide h2{font-size:24px;letter-spacing:-.65px;line-height:1.25;font-weight:550;margin:25px 0 18px}.guide p{white-space:pre-line;font-size:12px;line-height:1.8;color:#c1d1dc;margin:0 0 24px}.guide-actions{display:flex;gap:8px;margin-top:24px}.next-step{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e6eef3;color:#143148;font-size:11px;font-weight:600;border:0;padding:13px;border-radius:7px;flex:1}.next-step:hover{background:#fff}.next-step span{font-size:17px}.back-step{width:37px;border:1px solid #ffffff35;background:#ffffff09;color:white;border-radius:7px}.guide-hint{display:block;margin-top:20px;font-size:10px;color:#b7cbd9;line-height:1.6}.step-dock{display:flex;width:max-content;max-width:100%;margin:20px auto 0;padding:5px;background:#0b1c2a;border:1px solid #354b5d;border-radius:11px;box-shadow:0 7px 16px #02101d40;overflow:auto;scrollbar-width:none;gap:2px}.step-dock button{display:flex;align-items:center;gap:7px;color:#b8c5d3;background:none;border:0;padding:12px 13px;font-size:10px;border-radius:6px;white-space:nowrap}.step-dock button span{font:9px 'Geist Mono',monospace;color:#9fb0c2}.step-dock button:hover{background:#20394c;color:white}.step-dock button.current{background:#dde7ef;color:#12314a;font-weight:600}.step-dock button.current span{color:#445e75}.stage-foot{display:flex;gap:20px;align-items:center;min-height:35px;font-size:8px;color:#a4bacb}.stage-foot>span:nth-child(2){margin-left:auto}.stage-foot>span:last-child{color:#d9e7f1}.assessment-counts{display:flex;gap:12px;margin-bottom:20px}.assessment-counts>span{border:1px solid #dee3ec;border-radius:7px;padding:9px 13px;background:#fff;font-size:10px;flex:1;color:#647185}.assessment-counts b{float:right;color:#172232}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:9px;text-align:left}th{font-size:7px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;color:#637289;white-space:nowrap;padding:12px 9px;border-bottom:1px solid #e8ecf1}td{padding:14px 9px;border-bottom:1px solid #eef1f5;color:#4c5b6f;line-height:1.5}tr:last-child td{border-bottom:0}.focus-row{background:#f2f1fe}.focus-row td:first-child{border-left:2px solid #716de0}.row-link{font:inherit;text-align:left;background:none;border:0;color:#4844ac;font-weight:600;padding:0;line-height:1.5}.row-link:hover{text-decoration:underline}.mono{font-family:'Geist Mono',monospace!important;letter-spacing:-.3px}.badge{font-size:8px;border-radius:4px;padding:4px 6px;white-space:nowrap;display:inline-block}.progress{background:#eeedff;color:#5954b0}.critical{background:#fbeaec;color:#b54150}.high{background:#fff0e5;color:#945221}.phase-line{display:flex;align-items:center;font-size:8px;color:#61756a;gap:10px;margin:0 0 16px}.phase-line i{height:1px;background:#d0d9da;flex:1}.phase-line strong{color:#6259b6}.finding-header{border-top:3px solid #cf5664;padding:16px 16px 0;margin-bottom:14px}.finding-title{display:flex;align-items:center;gap:16px;justify-content:space-between}.finding-title h2{font-size:17px;letter-spacing:-.4px;font-weight:650;line-height:1.25;margin:0}.finding-id{display:flex;gap:18px;color:#68788c;font-size:8px;margin:12px 0 20px}.finding-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:8px;text-transform:uppercase;letter-spacing:.8px;color:#5e6e83;border-radius:6px}.field select{font-size:10px;background:#fff;border:1px solid #dee3ea;border-radius:6px;color:#26354a;padding:9px 6px;width:100%;letter-spacing:0;min-width:0}.field.spotlight{outline:2px solid #7770d9;outline-offset:6px;background:#f3f1ff}.tabs{display:flex;gap:22px;align-items:center;border-top:1px solid #eff1f5}.tabs button,.tabs>span{font-size:10px;color:#68788d;background:none;border:0;padding:14px 0}.tabs button.active{color:#5b51bc;border-bottom:2px solid #6e61cb;font-weight:600}.details-grid{display:grid;grid-template-columns:1fr 160px;gap:12px}.details-grid ol,.assistant-response ol{padding-left:16px;font-size:9px;line-height:1.7;color:#536175}.details-grid h3{margin-top:12px}.ask-button{display:flex;justify-content:space-between;width:100%;background:#eeedfd;color:#5751b4;border:1px solid #d4d0f6;padding:10px;border-radius:6px;margin-top:15px;font-size:11px}.verified-note{font-size:8px;color:#447258;background:#eaf4ee;padding:8px;margin-top:25px;border-radius:4px}.assistant-heading{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf0f5;padding-bottom:12px}.assistant-heading h3{margin:0}.assistant-heading>span:not(.ai-mark){font-size:8px;color:#635caa;background:#f1effb;padding:4px;border-radius:4px}.assistant-heading small{font-size:7px;margin-left:auto}.ai-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#625bd0;color:#fff;font-size:19px}.chat-question{font-size:9px;padding:12px;background:#5b55c8;color:#fff;border-radius:10px 10px 0 10px;width:fit-content;margin:17px 0 16px auto}.assistant-response{border:1px solid #e6e9f0;border-radius:7px;padding:16px;max-width:95%;font-size:10px}.assistant-response h3:not(:first-child){margin-top:17px}.code-button{font-size:10px;color:#544ca9;border:1px solid #d5d0ef;border-radius:6px;padding:10px 12px;background:#f5f3ff;margin-top:12px}.code-result{margin-top:16px;border:1px solid #d6dfea;border-radius:7px;overflow:hidden}.code-result>div{padding:9px;background:#edf1f7;font-size:9px;font-weight:550}.code-result pre{padding:15px;margin:0;background:#132639;color:#c5d9e9;font:9px/1.8 'Geist Mono',monospace;overflow:auto}.code-result p{padding:8px 12px;margin:0;font-size:8px}.integration{max-width:1200px;margin:48px auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:25px}.integration h2{font-size:23px;font-weight:550;letter-spacing:-.6px;margin:0 0 8px}.integration p{font-size:12px;color:#617083;line-height:1.7;margin:0}.integration-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.integration-actions button{font-size:11px;background:#19394f;color:#fff;border:0;border-radius:6px;padding:12px 16px}.integration-actions a{font-size:11px;color:#536779;text-decoration:none}.integration details{width:100%;font-size:11px;border-top:1px solid #e0e6ec;padding-top:18px}.integration summary{cursor:pointer;color:#657789}.integration pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf1f5;border-radius:8px;padding:15px;line-height:1.7;color:#41576b}.integration details p{margin-top:15px}.is-embedded{padding:0;background:transparent;min-height:0}.is-embedded .demo-stage{border-radius:0;box-shadow:none;max-width:none}.demo-stage:fullscreen{max-width:none;width:100%;height:100dvh;border-radius:0;padding:0 30px}.demo-stage:fullscreen .workspace{height:calc(100dvh - 151px)}

@media(max-width:1150px){.workspace{margin-right:242px}.guide{width:230px;right:20px;padding-left:18px}.guide h2{font-size:21px}.sidebar{width:132px}.nav-item{font-size:9px;padding-left:7px}.nav-item.sub{font-size:8px;padding-left:9px}.app-content{padding:16px}.app-logo{width:90px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel>.metric{font-size:29px}.chart-grid{grid-template-columns:1fr}.chart-row{min-height:100px}.ring{width:85px;height:85px;padding:12px}.guide p{font-size:11px}.step-dock button{padding:12px 10px}.details-grid{grid-template-columns:1fr}.finding-fields{gap:9px}.finding-id{flex-wrap:wrap;gap:8px}.finding-title h2{font-size:15px}.tabs{gap:15px}.assistant-heading>span:not(.ai-mark){display:none}.app-header{padding:0 12px;gap:12px}.crumb{font-size:9px}.phase-line{gap:5px;font-size:7px}}
@media(max-width:850px){.hero-copy h1{letter-spacing:-1.7px}.hero-copy>p{font-size:13px}.demo-stage{padding:0 15px}.workspace{margin-right:0;height:460px}.guide{position:relative;top:auto;right:auto;width:auto;padding:22px 8px 18px;display:grid;grid-template-columns:1fr auto;column-gap:30px}.guide-top{grid-column:1/-1;font-size:8px}.guide h2{margin:14px 0 10px;font-size:23px;max-width:550px}.guide p{margin:0;grid-column:1;max-width:570px;font-size:12px}.guide-actions{grid-column:2;grid-row:2/4;align-self:center;min-width:190px;margin:0}.guide-hint{grid-column:1/-1;margin-top:13px}.step-dock{margin-top:5px}.sample-label{display:none}.stage-foot>span:nth-child(2){display:none}.chart-grid{grid-template-columns:1fr 1fr}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-content{padding:18px}.integration-actions{margin-left:0}.demo-stage:fullscreen .workspace{height:calc(100dvh - 320px)}}
@media(max-width:580px){.demo-page{padding:27px 12px}.is-embedded{padding:0}.hero-copy{margin-bottom:25px}.hero-copy h1{font-size:33px;letter-spacing:-1.4px;margin-top:15px}.hero-copy>p{font-size:12px}.demo-stage{padding:0 10px;border-radius:13px}.stage-toolbar{font-size:10px;height:45px}.stage-toolbar button{width:28px;height:27px}.workspace{height:375px;border-radius:8px}.sidebar{display:none}.app-logo{width:55px}.app-logo img{width:56px;height:27px}.app-header{height:43px;padding:0 12px;gap:10px}.app-layout{height:calc(100% - 43px)}.crumb{font-size:8px;gap:6px}.account{width:23px;height:23px;font-size:8px}.app-content{padding:14px}.page-heading{margin-bottom:13px}.page-heading h2{font-size:21px}.quiet-chip{font-size:7px;padding:5px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:9px}.metric-grid .panel{padding:10px}.panel>.metric{font-size:27px;margin:4px 0}.panel small{font-size:8px}.panel>span{font-size:7px}.chart-grid{gap:8px;grid-template-columns:1fr}.chart-row{min-height:95px;justify-content:space-around}.chart-grid .panel{padding:13px}.panel h3{font-size:10px}.ring{height:80px;width:80px}.legend{font-size:8px}.guide{padding:20px 8px 15px;display:block}.guide h2{font-size:23px;margin:13px 0 10px}.guide p{font-size:12px;line-height:1.7}.guide-actions{margin:18px 0 0;min-width:0}.guide .next-step{font-size:12px;padding:11px 14px}.guide-top{font-size:8px}.step-dock{width:100%;justify-content:flex-start;border-radius:8px;margin-top:3px}.step-dock button{padding:11px 12px;font-size:10px}.stage-foot{font-size:7px;gap:8px;min-height:31px}.finding-title h2{font-size:15px}.finding-title{gap:10px}.finding-title .badge{font-size:6px}.finding-header{padding:13px 12px 0}.finding-fields{gap:9px;grid-template-columns:1fr}.field{display:grid;grid-template-columns:72px 1fr;align-items:center;font-size:7px}.field select{padding:6px;font-size:9px}.field.spotlight{outline-offset:3px}.finding-id{font-size:7px;margin:10px 0 15px}.finding-id span:last-child{display:none}.tabs{gap:19px}.tabs button,.tabs>span{font-size:9px;padding:10px 0}.assessment-counts{gap:5px;margin-bottom:12px}.assessment-counts>span{padding:7px;font-size:8px}.phase-line{font-size:6px}.assistant-heading small{font-size:6px}.assistant-response{max-width:100%;padding:12px}.integration{margin:30px 8px 0;gap:18px}.integration h2{font-size:21px}.integration-actions{flex-wrap:wrap;gap:16px}.integration-actions a{font-size:10px}.integration p{font-size:11px}.demo-stage:fullscreen{padding:0 10px}.demo-stage:fullscreen .workspace{height:calc(100dvh - 340px);min-height:230px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:581px) and (max-width:720px){.chart-grid{grid-template-columns:1fr}}

/* Larger, quieter controls for the homepage embed. */
.step-dock button{font-size:12px;padding:12px 15px}.step-dock button span{font-size:10px}.stage-toolbar{font-size:12px}.next-step,.back-step{min-height:44px}.step-dock button{min-height:44px}
@media(max-width:850px){.guide{min-height:232px}.step-dock button{padding:12px;font-size:11px}}
@media(max-width:580px){.guide{min-height:264px}.workspace{height:355px}.stage-toolbar{font-size:10px}.step-dock{margin-top:0}.step-dock button{padding:12px;font-size:11px}}

/* Place the walkthrough guide to the left of the app on wide screens. */
@media(min-width:851px){.workspace{margin-left:277px;margin-right:0}.guide{left:24px;right:auto;padding:22px 18px 22px 2px}}
@media(min-width:851px) and (max-width:1150px){.workspace{margin-left:242px}.guide{left:20px;padding-left:2px;padding-right:18px}}

.guide-actions a.next-step{text-decoration:none}

/* Autoplay progress fills the active step while keeping its label readable. */
.step-dock button,.timed-next{position:relative;isolation:isolate;overflow:hidden}
.step-dock button.current{background:#203d52;color:#edf5fb}
.step-dock button.current span{color:#cadde9}
.step-dock button.current::before,.timed-next::before{content:"";position:absolute;inset:0;background:#639fc25c;transform:scaleX(var(--step-progress,0));transform-origin:left;z-index:-1;pointer-events:none}
.timed-next::before{background:#71acd64a}
.stage-toolbar button:disabled{opacity:.4;cursor:default}

.demo-cue{position:absolute;z-index:8;display:flex;align-items:flex-start;gap:9px;pointer-events:none;max-width:220px;transition:left .65s ease,top .65s ease}
.cue-label{font-size:10px;font-weight:600;line-height:1.5;padding:7px 10px;background:#17364f;color:white;border:1px solid #97c8e7;border-radius:7px;box-shadow:0 4px 16px #071d3450;margin-top:18px}
.hotspot-dot{pointer-events:auto;width:28px;height:28px;flex-shrink:0;border-radius:50%;border:2px solid white;background:#5c57d1;color:white;font-size:19px;line-height:20px;box-shadow:0 0 0 6px #7770d948,0 3px 12px #15263c55;animation:hotspot-pulse 1.8s infinite}
.hotspot-dot:disabled{animation:none;opacity:.65}.demo-cursor{position:relative;width:25px;height:30px;flex-shrink:0}.demo-cursor>span{display:block;font-size:30px;color:#193c59;-webkit-text-stroke:1px white;transform:rotate(-115deg);filter:drop-shadow(0 2px 2px #0005)}.demo-cursor i{position:absolute;width:25px;height:25px;border:2px solid #8179ea;border-radius:50%;left:-5px;top:-3px;animation:hotspot-pulse 1.8s infinite}
.code-loading{display:flex;gap:10px;align-items:center;padding:18px 12px;margin-top:12px;background:#f1efff;border:1px solid #d8d2f4;border-radius:7px;color:#5146ad;font-size:11px}.generation-spinner{width:15px;height:15px;border:2px solid #cbc5ed;border-top-color:#6559cf;border-radius:50%;animation:spin 1s linear infinite}
@keyframes hotspot-pulse{50%{box-shadow:0 0 0 10px #7770d910}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:580px){.cue-label{font-size:9px;max-width:145px}.demo-cue{max-width:180px}}
@media(prefers-reduced-motion:reduce){.demo-cue{transition:none}.hotspot-dot,.demo-cursor i,.generation-spinner{animation:none}}

/* Compact walkthrough without the top toolbar. */
.demo-stage,.demo-stage:fullscreen{padding-top:16px}
@media(min-width:851px){.guide{top:58px}}
@media(max-width:580px){.demo-stage,.demo-stage:fullscreen{padding-top:10px}}

/* In-demo walkthrough: shared by the standalone and WordPress builds. */
.demo-stage .workspace{margin:0;height:560px;position:relative}
.demo-stage .guide{position:absolute;z-index:9;left:50%;top:100px;right:auto;width:340px;max-width:calc(100% - 48px);min-height:0;padding:20px;display:block;border:1px solid #d7dfeb;border-radius:14px;background:#fff;color:#172232;box-shadow:0 8px 28px #11253b26}
.demo-stage .guide-top{font-size:10px;letter-spacing:1px;color:#64748b}
.demo-stage .guide-top i{display:none}
.demo-stage .guide h2{font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:12px 0 10px}
.demo-stage .guide p{font-size:12px;line-height:1.65;color:#5e6d82;margin:0;max-width:none}
.demo-stage .guide p:empty{display:none}
.demo-stage .guide-actions{display:flex;gap:16px;min-width:0;margin:16px 0 0;padding-top:12px;border-top:1px solid #e3e8ef;align-items:center;justify-content:space-between}
.demo-stage .guide .next-step{flex:0 1 auto;min-height:40px;padding:10px 14px;background:#102a3b;color:white;font-size:12px;gap:18px;border-radius:7px}
.demo-stage .guide .next-step:hover{background:#234c65}
.demo-stage .guide .back-step{width:auto;min-height:40px;padding:8px 4px;border:0;background:transparent;color:#263b50;font-size:12px}
.demo-stage .guide-hint{color:#64748b;font-size:10px;margin-top:10px}
.guide[data-side]::after{content:"";position:absolute;width:12px;height:12px;background:white;transform:rotate(45deg);border:solid #d7dfeb;border-width:0}
.guide[data-side="bottom"]::after{bottom:-7px;left:calc(var(--pointer-x) - 6px);border-width:0 1px 1px 0}
.guide[data-side="top"]::after{top:-7px;left:calc(var(--pointer-x) - 6px);border-width:1px 0 0 1px}
.guide[data-side="left"]::after{left:-7px;top:calc(var(--pointer-y) - 6px);border-width:0 0 1px 1px}
.guide[data-side="right"]::after{right:-7px;top:calc(var(--pointer-y) - 6px);border-width:1px 1px 0 0}
.demo-stage .demo-cue{transition:none}
.demo-stage .hotspot-dot{width:24px;height:24px;background:#7770d9;border:4px solid #fff;box-shadow:0 0 0 2px #7770d9,0 0 0 7px #7770d925}
.demo-stage .step-dock{margin-top:20px}
.demo-stage:fullscreen .workspace{height:calc(100dvh - 120px)}
@media(min-width:701px){.demo-stage .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 .demo-stage .workspace{height:calc(390px + var(--guide-height,240px))}
 .demo-stage .app-layout{height:calc(100% - 52px - var(--guide-height,240px) - 24px)}
 .demo-stage .guide{width:calc(100% - 46px);max-width:none;padding:16px;border-radius:10px;box-shadow:0 3px 14px #11253b12}
 .demo-stage .guide h2{font-size:18px;margin:9px 0 8px}
 .demo-stage .guide-actions{margin-top:12px;padding-top:10px}
 .demo-stage .guide::after{display:none}
 .demo-stage .step-dock{margin-top:12px}
 .demo-stage:fullscreen{overflow:auto}
}
@media(max-width:580px){.demo-stage .app-layout{height:calc(100% - 43px - var(--guide-height,240px) - 24px)}}

/* Keep chapter labels intact in the horizontal mobile dock. */
.step-dock button{flex-shrink:0}
/* Marketing tour surround: match the site's midnight palette. */
.demo-stage{background:#0b1121;box-shadow:0 24px 60px #0004}
.demo-stage:before{background:linear-gradient(145deg,#121a2d,#090e1d 85%)}
.demo-stage:after{background-image:none}
.step-dock{background:#10182b;border-color:#35415d}
.step-dock button{color:#b0b9ce}
.step-dock button.current{background:#1c2b50;color:#edf0fa}
.step-dock button.current::before{background:#7897f533}
.demo-stage .guide .next-step{background:linear-gradient(180deg,#316dec,#184dcc);color:#fff}
.demo-stage .guide .next-step:hover{background:#245bd8}
.timed-next::before{background:#ffffff20}
.stage-toolbar,.sample-label,.stage-footer{color:#b0b9ce}
body .tour-context{background:#0b1121;color:#edf0fa}
body .tour-context a{color:#afc1ff}

/* Completion: one focused CTA above the dimmed, inactive tour. */
.completion-backdrop{position:absolute;inset:0;z-index:10;border-radius:inherit;background:rgba(11,17,33,.7);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:completion-fade 200ms ease-out both}
.demo-stage .guide-complete{z-index:11;text-align:center;animation:completion-fade 200ms ease-out both}
.demo-stage .guide-complete h2{margin-top:0}
.demo-stage .guide-complete .guide-actions{justify-content:center}
.demo-stage.is-complete .workspace,.demo-stage.is-complete .step-dock{pointer-events:none}
@keyframes completion-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.completion-backdrop,.demo-stage .guide-complete{animation:none}}

.demo-stage .guide-complete .next-step{justify-content:center;text-align:center;gap:0}

/* Optional WordPress theme overrides; absent variables retain the original design. */
.demo-stage{background:var(--itrust-background,#0b1121)}
.demo-stage:before{background:var(--itrust-background,linear-gradient(145deg,#121a2d,#090e1d 85%))}
.step-dock{background:var(--itrust-nav-background,#10182b)}
.step-dock button{color:var(--itrust-nav-text,#b0b9ce);font-size:var(--itrust-nav-size,12px)}
.step-dock button.current{background:var(--itrust-nav-active,#1c2b50);color:var(--itrust-nav-active-text,#edf0fa)}
.step-dock button.current span{color:inherit}
.demo-stage .guide{background:var(--itrust-popup-background,#fff);color:var(--itrust-popup-heading,#172232);border-color:var(--itrust-popup-border,#d7dfeb);border-radius:var(--itrust-popup-radius,14px);overflow-wrap:anywhere}
.demo-stage .guide h2{font-size:var(--itrust-heading-size,20px);white-space:pre-line}
.demo-stage .guide p{font-size:var(--itrust-body-size,12px);color:var(--itrust-popup-text,#5e6d82);white-space:pre-line}
.demo-stage .guide .guide-actions{border-color:var(--itrust-popup-border,#e3e8ef)}
.guide[data-side]::after{background:var(--itrust-popup-background,#fff);border-color:var(--itrust-popup-border,#d7dfeb)}
.demo-stage .guide .next-step{background:var(--itrust-button-background,linear-gradient(180deg,#316dec,#184dcc));color:var(--itrust-button-text,#fff);border-radius:var(--itrust-button-radius,7px);white-space:normal;overflow-wrap:anywhere}
.demo-stage .guide .next-step:hover{background:var(--itrust-button-hover,#245bd8)}
.demo-stage .guide .back-step{color:var(--itrust-popup-text,#263b50)}
.demo-stage .hotspot-dot{background:var(--itrust-hotspot,#7770d9);box-shadow:0 0 0 2px var(--itrust-hotspot,#7770d9),0 0 0 7px color-mix(in srgb,var(--itrust-hotspot,#7770d9) 15%,transparent)}
@keyframes hotspot-pulse{50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--itrust-hotspot,#7770d9) 6%,transparent)}}
@media(max-width:850px){.step-dock button{font-size:var(--itrust-nav-size,11px)}}
@media(max-width:700px){.demo-stage .guide{border-radius:var(--itrust-popup-radius,10px)}.demo-stage .guide h2{font-size:var(--itrust-heading-size,18px)}}

.demo-stage .guide p{max-height:240px;overflow-y:auto}
