/* Local illustrative scenes; shared Copito tokens keep both website themes coherent. */
#vision-demo { margin-top:28px; }
.va-sector-tabs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-bottom:24px; }
.va-sector { display:flex; align-items:center; justify-content:center; gap:8px; min-height:52px; min-width:0; padding:12px 9px; color:var(--text-secondary); background:var(--surface-soft); border:1px solid var(--border); border-radius:12px; font:inherit; font-size:.8rem; line-height:1.3; cursor:pointer; }
.va-sector:hover { color:var(--text); border-color:var(--border-strong); }
.va-sector[aria-pressed="true"] { color:var(--text); background:var(--surface-raised); border-color:var(--border-strong); box-shadow:inset 0 -3px var(--accent); font-weight:650; }
.va-sector svg,.va-scene-head svg,.va-actions svg,.va-benefit > svg { width:20px; height:20px; flex-shrink:0; }
.va-example { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:30px; align-items:center; }
.va-visual { align-self:start; min-width:0; margin:0; overflow:hidden; border:1px solid #3d5a65; border-radius:17px; color:#e6f3f3; background:#10212b; box-shadow:0 10px 32px #00000012; }
.va-scene-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 18px; border-bottom:1px solid #304954; background:#142a35; font-size:11px; line-height:1.4; }
.va-scene-head > span:first-child { display:flex; align-items:center; gap:8px; color:#d7ebe9; }
.va-scene-head > span:last-child { color:#a6c3cc; }
.va-scene-head svg { width:17px; height:17px; color:#84d4c7; }
.va-scene { overflow:hidden; }
.va-scene > svg { display:block; width:100%; height:auto; aspect-ratio:12 / 7; }
.va-visual figcaption { display:flex; align-items:center; gap:9px; min-height:46px; padding:12px 18px; color:#bed5da; background:#142a35; border-top:1px solid #304954; font-size:11px; line-height:1.5; }
.va-legend-mark { flex-shrink:0; width:10px; height:10px; border:1px solid #7dd4c6; border-radius:3px; background:#214945; }
.va-copy { min-width:0; }
.va-simulation-label { margin:0 0 11px; color:var(--text-secondary); font-size:.7rem; line-height:1.5; letter-spacing:.025em; }
.va-copy h4 { margin:0 0 13px; color:var(--text); font-size:clamp(1.32rem,2.1vw,1.7rem); line-height:1.24; letter-spacing:-.025em; font-weight:650; text-wrap:balance; }
.va-description { margin:0; color:var(--text-secondary); font-size:.875rem; line-height:1.75; }
.va-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:22px 0; }
.va-metric { min-width:0; padding:15px 14px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.va-metric strong { display:block; color:var(--text); font-size:clamp(1.3rem,2.3vw,1.75rem); font-weight:650; line-height:1.2; letter-spacing:-.035em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.va-metric span { display:block; margin-top:7px; color:var(--text-secondary); font-size:.7rem; line-height:1.45; }
.va-metric-changed { border-color:var(--accent-border); background:var(--accent-soft); }
.va-metric-changed strong { color:var(--accent-text); }
.va-benefit { display:flex; gap:10px; margin-bottom:22px; align-items:flex-start; }
.va-benefit > svg { width:17px; height:17px; margin-top:4px; color:var(--accent-text); }
.va-benefit p { margin:0; font-size:.82rem; line-height:1.65; color:var(--text-secondary); }
.va-actions { display:flex; flex-wrap:wrap; gap:10px; }
.va-actions button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:11px 17px; border:1px solid var(--border-strong); border-radius:12px; font:inherit; font-size:.8rem; line-height:1.3; font-weight:650; text-decoration:none; cursor:pointer; transition:background-color 160ms ease,border-color 160ms ease; }
.va-actions .va-run { color:var(--on-accent); background:var(--accent); border-color:var(--accent); box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 18%,transparent); }
.va-actions .va-run:hover:not(:disabled) { background:var(--accent-hover); border-color:var(--accent-hover); }
.va-actions .va-stop { color:var(--text); background:var(--surface-soft); }
.va-actions .va-stop:hover { background:var(--surface-raised); }
.va-actions button:disabled { color:var(--disabled-text); background:var(--disabled); border-color:var(--disabled); box-shadow:none; cursor:default; }
.va-actions svg { width:18px; height:18px; }
.va-sector:focus-visible,.va-actions button:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.va-result { min-height:3.2em; margin:13px 0 0; color:var(--text-secondary); font-size:.72rem; line-height:1.6; }
.va-result-tag,.va-result-outline { opacity:0; }
.va-scene-running .va-moving { animation:va-arrive 6s cubic-bezier(.4,0,.2,1) forwards; }
.va-scene-complete .va-moving { transform:translate(var(--va-dx),var(--va-dy)); }
.va-scene-complete .va-result-tag,.va-scene-complete .va-result-outline { opacity:1; }
@keyframes va-arrive { 0%,12% { transform:translate(0,0); } 88%,100% { transform:translate(var(--va-dx),var(--va-dy)); } }
@media (max-width:1050px) {
  .va-sector-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .va-example { gap:22px; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); align-items:start; }
}
@media (max-width:760px) {
  .va-example { grid-template-columns:minmax(0,1fr); gap:22px; }
  .va-copy h4 { max-width:30ch; }
  .va-metrics { margin:18px 0; }
  .va-metric strong { font-size:1.6rem; }
  .va-result { min-height:0; }
}
@media (max-width:430px) {
  .va-sector-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-bottom:18px; }
  .va-sector { justify-content:flex-start; min-height:48px; padding:11px 10px; font-size:.72rem; }
  .va-sector svg { width:18px; height:18px; }
  .va-scene-head { gap:8px; padding:12px; font-size:10px; }
  .va-visual figcaption { padding:11px 12px; }
  .va-copy h4 { font-size:1.32rem; }
  .va-metrics { gap:8px; }
  .va-metric { padding:13px 11px; }
  .va-metric strong { font-size:1.35rem; }
  .va-simulation-label { font-size:.67rem; }
}
@media (prefers-reduced-motion:reduce) { .va-moving,.va-actions button { animation:none !important; transition:none !important; } }
@media (forced-colors:active) {
  .va-sector[aria-pressed="true"],.va-metric-changed { outline:2px solid Highlight; }
  .va-actions button { border:1px solid ButtonText; }
  .va-visual { forced-color-adjust:none; }
}
