/* Mobile supplier layout. The existing desktop sections retain their styles. */
.dealer-mobile-only,
.dealer-mobile-section { display: none; }

@media (max-width: 760px) {
  .dealer-page .dealer-desktop-only,
  .dealer-page .dealer-hero .page-breadcrumb,
  .dealer-page .dealer-hero-lede,
  .dealer-page .services-section,
  .dealer-page .dealer-connect-section,
  .dealer-page .dealer-leasing-process-section,
  .dealer-page .dealer-connect-walkthrough-section,
  .dealer-page .customer-faq-section,
  .dealer-page .customer-trust-section,
  .dealer-page .dealer-closing-section,
  .dealer-page .supplier-proof-tabs { display: none; }

  .dealer-mobile-only { display: block; }
  .dealer-page .site-header.dealer-header-on-light:not(.menu-open) .wordmark-bold,
  .dealer-page .site-header.dealer-header-on-light:not(.menu-open) .nav-toggle { color: var(--ink); }
  .dealer-page .hero.dealer-hero {
    min-height: clamp(480px, calc(82svh - 44px), 680px);
    align-items: center;
    padding: 94px 20px 48px;
  }
  .dealer-page .dealer-hero::after {
    inset: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(14,27,44,.4), rgba(14,27,44,.72) 42%, rgba(14,27,44,.88));
  }
  .dealer-page .dealer-hero-copy { width: 100%; max-width: 420px; margin: 0 auto; text-align: center; }
  .dealer-page .dealer-hero h1 { margin: 0; font-size: clamp(28px, 8.2vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
  .dealer-hero h1 .dealer-mobile-only > span { display: block; white-space: nowrap; }
  .dealer-page .dealer-hero .dealer-mobile-kicker { margin: 0 0 8px; color: var(--paper); font-weight: 500; }
  .dealer-page .dealer-hero-actions { flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
  .dealer-page .dealer-hero-actions .button { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 8px; width: min(100%,252px); min-height: 44px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.35; }
  .dealer-page .dealer-hero-actions .dealer-mobile-secondary { background: transparent; border: 1px solid rgba(251,250,246,.4); color: var(--paper); }

  .dealer-mobile-section { display: block; padding: 48px 20px; background: var(--paper); color: var(--ink); }
  .dealer-mobile-inner { max-width: 420px; margin: 0 auto; }
  .dealer-mobile-kicker { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
  .dealer-mobile-section h2 { margin: 0; color: inherit; font-size: clamp(28px,8vw,32px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
  .dealer-mobile-intro { margin: 16px 0 0; font-size: 15px; line-height: 1.65; }
  .dealer-mobile-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 24px; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; line-height: 1.4; }
  .dealer-mobile-link:focus-visible,
  .dealer-mobile-text-link:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
  .dealer-mobile-text-link { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; margin-top: 8px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
  .dealer-mobile-benefits { list-style: none; margin: 28px 0 0; padding: 0; }
  .dealer-mobile-benefits li { padding: 20px 0; border-top: 1px solid rgba(14,27,44,.16); }
  .dealer-mobile-benefits li:last-child { padding-bottom: 0; }
  .dealer-mobile-section h3 { margin: 0 0 8px; color: inherit; font-size: 18px; font-weight: 600; line-height: 1.3; }
  .dealer-mobile-benefits p,
  .dealer-mobile-steps p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.65; }
  .dealer-mobile-dark { background: var(--ink); color: var(--paper); }
  .dealer-mobile-dark .dealer-mobile-intro,
  .dealer-mobile-dark .dealer-mobile-benefits p { color: var(--bone); }
  .dealer-mobile-dark .dealer-mobile-benefits li { border-color: rgba(251,250,246,.2); }
  .dealer-mobile-dark .dealer-mobile-link { background: var(--paper); color: var(--ink); }
  .dealer-mobile-portal { display: block; width: min(100%,220px); height: auto; margin: 28px auto 0; }
  .dealer-mobile-steps { list-style: none; margin: 28px 0 0; padding: 0 0 0 20px; border-left: 1px solid rgba(14,27,44,.2); }
  .dealer-mobile-steps li { position: relative; margin: 0 0 24px; padding: 0; }
  .dealer-mobile-steps li:last-child { margin-bottom: 0; }
  .dealer-mobile-steps li::before { position: absolute; top: 6px; left: -24px; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); content: ""; }

  .dealer-page .supplier-proof-section { padding: 40px 20px; }
  .dealer-page .supplier-proof-inner { display: block; width: 100%; max-width: 420px; margin: 0 auto; }
  .dealer-page .supplier-proof-quote { margin: 0; }
  .dealer-page .supplier-proof-quote p { font-size: 16px; line-height: 1.7; }
  .dealer-mobile-person,
  .dealer-mobile-closing { background: var(--bone); }
  .dealer-mobile-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; border-radius: 12px; margin-bottom: 28px; }
  .dealer-mobile-faq details { padding: 18px 0; border-bottom: 1px solid rgba(14,27,44,.16); }
  .dealer-mobile-faq details:first-of-type { margin-top: 20px; }
  .dealer-mobile-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; font-size: 15px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
  .dealer-mobile-faq summary::-webkit-details-marker { display: none; }
  .dealer-mobile-faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; }
  .dealer-mobile-faq details[open] summary::after { content: "−"; }
  .dealer-mobile-faq summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
  .dealer-mobile-faq details p { margin: 12px 0 0; color: var(--slate); font-size: 14px; line-height: 1.65; }
}

@media (max-width: 760px) {
  .dealer-mobile-equipment { margin: 24px 0 20px; overflow: hidden; border-radius: 12px; background: var(--ink); color: var(--paper); }
  .dealer-mobile-equipment img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .dealer-mobile-equipment figcaption { padding: 14px 16px; font-size: 12px; line-height: 1.5; }
  .dealer-mobile-promises { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
  .dealer-mobile-promises li { display: flex; align-items: center; gap: 12px; }
  .dealer-mobile-promises li::before { content: ''; display: inline-block; width: 6px; height: 11px; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 4px 2px; }
  .dealer-mobile-preview-hint { display: flex; justify-content: space-between; margin: 24px 0 12px; color: var(--bone); font-size: 12px; }
  .dealer-mobile-previews { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
  .dealer-mobile-preview-card { flex: 0 0 94%; min-width: 0; scroll-snap-align: start; }
  .dealer-mobile-screen { display: block; overflow: hidden; border: 1px solid rgba(251,250,246,.2); border-radius: 12px; }
  .dealer-mobile-screen-image { display: block; background: var(--paper); }
  .dealer-mobile-screen-image img { display: block; width: 100%; height: auto; }
  .dealer-mobile-expand { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 10px 14px; background: var(--paper); color: var(--ink); font-size: 12px; }
  .dealer-mobile-preview-card h3 { margin: 18px 0 8px; font-size: 18px; }
  .dealer-mobile-preview-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--bone); }
  .dealer-mobile-example-note { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--bone); }
  .dealer-mobile-previews:focus-visible,
  .dealer-mobile-screen:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
  .dealer-mobile-person img { aspect-ratio: 16 / 9; margin-bottom: 24px; }
}

@media (max-width: 760px) {
  .dealer-mobile-products { background: var(--bone); }
  .dealer-mobile-product-list { display: grid; gap: 12px; margin: 24px 0 12px; }
  .dealer-mobile-product-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid rgba(14,27,44,.12); border-radius: 12px; background: var(--paper); color: var(--ink); }
  .dealer-mobile-product-card h3 { margin: 0 0 6px; font-size: 17px; }
  .dealer-mobile-product-card p { margin: 0; color: var(--slate); font-size: 13px; line-height: 1.55; }
  .dealer-mobile-product-card > span { flex: none; font-size: 22px; }
  .dealer-mobile-product-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
  .dealer-mobile-product-card:hover { border-color: var(--brass); }
}

@media (max-width: 760px) {
  .dealer-connect-journey { list-style: none; margin: 28px 0; padding: 0; counter-reset: connect-journey; }
  .dealer-connect-journey li { position: relative; padding: 20px 0 20px 36px; border-top: 1px solid rgba(251,250,246,.2); counter-increment: connect-journey; }
  .dealer-connect-journey li::before { content: counter(connect-journey); position: absolute; left: 0; top: 20px; color: var(--brass); font-size: 15px; }
  .dealer-connect-journey .dealer-mobile-kicker { display: block; margin-bottom: 8px; color: var(--bone); font-size: 10px; }
  .dealer-connect-journey p, .dealer-connect-video p { margin: 0; color: var(--bone); font-size: 14px; line-height: 1.6; }
  .dealer-connect-video { margin: 12px 0 0; }
  .dealer-connect-video figcaption { margin-bottom: 16px; }
  .dealer-connect-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #07131e; border-radius: 10px; }
  .dealer-connect-screens { margin-top: 24px; border-top: 1px solid rgba(251,250,246,.2); }
  .dealer-connect-screens summary { min-height: 44px; padding: 16px 0; cursor: pointer; font-size: 14px; }
  .dealer-connect-screens summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
}
