/*
  AV LÜ™ For Dealers dark route treatment v2.4.3
  Scoped to the dealer workflow page so other routes remain unchanged.
  © 2026 AVLU. All rights reserved.
*/

html[data-theme="dark"] body.route-for-dealers {
  --dealer-ink: #f5f8ff;
  --dealer-muted: #aab9d5;
  --dealer-blue: #2f83ff;
  --dealer-blue-bright: #6ea7ff;
  --dealer-navy: #061326;
  --dealer-navy-deep: #030a17;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  color: var(--dealer-ink);
  background: var(--dealer-navy-deep) !important;
}

html[data-theme="dark"]:has(body.route-for-dealers) {
  background: var(--dealer-navy-deep) !important;
}

html[data-theme="dark"] body.route-for-dealers main {
  background: transparent !important;
}

html[data-theme="dark"] body.route-for-dealers::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(121, 169, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 26% 72%, rgba(121, 169, 255, 0.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 43% 31%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.7px),
    radial-gradient(circle at 63% 14%, rgba(121, 169, 255, 0.48) 0 1px, transparent 1.8px),
    radial-gradient(circle at 81% 67%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 93% 26%, rgba(121, 169, 255, 0.46) 0 1px, transparent 1.8px),
    radial-gradient(ellipse at 78% 24%, rgba(20, 61, 126, 0.22), transparent 35%),
    linear-gradient(135deg, #061326 0%, #030a17 62%, #06152b 100%);
  background-size: 211px 173px, 271px 233px, 317px 251px, 389px 307px, 463px 367px, 557px 431px, auto, auto;
}

html[data-theme="dark"] body.route-for-dealers .v13-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(125, 166, 232, 0.22);
  background: rgba(3, 10, 23, 0.88) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.17);
  color: var(--dealer-ink);
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] body.route-for-dealers .v13-header::after {
  background: repeating-linear-gradient(90deg, rgba(110, 167, 255, 0.7) 0 22px, transparent 22px 28px);
  opacity: 0.2;
}

html[data-theme="dark"] body.route-for-dealers .v13-brand {
  color: #f4f7ff;
  text-shadow: 0 0 20px rgba(90, 148, 255, 0.28);
}

html[data-theme="dark"] body.route-for-dealers .v13-brand::before {
  background: var(--dealer-blue);
  box-shadow: 0 0 12px rgba(47, 131, 255, 0.8);
}

html[data-theme="dark"] body.route-for-dealers .v13-nav a,
html[data-theme="dark"] body.route-for-dealers .v13-login {
  color: rgba(221, 231, 250, 0.74);
}

html[data-theme="dark"] body.route-for-dealers .v13-nav a:hover,
html[data-theme="dark"] body.route-for-dealers .v13-nav a:focus-visible,
html[data-theme="dark"] body.route-for-dealers .v13-nav a[aria-current="page"],
html[data-theme="dark"] body.route-for-dealers .v13-login:hover {
  color: var(--dealer-blue-bright);
  background: rgba(20, 47, 86, 0.68);
}

html[data-theme="dark"] body.route-for-dealers .v13-nav a::after {
  background: var(--dealer-blue);
  box-shadow: 0 0 10px rgba(47, 131, 255, 0.72);
}

html[data-theme="dark"] body.route-for-dealers .v13-menu {
  border-color: rgba(126, 169, 237, 0.5);
  background: rgba(7, 23, 47, 0.74);
  color: var(--dealer-ink);
}

html[data-theme="dark"] body.route-for-dealers .ref-page-hero {
  min-height: calc(100svh - 70px);
  padding: clamp(78px, 10vh, 132px) 0 clamp(72px, 9vh, 116px);
  overflow: hidden;
  border-bottom-color: rgba(125, 166, 232, 0.2);
  background:
    radial-gradient(ellipse at 76% 28%, rgba(20, 61, 126, 0.28), transparent 42%),
    radial-gradient(ellipse at 12% 86%, rgba(11, 43, 94, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(10, 32, 68, 0.52), transparent 52%),
    var(--dealer-navy-deep) !important;
}

html[data-theme="dark"] body.route-for-dealers .ref-page-hero::before {
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  opacity: 0.94;
  background:
    radial-gradient(circle at 11% 19%, rgba(121, 169, 255, 0.72) 0 1px, transparent 1.8px),
    radial-gradient(circle at 23% 72%, rgba(121, 169, 255, 0.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 42% 31%, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.7px),
    radial-gradient(circle at 61% 15%, rgba(121, 169, 255, 0.52) 0 1px, transparent 1.8px),
    radial-gradient(circle at 79% 66%, rgba(255, 255, 255, 0.38) 0 1px, transparent 1.8px),
    radial-gradient(circle at 91% 26%, rgba(121, 169, 255, 0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 87%, rgba(121, 169, 255, 0.4) 0 1px, transparent 1.7px),
    repeating-radial-gradient(circle at 78% 22%, transparent 0 48px, rgba(92, 145, 228, 0.055) 49px 50px);
  background-size: 211px 173px, 271px 233px, 317px 251px, 389px 307px, 463px 367px, 557px 431px, 619px 509px, auto;
}

html[data-theme="dark"] body.route-for-dealers .ref-page-hero::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  opacity: 0.58;
  background:
    linear-gradient(132deg, transparent 0 34%, rgba(92, 145, 228, 0.12) 34.08%, transparent 34.18%),
    linear-gradient(28deg, transparent 0 58%, rgba(92, 145, 228, 0.1) 58.08%, transparent 58.18%),
    linear-gradient(90deg, transparent 0 16%, rgba(92, 145, 228, 0.08) 16.05%, transparent 16.12%),
    linear-gradient(160deg, transparent 0 77%, rgba(92, 145, 228, 0.09) 77.05%, transparent 77.12%);
}

html[data-theme="dark"] body.route-for-dealers .ref-container {
  width: min(100% - 64px, 1360px);
}

html[data-theme="dark"] body.route-for-dealers .ref-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(60px, 8vw, 146px);
}

html[data-theme="dark"] body.route-for-dealers .ref-hero-copy,
html[data-theme="dark"] body.route-for-dealers .simple-hero-side {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] body.route-for-dealers .ref-hero-copy {
  max-width: 760px;
}

html[data-theme="dark"] body.route-for-dealers .ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(24px, 3vw, 38px);
  color: var(--dealer-blue-bright);
  font-family: var(--avlu-site-mono, "IBM Plex Mono", monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(47, 131, 255, 0.45);
}

html[data-theme="dark"] body.route-for-dealers .ref-eyebrow::before {
  width: 38px;
  height: 1px;
  background: var(--dealer-blue);
  box-shadow: 0 0 10px rgba(47, 131, 255, 0.75);
  content: "";
}

html[data-theme="dark"] body.route-for-dealers .ref-title-small {
  max-width: 760px;
  margin: 0;
  color: #f7f9ff;
  font-family: var(--avlu-site-serif, Georgia, serif);
  font-size: clamp(3.6rem, 6.8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.89;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] body.route-for-dealers .ref-lead {
  max-width: 590px;
  margin: 32px 0 0;
  color: var(--dealer-muted);
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.7;
}

html[data-theme="dark"] body.route-for-dealers .ref-actions {
  margin-top: 32px;
}

html[data-theme="dark"] body.route-for-dealers .v13-btn--primary {
  border-color: var(--dealer-blue);
  background: var(--dealer-blue);
  box-shadow: 0 0 0 1px rgba(110, 167, 255, 0.2), 0 12px 32px rgba(10, 67, 158, 0.34);
  color: #fff;
}

html[data-theme="dark"] body.route-for-dealers .v13-btn--primary:hover,
html[data-theme="dark"] body.route-for-dealers .v13-btn--primary:focus-visible {
  border-color: var(--dealer-blue-bright);
  background: var(--dealer-blue-bright);
  box-shadow: 0 0 0 1px rgba(110, 167, 255, 0.35), 0 14px 36px rgba(10, 67, 158, 0.46);
}

html[data-theme="dark"] body.route-for-dealers .simple-trust-line {
  color: rgba(174, 191, 220, 0.72);
}

html[data-theme="dark"] body.route-for-dealers .ref-benefit__copy strong,
html[data-theme="dark"] body.route-for-dealers .ref-benefit__copy > span {
  color: var(--dealer-ink);
}

html[data-theme="dark"] body.route-for-dealers .ref-benefit__copy > span {
  color: var(--dealer-muted);
}

html[data-theme="dark"] body.route-for-dealers .ref-icon {
  border-color: rgba(92, 159, 255, 0.58);
  background: rgba(31, 102, 219, 0.24);
  color: var(--dealer-blue-bright);
  box-shadow: 0 0 16px rgba(47, 131, 255, 0.18);
}

html[data-theme="dark"] body.route-for-dealers .simple-hero-side {
  width: min(100%, 590px);
  justify-self: end;
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-card {
  overflow: hidden;
  border: 1px solid rgba(77, 143, 255, 0.78);
  border-top-width: 2px;
  border-radius: 2px;
  background: rgba(7, 25, 53, 0.72);
  box-shadow:
    0 0 0 1px rgba(47, 131, 255, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(26, 91, 184, 0.14);
  backdrop-filter: blur(13px);
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-card__head {
  padding: 28px 30px 26px;
  border-bottom: 1px solid rgba(111, 164, 243, 0.22);
  background: linear-gradient(115deg, rgba(19, 57, 112, 0.82), rgba(4, 20, 45, 0.68));
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-card__head span {
  color: var(--dealer-blue-bright);
  font-family: var(--avlu-site-mono, monospace);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-card__head h2 {
  margin: 15px 0 0;
  color: #f5f8ff;
  font-family: var(--avlu-site-serif, Georgia, serif);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-card__rows {
  background: rgba(3, 13, 29, 0.48);
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-row {
  min-height: 104px;
  padding: 22px 30px;
  border-bottom-color: rgba(119, 158, 216, 0.18);
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-row > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(92, 159, 255, 0.58);
  border-radius: 50%;
  background: rgba(31, 102, 219, 0.24);
  box-shadow: 0 0 16px rgba(47, 131, 255, 0.18);
  color: var(--dealer-blue-bright);
  font-family: var(--avlu-site-mono, monospace);
  font-size: 0.74rem;
  font-weight: 800;
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-row strong {
  color: #f4f7ff;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

html[data-theme="dark"] body.route-for-dealers .simple-summary-row small {
  margin-top: 7px;
  color: rgba(190, 205, 231, 0.72);
  font-size: 0.77rem;
  line-height: 1.45;
}

html[data-theme="dark"] body.route-for-dealers .simple-detail {
  border-color: rgba(92, 159, 255, 0.62);
  border-radius: 2px;
  background: rgba(5, 19, 42, 0.78);
  box-shadow: 0 0 22px rgba(31, 102, 219, 0.11);
}

html[data-theme="dark"] body.route-for-dealers .simple-detail summary {
  color: #f2f6ff;
}

html[data-theme="dark"] body.route-for-dealers .simple-detail summary::after {
  border-color: var(--dealer-blue-bright);
  color: var(--dealer-blue-bright);
}

@media (max-width: 980px) {
  html[data-theme="dark"] body.route-for-dealers .ref-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  html[data-theme="dark"] body.route-for-dealers .simple-hero-side {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  html[data-theme="dark"] body.route-for-dealers .ref-container {
    width: min(100% - 32px, 680px);
  }

  html[data-theme="dark"] body.route-for-dealers .ref-page-hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  html[data-theme="dark"] body.route-for-dealers .ref-title-small {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
    line-height: 0.92;
  }

  html[data-theme="dark"] body.route-for-dealers .ref-lead {
    margin-top: 24px;
  }

  html[data-theme="dark"] body.route-for-dealers .simple-summary-card__head,
  html[data-theme="dark"] body.route-for-dealers .simple-summary-row {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] body.route-for-dealers::after,
  html[data-theme="dark"] body.route-for-dealers .ref-page-hero::before,
  html[data-theme="dark"] body.route-for-dealers .ref-page-hero::after {
    opacity: 0.46;
  }
}