/* Vision system design walk-through and OEM software pages */
.vs-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 6px; }
.vs-jump a { padding: 9px 16px; border: 1px solid var(--sw-line, rgba(140, 170, 220, .35)); border-radius: 999px; font: 600 14px/1 var(--f-head, inherit); letter-spacing: .2px; text-decoration: none; color: inherit; transition: background-color .2s, border-color .2s, color .2s; }
.vs-jump a:hover { background: #1c63d8; border-color: #1c63d8; color: #fff; }

.vs-steps { position: relative; display: grid; gap: 22px; margin-top: 44px; }
.vs-steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(#1c63d8, rgba(43, 179, 255, .25)); }
.vs-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; scroll-margin-top: 24px; }
.vs-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1c63d8; color: #fff; font: 700 26px/1 var(--f-head, inherit); box-shadow: 0 0 0 6px rgba(28, 99, 216, .16); }
.vs-body { padding: 26px 30px 28px; border: 1px solid var(--sw-line, rgba(140, 170, 220, .25)); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.vs-body h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); }
.vs-body h2::after { display: none; }
.vs-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.6; max-width: 760px; }
.vs-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; max-width: 820px; }
.vs-points li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; }
.vs-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #2bb3ff; }
.vs-cta-line { margin: 24px 0 0; }

.vs-partners { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--sw-line, rgba(140, 170, 220, .35)); }
.vs-partners > p { margin: 0 0 12px; font: 700 11.5px/1 var(--f-head, inherit); letter-spacing: 1.8px; text-transform: uppercase; opacity: .7; }
.vs-partners ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vs-partners li { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 230px; min-height: 84px; padding: 16px 22px; border-radius: 12px; background: #fff; border: 1px solid #d5deee; box-shadow: 0 6px 18px rgba(4, 68, 156, .08); }
.vs-partners li b { font: 700 20px/1.15 var(--f-head, inherit); letter-spacing: .2px; color: #0e1821; }
.vs-partners li span { font-size: 13px; color: #5a6677; }
.vs-partners li img { display: block; max-width: 180px; max-height: 44px; object-fit: contain; }

.vs-shot img { border-radius: 12px; box-shadow: 0 20px 50px rgba(4, 20, 60, .28); }

html[data-theme="lite"] .vs-body { background: rgba(255, 255, 255, .78); border-color: rgba(22, 60, 120, .16); }
html[data-theme="lite"] .vs-jump a { background: rgba(255, 255, 255, .7); border-color: rgba(14, 24, 33, .22); color: #0e1821; }
html[data-theme="lite"] .vs-jump a:hover { background: #1c63d8; border-color: #1c63d8; color: #fff; }

@media (max-width: 700px) {
  .vs-steps::before { display: none; }
  .vs-step { grid-template-columns: 1fr; gap: 12px; }
  .vs-num { width: 48px; height: 48px; font-size: 20px; }
  .vs-body { padding: 20px 18px 22px; }
  .vs-partners li { min-width: 0; flex: 1 1 100%; }
}

/* ---------- Vision AI chooser ---------- */
.vs-choose { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; }
.vs-choice { display: flex; flex-direction: column; border: 1px solid var(--sw-line, rgba(140, 170, 220, .25)); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .04); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.vs-choice:hover { transform: translateY(-6px); border-color: #1c63d8; box-shadow: 0 24px 50px rgba(4, 40, 120, .22); }
.vs-choice-shot { aspect-ratio: 16 / 9; overflow: hidden; background: #02030f; }
.vs-choice-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .5s; }
.vs-choice:hover .vs-choice-shot img { transform: scale(1.04); }
.vs-choice-body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.vs-choice-tag { margin: 0 0 8px; font: 700 11.5px/1 var(--f-head, inherit); letter-spacing: 1.8px; text-transform: uppercase; color: #2bb3ff; }
.vs-choice-body h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); }
.vs-choice-body h2::after { display: none; }
.vs-choice-body > p:not(.vs-choice-tag) { margin: 12px 0 0; font-size: 16px; line-height: 1.6; }
.vs-choice-body ul { flex: 1; margin: 16px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.vs-choice-body li { position: relative; padding-left: 22px; font-size: 15px; }
.vs-choice-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #2bb3ff; }
.vs-choice-body .sw-btn { align-self: flex-start; }

/* ---------- OEM page ---------- */
.vs-focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.vs-focus-card { padding: 26px 26px 28px; border-radius: 16px; border: 1px solid var(--sw-line, rgba(140, 170, 220, .25)); border-top: 3px solid #1c63d8; background: rgba(255, 255, 255, .04); }
.vs-focus-card h3 { margin: 0 0 10px; font-size: 21px; }
.vs-focus-card p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.vs-intro { max-width: 760px; margin: 18px 0 0; font-size: 17px; line-height: 1.6; }
.vs-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.vs-partner-grid .vs-body h3 { margin: 0 0 8px; font-size: 22px; }
.vs-partner-grid .vs-body > p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.vs-partner-grid .vs-partners li { min-width: 0; flex: 1 1 100%; min-height: 72px; }
html[data-theme="lite"] .vs-choice, html[data-theme="lite"] .vs-focus-card { background: rgba(255, 255, 255, .8); border-color: rgba(22, 60, 120, .16); }
html[data-theme="lite"] .vs-focus-card { border-top-color: #1c63d8; }
html[data-theme="lite"] .vs-choice-tag { color: #1b6fb5; }
@media (max-width: 900px) {
  .vs-choose, .vs-focus, .vs-partner-grid { grid-template-columns: 1fr; }
}

/* White label: a grey placeholder where the machine builder's logo goes */
.vs-white-label { position: relative; }
.vs-logo-here { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 2px solid #9aa3b0; border-radius: 12px; background: rgba(236, 239, 244, .94); color: #7b8492; font: 700 13px/1 var(--f-head, inherit); letter-spacing: 1.6px; text-transform: uppercase; white-space: nowrap; }
.vs-white-label .vs-logo-here { position: absolute; left: 8%; top: 37%; min-width: 34%; min-height: 20%; font-size: clamp(12px, 1.2vw, 16px); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.vs-logo-inline { display: flex; width: fit-content; margin-top: 14px; }

/* "Ready to run" and "Custom developed": large solid badges */
.vs-choice-tag, html[data-theme="lite"] .vs-choice-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 11px 20px; border-radius: 999px; background: #12a150; color: #fff; font-size: 15px; letter-spacing: 1.6px; box-shadow: 0 6px 16px rgba(18, 161, 80, .3); }
.vs-choice-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.vs-choice:nth-child(2) .vs-choice-tag, html[data-theme="lite"] .vs-choice:nth-child(2) .vs-choice-tag { background: #1c63d8; box-shadow: 0 6px 16px rgba(28, 99, 216, .3); }
.vs-choice:nth-child(1) { border-top: 5px solid #12a150; }
.vs-choice:nth-child(2) { border-top: 5px solid #1c63d8; }
html[data-theme] .vs-choice .vs-choice-tag { color: #fff !important; font-weight: 800; }

/* ---------- Mach-E test vehicle page ---------- */
.me-hero { margin: 44px 0 0; }
.me-hero img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 26px 60px rgba(4, 20, 60, .28); }
.me-hero figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .04em; opacity: .75; }
.me-facts { margin-top: 0; }
.me-render img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(4, 20, 60, .22); }
.me .pg-row.me-flip .pg-row-media { order: 2; }
.me-note { margin-top: 28px; font-size: 13.5px; opacity: .7; }
@media (max-width: 900px) { .me .pg-row.me-flip .pg-row-media { order: 0; } }

/* ---------- Simulation (V&V) page ---------- */
.sim-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; counter-reset: stage; }
.sim-stage { position: relative; padding: 24px 24px 26px; border: 1px solid var(--sw-line, rgba(140, 170, 220, .25)); border-top: 4px solid #9aa9bf; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.sim-stage.sim-now { border-top-color: #12a150; }
.sim-stage.sim-soon { border-top-color: #ffb648; border-style: dashed; border-top-style: solid; }
.sim-stage em, .sim-tag { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: #9aa9bf; color: #fff !important; font: 700 11.5px/1 var(--f-head, inherit); font-style: normal; letter-spacing: 1.6px; text-transform: uppercase; }
.sim-stage.sim-now em, .sim-tag-now { background: #12a150; }
.sim-stage.sim-soon em, .sim-tag-soon { background: #c9820a; }
.sim-stage h3 { margin: 0 0 8px; font-size: 21px; }
.sim-stage p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.sim-soon-box { border-style: dashed; }
html[data-theme="lite"] .sim-stage { background: rgba(255, 255, 255, .8); }
@media (max-width: 900px) { .sim-stages { grid-template-columns: 1fr; } }

/* ---------- "Service first" tiles on the product pages ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.svc-grid:has(.svc-tile:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
.svc-tile { padding: 18px 16px 20px; border: 1px solid var(--sw-line, rgba(140, 170, 220, .25)); border-radius: 14px; background: rgba(255, 255, 255, .04); text-align: center; }
.svc-pic { display: grid; place-items: center; height: 120px; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #fff; }
.svc-pic img { width: 100%; height: 100%; object-fit: contain; }
.svc-pic.svc-flag img { width: 70%; height: auto; object-fit: contain; }
.svc-tile h3 { margin: 0 0 6px; font-size: 17px; }
.svc-tile p { margin: 0; font-size: 13.5px; line-height: 1.45; }
html[data-theme="lite"] .svc-tile { background: rgba(255, 255, 255, .85); border-color: rgba(22, 60, 120, .16); }
@media (max-width: 1100px) { .svc-grid, .svc-grid:has(.svc-tile:nth-child(5):last-child) { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .svc-grid, .svc-grid:has(.svc-tile:nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); } }
