/* Vehicle Finance Hub
   Clean editorial system: Geist throughout, cool slate neutrals, deep navy brand,
   one lime accent. Radius scale: pill for buttons, 16px for panels, 10px for small parts. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #FBFCFD;
  --surface: #F1F4F7;
  --panel: #FDFDFE;
  --ink: #111A2C;
  --ink-soft: #4A5568;
  --line: #E1E6EC;
  --brand: #16264F;
  --link: #22408F;
  --accent: #C6EE63;
  --accent-ink: #111A2C;
  --accent-soft: #EEF8D5;
  --focus: #22408F;
  --foot-bg: #16264F;
  --foot-ink: #DCE3F0;
  --radius-panel: 16px;
  --radius-small: 10px;
  --measure: 66ch;
  --font: "Geist", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1220;
    --surface: #141B2C;
    --panel: #192236;
    --ink: #E9EDF3;
    --ink-soft: #A5AFC0;
    --line: #283247;
    --brand: #E9EDF3;
    --link: #A9C0FF;
    --accent-soft: #232F1A;
    --focus: #C6EE63;
    --foot-bg: #0A0F1B;
    --foot-ink: #B9C3D4;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(34, 64, 143, 0.12); }
a, summary, button { touch-action: manipulation; }
.prose h2, .prose h3 { scroll-margin-top: 1.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

/* Links and focus */
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0.5rem; padding: 0.5rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 999px; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header: 64px, quiet */
.site-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-mark { width: 1.15rem; height: 1.15rem; border-radius: 5px; background: var(--brand); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 0.55rem; height: 0.55rem; border-radius: 3px; background: var(--accent); }
.site-head { position: relative; z-index: 20; }
.main-nav { display: flex; align-items: center; gap: 0.25rem 1.6rem; list-style: none; margin: 0; padding: 0; font-size: 0.97rem; }
.main-nav > li { position: relative; display: flex; align-items: center; }
.nav-top { color: var(--ink-soft); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
a.nav-top:hover, .nav-button:hover, .has-sub:hover > .nav-top { color: var(--ink); }
.nav-top[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-button { display: inline-flex; align-items: center; gap: 0.3rem; font: inherit; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.nav-button svg, .sub-toggle svg { width: 0.85rem; height: 0.85rem; transition: transform 0.2s var(--ease); }
.sub-toggle { display: inline-grid; place-items: center; width: 1.4rem; height: 1.6rem; margin-left: 0.1rem; padding: 0; background: none; border: 0; border-radius: 6px; color: var(--ink-soft); cursor: pointer; }
.sub-toggle:hover { color: var(--ink); }
.has-sub.open .sub-toggle svg, .has-sub.open .nav-button svg { transform: rotate(180deg); }
.nav-soon, .sub-soon { color: var(--ink-soft); opacity: 0.75; padding: 0.35rem 0; cursor: default; }
.soon { font-size: 0.75rem; margin-left: 0.15rem; color: var(--ink-soft); }
.submenu { list-style: none; margin: 0; padding: 0.45rem; }
.submenu a, .sub-soon { display: block; padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.sub-soon { color: var(--ink-soft); }
.submenu a:hover { background: var(--surface); color: var(--link); }
.submenu a[aria-current="page"] { background: var(--accent-soft); }
.menu-toggle { display: none; }

/* Desktop: dropdowns open on hover, focus or click */
@media (min-width: 56.01rem) {
  .submenu { position: absolute; top: 100%; left: -0.75rem; min-width: 15rem; margin-top: 0.6rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(17, 26, 44, 0.12); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s; }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav > li:last-child .submenu, .main-nav > li:nth-last-child(2) .submenu { left: auto; right: -0.75rem; }
}

/* Mobile and tablet: a Menu button opens the full list, with each section's guides beneath */
@media (max-width: 56rem) {
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 0.55rem; font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 1rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
  .nav-open .menu-bars { background: transparent; }
  .nav-open .menu-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-open .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
  .head-inner > nav { width: 100%; }
  .js .head-inner > nav { display: none; }
  .js .nav-open .head-inner > nav { display: block; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; padding: 0.25rem 0 1rem; }
  .main-nav > li { flex-wrap: wrap; border-top: 1px solid var(--line); }
  .nav-top { flex: 1; padding: 0.85rem 0; border-bottom: 0; font-size: 1.05rem; color: var(--ink); font-weight: 550; }
  .nav-top[aria-current="page"] { color: var(--link); }
  .nav-button { justify-content: space-between; text-align: left; }
  .sub-toggle { width: 2.75rem; height: 2.75rem; }
  .sub-toggle svg, .nav-button svg { width: 1.05rem; height: 1.05rem; }
  .submenu { width: 100%; padding: 0 0 0.6rem 0.5rem; }
  .js .submenu { display: none; }
  .js .has-sub.open > .submenu { display: block; }
  .submenu a, .sub-soon { white-space: normal; padding: 0.6rem 0.75rem; }
  .nav-soon { padding: 0.85rem 0; }
}

/* Page header band */
.page-head { background: var(--surface); padding: 2.25rem 0 3rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 0.9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin: 0 0.6rem; opacity: 0.5; }
.page-head h1 {
  font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.updated { margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }

/* Layout */
.layout { display: block; padding-top: 2.5rem; padding-bottom: 4.5rem; }
.prose { max-width: var(--measure); min-width: 0; }
@media (min-width: 64rem) {
  .layout.has-toc { display: grid; grid-template-columns: minmax(0, var(--measure)) 15rem; justify-content: space-between; gap: 4rem; }
  .toc { position: sticky; top: 2rem; }
}
@media (max-width: 63.99rem) { .side { display: none; } }

/* Type scale */
.prose h2 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; margin: 3.25rem 0 0.9rem; text-wrap: balance; }
.prose h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; margin: 1.75rem 0 0.4rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; text-wrap: pretty; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--ink-soft); }
.prose strong { font-weight: 620; }
.prose > p:first-child { font-size: 1.15rem; line-height: 1.6; color: var(--ink); }

/* In short: the answer panel */
.answer {
  background: var(--accent-soft);
  border-radius: var(--radius-panel);
  padding: 1.25rem 1.5rem 0.35rem;
  margin: 1.75rem 0 2.25rem;
  font-size: 1.08rem;
}
.block-label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; margin: 0 0 0.4rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.answer .block-label::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 2px var(--brand); }

/* Status notice and important notes */
.notice {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-panel);
  padding: 1rem 1.25rem 0.1rem;
  margin: 0 0 2.25rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

/* Worked examples */
.example {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: 1.25rem 1.5rem 0.4rem;
  margin: 1.75rem 0;
  font-variant-numeric: tabular-nums;
}
.example .block-label { color: var(--ink-soft); }

/* Tables */
.table-wrap { margin: 1.5rem 0 2rem; border: 1px solid var(--line); border-radius: var(--radius-small); overflow-x: auto; -webkit-overflow-scrolling: touch; --tw-bg: var(--bg);
  background:
    linear-gradient(to right, var(--tw-bg) 30%, transparent) left center / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--tw-bg) 30%, transparent) right center / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(17, 26, 44, 0.16), transparent) left center / 0.9rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(17, 26, 44, 0.16), transparent) right center / 0.9rem 100% no-repeat scroll,
    var(--tw-bg); }
@media (prefers-color-scheme: dark) { .table-wrap { --tw-shadow: 0.5; } }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 0.97rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; }
.prose thead th { background: var(--surface); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose tbody tr + tr td { border-top: 1px solid var(--line); }
.example .table-wrap { --tw-bg: var(--panel); }
.prose th:first-child, .prose td:first-child { font-weight: 550; }
@media (max-width: 40rem) { .prose table { font-size: 0.86rem; line-height: 1.4; } .prose th, .prose td { padding: 0.6rem 0.4rem; hyphens: auto; overflow-wrap: break-word; } .prose th:first-child, .prose td:first-child { padding-left: 0.75rem; } .prose th:last-child, .prose td:last-child { padding-right: 0.75rem; } .prose thead th { white-space: normal; } }


/* Loan structure infographic. Segment colours validated (light/dark) for CVD separation; all segments are direct-labelled. */
:root { --seg-1: #1F9E8E; --seg-2: #3B63C4; --seg-3: #7DA61A; --seg-ink: #2E4FA0; --line-strong: #B9C3D1; }
@media (prefers-color-scheme: dark) { :root { --seg-1: #1E9585; --seg-2: #6B8FF0; --seg-3: #7A9E1F; --seg-ink: #A9C0FF; --line-strong: #44506A; } }
.loan-graphic { margin: 1.75rem 0 2.25rem; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--panel); overflow: hidden; }
.lg-scene { --lg-min: 8.5rem; position: relative; padding: 1.5rem 1.5rem 0.75rem; }
.lg-cols { position: absolute; inset: 1.5rem 1.5rem 0.75rem; display: grid; grid-template-columns: var(--lg-cols); pointer-events: none; }
.lg-cols span { border-left: 2px dashed var(--line-strong); }
.lg-cols span:first-child { border-left: 0; }
.lg-steps, .lg-strip, .lg-vehicle, .lg-after { position: relative; z-index: 1; }
.lg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 35fr 30fr 35fr; }
.lg-steps li { display: grid; grid-template-columns: 1fr; column-gap: 0.6rem; align-content: start; margin: 0; padding: 0 0.9rem 0.75rem; border-left: 2px dashed var(--line-strong); }
.lg-steps li:first-child { border-left: 0; padding-left: 0; }
.lg-steps .icon { width: 2.1rem; height: 2.1rem; color: var(--ink); margin-bottom: 0.45rem; }
.lg-steps .icon.seg-1 { color: var(--seg-1); } .lg-steps .icon.seg-2 { color: var(--seg-2); } .lg-steps .icon.seg-3 { color: var(--seg-3); }
.lg-step { font-weight: 650; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--seg-ink); }
.lg-detail { grid-column: 1; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.lg-vehicle { margin: 0; }
.lg-illo { display: block; width: 100%; height: auto; }
.prose .lg-steps { margin: 0; padding: 0; }
.lg-steps, .lg-strip { grid-template-columns: var(--lg-cols) !important; }
.lg-steps li, .lg-strip li { border-left: 0 !important; }
.prose .lg-steps li { margin: 0; }
.lg-illo .v-ground { fill: var(--line); } .lg-illo .v-body { fill: #3B63C4; } .lg-illo .v-shade { fill: #2E4FA0; }
.lg-illo .v-glass { fill: #16264F; } .lg-illo .v-line { stroke: #2E4FA0; stroke-width: 2.5; stroke-linecap: round; fill: none; }
.lg-illo .v-arch { fill: var(--panel); } .lg-illo .v-tyre { fill: #1B2233; } .lg-illo .v-hub { fill: #D5DBE5; }
.lg-illo .v-light { fill: #F3F5F8; } .lg-illo .v-tail { fill: #E0604E; }
@media (prefers-color-scheme: dark) {
  .lg-illo .v-body { fill: #6B8FF0; } .lg-illo .v-shade { fill: #5677D6; } .lg-illo .v-glass { fill: #0D1220; }
  .lg-illo .v-line { stroke: #5677D6; } .lg-illo .v-tyre { fill: #05080F; } .lg-illo .v-hub { fill: #A5AFC0; }
}
.lg-illo .v-divider { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.prose .lg-strip, .lg-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 35fr 30fr 35fr; font-variant-numeric: tabular-nums; }
.prose .lg-strip li, .lg-strip li { margin: 0; padding: 0 0.9rem 0.25rem; border-left: 2px dashed var(--line-strong); display: grid; align-content: start; }
.lg-strip li:first-child { border-left: 0; padding-left: 0; }
.lg-band { display: block; height: 0.6rem; border-radius: 4px; margin: 0 0 0.6rem; }
.lg-band.seg-1 { background: var(--seg-1); } .lg-band.seg-2 { background: var(--seg-2); } .lg-band.seg-3 { background: var(--seg-3); }
.lg-band.seg-0 { background: repeating-linear-gradient(135deg, var(--line) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1px var(--line); }
.lg-strip .lg-amt { font-weight: 650; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.lg-strip .lg-name { font-size: 0.85rem; color: var(--ink); line-height: 1.35; }
.lg-strip .lg-pct { font-size: 0.82rem; color: var(--ink-soft); }
.lg-money .lg-total { margin: 0; padding: 0; border: 0; }
.lg-after { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 1.5rem; padding: 1rem 0 0.9rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.lg-after .icon { width: 1.6rem; height: 1.6rem; color: var(--ink); flex: none; }
.lg-after strong { color: var(--ink); }
.lg-money { background: var(--surface); padding: 1.15rem 1.25rem 0.9rem; }
.lg-head { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 0.6rem; }
.lg-bar { display: flex; gap: 2px; height: 1.6rem; }
.lg-seg { flex-basis: 0; min-width: 0.5rem; }
.lg-seg:first-child { border-radius: 4px 0 0 4px; } .lg-seg:last-child { border-radius: 0 4px 4px 0; }
.seg-1.lg-seg, .seg-1.lg-swatch { background: var(--seg-1); }
.seg-2.lg-seg, .seg-2.lg-swatch { background: var(--seg-2); }
.seg-3.lg-seg, .seg-3.lg-swatch { background: var(--seg-3); }
.lg-legend { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.lg-legend li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.lg-swatch { width: 0.75rem; height: 0.75rem; border-radius: 3px; flex: none; }
.lg-name { color: var(--ink-soft); }
.lg-amt { font-weight: 600; color: var(--ink); }
.lg-pct { color: var(--ink-soft); font-size: 0.82rem; }
.lg-total { margin: 0.85rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.loan-graphic figcaption { padding: 0.6rem 1.25rem 0.8rem; font-size: 0.8rem; color: var(--ink-soft); background: var(--surface); }
@media (max-width: 40rem) {
  .lg-scene { --lg-min: 4.6rem; padding: 1.1rem 0.9rem 0.5rem; }
  .lg-cols { inset: 1.1rem 0.9rem 0.5rem; }
  .lg-after { margin: 0 0.9rem; }
  .lg-steps li { grid-template-columns: 1fr; padding: 0 0.5rem 0.9rem; }
  .lg-steps .icon { grid-row: auto; width: 1.7rem; height: 1.7rem; margin-bottom: 0.35rem; }
  .lg-step { font-size: 0.92rem; }
  .lg-detail { grid-column: 1; font-size: 0.8rem; }
  .lg-strip li { padding: 0 0.5rem 0.25rem; }
  .lg-strip li:first-child { padding-left: 0; }
  .lg-strip .lg-amt { font-size: 0.98rem; }
  .lg-strip .lg-name { font-size: 0.75rem; }
}

/* Key point callout */
.keypoint { border-left: 4px solid var(--brand); background: var(--panel); border-radius: 0 var(--radius-small) var(--radius-small) 0; padding: 1rem 1.25rem 0.2rem; margin: 1.25rem 0 1.5rem; box-shadow: inset 0 0 0 1px var(--line); }
.keypoint .block-label { color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { .keypoint { border-left-color: var(--accent); } }

/* Pros and cons */
.proscons { display: grid; gap: 0.75rem; margin: 1.25rem 0 2rem; }
@media (min-width: 40rem) { .proscons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pros, .cons { border-radius: var(--radius-panel); padding: 1.1rem 1.25rem 0.4rem; }
.pros { background: #EDF7F1; } .cons { background: #FBEFED; }
.proscons h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.proscons ul { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.proscons li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; }
.proscons li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 1.05rem; height: 1.05rem; background: center / contain no-repeat; }
.pros li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231F7A52'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.cons li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23B2453A'%3E%3Cpath d='M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) {
  .pros { background: #15291F; } .cons { background: #2E1A1A; }
  .pros li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%237FD3A6'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
  .cons li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23F0958A'%3E%3Cpath d='M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z'/%3E%3C/svg%3E"); }
}

/* FAQ dropdowns */
.faqs { border-top: 1px solid var(--line); margin: 1rem 0 1.5rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.faq summary:hover h3 { color: var(--link); }
.faq-icon { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--surface); position: relative; transition: transform 0.25s var(--ease), background 0.2s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease); }
.faq[open] .faq-icon { background: var(--accent); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 2.75rem 0.6rem 0; color: var(--ink-soft); }
.faq-body p { margin-top: 0; }

/* On this page */
.toc-title { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 0.75rem; }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 0.9rem; text-decoration: none; color: var(--ink-soft); border-left: 2px solid var(--line); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }

/* Route lists: rows inside guides */
.routes { list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
.routes li { margin: 0; }
.routes a { display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; align-items: center; align-content: center; padding: 1rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding 0.25s var(--ease); }
.routes li:last-child a { border-bottom: 1px solid var(--line); }
.routes a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--surface) center / 0.95rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23111A2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: background-color 0.2s var(--ease), transform 0.25s var(--ease); }
.routes a:hover::after { background-color: var(--accent); transform: translateX(3px); }
.route-name { font-weight: 600; letter-spacing: -0.01em; }
.route-desc { color: var(--ink-soft); font-size: 0.95rem; grid-column: 1; }
.routes a:hover .route-name { color: var(--link); }

/* Related guides band */
.related { background: var(--surface); padding: 3rem 0 3.5rem; }
.related h2 { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 650; margin: 0 0 0.5rem; }
.related .routes { display: grid; gap: 0.75rem; margin: 1.25rem 0 0; }
@media (min-width: 48rem) { .related .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related .routes a, .grid a { background: var(--panel); border: 0; border-radius: var(--radius-panel); padding: 1.1rem 1.25rem; height: 100%; }
.related .routes li:last-child a, .grid li:last-child a { border-bottom: 0; }


@media (prefers-color-scheme: dark) {
  .routes a::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23E9EDF3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .routes a:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23111A2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .faq-icon::before, .faq-icon::after { background: var(--ink); }
  .faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #111A2C; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 0.85rem 1.4rem; border-radius: 999px; white-space: nowrap; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); box-shadow: 0 1px 0 rgba(17, 26, 44, 0.12); }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(80, 110, 20, 0.22); text-decoration: none; }
.button:active { transform: translateY(1px); }

/* Home */
.kind-home .page-head { padding: 4.5rem 0 4.75rem; }
.kind-home .page-head h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.4rem); max-width: 14ch; letter-spacing: -0.045em; line-height: 1.02; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 40ch; margin: 1.5rem 0 2rem; }
.hero-cta { margin: 0; }
.kind-home .prose { max-width: none; }
.kind-home .prose h2 { font-size: 1.85rem; margin-top: 1rem; max-width: 22ch; }
.grid { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid a { background: var(--surface); }
.grid a::after { background-color: var(--panel); }
.split { display: grid; gap: 1rem 4rem; margin-top: 4.5rem; }
@media (min-width: 64rem) { .split { grid-template-columns: 22rem minmax(0, 1fr); } .split .routes { margin-top: 1rem; } }
.split p { color: var(--ink-soft); max-width: 36ch; }
.method { margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); max-width: var(--measure); }


/* Home: vehicle chooser. Cars is live and leads; the rest are signposted as coming soon. */
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.home-vehicles { scroll-margin-top: 1rem; }
.home-vehicles h2 { margin-top: 0.5rem; }
.vehicles { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; }
@media (min-width: 40rem) { .vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vehicle-live { grid-column: 1 / -1; } }
@media (min-width: 64rem) {
  .vehicles { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); }
  .vehicle-live { grid-column: 1; grid-row: 1 / span 2; }
}
.vehicle-link { background: var(--surface); color: inherit; transition: background-color 0.2s var(--ease), transform 0.25s var(--ease); }
.vehicle-link:hover { background: var(--accent-soft); transform: translateY(-2px); }

.vehicle-link .v-cta { grid-column: 2; margin-top: 1rem; padding: 0.6rem 1.05rem; font-size: 0.95rem; }
.vehicle-link:hover .v-cta::after { transform: translateX(3px); }
.vehicle { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.25rem; align-content: start; border-radius: var(--radius-panel); padding: 1.25rem 1.4rem; text-decoration: none; }
.vehicle .icon { grid-row: 1 / span 3; width: 2rem; height: 2rem; color: var(--ink-soft); margin-top: 0.1rem; }
.v-name { font-weight: 650; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--ink); }
.v-desc { color: var(--ink-soft); font-size: 0.97rem; grid-column: 2; }
.v-status { grid-column: 2; font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35rem; }
.vehicle-soon { background: var(--surface); }
.vehicle-live { background: #16264F; grid-template-columns: 1fr; padding: 2rem 2rem 1.75rem; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.vehicle-live .icon { grid-row: auto; width: 3.25rem; height: 3.25rem; color: var(--accent); margin: 0 0 1.25rem; }
.vehicle-live .v-name { color: #FFFFFF; font-size: 1.9rem; letter-spacing: -0.03em; }
.vehicle-live .v-desc { grid-column: 1; color: #C9D3E6; font-size: 1.05rem; max-width: 36ch; margin-top: 0.35rem; }
.v-cta { display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start; margin-top: 1.75rem; background: var(--accent); color: #111A2C; font-weight: 600; padding: 0.7rem 1.2rem; border-radius: 999px; }
.v-cta::after { content: ""; width: 0.95rem; height: 0.95rem; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23111A2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: transform 0.25s var(--ease); }
.vehicle-live:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(22, 38, 79, 0.22); }
.vehicle-live:hover .v-cta::after { transform: translateX(3px); }
.vehicle-live:active { transform: translateY(0); }
@media (prefers-color-scheme: dark) { .vehicle-live { background: #1F3366; } }

/* Home: what we do / why we do it */
.home-about { display: grid; gap: 0.5rem 3.5rem; margin-top: 4.5rem; background: var(--surface); border-radius: var(--radius-panel); padding: 2rem 2rem 1rem; }
@media (min-width: 56rem) { .home-about { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2.5rem 2.75rem 1.5rem; } }
.kind-home .home-about h2 { margin-top: 0; font-size: 1.45rem; }
.home-about p, .home-about li { color: var(--ink-soft); }
.home-about ul { padding-left: 1.1rem; }

/* Footer */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); padding: 3rem 0 2.5rem; font-size: 0.95rem; }
.site-foot p { max-width: var(--measure); }
.site-foot a { color: #FFFFFF; }
.foot-brand { display: flex; align-items: center; gap: 0.6rem; color: #FFFFFF; font-weight: 650; font-size: 1.05rem; margin: 0 0 1rem; }
.foot-brand .brand-mark { background: #FFFFFF; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; list-style: none; padding: 1.5rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }

@media (max-width: 40rem) {
  body { font-size: 1.03rem; }
  .page-head { padding: 1.75rem 0 2.25rem; }
  .kind-home .page-head { padding: 3rem 0 3.25rem; }
  .prose h2 { font-size: 1.4rem; }
  .faq-body { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  .site-head nav, .side, .skip, .related { display: none; }
  .faq-body { display: block; }
  a { color: inherit; }
}

/* Centre the middle (monthly payments) section */
.lg-steps li:nth-child(2), .lg-strip li:nth-child(2) { text-align: center; justify-items: center; }
.lg-strip li:nth-child(2) .lg-band { justify-self: stretch; }
