.driving-page { background: #fcfdff; }
.driving-page .solution-header { height: 80px; }
.driving-page main { padding-top: 80px; }
.driving-page .solution-intro { padding-block: 48px 64px; gap: 32px; background: var(--brand-gradient-light); }
.driving-page .solution-intro.solution-intro-text { grid-template-columns: 1fr; }
.sector-page .solution-intro-copy { max-width: 960px; }
.sector-page .intro-lead { max-width: 740px; }
.driving-page .solution-intro .eyebrow { font-size: 17px; letter-spacing: .02em; text-transform: none; margin-bottom: 20px; }
.driving-page h1 { font-size: clamp(36px, 3.3vw, 54px); line-height: 1.14; letter-spacing: -.045em; }
.driving-page .intro-lead { max-width: 560px; font-size: 18px; line-height: 1.65; }
.driving-page .consultation-note { max-width: 420px; margin-top: 14px; font-size: 14px; line-height: 1.6; color: #4b5563; }
.driving-page .cta { min-height: 50px; padding: 14px 24px; border: 0; font-family: inherit; cursor: pointer; font-size: 16px; }
.driving-page button:focus-visible, .driving-page summary:focus-visible { outline: 3px solid var(--brand-cta); outline-offset: 4px; }
.driving-page .header-cta { font-size: 14px; min-height: 44px; }
.driving-page .solution-section { padding-block: 64px; }
.driving-page .section-heading { margin-bottom: 32px; }
.driving-page .section-heading h2 { max-width: 880px; font-size: clamp(30px, 3vw, 44px); }
.driving-page .feature { grid-template-columns: 40px minmax(0, .85fr) minmax(0, 1.3fr); align-items: center; gap: 24px; padding-block: 24px; border-bottom: 1px solid #e4eaf3; }
.driving-page .feature::before { font-size: 16px; color: #67768b; padding-top: 0; }
.driving-page .feature h3 { font-size: 22px; }
.driving-page .feature p { font-size: 17px; line-height: 1.65; }
.driving-page .feature:nth-child(-n+3) h3 { color: var(--brand-navy); font-size: 24px; }
.driving-page .workflow { background: #f2f5fa; gap: 48px; }
.driving-page .workflow-list li { gap: 18px; padding-bottom: 28px; }
.driving-page .workflow h3 { font-size: 20px; }
.driving-page .workflow-list p { margin-top: 8px; font-size: 16px; }
.driving-page .step-number { width: 40px; height: 40px; }
.driving-page .workflow-list li:not(:last-child)::after { left: 19px; top: 40px; }
.faq-list { max-width: 980px; }
.faq-list details { border-bottom: 1px solid #e4eaf3; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex-shrink: 0; color: var(--brand-cta); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 800px; padding-bottom: 24px; color: #4b5563; line-height: 1.7; font-size: 16px; }
.driving-page .closing { display: block; background: var(--brand-gradient-light); }
.driving-page .closing > div { max-width: 900px; }
.driving-page .closing h2 { max-width: 800px; }
.driving-page .closing p:not(.eyebrow) { max-width: 660px; margin-top: 20px; font-size: 18px; line-height: 1.65; color: #4b5563; }
.driving-page .closing .cta { margin-top: 24px; }
.driving-page .site-footer { margin-top: 0; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.driving-page .preview-devices { padding-right: 3%; padding-bottom: 8%; }
.image-preview { display: block; position: relative; border: 0; padding: 0; background: transparent; cursor: zoom-in; font-family: inherit; color: inherit; width: 100%; }
.driving-page .solution-hero-visual img { transform: none !important; opacity: 1 !important; }
.image-preview img { border-radius: 12px; }
.image-preview picture { display: block; }
.driving-page .report-device { position: absolute; width: 25%; right: -1%; bottom: 0; }
.driving-page .solution-hero-visual figcaption { font-size: 13px; color: #4b5563; text-align: left; }
html:has(dialog[open]) { overflow: hidden; }
.driving-page .scroll-workflow .step-number { transition: background .3s, color .3s, box-shadow .3s; }
.driving-page .scroll-workflow .is-current .step-number { background: var(--brand-cta); color: white; box-shadow: 0 0 0 6px #5267e51a; }
.driving-page .scroll-workflow .is-current h3 { color: var(--brand-navy); }
.driving-page .scroll-workflow .is-complete .step-number { background: var(--brand-navy); color: white; }
.driving-page .scroll-workflow .is-complete::after { background: var(--brand-cta); }
@media (min-width: 901px) and (min-height: 701px) {
  .driving-page .scroll-workflow { align-items: start; }
  .driving-page .scroll-workflow .section-heading { position: sticky; top: 112px; margin-bottom: 0; }
  .driving-page .scroll-workflow .workflow-list li { min-height: 36svh; padding-bottom: 64px; }
  .driving-page .scroll-workflow .workflow-list li:last-child { min-height: 28svh; padding-bottom: 0; }
}
dialog { color: var(--ink); border: 1px solid #e4eaf3; background: white; border-radius: 20px; box-shadow: 0 24px 100px #11182733; padding: 0; }
dialog::backdrop { background: #11182780; }
.demo-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; }
.demo-dialog[open] { display: flex; flex-direction: column; }
.demo-dialog .dialog-toolbar { flex-shrink: 0; }
.demo-dialog .dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; }
.dialog-actions { position: relative; z-index: 2; flex-shrink: 0; padding: 16px 32px calc(24px + env(safe-area-inset-bottom)); background: white; box-shadow: 0 -12px 28px -12px #25314435; }
.dialog-toolbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; padding: 12px 16px; background: white; }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #253144; background: #edf1f6; cursor: pointer; }
.dialog-close:hover { background: #e0e6f0; }
.dialog-content { padding: 0 32px 32px; }
.dialog-content h2 { font-size: 28px; letter-spacing: -.04em; }
.dialog-content > p, #demo-success p { margin-top: 16px; color: #4b5563; font-size: 16px; line-height: 1.6; }
.form-field { margin-top: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 16px; color: var(--ink); background: white; }
.form-field input:focus { outline: 2px solid var(--brand-cta); outline-offset: 2px; }
.form-field input[aria-invalid="true"] { border-color: #b42318; }
.field-error { font-size: 13px; color: #b42318; line-height: 1.5; margin-top: 6px; }
.field-error:empty { display: none; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-privacy { margin-top: 20px; font-size: 13px; color: #4b5563; line-height: 1.6; }
.form-privacy a { color: #3d4fba; text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.5; color: #b42318; }
.form-status:empty { display: none; }
.driving-page .form-submit { width: 100%; margin-top: 0; box-shadow: 0 8px 20px #5267e538; }
.form-submit:disabled { cursor: progress; opacity: .65; }
.image-dialog { width: min(1500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.image-dialog > img { display: block; max-width: 100%; max-height: calc(100dvh - 144px); width: auto; height: auto; margin: auto; object-fit: contain; }
.image-dialog > p { margin: 16px; font-size: 13px; color: #4b5563; text-align: center; }
@media (max-width: 900px) { .driving-page .solution-intro { grid-template-columns: 1fr; } .driving-page .solution-hero-visual { max-width: 760px; } }
@media (max-width: 767px) {
  .driving-page .solution-header { height: 72px; }
  .driving-page main { padding-top: 72px; }
  .driving-page .solution-intro { padding-block: 32px 48px; gap: 32px; }
  .driving-page h1 { font-size: clamp(32px, 8vw, 36px); }
  .driving-page .intro-lead { font-size: 17px; margin-top: 20px; }
  .driving-page .solution-intro-copy > .cta, .driving-page .closing .cta { width: 100%; }
  .driving-page .consultation-note { max-width: none; font-size: 14px; }
  .driving-page .solution-section { padding-block: 48px; }
  .driving-page .feature { display: block; padding-block: 20px; }
  .driving-page .feature::before { display: none; }
  .driving-page .feature h3, .driving-page .feature:nth-child(-n+3) h3 { font-size: 22px; }
  .driving-page .feature p { margin-top: 10px; font-size: 16px; }
  .driving-page .workflow { gap: 28px; }
  .driving-page .workflow-list li:not(:last-child)::after { display: none; }
  .driving-page .workflow-list li { gap: 14px; padding-bottom: 24px; }
  .driving-page .workflow h3 { font-size: 18px; padding-top: 6px; }
  .driving-page .step-number { width: 32px; height: 32px; font-size: 12px; }
  .faq-list summary { font-size: 17px; padding-block: 20px; }
  .driving-page .preview-devices { padding: 0; }
  .driving-page .desktop-preview { width: 100%; }
  .driving-page .desktop-preview img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; }
  .driving-page .report-device { display: none; }
  .driving-page .closing p:not(.eyebrow) { font-size: 17px; }
  .dialog-content { padding: 0 24px 24px; }
  .dialog-actions { padding-inline: 24px; }
  .footer-legal { flex-direction: column; gap: 12px; }
}
@media (max-width: 380px), (max-height: 500px) { .demo-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; } }

/* Feature image slots are ready for real captures supplied separately. */
.driving-page .feature-showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 6vw, 88px); border-bottom: 0; }
.driving-page .feature-showcase::before { display: none; }
.driving-page .feature-showcase:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.driving-page .feature-showcase:nth-child(even) .feature-copy { order: 2; }
.driving-page .feature-showcase:nth-child(even) .feature-visual { order: 1; }
.feature-copy { min-width: 0; }
.feature-copy::before { content: counter(feature, decimal-leading-zero); display: block; margin-bottom: 20px; color: var(--brand-cta); font-family: 'Sora', system-ui, sans-serif; font-size: 15px; font-weight: 600; }
.driving-page .feature-showcase h3, .driving-page .feature-showcase:nth-child(-n+3) h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.2; color: var(--brand-navy); }
.driving-page .feature-showcase p { max-width: 560px; margin-top: 20px; font-size: 18px; line-height: 1.7; }
.feature-visual { display: grid; place-items: center; min-width: 0; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: linear-gradient(140deg, var(--brand-soft-lavender), var(--brand-paper) 55%, var(--brand-soft-cyan)); box-shadow: inset 0 0 0 1px #052d660d, 0 20px 60px -32px #052d6626; }
.feature-visual .feature-placeholder { width: 48px; height: 48px; color: #7b8cffa6; stroke-width: 1; }
.feature-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .driving-page .feature-showcase, .driving-page .feature-showcase:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .driving-page .feature-showcase:nth-child(even) .feature-copy, .driving-page .feature-showcase:nth-child(even) .feature-visual { order: initial; }
  .driving-page .feature-showcase p { max-width: 680px; font-size: 17px; }
}
@media (max-width: 767px) {
  .driving-page .feature-showcase { padding-block: 32px; gap: 24px; }
  .feature-copy::before { margin-bottom: 14px; }
  .driving-page .feature-showcase p { margin-top: 16px; font-size: 16px; }
}

.feature-track .feature-stage { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: clamp(20px, 3vw, 48px); min-width: 0; }
.feature-track.is-scroll-driven .feature-stage { position: sticky; top: var(--feature-sticky-top); }
.feature-carousel { display: grid; overflow: hidden; }
.driving-page .feature-carousel .feature-showcase { grid-area: 1 / 1; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; visibility: hidden; pointer-events: none; padding-block: 16px; }
.driving-page .feature-carousel .feature-showcase.is-visible { visibility: visible; }
.driving-page .feature-carousel .feature-showcase.is-active { pointer-events: auto; }
.driving-page .feature-carousel .feature-showcase .feature-copy, .driving-page .feature-carousel .feature-showcase .feature-visual { order: initial; }
.feature-carousel .feature-copy { transform: translateY(var(--feature-copy-y, 0px)); opacity: var(--feature-opacity, 1); }
.feature-carousel .feature-visual { transform: scale(var(--feature-zoom, 1)); opacity: var(--feature-opacity, 1); }
.feature-controls { display: flex; flex-direction: column; align-items: center; }
.feature-controls button { display: grid; place-items: center; width: 44px; height: 28px; flex-shrink: 0; border: 0; padding: 0; background: transparent; cursor: pointer; }
.feature-controls button::before { content: ''; width: 28px; height: 3px; border-radius: 4px; background: var(--brand-navy); opacity: calc(.25 + .75 * var(--marker-weight, 0)); transform: scaleX(calc(.55 + .45 * var(--marker-weight, 0))); }
@media (max-width: 900px) {
  .driving-page .feature-carousel .feature-showcase { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 24px; }
  .feature-carousel .feature-visual { align-self: start; }
}
@media (max-width: 600px) {
  .feature-track .feature-stage { grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; }
  .feature-controls button { width: 32px; height: 28px; }
  .feature-controls button::before { width: 24px; }
}
