/* Video Telematics page on the Passenger Check (pcx) template.
   Loaded after rc-products.css, rc-passenger.css and rc-passenger-v2.css on /video-telematics-solution/ only.
   New classes use the vtx- prefix. */

/* ---------- shell ---------- */
.vtx .vtx-sheet { border-radius: clamp(24px, 4vw, 56px); }
.vtx .pcx-sheet-2 { margin-top: 0; }
.vtx-dark { position: relative; color: #fff; }
.vtx-dark-a { padding-top: clamp(16px, 3vw, 40px); }
.vtx-dark-b { padding: clamp(8px, 2vw, 24px) 0 clamp(64px, 7vw, 96px); }
.vtx-promo { padding-top: clamp(24px, 4vw, 48px); }
.vtx-head-cta { margin-top: 28px; }
.vtx-after-cta { margin-top: 40px; }
.vtx .pcx-badge b { font-weight: 600; }

/* ---------- hero ---------- */
.vtx-hero-alt { margin-top: 18px; font-size: 15px; }
.vtx-hero-alt a { color: var(--pc-mint); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.vtx-hero-alt a:hover { color: #fff; }

/* ---------- road safety statistics ---------- */
.vtx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
.vtx-stat { display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 36px 28px; border-radius: 22px; background: var(--pc-card); border: 1px solid #E8ECEC; text-align: center; transition: transform .4s var(--pc-ease), box-shadow .4s var(--pc-ease); }
.vtx-stat:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(5, 161, 148, .45); }
.vtx-stat p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: var(--pc-body); }
.vtx-stat b { display: block; margin: 6px 0; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; color: var(--pc-teal-d); }
.vtx-stat.hi { min-height: 330px; background: linear-gradient(180deg, #52F7EB 0%, #30918A 100%); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(5, 161, 148, .7); }
.vtx-stat.hi p { color: #022F2D; font-size: clamp(18px, 1.7vw, 23px); }
.vtx-stat.hi b { font-size: clamp(44px, 4.6vw, 64px); color: #022F2D; }

/* ---------- camera configurations (existing widget, pcx surface) ---------- */
.vtx .vtx-cams.cam-section-bg { background: none; border-radius: 0; margin: 0; overflow: visible; }
.vtx .vtx-cams.cam-section-bg::before { display: none; }
.vtx .vtx-cams .cam-card { border: 1px solid #E8ECEC; border-radius: 22px; box-shadow: none; transition: transform .4s var(--pc-ease), box-shadow .4s var(--pc-ease), border-color .4s; }
.vtx .vtx-cams .cam-card:hover { transform: translateY(-4px); border-color: #BDE9E4; box-shadow: 0 24px 48px -26px rgba(5, 161, 148, .45); }
.vtx .vtx-cams .cam-visual-container { border-radius: 14px; border: 0; }
.vtx .vtx-cams .max-w-4xl.bg-gradient-to-r { background: linear-gradient(135deg, #04211F 0%, #0A3C37 100%); border-radius: 24px; }

/* ---------- feature blocks: Q-Wake, Breath Analyzer ---------- */
.vtx-feat + .vtx-feat { padding-top: 0; }
.vtx-feat-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.vtx-feat-flip .vtx-feat-top { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.vtx-feat-flip .vtx-feat-top > .vtx-media { order: -1; }
.vtx-feat-text .pcx-h2 { margin-top: 16px; }
.vtx-feat-lead { margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--pc-body); }
.vtx-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.vtx-points li { display: flex; gap: 16px; align-items: flex-start; }
.vtx-pt-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #ECFBF9; color: var(--pc-teal-d); box-shadow: inset 0 0 0 1px #BDEBE6; }
.vtx-pt-ic svg { width: 22px; height: 22px; }
.vtx-points h3 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--pc-ink); }
.vtx-points p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--pc-body); }

.vtx-media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #0B2B28; box-shadow: 0 30px 70px -36px rgba(4, 33, 31, .55); }
.vtx-media video, .vtx-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--pc-ease); }
.vtx-media:hover img { transform: scale(1.03); }
.vtx-feat-more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; margin-top: clamp(28px, 4vw, 48px); align-items: stretch; }
.vtx-feat-flip .vtx-feat-more { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.vtx-feat-flip .vtx-feat-more > .vtx-media { order: 2; }
.vtx-media-sq { aspect-ratio: auto; min-height: 360px; }
.vtx-more-card { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--pc-card); border: 1px solid #E8ECEC; }
.vtx-more-card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-weight: 600; color: var(--pc-ink); }
.vtx-more-card h3 span { color: var(--pc-teal); }
.vtx-more-card > p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--pc-body); }
.vtx-more-card > h4 { margin: 24px 0 12px; font-size: 16px; font-weight: 600; color: var(--pc-ink); }
.vtx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vtx-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E8ECEC; font-size: 15px; line-height: 1.5; color: var(--pc-ink); }
.vtx-ck { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--pc-teal); color: #fff; }
.vtx-ck svg { width: 13px; height: 13px; }
.vtx-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.vtx-mode { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #E8ECEC; }
.vtx-mode h4 { font-size: 15px; font-weight: 600; color: var(--pc-teal-d); }
.vtx-mode p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--pc-body); }

/* ---------- actionable reports ---------- */
.vtx-rep { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vtx-rep li { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; border: 1px solid #E8ECEC; background: #fff; transition: transform .4s var(--pc-ease), box-shadow .4s var(--pc-ease), border-color .4s; }
.vtx-rep li:hover { transform: translateY(-4px); border-color: #BDE9E4; box-shadow: 0 24px 48px -26px rgba(5, 161, 148, .45); }
.vtx-rep-ic { width: 56px; height: 56px; border-radius: 14px; }
.vtx-rep h3 { margin-top: 20px; font-size: 20px; font-weight: 600; color: var(--pc-ink); }
.vtx-rep p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--pc-body); }

/* ---------- saves lives ---------- */
.vtx-saves { padding-top: 0; }
.vtx-saves-fig { margin: 0; }
.vtx-saves-fig img { display: block; width: 100%; max-width: 1160px; height: auto; margin: 0 auto; }

/* ---------- dark band: insights + command centre ---------- */
.vtx-ins-fig { margin: 0; }
.vtx-ins-fig img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.vtx-frame { margin: 0; border-radius: 24px; overflow: hidden; background: #0B2B28; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 100px -40px rgba(5, 161, 148, .55); }
.vtx-frame video { display: block; width: 100%; max-height: 78vh; object-fit: cover; }

/* ---------- recommended cases ---------- */
.vtx-cases .pcx-fit-media { aspect-ratio: 4 / 3; }
.vtx-cases .pcx-fit-card h3 { margin-top: 22px; }

/* ---------- FAQ heading kept as the page's existing h1 ---------- */
.vtx .pcx-faq-h { font-weight: 600; line-height: 1.22; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .vtx-feat-top, .vtx-feat-flip .vtx-feat-top, .vtx-feat-more, .vtx-feat-flip .vtx-feat-more { grid-template-columns: 1fr; }
  .vtx-feat-flip .vtx-feat-top > .vtx-media, .vtx-feat-flip .vtx-feat-more > .vtx-media { order: 0; }
  .vtx-media-sq { aspect-ratio: 4 / 3; min-height: 0; }
  .vtx-rep { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vtx-stats { grid-template-columns: 1fr; }
  .vtx-stat, .vtx-stat.hi { min-height: 0; }
}
@media (max-width: 640px) {
  .vtx-rep, .vtx-modes { grid-template-columns: 1fr; }
  .vtx-rep li { padding: 22px; }
  .vtx-more-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .vtx-stat, .vtx-rep li, .vtx-media img { transition: none; }
}

/* hero title is longer than Passenger Check's: give it room for two lines */
.vtx-hero .pcx-hero-head { max-width: 1080px; }
.vtx-hero .pcx-h1 { font-size: clamp(34px, 4.4vw, 60px); }
.vtx-hero .pcx-hero-sub { max-width: 640px; }

/* polish */
.vtx .pcx-head > p br { display: none; }
.vtx-stat.hi b { font-size: clamp(40px, 4vw, 56px); white-space: nowrap; }
.vtx-feat-text .pcx-h2 { font-size: clamp(28px, 3.2vw, 44px); }

/* 3D story inside the hero: one continuous home section */
.vtx-hero { padding-bottom: 0; }
.vtx-hero .rc-browser-view .rhv { border-radius: clamp(8px, 1.2cqw, 12px); }
.vtx-story { position: relative; margin-top: clamp(24px, 4vw, 56px); }
.vtx-story .rhx { margin-top: 0; background: radial-gradient(70% 60% at 50% 45%, rgba(6, 49, 45, .9) 0%, rgba(2, 26, 24, 0) 75%); }
.vtx-story .rhx-word { display: none; }
.vtx-story .rhx-band { height: 30%; }

/* story steps */
.rhx-steps { position: absolute; z-index: 5; left: 50%; bottom: 4.5%; transform: translateX(-50%); display: flex; gap: 6px; width: min(1080px, 94%); margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: rgba(6, 20, 19, .62); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.rhx-steps li { flex: 1 1 0; min-width: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--pc-ease), transform .5s var(--pc-ease); }
.rhx.in .rhx-steps li { opacity: 1; transform: none; }
.rhx.in .rhx-steps li:nth-child(2) { transition-delay: .08s; } .rhx.in .rhx-steps li:nth-child(3) { transition-delay: .16s; } .rhx.in .rhx-steps li:nth-child(4) { transition-delay: .24s; } .rhx.in .rhx-steps li:nth-child(5) { transition-delay: .32s; }
.rhx-steps button { width: 100%; height: 100%; display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 0; border-radius: 13px; background: transparent; color: #fff; text-align: left; cursor: pointer; transition: background .35s; }
.rhx-steps button:hover { background: rgba(255, 255, 255, .06); }
.rhx-steps button:focus-visible { outline: 2px solid #3BEEE2; outline-offset: 1px; }
.rhx-steps b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); font: 600 12.5px/1 "Roboto", sans-serif; color: #BFD3D1; transition: background .35s, color .35s, border-color .35s; }
.rhx-steps span { display: flex; flex-direction: column; gap: 3px; font: 600 14px/1.25 "Roboto", sans-serif; color: rgba(255, 255, 255, .62); transition: color .35s; }
.rhx-steps small { font: 400 12px/1.4 "Roboto", sans-serif; color: rgba(191, 211, 209, .55); }
.rhx-steps li.done b { border-color: rgba(59, 238, 226, .5); color: #3BEEE2; }
.rhx-steps li.on button { background: rgba(20, 169, 156, .16); box-shadow: inset 0 0 0 1px rgba(59, 238, 226, .35); }
.rhx-steps li.on b { background: #14A99C; border-color: #14A99C; color: #fff; }
.rhx-steps li.on span { color: #fff; }
.rhx-steps li.on small { color: #BFD3D1; }
.vtx-story .rhx-cap { bottom: 1.2%; }
@media (max-width: 900px) {
  .rhx-steps small { display: none; }
  .rhx-steps span { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .rhx-steps { bottom: 3%; gap: 4px; padding: 4px; }
  .rhx-steps button { justify-content: center; padding: 8px 4px; }
  .rhx-steps li:not(.on) span { display: none; }
  .rhx-steps li.on { flex: 3 1 0; }
}
@media (prefers-reduced-motion: reduce) { .rhx-steps li { opacity: 1; transform: none; transition: none; } }

/* ---------- AI alerts as the Passenger Check accordion ---------- */
.vtx .pcx-head.left .rc-btn-row { justify-content: flex-start; }
.vtx-al { grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); }
.vtx-al .pcx-feat-item button { padding: 15px 0; font-size: 18px; }
.vtx-al .pcx-feat-item.is-open button { padding-bottom: 10px; font-size: clamp(21px, 1.8vw, 26px); }
.vtx-al-t { display: flex; flex-direction: column; gap: 3px; }
.vtx-al-t small { font: 500 12px/1 "Roboto", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-mute); }
.vtx-al .pcx-feat-item.is-open .vtx-al-t small { color: var(--pc-teal-d); }
.vtx-al .pcx-feat-body p b { font-weight: 600; color: var(--pc-ink); }
.vtx-al-media { min-height: 520px; }
.vtx-al-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vtx-al-hud { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; }
.vtx-al-hud span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 22, 21, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 11.5px/1 "Roboto", sans-serif; }
.vtx-al-hud i { width: 7px; height: 7px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 8px #FF3B3B; animation: rhxBlink 1.2s infinite; }
.vtx-al-box { position: absolute; z-index: 2; border: 2px solid #E5252E; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 16px rgba(229, 37, 46, .35); opacity: 0; transition: opacity .25s, border-color .25s; pointer-events: none; }
.vtx-al-box.on { opacity: 1; }
.vtx-al-box.scan { border-color: #3BEEE2; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 14px rgba(59, 238, 226, .35); }
.vtx-al-box b { position: absolute; left: -2px; top: -26px; padding: 4px 8px; border-radius: 6px 6px 6px 0; background: #E5252E; color: #fff; font: 600 11.5px/1.2 "Roboto", sans-serif; white-space: nowrap; }
.vtx-al-box.scan b { background: #14A99C; }
.vtx-al-note { position: absolute; z-index: 3; left: 16px; bottom: 16px; width: min(330px, calc(100% - 32px)); padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: var(--pc-ink); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--pc-ease), transform .4s var(--pc-ease); }
.vtx-al-m.hit .vtx-al-note { opacity: 1; transform: none; }
.vtx-al-note p { margin: 0; }
.vtx-al-note .h { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pc-body); }
.vtx-al-note .h img { width: 16px; height: 16px; }
.vtx-al-note .h em { margin-left: auto; font-style: normal; color: var(--pc-mute); }
.vtx-al-note .t { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.vtx-al-note .t b { font-size: 15px; font-weight: 600; }
.vtx-al-note .sev { flex: none; padding: 3px 9px; border-radius: 999px; font: 600 11.5px/1.2 "Roboto", sans-serif; }
.vtx-al-note .sev.high { background: #FDECEC; color: #C81E26; }
.vtx-al-note .sev.med { background: #FEF3DC; color: #93590A; }
.vtx-al-note .sev.low { background: #E3F6F4; color: var(--pc-teal-d); }
.vtx-al-note .d { margin-top: 3px; font-size: 13px; color: var(--pc-body); }
.vtx-al-note .a { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px solid #E8ECEC; font-size: 12.5px; font-weight: 500; color: var(--pc-teal-d); }
.vtx-al-note .a i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--pc-teal); color: #fff; }
.vtx-al-note .a svg { width: 11px; height: 11px; }
.vtx-al-cap { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--pc-mute); }
@keyframes rhxBlink { 50% { opacity: .25; } }
@media (max-width: 1100px) { .vtx-al { grid-template-columns: 1fr; } .vtx-al-media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 640px) {
  .vtx-al-note { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 10px 12px; }
  .vtx-al-note .d { display: none; }
  .vtx-al-hud { left: 10px; top: 10px; }
  .vtx-al .pcx-feat-item button { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vtx-al-hud i { animation: none; } }

/* ---------- Actionable reports as the Passenger Check bento ---------- */
.vtx-bento .vtx-bv { background: #0B2B28; }
.vtx-bento .vtx-bv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: inherit; }
.vtx-bento .vtx-bv .pcx-live { z-index: 5; }
.vtx-bv-box { position: absolute; z-index: 3; border: 2px solid #E5252E; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 16px rgba(229, 37, 46, .35); pointer-events: none; }
.vtx-bv-tag { left: 14px; bottom: 34px; z-index: 5; }
.vtx-bento .vtx-r3 { grid-template-columns: 1fr; margin-top: 20px; }
.vtx-bento .vtx-bc-wide { min-height: 0; flex-direction: row; align-items: center; gap: 36px; padding: 10px 40px 10px 10px; text-align: left; }
.vtx-bento .vtx-bc-wide .pcx-bv { flex: none; width: 58%; height: 300px; margin: 0; }
.vtx-bento .vtx-bc-wide .vtx-bc-txt h3 { padding: 0; font-size: clamp(22px, 2vw, 28px); }
.vtx-bento .vtx-bc-wide .vtx-bc-txt p { margin-top: 10px; padding: 0; }
/* seatbelt: icon in rings, no clip */
.vtx-belt { background: radial-gradient(60% 60% at 50% 48%, #E3F6F4 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(#fff, rgba(255, 255, 255, 0)) !important; }
.vtx-belt-ring { position: absolute; left: 50%; top: 46%; border-radius: 50%; border: 1px dashed #BDE3DE; transform: translate(-50%, -50%); }
.vtx-belt-ring.r1 { width: 150px; height: 150px; } .vtx-belt-ring.r2 { width: 230px; height: 230px; border-style: solid; border-color: #E2EEEC; }
.vtx-belt-ic { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 28px; background: #fff; box-shadow: 0 18px 40px -18px rgba(5, 161, 148, .55), 0 0 0 1px #E2EBE9; transform: translate(-50%, -50%); }
.vtx-belt-ic img { width: 72px; height: 72px; border-radius: 18px; }
.vtx-belt-a { left: 12%; top: 18%; } .vtx-belt-b { right: 10%; bottom: 30%; }
@media (max-width: 1024px) {
  .vtx-bento .vtx-bc-wide { flex-direction: column; padding: 10px 10px 26px; text-align: center; }
  .vtx-bento .vtx-bc-wide .pcx-bv { width: 100%; height: 262px; }
}

/* ---------- Saves lives: full-window image, soft edges into the page ---------- */
.vtx-saves { padding-bottom: 0; overflow: hidden; border-radius: 0 0 clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px); }
.vtx-saves .vtx-saves-fig { margin: clamp(8px, 2vw, 24px) 0 0; }
.vtx-saves .vtx-saves-fig img { display: block; width: 100%; max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }

/* ---------- 3D story: pinned full screen, scroll drives the steps ---------- */
.vtx-story { --hdr: 92px; height: 520vh; margin-top: clamp(32px, 5vw, 72px); }
.vtx-story .rhx { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; aspect-ratio: auto; margin: 0; }
.vtx-story .rhx-tl, .vtx-story .rhx-tr { top: calc(var(--hdr) + 8px); }
.vtx-story .rhx-hud { top: calc(var(--hdr) + 14px); }
.vtx-story .rhx-toasts { top: calc(var(--hdr) + 72px); }
.vtx-story .rhx-pp { display: none; }
.vtx-story .rhx-steps { bottom: 4%; }
@media (max-width: 1023px) { .vtx-story { --hdr: 76px; } }
@media (max-width: 640px) {
  .vtx-story { height: 460vh; }
  .vtx-story .rhx-tl { left: 4%; padding: 6px 10px 6px 6px; }
  .vtx-story .rhx-tl b { font-size: 11.5px; }
  .vtx-story .rhx-tr { right: 4%; }
  /* alerts sit under the top bar, clear of the steps */
  .vtx-story .rhx-toasts { left: 4%; right: 4%; width: auto; top: calc(var(--hdr) + 58px); bottom: auto; }
  .vtx-story .rhx-toast { padding: 9px 10px; }
  .vtx-story .rhx-steps { left: 4%; right: 4%; width: auto; transform: none; bottom: 3%; }
  .vtx-story .rhx-steps button { padding: 7px 4px; gap: 6px; }
  .vtx-story .rhx-steps b { width: 24px; height: 24px; font-size: 11.5px; }
  .vtx-story .rhx-steps span { font-size: 12.5px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .vtx-story { height: auto; } .vtx-story .rhx { position: relative; height: 80vh; } }

/* ---------- use cases: Z-pattern rows ---------- */
.vtx .vtt.vtx-z { display: block; }
.vtx-z-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.vtx-z-row + .vtx-z-row { margin-top: clamp(48px, 6vw, 96px); }
.vtx-z-row.rev .vtt-media { order: 2; }
.vtx-z-row.rev .vtt-cards { right: auto; left: -28px; }
.vtx-z .vtt-ch { min-height: 0; opacity: 1; }
@media (max-width: 900px) {
  .vtx-z-row, .vtx-z-row.rev { grid-template-columns: 1fr; gap: 28px; }
  .vtx-z-row.rev .vtt-media { order: 0; }
  .vtx-z-row.rev .vtt-cards { left: auto; right: -12px; }
}
.vtx-z .vtt-ch .rc-btn { align-self: flex-start; margin-top: 28px; }

/* 3D story: no dashcam top bar, speed pill, clock or REC */
.vtx-story .rhx-tl, .vtx-story .rhx-hud, .vtx-story .rhx-tr { display: none; }
.vtx-story .rhx-toasts { top: calc(var(--hdr) + 20px); }
@media (max-width: 640px) { .vtx-story .rhx-toasts { top: calc(var(--hdr) + 14px); } }
/* use-case rows: tighter gap, balanced columns */
.vtx-z-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.vtx-z-row.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.vtx-z .vtt-ch h3 + p { max-width: none; }

/* Command centre (3D pull-back): clear the site header while pinned */
.vtx .vtx-rcc { --hd: 88px; }
@media (max-width: 1023px) { .vtx .vtx-rcc { --hd: 72px; } }

/* ---------- Passenger Check chips and headings in the dark sections ---------- */
.vtx-dhead { margin-bottom: clamp(32px, 4vw, 48px); }
.vtx-dh2 { margin-left: auto; margin-right: auto; text-align: center; }
.vtx-badge img { width: 18px; height: 18px; }
.vtx-beta { margin-left: 2px; padding: 2px 7px; border-radius: 999px; background: rgba(59, 238, 226, .18); color: #3BEEE2; font: 600 10px/1.2 "Roboto", sans-serif; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.rc4 .rc4-head .pcx-badge { margin-top: 14px; }
.vtx-eye { text-align: center; letter-spacing: 0 !important; }
.vtx-eye .pcx-badge { text-transform: none; }

/* ---------- gradient transitions, as on Passenger Check ---------- */
/* white sheets melt into the dark band below through the Passenger Check teal fade */
.vtx-fade { position: relative; padding-bottom: clamp(170px, 17vw, 250px); }
.vtx-fade > * { position: relative; z-index: 1; }
.vtx-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(260px, 26vw, 420px); pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #F6FAF9 10%, #E6F0EF 20%, #CFE2E0 31%, #AFCDCA 42%, #8AB4AF 53%, #64968F 64%, #437A73 74%, #29605A 83%, #164A45 91%, #0A3733 96%, #04211F 100%); }
.vtx .vtx-sheet:has(> .vtx-fade:last-child) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.vtx .vtx-saves.vtx-fade { border-radius: 0; }
.vtx-saves.vtx-fade .vtx-saves-fig { margin-bottom: clamp(-40px, -3vw, -20px); }
.vtx-dark-a, .vtx-dark-b { background: linear-gradient(180deg, #04211F 0%, rgba(4, 33, 31, 0) 320px); }
.vtx-dark-b { background: linear-gradient(180deg, var(--pc-deep) 0%, #052826 55%, #0A3C37 100%); }
.vtx-dark-b + .pcx-sheet { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); }

/* cards: soft white-to-tint surface with a gradient hairline, like the bento cards */
.vtx-more-card, .vtx-mode, .vtx-stat:not(.hi) { position: relative; border-color: transparent; background: linear-gradient(180deg, #FFFFFF 0%, #F6FAF9 55%, #EAF3F1 100%); box-shadow: 0 1px 2px rgba(15, 31, 29, .04), 0 18px 40px -26px rgba(15, 31, 29, .18); }
.vtx-more-card::before, .vtx-mode::before, .vtx-stat:not(.hi)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(#DCE6E5, rgba(220, 230, 229, .2) 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.vtx-checks li { background: rgba(255, 255, 255, .8); }
.vtx-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(4, 33, 31, 0) 55%, rgba(4, 33, 31, .32) 100%); }

/* ---------- Trip replay: Passenger Check label, clear map labels ---------- */
.vtx .rc5-feat .k { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(62, 204, 195, .75); background: rgba(0, 22, 21, .4); color: rgba(255, 255, 255, .9); font: 500 14px/1 "Roboto", sans-serif; letter-spacing: 0; text-transform: none; box-shadow: inset 0 -7px 11px rgba(62, 204, 195, .12); }
.vtx .rc5-map .hud { left: auto; right: 10px; }
.vtx .rc5-map .geo .vtx-geo-t { text-anchor: start; }
.vtx .rc5-map .cities text { paint-order: stroke; stroke: #EEF1F3; stroke-width: 3px; stroke-linejoin: round; }

/* ---------- Q-Wake and Breath Analyzer as Passenger Check bentos ---------- */
.vtx-fbento + .vtx-fbento { padding-top: 0; }
.vtx-fb .vtx-r2b { display: grid; grid-template-columns: 500fr 680fr; gap: 20px; margin-top: 20px; }
.vtx-fb .r2 { margin-top: 20px; }
.vtx-fb .vtx-fbv video, .vtx-fb .vtx-fbv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.vtx-fb .vtx-fbv { background: #0B2B28; }
.vtx-fb .vtx-fbc > p { padding: 0 18px; }
/* icon visual (cards without footage) */
.vtx-iconv { background: radial-gradient(60% 60% at 50% 48%, #E3F6F4 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(#fff, rgba(255, 255, 255, 0)) !important; }
.vtx-iconv-ic { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px; background: #fff; color: var(--pc-teal-d); box-shadow: 0 18px 40px -18px rgba(5, 161, 148, .55), 0 0 0 1px #E2EBE9; transform: translate(-50%, -50%); }
.vtx-iconv-ic svg { width: 40px; height: 40px; }
/* accent text card */
.vtx-fb .vtx-textc { justify-content: center; min-height: 0; padding: clamp(28px, 3vw, 44px); text-align: left; background: linear-gradient(160deg, #04211F 0%, #073531 55%, #0A3C37 100%); border-color: transparent; color: #fff; box-shadow: 0 30px 60px -32px rgba(4, 33, 31, .7); }
.vtx-fb .vtx-textc h3 { margin: 0; padding: 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: #fff; }
.vtx-fb .vtx-textc h3 span { color: var(--pc-mint); }
.vtx-fb .vtx-textc > p { margin-top: 14px; padding: 0; font-size: 16px; line-height: 1.7; color: #C6D3D1; }
/* how-it-works card: the checklist is the visual */
.vtx-fb .vtx-howv { height: auto; min-height: 262px; padding: 22px 20px 54px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0)) !important; }
.vtx-fb .vtx-howv .vtx-checks li { text-align: left; }
.vtx-fb .vtx-howc { justify-content: flex-start; }
@media (max-width: 1024px) {
  .vtx-fb .vtx-r2b, .vtx-fb .pcx-cams-row.r1, .vtx-fb .pcx-cams-row.r2 { grid-template-columns: 1fr; }
}

/* second bento row: footage behind the accent card, a picture on the checklist card */
.vtx-fb .vtx-textc { background: linear-gradient(100deg, rgba(4, 33, 31, .97) 0%, rgba(4, 33, 31, .9) 48%, rgba(4, 33, 31, .55) 100%), var(--bg) center / cover no-repeat, #04211F; }
.vtx-fb .vtx-howc { padding-bottom: 22px; }
.vtx-fb .vtx-howc .vtx-fbv { height: 220px; }
.vtx-fb .vtx-howc h3 { margin-top: 0; text-align: left; padding: 0 18px; }
.vtx-fb .vtx-howl { margin: 14px 18px 0; text-align: left; }
.vtx-fb .vtx-howl li { padding: 10px 12px; font-size: 14.5px; background: rgba(255, 255, 255, .85); }
.vtx-fb .vtx-textc { background: linear-gradient(180deg, rgba(4, 33, 31, .25) 0%, rgba(4, 33, 31, .78) 42%, rgba(4, 33, 31, .96) 70%), var(--bg) center top / cover no-repeat, #04211F; justify-content: flex-end; }

/* promo strip: continue the deep teal from the section above into the FAQ, no seams */
.vtx-promo { background: #04211F; }
.vtx .vtx-sheet:has(.vtx-cases) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* camera configurations: help banner spans the same width as the cards above */
.vtx .vtx-cams .max-w-4xl.bg-gradient-to-r { max-width: 80rem; }

/* recommended cases: same flow as the sheets above (rounded top, clean white, fade below the content) */
.vtx .vtx-cases.pcx-fit-sec { background: none; }
.vtx .vtx-sheet:has(.vtx-cases) { border-top-left-radius: clamp(24px, 4vw, 56px); border-top-right-radius: clamp(24px, 4vw, 56px); }

/* ---------- smoother sheet-to-dark fade: eased stops, zero slope at the dark end, so no seam line ---------- */
.vtx-fade { padding-bottom: var(--melt-p); }
.vtx-fade::after { height: min(var(--melt-z), 100%); background: var(--melt); }

/* ---------- pinned stages sit right under their heading (no centred gap before they pin) ---------- */
.vtx .rc5-stage { justify-content: flex-start; padding-top: clamp(24px, 3vh, 40px); }
.vtx .rc5-intro { margin-top: 16px; }
.vtx .vhm-scroll { margin-top: 32px; }
.vtx .vhm-stage { justify-content: flex-start; padding-top: 0; }

/* ---------- use-case rows: video frame on the page grid, coded card inside the frame's corner, text beside it ---------- */
.vtx-uc { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 104px); width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.vtx-uc-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vtx-uc-row.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.vtx-uc-row.rev .vtx-uc-media { order: 2; }
.vtx-uc-frame { position: relative; background: #0B1413; padding: clamp(8px, 1vw, 12px); border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0, 22, 21, .45); }
.vtx-uc-frame video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #111; }
.vtx-uc-card { --line: #E6ECEB; --tint: #E7F6F4; --td: #0B6F66; --t: #14A99C; --sub: #6B7280; --red: #E5252E;
  position: absolute; z-index: 2; right: clamp(18px, 2.4vw, 30px); bottom: clamp(18px, 2.4vw, 30px); width: clamp(190px, 40%, 270px); }
.vtx-uc-row.rev .vtx-uc-card { right: auto; left: clamp(18px, 2.4vw, 30px); }
.vtx-uc-text h3 { margin: 0; font: 600 clamp(24px, 2.5vw, 36px)/1.2 "Roboto", sans-serif; letter-spacing: -.01em; color: var(--pc-ink); }
.vtx-uc-text p { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--pc-body); max-width: 34em; }
.vtx-uc-text .rc-btn { margin-top: 28px; }
/* the cards (compact): driver profile, incoming call, SOS */
.vtx-uc-card .vtt-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 44px rgba(0, 22, 21, .28), 0 2px 6px rgba(0, 22, 21, .1); color: #0B1413; text-align: left; overflow: hidden; }
.vtx-uc-card .vtt-dh { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; border-bottom: 1px solid var(--line); }
.vtx-uc-card .vtt-av { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--td); display: grid; place-items: center; flex: none; }
.vtx-uc-card .vtt-av svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vtx-uc-card .vtt-dh b { font-size: 14px; font-weight: 700; }
.vtx-uc-card .vtt-rows { list-style: none; margin: 0; padding: 2px 12px 8px; }
.vtx-uc-card .vtt-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 11.5px; border-bottom: 1px dashed var(--line); }
.vtx-uc-card .vtt-rows li:last-child { border-bottom: 0; }
.vtx-uc-card .vtt-rows li span:first-child { color: var(--sub); }
.vtx-uc-card .vtt-rows li span:last-child { font-weight: 500; }
.vtx-uc-card .vtt-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: #E7F6EE; color: #1E8A53; }
.vtx-uc-card .vtt-pill i { width: 6px; height: 6px; border-radius: 50%; background: #22A061; }
.vtx-uc-card .vtt-pill svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vtx-uc-card .vtt-call { padding: 14px; text-align: center; }
.vtx-uc-card .vtt-ring { position: relative; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; background: var(--tint); color: var(--td); display: grid; place-items: center; }
.vtx-uc-card .vtt-ring svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vtx-uc-card .vtt-call b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.vtx-uc-card .vtt-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vtx-uc-card .vtt-btns span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; }
.vtx-uc-card .vtt-btns svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vtx-uc-card .vtt-btns .a { background: var(--t); } .vtx-uc-card .vtt-btns .v { background: #C62828; }
.vtx-uc-card .vtt-sos { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.vtx-uc-card .vtt-sosb { width: 44px; height: 44px; border-radius: 50%; background: #FDE7EC; display: grid; place-items: center; flex: none; }
.vtx-uc-card .vtt-sosb b { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--red); }
.vtx-uc-card .vtt-sos strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.vtx-uc-card .vtt-sos small { display: block; font-size: 12px; color: var(--sub); margin-top: 3px; }
@media (max-width: 1023px) {
  .vtx-uc-row, .vtx-uc-row.rev { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vtx-uc-row.rev .vtx-uc-media { order: 0; }
}
@media (max-width: 559px) {
  .vtx-uc-card { width: min(62%, 230px); right: 14px; bottom: 14px; transform: scale(.86); transform-origin: bottom right; }
  .vtx-uc-row.rev .vtx-uc-card { left: 14px; transform-origin: bottom left; }
}

/* phones: tighter heading scale so section headings stay short */
@media (max-width: 480px) {
  .pcx h2.pcx-h2 { font-size: 26px !important; line-height: 1.22; }
  .pcx .pcx-h1 { font-size: 30px !important; }
}

/* ---------- product mockups are pictures, not controls: nothing inside them takes a click ---------- */
.pcx :is(.rc6-win, .rc7-win, .lm4-pnl, .vhm-win, .rfg2-win, .rfm-win, .rf2-win, .rf4-win, .rc5-win, .bm4) { pointer-events: none; -webkit-user-select: none; user-select: none; }
.pcx :is(.rc6-win, .rc7-win, .lm4-pnl, .vhm-win) :is(button, [role="tab"], .r) { cursor: default; }

/* heat map views: the tab row sits above the window, outside the mockup */
.vtx .vhm-steps.vtx-steps-out { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 16px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.vtx .vhm-steps.vtx-steps-out button { font: 500 14px/1 "Roboto", sans-serif; color: #C6D3D1; background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; white-space: nowrap; transition: color .25s, background .25s; }
.vtx .vhm-steps.vtx-steps-out button:hover { color: #fff; }
.vtx .vhm-steps.vtx-steps-out button.on { color: #04201E; background: var(--pc-mint); font-weight: 600; }
.vtx .vhm-steps.vtx-steps-out button:focus-visible { outline: 2px solid var(--pc-mint); outline-offset: 2px; }
@media (max-width: 639px) { .vtx .vhm-steps.vtx-steps-out { border-radius: 18px; } .vtx .vhm-steps.vtx-steps-out button { padding: 9px 13px; font-size: 13px; } }

/* first dark band also sits between two sheets: Passenger Check strip (deep green lifting to teal under the next sheet) */
.vtx-dark-a { background: linear-gradient(180deg, var(--pc-deep) 0%, #052826 55%, #0A3C37 100%); padding-bottom: clamp(24px, 4vw, 56px); }

/* a sheet overlaps the band above it by its corner radius, so the rounded top sits on the band's teal */
.pcx :is(.vtx-dark-a, .vtx-dark-b, .pgx-band, .fux-dark) + .pcx-sheet { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); }

/* ============ list + product window = the Passenger Check feature panel (Figma 40010768-9537) ============
   One rounded panel: accordion rows with [ + ] / [ − ] on a tinted left column, the product on the right. */

/* ---- trip replay (Fleet, Last Mile, VT): unpinned, plays by itself ---- */
.pcx .rc5-pin { height: auto; }
.pcx .rc5-stage { position: relative; top: auto; height: auto; display: block; padding: clamp(40px, 5vw, 64px) 0 0; }
.pcx .rc5-hint { display: none; }
.pcx .rc5-intro { max-width: 680px; }
.pcx .rc5-grid { grid-template-columns: minmax(0, 572fr) minmax(0, 636fr); gap: 0; align-items: stretch; width: 100%; max-width: 1240px; padding: 0;
  border-radius: 24px; overflow: hidden; border: 1px solid #E3EAE9; background: linear-gradient(160deg, #EEF6F5, #E1F0EE); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .65); color: var(--pc-ink); }
.pcx .rc5 .container.rc5-grid { padding-left: 0; padding-right: 0; width: calc(100% - 40px); }
.pcx .rc5-feat { order: -1; background: #F5F9F8; padding: 24px clamp(24px, 3.4vw, 48px) 36px; }
.pcx .rc5-feat .k, .pcx .rc5-list::before, .pcx .rc5-list .pr, .pcx .rc5-list .no { display: none; }
.pcx .rc5-list li { border-top: 1px solid #DFE7E6; }
.pcx .rc5-list li:first-child { border-top: 0; }
.pcx .rc5-list button { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; padding: 22px 0; color: var(--pc-ink); }
.pcx .rc5-list .tt, .pcx .rc5-list button:hover .tt { font: 500 20px/1.35 "Roboto", sans-serif; color: var(--pc-ink); }
.pcx .rc5-list li.on .tt { font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--pc-ink); }
.pcx .rc5-list button::after, .pcx .rc6-steps .tt::after { content: "[ + ]"; align-self: center; font: 500 18px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.04em; color: #7D8C8A; white-space: nowrap; }
.pcx .rc5-list button::after { grid-column: 2; grid-row: 1; }
.pcx .rc5-list li.on button::after, .pcx .rc6-steps li.on .tt::after { content: "[ − ]"; color: var(--pc-ink); }
.pcx .rc5-list .bd { grid-column: 1 / -1; }
.pcx .rc5-list li:not(.on) .bd { grid-template-rows: 0fr; }
.pcx .rc5-list .bd p { margin-top: 6px; max-width: 420px; font-size: 15.5px; line-height: 1.6; color: var(--pc-body); }
.pcx .rc5-list .bd small { color: var(--pc-teal-d); background: #E7F6F4; border-color: #BFE7E2; margin-bottom: 4px; }
.pcx .rc5-list .bd small::before { background: var(--pc-teal); }
.pcx .rc5-win { justify-self: stretch; align-self: center; width: auto; margin: clamp(14px, 2.2vw, 30px); box-shadow: 0 24px 60px -30px rgba(0, 22, 21, .45), 0 0 0 1px rgba(15, 31, 29, .06); }
@media (max-width: 1023px) {
  .pcx .rc5-grid { grid-template-columns: minmax(0, 1fr); }
  .pcx .rc5-feat { order: 2; padding: 8px 22px 22px; }
  .pcx .rc5-list li:not(.on) { display: block; }
  .pcx .rc5-list button { padding: 16px 0; }
  .pcx .rc5-list .tt { font-size: 17px; } .pcx .rc5-list li.on .tt { font-size: 19px; }
  .pcx .rc5-win { margin: 12px; width: auto; }
}

/* ---- Shift Master (Fleet): same panel on the white sheet ---- */
.pcx .rc6-grid { grid-template-columns: minmax(0, 572fr) minmax(0, 636fr); gap: 0; align-items: stretch; margin-top: 0; border-radius: 24px; overflow: hidden; border: 1px solid #E3EAE9; background: #fff; box-shadow: 0 16px 48px -24px rgba(15, 31, 29, .18); }
.pcx .rc6-steps { background: #F5F9F8; padding: 24px clamp(24px, 3.4vw, 48px) 36px; }
.pcx .rc6-steps li { border-bottom: 0; border-top: 1px solid #DFE7E6; }
.pcx .rc6-steps li:first-child { border-top: 0; }
.pcx .rc6-steps .tt { font: 500 20px/1.35 "Roboto", sans-serif; color: var(--pc-ink); letter-spacing: 0; }
.pcx .rc6-steps li.on .tt { font-size: clamp(22px, 2vw, 28px); font-weight: 600; }
.pcx .rc6-steps .tt::after, .pcx .rc6-steps li.on .tt::after { width: auto; height: auto; border: 0; transform: none; opacity: 1; flex: none; }
.pcx .rc6-steps p { font-size: 15.5px; color: var(--pc-body); max-width: 420px; }
.pcx .rc6-panel { border-radius: 0; align-self: stretch; }
/* its heading block: centred like every other section head */
.pcx .rc6-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); padding-bottom: 0; border-bottom: 0; }
.pcx .rc6-head > div { display: flex; flex-direction: column; align-items: center; }
.pcx .rc6-intro { margin: 18px auto 24px; max-width: 680px; }
@media (max-width: 1023px) {
  .pcx .rc6-grid { grid-template-columns: minmax(0, 1fr); }
  .pcx .rc6-panel { order: -1; }
  .pcx .rc6-steps { padding: 8px 22px 22px; }
}
.pcx .rc5 { padding-bottom: clamp(64px, 8vw, 104px); }

/* ---------- one page grid on VT too: the site's .container uses side margins, which pushed panels off-screen ---------- */
.vtx :is(.pcx-hero, .vtx-dark, .pcx-sheet) .container { width: 100%; max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 20px; padding-right: 20px; }
.pcx .rc5 .container.rc5-grid { width: min(1240px, calc(100% - 40px)); max-width: none !important; margin-left: auto !important; margin-right: auto !important; padding: 0 !important; }

/* ================= box rhythm on VT =================
   open stats -> boxed alerts panel -> open camera options -> boxed banner -> open use-case rows;
   boxed Q-Wake bento -> open Breath Analyzer grid -> full-width image. */
.vtx .vtx-stats { gap: 0; align-items: stretch; }
.vtx .vtx-stat, .vtx .vtx-stat.hi, .vtx .vtx-stat:not(.hi) { min-height: 0; padding: 8px clamp(18px, 2.6vw, 36px); border: 0; border-radius: 0; background: none; box-shadow: none; }
.vtx .vtx-stat::before, .vtx .vtx-stat:not(.hi)::before { display: none; }
.vtx .vtx-stat:hover { transform: none; box-shadow: none; }
.vtx .vtx-stat + .vtx-stat { border-left: 1px solid #DCE7E5; }
.vtx .vtx-stat.hi b { color: var(--pc-teal-d); }
@media (max-width: 767px) {
  .vtx .vtx-stat + .vtx-stat { border-left: 0; border-top: 1px solid #DCE7E5; }
  .vtx .vtx-stat, .vtx .vtx-stat.hi { padding: 22px 0; }
}
.vtx .cam-card { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.vtx #breath-analyzer .pcx-bc:not(.vtx-textc) { background: none; border: 0; box-shadow: none; padding: 0 0 6px; min-height: 0; }
.vtx #breath-analyzer .pcx-bc:not(.vtx-textc) .pcx-bv { margin-bottom: 18px; }
.vtx .vtx-cams .cam-card, .vtx .vtx-cams .cam-card:hover { border: 0; border-radius: 0; box-shadow: none; transform: none; }
/* the fade's last pixels overlap the band below, so no hairline of sheet white shows at the seam */
.vtx .vtx-sheet .vtx-fade::after { bottom: -2px; }

/* ---------- Video Telematics page, Figma "Video Monitoring" (40010859:20257) ---------- */
/* statistics: on the dark band under the hero, the white sheet's rounded top cuts the cards */
.vt-statsb { position: relative; z-index: 0; padding-top: clamp(48px, 6vw, 88px); }
.vt-stats-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: center; text-align: left; }
.vt-stats-head .pcx-h2 { margin: 0; text-align: left; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; }
.vt-stats-head p { justify-self: end; max-width: 520px; margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; color: #C6D3D1; }
.vt-stats-cards { display: grid; grid-template-columns: 1fr 1.03fr 1fr; align-items: end; margin: clamp(48px, 7vw, 100px) 0 -24px; }
.vt-stats-cards .c { display: flex; align-items: center; height: 338px; padding: 40px clamp(24px, 3.4vw, 48px); background: linear-gradient(180deg, #333738 0%, #1D2020 100%); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; }
.vt-stats-cards .c:first-child { border-radius: 6px 0 0 0; border-right: 0; }
.vt-stats-cards .c:last-child { border-radius: 0 6px 0 0; border-left: 0; }
.vt-stats-cards .c p { margin: 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; color: #E3EBEA; }
.vt-stats-cards .c b { font-weight: 600; color: #2FBFB3; }
.vt-stats-cards .c.hi { height: 447px; justify-content: center; text-align: center; border: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #52F7EC 0%, #34CFC4 45%, #1FA59B 100%); }
.vt-stats-cards .c.hi p { font-size: clamp(20px, 2vw, 28px); color: #0B1A19; }
.vt-stats-cards .c.hi b { display: block; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; font-weight: 700; color: #0B1A19; }
.vt-statsb + .pcx-sheet { margin-top: 0; }
@media (max-width: 767px) {
  .vt-stats-head { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .vt-stats-head .pcx-h2 { text-align: center; }
  .vt-stats-head p { justify-self: center; }
  .vt-stats-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vt-stats-cards .c, .vt-stats-cards .c.hi { height: auto; padding: 32px 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; justify-content: center; text-align: center; }
  .vt-stats-cards .c.hi { order: -1; }
  .vt-stats-cards .c:last-child { border-radius: 16px 16px 0 0; border-bottom: 0; padding-bottom: 56px; }
}
/* use-case rows: plain rounded footage, a label over each title, the pop-up on the photo's lower-left edge */
.vt-rows .pcx-head { margin-bottom: clamp(48px, 6vw, 80px); }
.vt-rows .vtx-uc-frame { background: none; padding: 0; box-shadow: none; border-radius: 24px; }
.vt-rows .vtx-uc-frame video { border-radius: 24px; }
/* phones: taller, so the dashcam shows above the call card */
@media (max-width: 639px) { .vt-rows .vtx-uc-frame video.vt-call-film { aspect-ratio: 1 / 1; } }
.vt-rows .vtx-uc-row .vtx-uc-card, .vt-rows .vtx-uc-row.rev .vtx-uc-card { left: clamp(-60px, -4vw, -24px); right: auto; bottom: clamp(-48px, -3vw, -24px); transform: none; }
.vt-rows .vtx-uc-text .pcx-badge { margin-bottom: 18px; }
@media (max-width: 1023px) { .vt-rows .vtx-uc-row .vtx-uc-card, .vt-rows .vtx-uc-row.rev .vtx-uc-card { left: 12px; bottom: -28px; transform: scale(.86); transform-origin: bottom left; } .vt-rows .vtx-uc-media { margin-bottom: 28px; } }
/* AI Agent and before/after: one dark panel inside the sheet */
.vt-ai { position: relative; margin-top: clamp(16px, 2vw, 32px); border-radius: clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #0D3B37 0%, #072A27 45%, #03201E 100%); overflow: hidden; }
.vt-ai .rc4-band { background: none; box-shadow: none; padding-left: 0; padding-right: 0; }
.vt-ai .rc4-band::before { display: none; }
.vt-ai #before-after-ai .rounded-2xl.border { border: 0; background: none; padding: 0; }
/* trip replay on white */
.vt-sheet1 .rc5 .rc5-intro { color: var(--pc-body); }
/* Q-Wake and the heatmap share one fade: white, through teal, to the dark the next sheet lands on */
/* each section carries its own part of the fade, so the heatmap heading always lands on dark, whatever the Q-Wake height */
.vt-qh { position: relative; }
/* one melt from under the Q-Wake heading down to the hotspots band, which starts on the same #04211F */
.vt-qh > #q-wake { background: #fff var(--melt) no-repeat center bottom / 100% calc(100% - clamp(170px, 18.5vw, 270px)); }
.vt-qh > #incident-hotspots { margin-top: -1px; background: linear-gradient(180deg, #04211F 0, #03201E 620px); }
/* breath analyzer: two photo cards over three icon cards */
.vt-brg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.vt-brc { position: relative; grid-column: span 4; padding: clamp(20px, 2.2vw, 30px); border-radius: 24px; background: #F4F7F6; border: 1px solid #E3EAE9; text-align: left; overflow: hidden; }
.vt-brc.w7 { grid-column: span 7; } .vt-brc.w5 { grid-column: span 5; }
.vt-brc .v { position: relative; height: 350px; border-radius: 16px; overflow: hidden; }
.vt-brc .v img { width: 100%; height: 100%; object-fit: cover; }
.vt-brc.w7 .v img { object-position: 50% 42%; }
.vt-brc h3 { margin: 36px 0 0; font: 500 22px/1.35 "Roboto", sans-serif; color: #18181B; }
.vt-brc p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #55606A; }
.vt-bri .v { height: 230px; display: grid; place-items: center; overflow: visible; border-radius: 0; }
.vt-bri::before { content: ""; position: absolute; left: 50%; top: -25px; width: 340px; height: 340px; margin-left: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 238, 226, .26), rgba(59, 238, 226, 0) 66%); pointer-events: none; }
.vt-bri .st { display: grid; place-items: center; width: 144px; height: 144px; border-radius: 50%; background: rgba(59, 238, 226, .14); }
.vt-bri .st > span { display: grid; place-items: center; width: 114px; height: 114px; border-radius: 50%; background: rgba(59, 238, 226, .22); }
.vt-bri .st i { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(180deg, #1DB5A8, #0E8F84); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 143, 132, .7); }
.vt-bri svg { width: 35px; height: 35px; }
@media (max-width: 1023px) { .vt-brc, .vt-brc.w7, .vt-brc.w5 { grid-column: span 6; } .vt-bri:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .vt-brc, .vt-brc.w7, .vt-brc.w5, .vt-bri:last-child { grid-column: 1 / -1; } .vt-brc .v { height: 220px; } .vt-bri .v { height: 180px; } .vt-brc h3 { margin-top: 24px; font-size: 20px; } }
/* command centre: dark band with a rounded top inside the second sheet */
.vt-cmd { position: relative; margin-top: clamp(24px, 4vw, 56px); border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; background: linear-gradient(180deg, #042724 0%, #021A18 100%); }
.vt-cmd { background: radial-gradient(60% 420px at 50% 0%, rgba(20, 169, 156, .2), rgba(0, 22, 21, 0) 70%), #001615; }
.vt-ai .rc4 > .container { padding-top: clamp(56px, 6vw, 80px); padding-bottom: 0; }
.vt-ai .rc4-band { padding-top: 0; }
.vt-ai #before-after-ai { padding-bottom: clamp(48px, 5vw, 72px); }
.vt-cmd + .vtx-saves { padding-top: clamp(64px, 8vw, 112px); border-radius: 0; }

/* ---- rhythm, measured from Figma "Video Monitoring" (40010872:43827): 120 into the first sheet, 200 between sections ---- */
.vt-sheet1 > #ai-alerts { padding-top: clamp(64px, 8.3vw, 120px); }
.vt-sheet1 > .vt-rows { padding-bottom: 0; }
.vt-sheet1 > .vt-ai { margin-top: clamp(88px, 13.9vw, 200px); }
.vt-sheet1 > .rc5 > .container:first-child { padding-top: clamp(88px, 13.9vw, 200px) !important; }
.vtx-sheet > .vt-br { padding-bottom: 0; }
.vtx-sheet > .vt-cmd { margin-top: clamp(88px, 13.3vw, 192px); }
.vtx-sheet > #dashcam-use-cases { padding-top: clamp(88px, 13.9vw, 200px); }
