.service-demo { background:#f0f2ff; padding-block:clamp(38px,7vw,88px); scroll-margin-top:1rem; }
.service-demo .demo-heading { display:grid; gap:10px; max-width:72ch; margin-bottom:clamp(24px,5vw,40px); }
.service-demo .demo-heading h2 { font:800 clamp(1.8rem,4.8vw,3.65rem)/1.08 Sora,Manrope,sans-serif; letter-spacing:-.055em; }
.service-demo .demo-heading .demo-label { font-size:.8rem; font-weight:850; text-transform:uppercase; letter-spacing:.07em; color:#334bc4; }
.service-demo .demo-layout { display:grid; grid-template-columns:minmax(222px,.65fr) minmax(0,1.5fr); align-items:start; gap:clamp(12px,3vw,25px); }
.service-demo .demo-inputs { display:grid; gap:12px; padding:clamp(16px,2.8vw,25px); border:1px solid #d4dbf5; border-radius:17px; background:#fbfbff; }
.service-demo .demo-inputs:empty { display:none; }
.service-demo .demo-output { display:grid; gap:11px; min-width:0; background:#fff4e9; border:1px solid #efd7c4; border-radius:17px; padding:clamp(13px,2.8vw,27px); }
.service-demo .demo-output:empty { display:none; }
.service-demo .demo-field { display:grid; gap:5px; font-weight:800; font-size:.92rem; color:#242e5a; }
.service-demo .demo-field :is(select,input) { width:100%; min-width:0; min-height:44px; padding:8px 9px; font:inherit; font-weight:600; color:#19234c; background:#fff; border:1px solid #aeb9db; border-radius:9px; }
.service-demo .demo-toggle { display:flex; align-items:center; gap:8px; min-height:32px; font-weight:700; }
.service-demo .demo-toggle input { accent-color:#3148d4; }
.service-demo .demo-button { appearance:none; width:fit-content; min-height:40px; padding:.45em .75em; font:inherit; font-size:.88rem; font-weight:800; text-align:left; border:1px solid #bcc7ed; border-radius:9px; color:#253bba; background:#e9eeff; }
.service-demo .demo-button:hover,.service-demo .demo-button[aria-pressed=true] { background:#283ec3; color:#fff; border-color:#283ec3; }
.service-demo .demo-panel { display:grid; grid-template-columns:minmax(0,1fr); justify-items:start; overflow:visible; gap:6px; padding:13px 17px; border:1px solid #e1e6fb; border-radius:11px; background:#fff; color:#202b57; box-shadow:none; margin:0; min-height:auto; }
.service-demo details.demo-panel { display:block; }
.service-demo .demo-panel h3 { font:800 clamp(1.12rem,2.6vw,1.75rem)/1.16 Sora,Manrope,sans-serif; letter-spacing:-.03em; }
.service-demo .demo-panel p { font-size:.93rem; color:#414e6f; }
.service-demo .demo-panel summary { font-weight:800; cursor:pointer; }
.service-demo .demo-panel summary:focus-visible { outline:2px solid #394bd6; outline-offset:4px; }
.service-demo details.demo-panel p { margin-top:6px; }
.service-demo .demo-panel .demo-meta { font-size:.78rem; font-weight:800; color:#5363a1; }
.service-demo .demo-count { margin:0 0 4px; color:#27356e; font-weight:800; }
.service-demo .demo-stack { display:grid; gap:.55em; }
.service-demo .demo-link { color:#3142bf; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.service-demo .demo-list { padding-left:1.3em; margin:.35em 0; }
.service-demo .demo-timeline { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; }
.service-demo .demo-timeline li { border:1px solid #dde4f7; border-radius:7px; padding:5px 9px; font-size:.82rem; color:#455079; }
.service-demo .demo-timeline li[data-state=complete] { background:#e5f5e9; color:#164735; border-color:#c6e3d0; }
.service-demo .demo-timeline li[aria-current] { background:#293fc9; color:#fff; border-color:#293fc9; font-weight:800; }
.service-demo .demo-route { display:flex; gap:6px; flex-wrap:wrap; }
.service-demo .demo-bars { width:100%; display:grid; gap:12px; list-style:none; padding:3px 0 8px; }
.service-demo .demo-bars li { display:grid; grid-template-columns:1fr auto; gap:5px 9px; font-size:.9rem; }
.service-demo .demo-bar { grid-column:1/-1; background:#edf0fb; height:10px; border-radius:20px; overflow:hidden; }
.service-demo .demo-bar::before { content:""; display:block; height:100%; width:var(--fill,0%); background:#4058dd; border-radius:20px; transition:width .24s ease; }
.service-demo .demo-bars li:nth-child(2) .demo-bar::before { background:#23775e; }
.service-demo .demo-bars li:nth-child(3) .demo-bar::before { background:#c65942; }
.service-hero .service-demo-link { margin:0 0 0 .9rem; font-weight:850; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:620px) { .service-demo .demo-layout { grid-template-columns:1fr; } .service-hero .service-demo-link { display:inline-block; } }
@media(prefers-reduced-motion:reduce) { .service-demo .demo-bar::before { transition:none; } }
