/* X2000 Vehicle Computer page: the layout of the Ground Vehicle AI page in the regular Deepview style */
.gvr .gv-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.gvr .gv-status { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.gvr .gv-status li { padding: 7px 14px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .2)); border-radius: 999px; font: 700 11.5px/1 var(--f-head, inherit); letter-spacing: 1.4px; text-transform: uppercase; background: rgba(255, 255, 255, .7); }
.gvr h1 span { display: block; }
.gvr .gv-docs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 14.5px; }
.gvr .gv-docs a { color: #1b6fb5; font-weight: 600; }
.gvr .gv-frame { margin: 0; padding: 22px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 16px; background: rgba(255, 255, 255, .8); box-shadow: 0 18px 44px rgba(4, 40, 120, .12); }
.gvr .gv-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }
.gvr .gv-frame figcaption { margin-top: 12px; font-size: 13px; opacity: .7; }

.gvr .gv-specs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.gvr .gv-specs div { padding: 18px 18px 20px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-top: 3px solid #1b6fb5; border-radius: 12px; background: rgba(255, 255, 255, .85); }
.gvr .gv-specs span { display: block; font: 700 11px/1 var(--f-head, inherit); letter-spacing: 1.6px; text-transform: uppercase; opacity: .65; }
.gvr .gv-specs b { display: block; margin-top: 8px; font: 700 18px/1.25 var(--f-head, inherit); }

.gvr .gv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.gvr .gv-card { padding: 24px 24px 26px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 14px; background: rgba(255, 255, 255, .85); }
.gvr .gv-card i { display: block; margin-bottom: 12px; font: 700 12px/1 var(--f-head, inherit); font-style: normal; letter-spacing: 1.6px; color: #1b6fb5; }
.gvr .gv-card h3 { margin: 0 0 8px; font-size: 20px; }
.gvr .gv-card p { margin: 0; font-size: 15.5px; line-height: 1.6; }

.gvr .gv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.gvr .gv-list { padding: 26px 28px 28px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 14px; background: rgba(255, 255, 255, .85); }
.gvr .gv-list h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 19px; }
.gvr .gv-list h3 em { padding: 6px 10px; border-radius: 999px; font: 700 11px/1 var(--f-head, inherit); font-style: normal; letter-spacing: 1.4px; color: #fff; }
.gvr .gv-now h3 em { background: #12a150; }
.gvr .gv-next h3 em { background: #c9820a; }
.gvr .gv-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gvr .gv-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.gvr .gv-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #2bb3ff; }

.gvr .gv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 40px; }
.gvr .gv-split p { font-size: 16.5px; line-height: 1.7; }
.gvr .gv-split h3 { margin: 0 0 10px; font-size: 24px; }

.gvr .gv-path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.gvr .gv-path::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #1b6fb5, #2bb3ff); }
.gvr .gv-phase { position: relative; margin-top: 0; padding: 38px 18px 22px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 0 0 14px 14px; border-top: 0; background: rgba(255, 255, 255, .85); }
.gvr .gv-phase::before { content: ""; position: absolute; left: 18px; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #1b6fb5; box-shadow: 0 0 0 5px rgba(27, 111, 181, .18); }
.gvr .gv-phase i { display: block; margin-bottom: 8px; font: 700 11.5px/1 var(--f-head, inherit); font-style: normal; letter-spacing: 1.6px; color: #1b6fb5; }
.gvr .gv-phase h3 { margin: 0 0 8px; font-size: 19px; }
.gvr .gv-phase p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.gvr .gv-note { margin-top: 26px; font-size: 13.5px; opacity: .7; }

html[data-theme="dark"] .gvr .gv-frame, html[data-theme="dark"] .gvr .gv-specs div, html[data-theme="dark"] .gvr .gv-card, html[data-theme="dark"] .gvr .gv-list, html[data-theme="dark"] .gvr .gv-phase, html[data-theme="dark"] .gvr .gv-status li { background: rgba(255, 255, 255, .05); }

@media (max-width: 980px) {
  .gvr .gv-hero, .gvr .gv-split, .gvr .gv-two { grid-template-columns: 1fr; }
  .gvr .gv-specs { grid-template-columns: repeat(2, 1fr); }
  .gvr .gv-grid, .gvr .gv-path { grid-template-columns: 1fr; }
  .gvr .gv-path::before { display: none; }
  .gvr .gv-phase { border-top: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 14px; }
}

/* layout that follows the original deepviewai.com vehicle computer page */
.x2o .x2o-specs { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.x2o .x2o-specs li { margin: 0; padding: 0; border: 0; background: none; font-size: 20px; line-height: 1.4; }
.x2o .x2o-specs b { font-family: var(--f-head, inherit); }
.x2o .gv-frame { background: #fff; }
.x2o .x2o-lead { max-width: 1040px; font-size: 18.5px; line-height: 1.7; }
.x2o .gv-list h3 { font-size: 19px; }
.x2o-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.x2o .x2o-tiles .gv-card { text-align: center; padding: 22px 16px 24px; }
.x2o .x2o-tiles .gv-card h3 { font-size: 18px; }
.x2o-video { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 18px 44px rgba(4, 40, 120, .16); }
.x2o-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.x2o-caption { margin: 14px 0 0; text-align: center; font: 600 17px/1.4 var(--f-head, inherit); }
.x2o .gv-split h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); }
.x2o .gv-split + .gv-split { margin-top: 56px; }
@media (max-width: 980px) { .x2o-tiles { grid-template-columns: repeat(2, 1fr); } }

/* Automotive AI and 3D Perception pages in this page's styling (main.gvr.x2o.aai) */
.aai .pg-hero { padding-top: 40px; padding-bottom: 30px; }
.aai .gv-status { margin: 0; }
.aai .gv2-top h1 { margin: 0; }
.aai .gv2-cta .gv-docs { margin: 0; }
.aai .gv-grid:has(> .gv-card:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
.aai .gv-grid:has(> .gv-card:nth-child(5):last-child) .gv-card { padding: 22px 16px 24px; }
.aai .lc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.aai .lc-video { margin: 36px 0 0; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 18px 44px rgba(4, 40, 120, .16); }
.aai .lc-hero .lc-video { margin: 0; }
.aai .lc-video video { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .aai .gv-grid:has(> .gv-card:nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .aai .lc-hero { grid-template-columns: 1fr; } }
.aai .lc-fig { margin: 0; }
.aai .lc-cap { margin-top: 14px; text-align: center; font: 600 17px/1.4 var(--f-head, inherit); color: #0e1821; }
.aai .gv-split .aai-h3 { margin: 0 0 12px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.aai .gv-split .aai-lead { font-size: 20px; line-height: 1.65; }
/* the same block used as the top of the home page (which does not load pages.css) */
.aai-home .pg-hero { position: relative; padding: 40px 0 30px; }
.aai-home .pg-hero h1 { margin: 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
.aai-home h1 .h1-intro { display: block; margin-bottom: 10px; font: 700 15px/1 var(--f-head, inherit); letter-spacing: .16em; text-transform: uppercase; color: #1b6fb5; -webkit-text-fill-color: #1b6fb5; background: none; }
.aai-home .gv2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
/* simple captions under the framed pictures */
.x2o .gv-frame figcaption { margin-top: 14px; text-align: center; font: 600 16px/1.3 "Open Sans", sans-serif; color: #0e1821; opacity: 1; }
/* top picture: lifted card with a blue edge and the caption in its own band */
.x2o .gv-frame.gv-frame-lift { padding: 0; overflow: hidden; border: 1px solid #b9cfe6; border-top: 4px solid #368eb6; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(4, 40, 120, .08), 0 26px 60px rgba(4, 40, 120, .22); transform: translateY(-6px); }
.x2o .gv-frame-lift img { border-radius: 0; padding: 26px 26px 18px; box-sizing: border-box; }
.x2o .gv-frame.gv-frame-lift figcaption { margin: 0; padding: 14px 18px 15px; border-top: 1px solid #dfe7f1; background: #f3f6fa; font: 700 15px/1.2 var(--f-head, "Open Sans", sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #0e1821; }
/* Vision3D top picture: Vehicle / Datacenter switch */
.aai .lc-toggle { display: inline-flex; margin: 16px 0 0; padding: 4px; border: 1px solid #c9d3e2; border-radius: 999px; background: #fff; }
.aai .lc-fig { text-align: center; }
.aai .lc-fig .lc-cap { min-height: calc(17px * 1.4 * 2); }
.aai .lc-toggle button { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 15px/1.2 var(--f-head, "Open Sans", sans-serif); color: #3a4a5e; transition: background .15s, color .15s; }
.aai .lc-toggle button.on { background: linear-gradient(135deg, #368eb6, #1b6fb5); color: #fff; box-shadow: 0 8px 24px rgba(54, 142, 182, .45); }
.aai .lc-toggle button:not(.on):hover { color: #1b6fb5; }
.aai .lc-toggle-img { aspect-ratio: 960 / 648; object-fit: cover; object-position: top; background: #0b0d11; }
/* Fleet learning: selectable cards with a screenshot underneath */
.aai .fl-card { text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.aai .fl-card:hover { border-color: #368eb6; transform: translateY(-2px); }
.aai .fl-card.on { border-color: #040021; box-shadow: inset 0 4px 0 #368eb6, 0 10px 26px rgba(4, 40, 120, .14); }
.aai .fl-shot { max-width: 1040px; margin: 26px auto 0; background: #0b0d11; }
/* Vision3D hero: text on the left, the infotainment large on the right (wider than the usual 1240 wrap);
   the live drive plays in its camera view; toggle and caption under the picture */
.aai .pg-hero:has(.lc-fig) { padding: 36px 0 8px; }
.aai .lc-hero:has(.lc-fig) { --lc-bleed: max(0px, (100vw - 1240px) / 2 - 32px); grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 48px; align-items: center; }
.aai .lc-hero:has(.lc-fig) > div:first-child { padding: 0 0 80px; }
.aai .lc-hero:has(.lc-fig) h1 { margin: 14px 0 0; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; }
.aai .lc-hero:has(.lc-fig) .sw-sub { margin: 18px 0 0; font-size: 18px; line-height: 1.6; }
.aai .lc-hero:has(.lc-fig) .sw-cta { margin-top: 28px; flex-wrap: wrap; }
.aai .lc-hero .lc-fig { width: min(100%, calc((100vh - 270px) * 960 / 648)); margin: 0 auto; }   /* screen cropped close, centred in its column, sized to fit the first screen */
.aai .lc-hero .lc-fig .lc-video { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(4, 0, 33, .28), 0 0 0 1px rgba(4, 0, 33, .06); }
.aai .lc-hero .lc-fig .lc-toggle { margin-top: 18px; }
.aai .lc-hero .lc-fig .lc-cap { margin-top: 10px; font-size: 15px; font-weight: 600; color: #3a4a5e; min-height: calc(15px * 1.4 * 2); }
.aai .lc-screen { position: relative; container-type: inline-size; }
.aai .lc-live { position: absolute; left: 9.58%; top: 13.27%; width: 80.83%; height: 55.09%; overflow: hidden; background: #0b0d11; }
.aai .lc-live[hidden] { display: none; }
.aai .lc-live video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.aai .lc-steer { position: absolute; right: 0.3%; top: 3.6%; width: 27.8%; height: 77.6%; padding: 2.2% 2.6% 0; box-sizing: border-box; border-radius: 0.72cqw; background: rgba(38, 42, 50, .82); color: #5bb8ee; font: 400 2.05cqw/1.55 "Open Sans", sans-serif; }
.aai .lc-wheel { display: block; width: 64%; margin: 0 auto 4%; transition: transform .1s linear; }
.aai .lc-steer dl { margin: 0; }
.aai .lc-steer dl > div { display: flex; justify-content: space-between; }
.aai .lc-steer dt { text-decoration: underline; text-decoration-color: rgba(240, 160, 48, .7); text-underline-offset: .25em; }
.aai .lc-steer dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .aai .pg-hero:has(.lc-fig) { min-height: 0; display: block; } .aai .lc-hero:has(.lc-fig) { --lc-bleed: 0px; grid-template-columns: 1fr; gap: 28px; } .aai .lc-hero:has(.lc-fig) > div:first-child { padding: 0; } }
