/* Vehicle listings: Harlow Road Cars, an invented independent dealer. Clean white, asphalt grey and a racing blue accent with Arial Black headings. Stock, finance and a part exchange value are the product. */

.vl-page {
  --vl-canvas: #f7f8fa;
  --vl-surface: #ffffff;
  --vl-band: #eceff3;
  --vl-ink: #14171c;
  --vl-muted: #4f5661;
  --vl-line: #d9dde3;
  --vl-line-strong: #77808c;
  --vl-accent: #0f4fbf;
  --vl-accent-hover: #0b3d94;
  --vl-on-accent: #ffffff;
  --vl-tint: #e1eafb;
  --vl-success: #1d6b38;
  --vl-danger: #a3241b;
  --vl-focus: #0f4fbf;
  --vl-car: #9aa3af;
  --vl-tyre: #2a2e35;
  --vl-road: #dfe3e8;
  --vl-head: "Arial Black", "Segoe UI", sans-serif;
  --vl-body: "Segoe UI", system-ui, sans-serif;
  --vl-r: 8px;

  background: var(--vl-canvas);
  color: var(--vl-ink);
  font-family: var(--vl-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Dark mode, the default (PRD section 13.10): showroom at night, asphalt with an electric blue. Only this template's
   tokens change. */
@media screen {
  :root[data-theme="dark"] .vl-page {
    --vl-canvas: #0e1014;
    --vl-surface: #171a20;
    --vl-band: #12151a;
    --vl-ink: #eef0f4;
    --vl-muted: #b2b8c2;
    --vl-line: #2b3039;
    --vl-line-strong: #7b838f;
    --vl-accent: #7fb0ff;
    --vl-accent-hover: #a6c8ff;
    --vl-on-accent: #06183a;
    --vl-tint: #1b2740;
    --vl-success: #8fd29b;
    --vl-danger: #ff8a80;
    --vl-focus: #7fb0ff;
    --vl-car: #5b6472;
    --vl-tyre: #0a0b0d;
    --vl-road: #22262d;
    color-scheme: dark;
  }
}

.vl-page [hidden] { display: none !important; }
:where(.vl-page) :is(p, h1, h2, h3, h4, ul, ol, dl, dd, fieldset, figure, blockquote) { margin: 0; }
:where(.vl-page) :is(ul, ol) { padding: 0; list-style: none; }
:where(.vl-page) fieldset { padding: 0; border: 0; min-width: 0; }
:where(.vl-page) a { color: var(--vl-accent); }
:where(.vl-page) :is(h1, h2, h3, h4) { color: inherit; }
.vl-page :focus-visible { outline: 3px solid var(--vl-focus); outline-offset: 2px; }
.vl-page :is(input[type="range"], input[type="checkbox"], input[type="radio"]) { accent-color: var(--vl-accent); }
html:has(.vl-page) { scroll-behavior: smooth; }
.vl-page section[id] { scroll-margin-top: 72px; }
.vl-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.vl-header { position: sticky; top: 0; z-index: 20; background: var(--vl-canvas); border-bottom: 1px solid var(--vl-line); }
.vl-header-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.vl-logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.1 var(--vl-head); color: var(--vl-ink) !important; text-decoration: none; }
.vl-logo-mark { width: 30px; height: 30px; flex: none; fill: var(--vl-tint); stroke: var(--vl-accent); stroke-width: 2; stroke-linejoin: round; }
.vl-nav { margin-left: auto; }
.vl-nav ul { display: flex; gap: 22px; }
.vl-nav a { color: var(--vl-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.vl-nav a:hover { color: var(--vl-accent); text-decoration: underline; text-underline-offset: 4px; }
.vl-menu-btn { display: none; }
.vl-theme-btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--vl-line-strong); border-radius: var(--vl-r); background: transparent; color: inherit; font-size: 1.15rem; cursor: pointer;
}
.vl-theme-btn:hover { background: var(--vl-tint); }

.vl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--vl-accent); border-radius: var(--vl-r); font: 700 1rem/1.2 var(--vl-head); text-decoration: none; cursor: pointer; text-align: center;
}
.vl-btn--fill { background: var(--vl-accent); color: var(--vl-on-accent) !important; }
.vl-btn--fill:hover { background: var(--vl-accent-hover); border-color: var(--vl-accent-hover); }
.vl-btn--line { background: transparent; color: var(--vl-accent) !important; }
.vl-btn--line:hover { background: var(--vl-tint); }
.vl-btn--big { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.vl-btn:disabled { background: var(--vl-band); border-color: var(--vl-line-strong); color: var(--vl-muted) !important; cursor: not-allowed; }

.vl-eyebrow { font-weight: 700; color: var(--vl-accent); font-size: .92rem; letter-spacing: .02em; }
.vl-title { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.15 var(--vl-head); }
.vl-sub { color: var(--vl-muted); margin-top: 8px; max-width: 64ch; }
.vl-head { margin-bottom: 26px; }
.vl-sec { padding: 72px 0; }
.vl-band { background: var(--vl-band); }
.vl-muted { color: var(--vl-muted); }
.vl-small { font-size: .9rem; color: var(--vl-muted); }

.vl-hero { padding: 64px 0 56px; }
.vl-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.vl-hero-title { font: 700 clamp(2.2rem, 5vw, 3.5rem)/1.06 var(--vl-head); margin-top: 10px; }
.vl-lede { font-size: 1.15rem; color: var(--vl-muted); margin-top: 16px; max-width: 54ch; }
.vl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vl-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--vl-muted); font-size: .95rem; }
.vl-facts strong { color: var(--vl-ink); }
.vl-panel { padding: 24px; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: calc(var(--vl-r) + 4px); box-shadow: 0 24px 40px -30px var(--color-shadow); }
.vl-panel-title { font: 700 1.1rem var(--vl-head); margin-bottom: 12px; }

.vl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.vl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vl-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: var(--vl-r); }
.vl-card h3 { font: 700 1.15rem/1.25 var(--vl-head); }
.vl-card p { color: var(--vl-muted); font-size: .96rem; }
.vl-card .vl-btn { margin-top: auto; align-self: flex-start; }
.vl-card.is-on { border: 2px solid var(--vl-accent); }
.vl-art { height: 120px; margin: -22px -22px 6px; border-radius: var(--vl-r) var(--vl-r) 0 0; background: var(--vl-tint); position: relative; overflow: hidden; }
.vl-art::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 18%; top: 22%; background: var(--vl-canvas); opacity: .7; }
.vl-price { font: 700 1.5rem var(--vl-head); color: var(--vl-ink); }
.vl-badge { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--vl-line-strong); font-size: .82rem; font-weight: 600; color: var(--vl-ink); }
.vl-badge--on { background: var(--vl-tint); border-color: var(--vl-accent); }
.vl-badge--bad { border-color: var(--vl-danger); color: var(--vl-danger); }
.vl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--vl-muted); }

.vl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vl-chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--vl-line-strong); border-radius: 999px; background: var(--vl-surface); color: var(--vl-ink); font: 600 .95rem var(--vl-body); cursor: pointer; }
.vl-chip:hover { border-color: var(--vl-accent); }
.vl-chip[aria-pressed="true"] { background: var(--vl-accent); border-color: var(--vl-accent); color: var(--vl-on-accent); }
.vl-count { font-weight: 600; margin-bottom: 14px; }
.vl-empty { padding: 28px; text-align: center; border: 1px dashed var(--vl-line-strong); border-radius: var(--vl-r); }

.vl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; counter-reset: st; }
.vl-steps li { padding: 22px; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: var(--vl-r); counter-increment: st; }
.vl-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--vl-accent); color: var(--vl-on-accent); font-weight: 700; }
.vl-steps h3 { font: 700 1.1rem var(--vl-head); }
.vl-steps p { color: var(--vl-muted); font-size: .95rem; margin-top: 4px; }

.vl-table { width: 100%; border-collapse: collapse; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: var(--vl-r); overflow: hidden; }
.vl-table th, .vl-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--vl-line); vertical-align: top; }
.vl-table th { font-size: .88rem; color: var(--vl-muted); background: var(--vl-band); }
.vl-table td.vl-num, .vl-table th.vl-num { text-align: right; font-variant-numeric: tabular-nums; }

.vl-meter { height: 10px; border-radius: 999px; background: var(--vl-line); overflow: hidden; }
.vl-meter span { display: block; height: 100%; background: var(--vl-accent); border-radius: inherit; }
.vl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; }
.vl-stat strong { display: block; font: 700 2rem/1.1 var(--vl-head); }
.vl-stat span { color: var(--vl-muted); font-size: .92rem; }

.vl-faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.vl-qs details { border-bottom: 1px solid var(--vl-line); }
.vl-qs summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.vl-qs p { padding: 0 0 16px; color: var(--vl-muted); }

.vl-form { max-width: 760px; margin-inline: auto; padding: 32px; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: calc(var(--vl-r) + 4px); display: flex; flex-direction: column; gap: 18px; }
.vl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vl-field--full { grid-column: 1 / -1; }
.vl-field label, .vl-field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.vl-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--vl-line-strong); border-radius: calc(var(--vl-r) - 2px); background: var(--vl-canvas); color: var(--vl-ink); font: 1rem var(--vl-body); }
.vl-field textarea { min-height: 110px; resize: vertical; }
.vl-field :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--vl-danger); }
.vl-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.vl-check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--vl-accent); }
.vl-hint { font-size: .88rem; color: var(--vl-muted); margin-top: 6px; }
.vl-error { color: var(--vl-danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.vl-error::before { content: "! "; }
.vl-status { font-weight: 600; }
.vl-status.is-ok { padding: 14px 16px; border-radius: calc(var(--vl-r) - 2px); background: var(--vl-tint); border-left: 4px solid var(--vl-success); }

.vl-footer { padding: 28px 0; border-top: 1px solid var(--vl-line); color: var(--vl-muted); font-size: .92rem; }
.vl-footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .vl-header-in { flex-wrap: wrap; gap: 10px; }
  .vl-theme-btn { margin-left: auto; }
  .vl-menu-btn {
    display: inline-flex; align-items: center; order: 3; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--vl-line-strong); border-radius: var(--vl-r); background: transparent; color: var(--vl-ink); font: 600 .95rem var(--vl-body); cursor: pointer;
  }
  .vl-nav { display: none; order: 5; width: 100%; margin: 0; }
  .vl-nav.is-open { display: block; padding-bottom: 12px; }
  .vl-nav ul { flex-direction: column; gap: 0; }
  .vl-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--vl-line); }
  .vl-header-cta { display: none; }
  .vl-hero-in, .vl-faq-in, .vl-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .vl-sec { padding: 52px 0; }
  .vl-fields { grid-template-columns: minmax(0, 1fr); }
  .vl-form { padding: 20px; }
  .vl-table thead { display: none; }
  .vl-table, .vl-table tbody, .vl-table tr, .vl-table td { display: block; width: 100%; }
  .vl-table tr { border-bottom: 1px solid var(--vl-line-strong); padding: 6px 0; }
  .vl-table td { border: 0; padding: 6px 14px; text-align: left !important; }
  .vl-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--vl-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.vl-page) { scroll-behavior: auto; }
}

@media print {
  .vl-header, .vl-theme-btn, .vl-form { display: none; }
}

/* This template's own sections */
.vl-ticks li { padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--vl-line); }
.vl-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--vl-success); font-weight: 700; }
.vl-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.vl-lab { display: block; font-weight: 700; font-size: .92rem; margin: 12px 0 6px; }
.vl-tools select, .vl-fin input[type="number"], .vl-fin input[type="text"] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--vl-line-strong); border-radius: var(--vl-r); background: var(--vl-surface); color: var(--vl-ink); font: inherit; }
.vl-tools input[type="range"], .vl-fin input[type="range"] { width: 100%; }
.vl-car { display: flex; flex-direction: column; background: var(--vl-surface); border: 1px solid var(--vl-line); border-radius: var(--vl-r); overflow: hidden; }
.vl-car svg { display: block; width: 100%; height: auto; background: var(--vl-road); }
.vl-body-c { fill: var(--vl-car); } .vl-tyre { fill: var(--vl-tyre); }
.vl-cbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vl-cbody h3 { font: 900 1.05rem var(--vl-head); }
.vl-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.vl-specs li { padding: 2px 8px; border-radius: 4px; background: var(--vl-band); font-size: .85rem; }
.vl-cprice { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 8px; }
.vl-cprice b { font: 900 1.3rem var(--vl-head); }
.vl-cprice span { color: var(--vl-muted); font-size: .9rem; }
.vl-cbody .vl-btn { width: 100%; justify-content: center; }
.vl-fin { display: grid; gap: 40px; align-items: start; }
.vl-hint { color: var(--vl-muted); font-size: .88rem; margin-top: 6px; }
.vl-monthly { font: 900 1.1rem var(--vl-head); margin: 4px 0 12px; }
.vl-monthly span { font-size: 2.4rem; }
.vl-sum div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--vl-line); }
.vl-sum dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.vl-reg { font: 900 1.4rem var(--vl-head) !important; text-transform: uppercase; letter-spacing: .06em; }
.vl-error { color: var(--vl-danger); font-weight: 700; margin-top: 6px; }
[aria-invalid="true"] { border: 2px solid var(--vl-danger) !important; }
#vl-px-form .vl-btn { margin-top: 16px; }
.vl-pxval { font: 900 2rem var(--vl-head); margin: 6px 0; }
@media (max-width: 860px) { .vl-tools { grid-template-columns: minmax(0, 1fr); } }
