/* Solverio v4 — inline playback and connected, local-only workspace. */
[hidden]{display:none!important}
.walkthrough{padding-top:92px;padding-bottom:20px}
.walkthrough .section-heading h2{font-size:clamp(36px,3.7vw,56px);max-width:900px}
.walkthrough .section-aside{max-width:205px}
.demo-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}
.demo-tabs button{display:flex;align-items:center;gap:10px;padding:13px 18px;border:1px solid var(--line);border-radius:11px;background:transparent;font-size:17px;color:var(--muted);transition:background .2s,border-color .2s}
.demo-tabs button[aria-selected=true]{background:#20271b;border-color:#809a5e;color:var(--text)}
.demo-tabs button[aria-selected=true] .icon{color:var(--green)}
.demo-tabs button small{font-size:13px;color:var(--muted);margin-left:8px}
.demo-tabs .icon{width:22px;height:22px}
.video-panel-inline{border:1px solid #3b4737;background:#10150f;border-radius:20px;overflow:hidden}
.video-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 26px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,#192116,#121711)}
.video-label{font-size:18px;line-height:1.5}
.playback-status{font-size:13px;display:flex;align-items:center;gap:8px;white-space:nowrap;color:#b5c1ad}
.playback-status i{width:6px;height:6px;border-radius:50%;background:#8b9c7f}
.playback-status.is-playing i{background:var(--green);box-shadow:0 0 12px #b8ff6550}
.video-stage{background:#080b09;width:100%;max-width:1120px;margin-inline:auto}
.video-stage video{width:100%;height:auto;aspect-ratio:16/9;border-radius:0;object-fit:contain}
.video-stage video::cue{font-family:Arial,Helvetica,sans-serif;background:#080b09e8;color:white;font-size:20px}
.video-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 26px;border-top:1px solid var(--line);min-height:70px}
.demo-steps{font-size:16px;color:#c6d3bd}
.player-toggle{display:flex;align-items:center;gap:9px;flex-shrink:0;border:1px solid #566447;border-radius:8px;background:#1b2515;padding:9px 15px;font-size:15px}
.player-toggle:hover{border-color:var(--green)}
.player-toggle .icon{width:17px;height:17px}
.pause-symbol{font-size:19px;line-height:1;width:17px;text-align:center}
.demo-foot{display:flex;justify-content:space-between;align-items:start;gap:26px;margin-top:18px;color:var(--muted);font-size:14px}
.demo-foot>p{max-width:420px;text-align:right}
.demo-foot .transcript{max-width:650px;font-size:15px}
.demo-foot details p{font-size:16px;line-height:1.7}
.examples{padding-top:84px}
.case-tabs{flex-wrap:wrap;gap:10px}
.case-tabs button{font-size:17px}
.case-panel{grid-template-columns:.7fr 1.4fr;align-items:start;min-height:510px;padding:34px;gap:34px}
.case-story{padding-top:10px}
.case-story h3{font-size:36px}
.case-story>p{font-size:18px}
.reset-workspace{font-size:15px;line-height:1.6;margin-top:36px;color:var(--muted);display:flex;gap:8px;align-items:center;text-align:left}
.reset-workspace>span:first-child{font-size:23px;line-height:1}
.workspace-feedback:empty{display:none}
.workspace-feedback{font-size:15px;color:var(--green);margin-top:15px}
.approval-note{font-size:15px;max-width:840px}
.app-mockup{min-width:0;width:100%;border-radius:15px;overflow:hidden}
.app-top .app-title{font-size:16px}
.app-body{padding:24px}
.app-headline>strong{font-size:20px}
.badge{font-size:12px;letter-spacing:.02em;white-space:normal;text-align:center}
.mail-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.mail-avatar{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;background:#35243a;color:#ffb2ed;font-size:19px;font-weight:600}
.mail-top>div{min-width:0;flex:1}
.mail-top strong{font-size:16px;line-height:1.4;display:block;font-weight:500}
.mail-top small{display:block;font-size:13px;line-height:1.7;color:var(--muted)}
.mail-top .badge{align-self:start;font-size:12px}
.mail-subject{font-size:22px;letter-spacing:-.025em;line-height:1.4;margin:0 0 15px;font-weight:500}
.mail-body{font-size:17px;line-height:1.75;color:#d2dacd;max-width:600px}
.attachment{display:inline-flex;align-items:center;gap:9px;border:1px solid #3e463a;background:#1a2018;border-radius:7px;margin-top:21px;font-size:14px;padding:6px 10px;color:#bdcbb4}
.attachment .icon{width:17px;height:17px;color:var(--pink)}
.workspace-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}
.local-notice{font-size:14px;line-height:1.5;color:var(--muted);flex:1;min-width:140px}
.workspace-button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;background:var(--green);color:#132305;border:1px solid var(--green);border-radius:9px;padding:12px 15px;font-size:15px;line-height:1.4;font-weight:600;text-align:left;max-width:100%}
.workspace-button:hover{background:#cdff92;border-color:#cdff92}
.workspace-button .icon{width:18px;height:18px}
.reply-draft{padding:18px;background:#19201b;border:1px solid #46533d;border-radius:11px;margin-top:23px}
.reply-draft>span{font-size:14px;display:flex;align-items:center;gap:7px;color:var(--pink);margin-bottom:12px}
.reply-draft .icon{width:18px;height:18px}
.reply-draft p{font-size:16px;line-height:1.7;color:#d4dfcd}
.data-item small{font-size:14px}
.data-item strong{font-size:17px}
.crm-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
.crm-column{background:#11170f;border:1px solid #333e2b;border-radius:10px;padding:13px 10px;min-width:0;min-height:210px}
.crm-column.current{border-color:#5d763f;background:#1b2416}
.column-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:40px;margin-bottom:12px}
.column-head strong{font-size:14px;font-weight:500;line-height:1.3}
.column-head small{font-size:12px;margin-left:auto;color:var(--muted)}
.stage-dot{width:6px;height:6px;border-radius:50%;background:var(--pink)}
.stage-dot.stage-1{background:#b9a4ff}.stage-dot.stage-2{background:var(--green)}
.lead-card{padding:13px 10px;background:#222d1b;border:1px solid #5f7548;border-radius:8px}
.lead-name{display:block;font-size:12px;color:var(--green);margin-bottom:7px}
.lead-card strong{font-size:16px;line-height:1.4;display:block;font-weight:500;overflow-wrap:break-word}
.lead-card b{display:block;font-size:17px;margin-top:16px;color:#edf7e6;font-weight:500}
.lead-card small{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.empty-slot{display:grid;place-items:center;height:119px;color:#75816a;border:1px dashed #33412a;border-radius:7px}
.estimate-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 105px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #303c29}
.estimate-head{padding-top:0;font-size:13px;color:#a9b49f}
.estimate-head>span:last-child,.estimate-row>strong{text-align:right}
.estimate-row>strong{font-size:17px;font-weight:500}
.estimate-name{font-size:17px;line-height:1.5}
.estimate-name small{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:4px}
.estimate-row input{width:70px;padding:8px 5px 8px 9px;min-height:42px;border:1px solid #58664a;background:#10160c;color:#f0f9e8;border-radius:7px;font-size:17px;text-align:center}
.estimate-row input:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.estimate-row input:invalid{border-color:#ff5ada}
.estimate-row input:disabled{opacity:.7}
.estimate-total{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;font-size:18px}
.estimate-total>span>small{font-size:13px;display:block;color:var(--muted);margin-top:3px}
.estimate-total>strong{font-size:30px;letter-spacing:-.03em;color:var(--green);font-weight:500}
.order-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 24px}
.order-meta small{display:block;color:var(--muted);font-size:14px;margin-bottom:5px}
.order-meta strong{display:block;font-size:18px;font-weight:500}
.order-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;color:#c2cfb7}
.order-progress strong{font-size:17px;color:var(--green);font-weight:500}
.progress-track{height:7px;background:#283222;border-radius:10px;overflow:hidden;margin:11px 0 20px}
.progress-track>span{display:block;height:100%;border-radius:10px;background:var(--green);transition:width .4s ease}
.order-checklist{display:grid;gap:10px}
.task-row{display:flex;gap:11px;align-items:center;border:1px solid #34412b;background:#151e10;border-radius:8px;padding:12px;font-size:16px;line-height:1.5;cursor:pointer}
.task-row input{accent-color:var(--green);width:19px;height:19px;flex-shrink:0;margin:0}
.task-row input:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
.task-row .icon{color:var(--green);width:18px;height:18px;margin-left:auto}
.task-row.done{border-color:#50683a}.task-row.done>span{color:#bdd1ac}
.order-empty{border:1px dashed #46563a;border-radius:12px;padding:28px 24px;margin-top:22px;display:grid;justify-items:start;gap:19px}
.order-empty>.icon{width:35px;height:35px;color:var(--pink)}
.order-empty p{font-size:17px;color:#becdb4;line-height:1.6}
@media(max-width:1180px){.case-panel{grid-template-columns:.6fr 1.4fr;padding:28px;gap:26px}.case-story h3{font-size:32px}.mini-flow{flex-wrap:wrap;row-gap:8px}.crm-column{padding:12px 8px}.lead-card{padding:11px 8px}.lead-card b{font-size:15px}.app-body{padding:21px}.mail-top{flex-wrap:wrap}.mail-top .badge{margin-left:52px}.video-bar{flex-wrap:wrap;gap:9px}.walkthrough .section-heading h2{max-width:800px}}
@media(max-width:940px){.case-panel{grid-template-columns:1fr;gap:25px;padding:30px}.case-story h3 br{display:none}.case-story>p br{display:none}.reset-workspace{margin-top:18px}.case-story{padding:0}.app-mockup{width:100%}.crm-board{gap:14px}.crm-column{min-height:220px;padding:16px}.lead-card{padding:16px 12px}.lead-card strong,.lead-card b{font-size:18px}.column-head strong{font-size:16px}.mail-top .badge{margin-left:0}.app-body{padding:26px}.case-tabs button{padding:12px 15px}.demo-foot{flex-direction:column;gap:12px}.demo-foot>p{text-align:left}.video-label{font-size:17px}.walkthrough{padding-top:70px}}
@media(max-width:700px){
 .walkthrough{padding-top:60px;padding-bottom:0}
 .walkthrough .section-heading h2{font-size:38px;line-height:1.12}
 .walkthrough .section-aside{max-width:none;font-size:15px}
 .demo-tabs{gap:7px;margin-bottom:16px;display:grid;grid-template-columns:1fr 1fr 1.35fr}
 .demo-tabs button{padding:11px 7px;gap:6px;font-size:14px;line-height:1.35;justify-content:center;text-align:center;flex-direction:column}
 .demo-tabs button small{display:none}.demo-tabs button .icon{width:20px;height:20px}
 .video-panel-inline{border-radius:15px}
 .video-bar{padding:15px 16px;gap:8px}
 .video-label{font-size:17px}
 .playback-status{font-size:12px;white-space:normal}
 .video-toolbar{flex-wrap:wrap;gap:13px;padding:15px 16px;justify-content:space-between}
 .demo-steps{font-size:14px;line-height:1.7;flex:1;min-width:160px}
 .player-toggle{font-size:14px;padding:8px 11px}
 .video-stage video::cue{font-size:14px}
 .demo-foot{margin-top:16px;font-size:13px}
 .demo-foot .transcript{font-size:14px}
 .examples{padding-top:65px}
 .case-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .case-tabs button{font-size:16px;justify-content:center;padding:13px 9px;border:1px solid #2e3a28}
 .case-tabs button .icon{width:19px;height:19px;display:block}
 .case-panel{padding:23px 17px;gap:23px;min-height:0}
 .case-story h3{font-size:32px}.case-story h3 br{display:inline}
 .case-story>p{font-size:17px}.case-story>p br{display:none}
 .mini-flow{font-size:14px;gap:8px}.reset-workspace{font-size:14px}
 .app-body{padding:19px 15px}.app-top{padding:13px 15px}.app-top .app-title{font-size:15px}
 .app-headline>strong{font-size:19px}.app-headline{gap:9px}
 .mail-top{gap:10px;margin-bottom:17px}.mail-top .badge{margin-left:50px}
 .mail-top strong{font-size:15px}.mail-top small{font-size:13px}
 .mail-subject{font-size:21px}.mail-body{font-size:16px;line-height:1.7}
 .attachment{font-size:13px}.workspace-footer{margin-top:21px;padding-top:17px;gap:15px}
 .local-notice{font-size:14px}.workspace-button{font-size:15px;width:100%;padding:12px 13px}
 .reply-draft{padding:16px 13px}.reply-draft p{font-size:16px}.reply-draft>span{font-size:14px}
 .data-grid{grid-template-columns:1fr;gap:15px}.data-item strong{font-size:17px}
 .crm-board{grid-template-columns:1fr;gap:10px}.crm-column{padding:14px;min-height:0}
 .column-head{min-height:0;margin-bottom:12px}.column-head strong{font-size:15px}
 .crm-column:not(.current) .column-head{margin-bottom:0}.crm-column:not(.current) .empty-slot{display:none}
 .lead-card{padding:15px}.lead-card strong{font-size:18px}.lead-card b{margin-top:10px;font-size:20px}.lead-card small,.lead-name{font-size:13px}
 .estimate-row{grid-template-columns:minmax(0,1fr) 52px 80px;gap:7px;padding-block:13px}
 .estimate-row input{width:52px;font-size:16px;padding:8px 3px;min-height:43px}
 .estimate-head{font-size:12px;padding-top:0}.estimate-name{font-size:16px;line-height:1.5}.estimate-name small{font-size:12px}
 .estimate-row>strong{font-size:15px;white-space:nowrap}.estimate-total{gap:10px}.estimate-total>span{font-size:16px}.estimate-total>strong{font-size:25px}
 .estimate-total>span>small{font-size:12px}.order-meta{gap:13px}.order-meta strong{font-size:18px}
 .order-meta small{font-size:13px}.order-progress{font-size:14px}.task-row{font-size:16px;padding:12px 10px;gap:9px}
 .order-empty{padding:23px 16px}.order-empty p{font-size:16px}
 .workspace-feedback{font-size:14px}.approval-note{font-size:14px}
}
@media(max-width:370px){.walkthrough .section-heading h2{font-size:34px}.case-panel{padding:21px 12px}.app-body{padding:17px 12px}.estimate-row{grid-template-columns:minmax(0,1fr) 45px 73px;gap:5px}.estimate-row input{width:45px}.estimate-name{font-size:15px}.estimate-row>strong{font-size:14px}.video-label{font-size:16px}.demo-tabs button{font-size:13px}}
/* Preserve real line breaks; never run adjacent sentences together. */
.case-story h3 br,.case-story>p br{display:revert}

/* v5 — the complete player, not just its video, fits typical viewports. */
.walkthrough{padding-top:76px}
.walkthrough .section-heading{max-width:960px;margin:0 auto 18px;display:block}
.walkthrough .section-heading .eyebrow{margin-bottom:8px;font-size:12px}
.walkthrough .section-heading h2{font-size:clamp(30px,3.2vw,43px);line-height:1.13;max-width:none}
.demo-tabs{max-width:960px;margin:0 auto 16px;justify-content:center;flex-wrap:nowrap}
.demo-tabs button{padding:10px 17px;font-size:16px;gap:9px;min-height:46px}
.demo-tabs button small{font-size:13px}
.video-panel-inline{max-width:960px;width:100%;margin-inline:auto;border-radius:17px}
.video-bar{padding:12px 18px;min-height:49px;gap:14px;flex-wrap:nowrap}
.video-label{font-size:16px;line-height:1.45;min-width:0}
.playback-status{font-size:12px;white-space:nowrap;flex-shrink:0}
.video-stage{max-width:none;width:100%}
.video-stage video{width:100%;height:auto;display:block;aspect-ratio:16/9}
.video-toolbar{min-height:57px;padding:9px 15px;gap:12px;flex-wrap:nowrap}
.demo-foot{max-width:960px;margin:14px auto 0;font-size:13px;gap:18px}
.demo-foot .transcript{font-size:14px}
.player-toggle{font-size:14px;padding:8px 11px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.chapter-buttons{display:flex;gap:6px;min-width:0}
.chapter-button{display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:7px;padding:8px 10px;font-size:15px;line-height:1.35;white-space:nowrap;background:transparent;color:#bbc7b5}
.chapter-button i{display:block;width:6px;height:6px;border-radius:50%;background:var(--pink);flex-shrink:0}
.chapter-button[data-chapter="6"] i{background:var(--green)}
.chapter-button[aria-pressed="true"]{background:#30202d;border-color:#754b69;color:#ffc7f0}
.chapter-button[data-chapter="6"][aria-pressed="true"]{background:#24321b;border-color:#668645;color:var(--green)}
.chapter-button:hover{border-color:#717c66}
@media(max-width:940px){.walkthrough{padding-top:60px}.video-bar{flex-wrap:wrap;gap:4px}.playback-status{font-size:12px}.demo-foot{flex-direction:row;gap:16px}.demo-foot>p{max-width:270px;text-align:right}}
@media(max-width:700px){
 .walkthrough{padding-top:50px}.walkthrough .section-heading h2{font-size:32px;line-height:1.13}.walkthrough .section-heading .eyebrow{font-size:11px}
 .demo-tabs{gap:7px;grid-template-columns:1fr 1fr 1.25fr}.demo-tabs button{font-size:14px;padding:10px 7px;gap:5px;min-height:64px}
 .video-bar{padding:11px 13px;gap:4px;min-height:0}.video-label{font-size:16px;line-height:1.4}.playback-status{font-size:11px;line-height:1.5}
 .video-toolbar{padding:9px 10px;gap:6px;min-height:56px}.chapter-buttons{gap:1px}.chapter-button{font-size:13px;padding:8px 7px;gap:5px}
 .player-toggle{font-size:13px;padding:8px;gap:6px}.player-toggle .icon,.pause-symbol{width:14px;height:14px}
 .demo-foot{flex-direction:column;gap:7px}.demo-foot>p{text-align:left;max-width:none;font-size:12px}.demo-foot .transcript{font-size:14px}
}
@media(max-width:350px){.chapter-button{font-size:12px;padding:7px 5px}.player-toggle{padding:7px 6px;font-size:12px}.video-toolbar{padding-inline:7px}.chapter-button i{width:5px;height:5px}}
@media(max-height:650px) and (max-width:700px){
 .walkthrough .section-heading .eyebrow{display:none}
 .walkthrough .section-heading h2{font-size:30px}
 .demo-tabs button .icon{display:none}
 .demo-tabs button{min-height:42px;padding:9px 6px}
 .playback-status{display:none}
 .video-label{font-size:15px}
}

/* Desktop cinema layout: give the footage more space, not more empty borders.
   Mobile / tablet retain their existing stacked layout. */
@media (min-width:1024px){
 .demo-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
 .walkthrough .section-heading{max-width:none;margin:0;flex:1;min-width:0}
 .walkthrough .section-heading .eyebrow{margin-bottom:8px}
 .walkthrough .section-heading h2{font-size:clamp(29px,2.45vw,36px);line-height:1.13;max-width:none}
 .demo-tabs{max-width:none;margin:0;gap:8px;flex-shrink:0;justify-content:flex-end}
 .demo-tabs button{padding:10px 15px;gap:8px;font-size:16px}
 .demo-tabs button small{margin-left:3px}
 .video-panel-inline{max-width:1280px;border-radius:18px}
 /* The film already has a title; remove its duplicate desktop title bar. */
 .video-bar{display:none}
 .video-stage{max-width:none}
 .video-stage video{width:100%;height:auto;object-fit:contain}
 .video-toolbar{min-height:54px;padding:8px 16px}
 .demo-foot{max-width:var(--demo-player-width,1280px)}
}
