/* Homepage variant v6 — editorial hairline-grid layout.
   Sections run edge to edge on an off-white ground; their inner content is capped at --v6-max and
   centred by --v6-edge, so backgrounds and 1px rules span the viewport while the text stays readable.
   Flat/isometric inline-SVG line art (drawn in v6.tpl) is themed entirely from these tokens: primary
   drives the accents, secondary drives the CTA panel and (deepened) the footer.
   Scoped under .home--v6 and layered on home.css. Type is TAV-driven via var(--font). */

.home--v6 {
  --v6-bg: #F6F5F2;
  --v6-surface: #FFFFFF;
  --v6-sunk: #F1F0EC;
  --v6-ink: #14140F;
  --v6-ink-2: #3A3A33;
  --v6-muted: #6B6B63;
  --v6-line: #E3E2DD;
  --v6-line-strong: #C9C8C1;
  --v6-tint: #EAE9E4;
  --v6-dot: #CFCEC7;
  --v6-brand: var(--brand);
  --v6-brand-deep: color-mix(in srgb, var(--brand) 82%, #000);
  --v6-brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --v6-brand-mid: color-mix(in srgb, var(--brand) 55%, #fff);
  --v6-brand-tint: color-mix(in srgb, var(--brand) 26%, #fff);
  --v6-on-ink: #EDECE7;
  /* Dark panel = the TAV's style.secondary. home.css already paints #start with it
     (`#home #start{background:var(--brand-2);color:#FFFFFF}`), so the CTA and the footer
     share it and every on-panel tone is mixed from it rather than hardcoded. */
  --v6-panel: var(--brand-2);
  --v6-on-panel: color-mix(in srgb, var(--brand-2) 7%, #fff);
  --v6-on-panel-dim: color-mix(in srgb, var(--brand-2) 34%, #fff);
  --v6-panel-line: color-mix(in srgb, var(--brand-2) 74%, #fff);
  /* Footer is the SECONDARY deepened in CSS - a shade below the CTA panel above it, so the two
     dark blocks read as related but distinct. Its light tones are mixed from the same secondary,
     so the footer stays a brand block rather than a neutral one. No extra TAV key needed. */
  --v6-footer: color-mix(in srgb, var(--brand-2) 76%, #0B0B0A);
  --v6-on-footer: color-mix(in srgb, var(--brand-2) 8%, #fff);
  --v6-on-footer-dim: color-mix(in srgb, var(--brand-2) 30%, #fff);
  --v6-footer-line: rgba(255, 255, 255, .16);
  --v6-max: 1400px;
  --v6-pad: clamp(1.25rem, 3.6vw, 5rem);
  /* Full-bleed sections, capped content. Each section spans the viewport so its background and
     hairline rules run edge to edge, while this inline padding grows past --v6-pad on wide screens
     to keep the content itself within --v6-max and centred. No wrapper divs needed. */
  --v6-edge: max(var(--v6-pad), calc((100% - var(--v6-max)) / 2));
  --v6-r: 2px;
}

/* High specificity so it beats home.css `#home{background:#f2f2f2;color:#131A16}`. */
#home.home--v6 {
  background: var(--v6-bg);
  color: var(--v6-ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.006em;
}
#home.home--v6 h1, #home.home--v6 h2, #home.home--v6 h3 { color: var(--v6-ink); font-weight: 500 }
#home.home--v6 a { color: var(--v6-ink) }
#home.home--v6 a:hover { color: var(--v6-brand) }
#home.home--v6 a.u { text-decoration: underline; text-underline-offset: 3px }
#home.home--v6 button { border: 0; font: inherit; cursor: pointer }
#home.home--v6 input[type=range] { accent-color: var(--v6-brand) }
#home.home--v6 :focus-visible { outline: 2px solid var(--v6-brand); outline-offset: 2px }

/* Edge to edge - the cap lives on each section's inner content via --v6-edge, not on this wrapper,
   so backgrounds and hairline rules still run the full width of the viewport. */
.home--v6 .v6-sheet { background: var(--v6-bg) }

/* ---------- shared bits ---------- */
.home--v6 .v6-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v6-brand);
}
.home--v6 .v6-section-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 20ch;
  text-wrap: balance;
}
.home--v6 .v6-section-lede {
  margin: 0.9rem 0 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--v6-muted);
  max-width: 46ch;
}
.home--v6 .v6-section-head { padding: 0 0 2.25rem }
.home--v6 .v6-section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: end;
}
.home--v6 .v6-section-head--split .v6-section-lede { margin-top: 0 }
.home--v6 .v6-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--v6-muted);
  font-variant-numeric: tabular-nums;
}
.home--v6 .v6-num--brand { color: var(--v6-brand) }
.home--v6 .v6-tag {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v6-muted);
}

.home--v6 .v6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--v6-brand);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--v6-r);
  white-space: nowrap;
  transition: background .16s ease;
}
.home--v6 .v6-btn:hover { background: var(--v6-brand-deep); color: #FFFFFF }
.home--v6 .v6-btn--ghost {
  background: var(--v6-surface);
  color: var(--v6-ink);
  border: 1px solid var(--v6-line-strong);
}
.home--v6 .v6-btn--ghost:hover { background: var(--v6-sunk); color: var(--v6-ink); border-color: var(--v6-ink) }
.home--v6 .v6-btn--lg { padding: 1.05rem 2rem; font-size: 15px }

/* ---------- inline-SVG art tokens ---------- */
.home--v6 .v6-svg-dot { fill: var(--v6-dot) }
.home--v6 .v6-svg-dot-2 { fill: var(--v6-line-strong) }
.home--v6 .v6-fill-brand { fill: var(--v6-brand) }
.home--v6 .v6-fill-ink { fill: var(--v6-ink) }
.home--v6 .v6-fill-tint { fill: var(--v6-tint) }
.home--v6 .v6-g-line { fill: none; stroke: var(--v6-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.home--v6 .v6-g-brand { fill: none; stroke: var(--v6-brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.home--v6 .v6-g-brand-fill { fill: var(--v6-brand) }
.home--v6 .v6-g-dash { fill: none; stroke: var(--v6-line-strong); stroke-width: 2; stroke-dasharray: 7 7 }
.home--v6 .v6-face-t { fill: var(--v6-surface) }
.home--v6 .v6-face-b { fill: var(--v6-bg) }
.home--v6 .v6-face-s { fill: var(--v6-tint) }
.home--v6 .v6-face-s2 { fill: var(--v6-line) }
.home--v6 .v6-edge { fill: none; stroke: var(--v6-ink); stroke-width: 1.8; stroke-linejoin: round }
.home--v6 .v6-chip { fill: var(--v6-tint); stroke: var(--v6-line-strong); stroke-width: 1 }
.home--v6 .v6-chip-brand { fill: var(--v6-brand) }
/* Plate the site icon sits on. The icon itself is an <image> carrying a matrix(48,24,-48,24,280,78)
   transform, which maps its unit square onto the same 2:1 isometric plane as the slab it rests on. */
.home--v6 .v6-chip-icon { fill: var(--v6-surface); stroke: var(--v6-brand); stroke-width: 1.5 }
.home--v6 .v6-tie { stroke: var(--v6-ink); stroke-width: 1.5 }
.home--v6 .v6-tie-faint { stroke: var(--v6-line-strong); stroke-width: 1; stroke-dasharray: 4 5 }
.home--v6 .v6-plane { fill: var(--v6-surface); stroke: var(--v6-ink); stroke-width: 2; stroke-linejoin: round }
/* Isometric bar chart (estimator). Ground is filled in the page tone so it occludes the dot field
   and reads as a dashed outline; the tallest column carries the brand on all three faces. */
.home--v6 .v6-iso-ground { fill: var(--v6-bg); stroke: var(--v6-line-strong); stroke-width: 1; stroke-dasharray: 5 5 }
.home--v6 .v6-cols polygon { stroke: var(--v6-ink); stroke-width: 1.4; stroke-linejoin: round }
.home--v6 .v6-col-t { fill: var(--v6-surface) }
.home--v6 .v6-col-l { fill: var(--v6-tint) }
.home--v6 .v6-col-r { fill: var(--v6-line) }
.home--v6 .v6-col-bt { fill: var(--v6-brand) }
.home--v6 .v6-col-bl { fill: color-mix(in srgb, var(--brand) 68%, #000) }
.home--v6 .v6-col-br { fill: color-mix(in srgb, var(--brand) 84%, #000) }
.home--v6 .v6-glyph { flex: none }

/* ---------- SVG motion ----------
   Owned entirely by js/home-v6.js (GSAP). Deliberately NO CSS keyframes here: a CSS animation on
   transform/opacity outranks GSAP's inline styles in the cascade, so the two would fight and the
   CSS would win. The hooks the script targets are .v6-slab / .v6-colgrp (drift),
   .v6-breathe / .v6-spark (accents) and the dashed classes below (creep).
   Reduced-motion is handled in the script, which bails before touching anything. */

/* ---------- topbar + header ---------- */
.home--v6 .v6-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem var(--v6-edge);
  background: color-mix(in srgb, var(--v6-bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v6-line);
}
.home--v6 .v6-brand { display: flex; flex-direction: column; align-items: flex-start; min-width: 0 }
/* Logo is resolved by 1.tpl into $logoSrc ("assets/img/" + style.logo, default logo.png), exactly as in
   v1-v5. Height stays on home.css's `.brand-logo-img{height:var(--logo-height,34px)}` so a new domain
   only has to set style.logo / style.logoHeight in its TAV - never override it here. */
#home.home--v6 .v6-logo { display: flex; align-items: center; color: var(--v6-ink) }
/* home.css sets `#home .site-powered{text-align:right;font-style:italic}` at (1,1,0) — beat it. */
#home.home--v6 .site-powered {
  width: auto;
  font-size: 9.5px;
  font-style: normal;
  text-align: left;
  color: var(--v6-muted);
}
#home.home--v6 .v6-nav { display: flex; gap: 1.6rem; font-size: 13px }
#home.home--v6 .v6-nav a { color: var(--v6-ink-2) }
#home.home--v6 .v6-nav a:hover { color: var(--v6-brand) }
.home--v6 .v6-header-actions { display: flex; align-items: center; gap: 1rem }
.home--v6 .v6-headcta {
  background: var(--v6-ink);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 0.65rem 1.15rem;
  border-radius: var(--v6-r);
  white-space: nowrap;
  transition: background .16s ease;
}
.home--v6 .v6-headcta:hover { background: var(--v6-brand) }
.home--v6 .v6-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--v6-surface);
  border: 1px solid var(--v6-line-strong);
  border-radius: var(--v6-r);
  color: var(--v6-ink);
}
#home.home--v6 #mobile-nav { background: var(--v6-ink) }
#home.home--v6 #mobile-nav a { color: var(--v6-on-ink); font-weight: 500 }
#home.home--v6 #mobile-nav a:hover { color: var(--v6-brand) }
#home.home--v6 .mobile-nav-close { border-color: rgba(255,255,255,.28); border-radius: var(--v6-r) }
#home.home--v6 .mobile-nav-cta {
  background: var(--v6-brand);
  color: #FFFFFF;
  border-radius: var(--v6-r);
  font-weight: 500;
  font-size: 16px;
}

/* ---------- hero ---------- */
.home--v6 .v6-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-inline: var(--v6-edge);
  border-bottom: 1px solid var(--v6-line);
}
.home--v6 .v6-hero-art {
  border-right: 1px solid var(--v6-line);
  background: var(--v6-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  color: var(--v6-ink);
}
.home--v6 .v6-hero-art svg { width: 100%; height: auto; max-height: 27rem; display: block }
.home--v6 .v6-hero-text {
  padding: var(--v6-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home--v6 .v6-hero-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
}
.home--v6 .v6-hero-lede {
  margin: 0 0 1.9rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--v6-muted);
  max-width: 48ch;
}
.home--v6 .v6-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem }

/* ---------- assurance strip ---------- */
.home--v6 .v6-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.6rem var(--v6-edge) 0.6rem;
  border-bottom: 1px solid var(--v6-line);
}
.home--v6 .v6-strip-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--v6-surface);
  border: 1px solid var(--v6-line);
  border-radius: var(--v6-r);
}
.home--v6 .v6-strip-cell p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---------- recipients ---------- */
.home--v6 .v6-recip { padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge); border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-recip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--v6-line);
  border: 1px solid var(--v6-line);
}
.home--v6 .v6-card {
  background: var(--v6-surface);
  padding: 1.4rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.home--v6 .v6-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
}
.home--v6 .v6-card-art {
  background: var(--v6-sunk);
  border: 1px solid var(--v6-line);
  border-radius: var(--v6-r);
  padding: 1rem;
  margin-bottom: 1.35rem;
}
.home--v6 .v6-card-art svg { display: block; width: 100%; height: auto }
.home--v6 .v6-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.home--v6 .v6-card-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--v6-muted) }

/* ---------- identity pull quote ---------- */
.home--v6 .v6-quote {
  padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge) 0;
  border-bottom: 1px solid var(--v6-line);
  text-align: center;
}
.home--v6 .v6-quote-text {
  margin: 0 auto;
  max-width: 34ch;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.home--v6 .v6-quote-dim { color: var(--v6-line-strong) }
.home--v6 .v6-quote-cite {
  margin: 1.15rem 0 0;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v6-muted);
}
.home--v6 .v6-quote-art { margin-top: 1.5rem; line-height: 0 }
.home--v6 .v6-quote-art svg { width: 100%; height: clamp(8rem, 18vw, 14rem); display: block }

/* ---------- process ---------- */
.home--v6 .v6-how { padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge); border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--v6-line);
  border: 1px solid var(--v6-line);
}
.home--v6 .v6-step { background: var(--v6-surface); padding: 1.25rem 1.4rem 1.6rem }
.home--v6 .v6-step--key { background: var(--v6-brand-soft) }
.home--v6 .v6-step-art {
  margin: 1rem 0 1.25rem;
  padding: 0.5rem;
  background: var(--v6-sunk);
  border: 1px solid var(--v6-line);
  border-radius: var(--v6-r);
}
.home--v6 .v6-step--key .v6-step-art { background: var(--v6-surface) }
.home--v6 .v6-step-art svg { display: block; width: 100%; height: auto; max-height: 6.5rem }
.home--v6 .v6-step-title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.home--v6 .v6-step-desc { margin: 0; font-size: 12.5px; line-height: 1.58; color: var(--v6-muted) }
.home--v6 .v6-step-desc strong { color: var(--v6-ink); font-weight: 500 }

/* ---------- estimator ---------- */
.home--v6 .v6-estimator { padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge); border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-est-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.home--v6 .v6-est-intro { position: sticky; top: 6rem }
.home--v6 .v6-est-note { margin: 1.1rem 0 0; font-size: 12.5px; line-height: 1.6; color: var(--v6-muted) }
.home--v6 .v6-est-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--v6-line);
  border: 1px solid var(--v6-line);
}
.home--v6 .v6-est-card { background: var(--v6-surface); padding: 1.5rem 1.6rem 1.75rem }
/* Same 13px dot field the SVG art uses, as a CSS gradient so it needs no markup. */
.home--v6 .v6-est-card--out {
  background-color: var(--v6-sunk);
  background-image: radial-gradient(var(--v6-dot) 1.2px, transparent 1.2px);
  background-size: 13px 13px;
}
.home--v6 .v6-est-art { margin-top: 2rem }
.home--v6 .v6-est-art svg { display: block; width: 100%; max-width: 17.5rem; height: auto }
.home--v6 .v6-est-card-eyebrow {
  margin: 0 0 1.4rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v6-muted);
}
.home--v6 .v6-field + .v6-field { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--v6-line) }
.home--v6 .v6-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem }
.home--v6 .v6-field-label, .home--v6 .v6-field-label-static {
  display: block;
  font-size: 12px;
  color: var(--v6-muted);
  letter-spacing: -0.005em;
}
.home--v6 .v6-field-value {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
/* Ruler ticks beneath each slider, drawn with a repeating gradient - same measured feel as the
   dot fields in the SVG art, no extra markup. */
.home--v6 .v6-field-scale {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 0.6rem;
  font-size: 11px;
  color: var(--v6-muted);
}
.home--v6 .v6-field-scale::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background-image: repeating-linear-gradient(to right,
    var(--v6-line-strong) 0 1px, transparent 1px 10%);
}

/* Sliders: hairline rail + a hard-edged brand handle, replacing the OS default. home.css only sets
   accent-color, which stops applying once appearance is none. */
#home.home--v6 .v6-field input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
}
#home.home--v6 .v6-field input[type=range]::-webkit-slider-runnable-track {
  height: 1px;
  background: var(--v6-ink);
}
#home.home--v6 .v6-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -6px;
  background: var(--v6-brand);
  border: 1.5px solid var(--v6-ink);
  border-radius: 0;
}
#home.home--v6 .v6-field input[type=range]::-moz-range-track { height: 1px; background: var(--v6-ink) }
#home.home--v6 .v6-field input[type=range]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  background: var(--v6-brand);
  border: 1.5px solid var(--v6-ink);
  border-radius: 0;
}

.home--v6 .v6-field-label-static { margin-bottom: 0.7rem }
/* Segmented control: one hairline grid, matching the card grids elsewhere on the page. */
.home--v6 .v6-term-group {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--v6-line-strong);
  border: 1px solid var(--v6-line-strong);
}
#home.home--v6 .term-btn {
  font-size: 12.5px;
  font-weight: 500;
  padding: 0.55rem 0.3rem;
  border: 0;
  border-radius: 0;
  background: var(--v6-surface);
  color: var(--v6-ink);
  font-variant-numeric: tabular-nums;
  transition: background .14s ease, color .14s ease;
}
#home.home--v6 .term-btn:hover { background: var(--v6-sunk) }
#home.home--v6 .term-btn.active { background: var(--v6-brand); color: #FFFFFF }
.home--v6 .v6-term-note { margin: 0.7rem 0 0; font-size: 11.5px; color: var(--v6-muted) }
.home--v6 .v6-est-figure {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
/* Principal is solid, interest is hatched - the same two-tone split as the striped-circle motif in
   the recipients card. Widths are still driven by home.js, so no new JS is involved. */
.home--v6 .v6-est-bar {
  display: flex;
  height: 15px;
  overflow: hidden;
  border: 1px solid var(--v6-ink);
  border-radius: 0;
  background: var(--v6-surface);
}
.home--v6 .v6-est-bar-principal { background: var(--v6-brand); transition: width .25s ease }
.home--v6 .v6-est-bar-interest {
  background-color: var(--v6-surface);
  background-image: repeating-linear-gradient(45deg,
    var(--v6-brand) 0 2px, transparent 2px 6px);
  box-shadow: inset 1px 0 0 var(--v6-ink);
  transition: width .25s ease;
}
.home--v6 .v6-est-bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 11px;
  color: var(--v6-muted);
}
.home--v6 .v6-est-list { margin: 1.5rem 0 0; display: grid }
.home--v6 .v6-est-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--v6-line);
  font-size: 13px;
}
.home--v6 .v6-est-row:last-child { border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-est-row dt { color: var(--v6-muted) }
.home--v6 .v6-est-row dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums }
.home--v6 .v6-est-disclosure {
  margin: 1.25rem 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--v6-muted);
}
.home--v6 .v6-est-disclosure strong { color: var(--v6-ink-2); font-weight: 500 }
#home.home--v6 .estimator-fineprint {
  max-width: 72ch;
  margin: 2rem auto 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--v6-muted);
  text-align: center;
}

/* ---------- market ---------- */
.home--v6 .v6-market { padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge); border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--v6-line);
  border: 1px solid var(--v6-line);
}
.home--v6 .v6-stat { background: var(--v6-surface); padding: 1.5rem 1.4rem 1.6rem }
.home--v6 .v6-stat-value {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--v6-brand);
  font-variant-numeric: tabular-nums;
}
.home--v6 .v6-stat-label { margin: 0 0 0.7rem; font-size: 12.5px; line-height: 1.55; color: var(--v6-ink-2) }
.home--v6 .v6-stat-source {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--v6-muted);
}
.home--v6 .v6-rates {
  margin-top: 1.75rem;
  padding: 1.6rem 1.75rem 1.75rem;
  background: var(--v6-surface);
  border: 1px solid var(--v6-line);
}
.home--v6 .v6-rates-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1.5rem;
}
.home--v6 .v6-rates-head .v6-eyebrow { margin: 0 }
.home--v6 .v6-rates-note { margin: 0; font-size: 12px; color: var(--v6-muted) }
.home--v6 .v6-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--v6-line);
}
.home--v6 .v6-rate-value {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.home--v6 .v6-rate-track { height: 6px; background: var(--v6-tint); border-radius: var(--v6-r); overflow: hidden }
.home--v6 .v6-rate-fill { height: 100%; width: 0; transition: width .8s cubic-bezier(.2,.8,.2,1) }
.home--v6 .v6-rate-fill--brand { background: var(--v6-brand) }
.home--v6 .v6-rate-fill--mid { background: var(--v6-brand-mid) }
.home--v6 .v6-rate-fill--tint { background: var(--v6-brand-tint) }
.home--v6 .v6-rate-desc { margin: 0.7rem 0 0; font-size: 12px; line-height: 1.5; color: var(--v6-muted) }
.home--v6 .v6-rates-footnote { margin: 1.5rem 0 0; font-size: 11px; color: var(--v6-muted) }

/* ---------- FAQ (native <details>, no JS) ---------- */
.home--v6 .v6-faq { padding: clamp(3rem, 5.5vw, 5rem) var(--v6-edge); border-bottom: 1px solid var(--v6-line) }
.home--v6 .v6-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 2.5rem 3.5rem;
  align-items: start;
}
.home--v6 .v6-faq-intro { position: sticky; top: 6rem }
.home--v6 .v6-faq-contact-label { margin: 2.5rem 0 0.75rem; font-size: 12.5px; color: var(--v6-muted) }
.home--v6 .v6-faq-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem }
.home--v6 .v6-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--v6-surface);
  border: 1px solid var(--v6-line-strong);
  border-radius: var(--v6-r);
  font-size: 12.5px;
  color: var(--v6-ink);
  white-space: nowrap;
}
.home--v6 .v6-contact-btn:hover { border-color: var(--v6-ink); color: var(--v6-brand) }
.home--v6 .v6-contact-btn svg { flex: none }
.home--v6 .v6-faq-list { border: 1px solid var(--v6-line); background: var(--v6-surface) }
.home--v6 .v6-faq-item + .v6-faq-item { border-top: 1px solid var(--v6-line) }
.home--v6 .v6-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.home--v6 .v6-faq-item summary::-webkit-details-marker { display: none }
.home--v6 .v6-faq-item summary:hover .v6-faq-q { color: var(--v6-brand) }
.home--v6 .v6-faq-q { font-size: 13.5px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.4 }
.home--v6 .v6-faq-mark { position: relative; width: 13px; height: 13px; flex: none }
.home--v6 .v6-faq-mark::before, .home--v6 .v6-faq-mark::after {
  content: '';
  position: absolute;
  background: var(--v6-ink);
  transition: transform .18s ease, background .18s ease;
}
.home--v6 .v6-faq-mark::before { left: 0; top: 6px; width: 13px; height: 1.5px }
.home--v6 .v6-faq-mark::after { left: 6px; top: 0; width: 1.5px; height: 13px }
.home--v6 .v6-faq-item[open] .v6-faq-mark::before { background: var(--v6-brand) }
.home--v6 .v6-faq-item[open] .v6-faq-mark::after { transform: scaleY(0) }
.home--v6 .v6-faq-a { padding: 0 4rem 1.35rem 1.4rem }
.home--v6 .v6-faq-a p { margin: 0; font-size: 13px; line-height: 1.68; color: var(--v6-muted) }
.home--v6 .v6-faq-a a { color: var(--v6-brand) }

/* ---------- final CTA ---------- */
/* Dark panel. The art cell stays light on purpose: the isometric SVG fills come from
   --v6-surface / --v6-bg / --v6-ink, so it needs a light backing to read. */
#home.home--v6 .v6-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  padding-inline: var(--v6-edge);
  background: var(--v6-panel);
  color: var(--v6-on-panel);
  border-bottom: 0;
}
/* Art shares the panel colour, so the whole CTA reads as one dark block. No bleed needed any more -
   the section's edge padding is the same colour as the cell. */
.home--v6 .v6-cta-art {
  border-right: 1px solid var(--v6-panel-line);
  background: var(--v6-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
}
/* Same drawing, inverted tonal ladder: higher mix % = darker. The slab faces sit just above the
   panel so they read as outline, the raised slab lifts furthest, side faces stay in shadow, and
   the brand fills (chip + dots) are left alone. */
#home.home--v6 .v6-cta .v6-svg-dot { fill: color-mix(in srgb, var(--brand-2) 86%, #fff) }
#home.home--v6 .v6-cta .v6-face-t { fill: color-mix(in srgb, var(--brand-2) 76%, #fff) }
#home.home--v6 .v6-cta .v6-face-b { fill: color-mix(in srgb, var(--brand-2) 88%, #fff) }
#home.home--v6 .v6-cta .v6-face-s { fill: color-mix(in srgb, var(--brand-2) 92%, #fff) }
#home.home--v6 .v6-cta .v6-face-s2 { fill: color-mix(in srgb, var(--brand-2) 95%, #fff) }
#home.home--v6 .v6-cta .v6-edge { stroke: var(--v6-on-panel) }
#home.home--v6 .v6-cta .v6-chip {
  fill: color-mix(in srgb, var(--brand-2) 84%, #fff);
  stroke: color-mix(in srgb, var(--brand-2) 76%, #fff);
}
#home.home--v6 .v6-cta .v6-tie { stroke: var(--v6-on-panel-dim) }
#home.home--v6 .v6-cta .v6-tie-faint { stroke: color-mix(in srgb, var(--brand-2) 62%, #fff) }
.home--v6 .v6-cta-art svg { width: 100%; height: auto; max-height: 26rem; display: block }
.home--v6 .v6-cta-text { padding: var(--v6-pad) }
/* Every colour below is an on-panel tone. The title needs (1,2,0) to beat the
   `#home.home--v6 h2{color:var(--v6-ink)}` rule that would otherwise paint it dark-on-dark. */
#home.home--v6 .v6-cta .v6-eyebrow { color: var(--v6-on-panel-dim) }
#home.home--v6 .v6-cta-title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 16ch;
  text-wrap: balance;
  color: var(--v6-on-panel);
}
#home.home--v6 .v6-cta-lede {
  margin: 0 0 1.6rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--v6-on-panel-dim);
  max-width: 46ch;
}
.home--v6 .v6-cta-steps {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  border-top: 1px solid var(--v6-panel-line);
}
#home.home--v6 .v6-cta-steps li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--v6-panel-line);
  font-size: 13px;
  color: var(--v6-on-panel);
}
#home.home--v6 .v6-cta-steps .v6-num { color: var(--v6-on-panel-dim) }
.home--v6 .v6-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem }
#home.home--v6 .v6-cta-note { margin: 0; font-size: 12px; color: var(--v6-on-panel-dim) }
#home.home--v6 .v6-cta-fine {
  margin: 1.75rem 0 0;
  font-size: 11px;
  line-height: 1.62;
  color: var(--v6-on-panel-dim);
}
#home.home--v6 .v6-cta-fine strong { color: var(--v6-on-panel); font-weight: 500 }
#home.home--v6 .v6-cta-fine a { color: var(--v6-on-panel) }
#home.home--v6 .v6-cta-fine a:hover { color: #FFFFFF }

/* ---------- footer (shared _footer.tpl, restyled) ---------- */
/* Footer background is the primary brand deepened via color-mix, not a flat neutral.
   home.css paints it var(--brand-accent) at (1,1,0) - these beat it at (1,2,0). */
#home.home--v6 .site-footer { background: var(--v6-footer); color: var(--v6-on-footer-dim) }
/* home.css dims .footer-logo-img to opacity .4, too faint on this panel. v2/v3/v4/v5 all lift it. */
#home.home--v6 .footer-logo-img { opacity: .6 }
#home.home--v6 .footer-inner { max-width: none; padding: 3rem var(--v6-edge) 3.25rem; font-size: 11px }
#home.home--v6 .footer-col h3 { color: var(--v6-on-footer); font-weight: 500; letter-spacing: 0.12em }
#home.home--v6 .footer-col a, #home.home--v6 .footer-legal a { color: var(--v6-on-footer) }
#home.home--v6 .footer-col a:hover, #home.home--v6 .footer-legal a:hover { color: #FFFFFF }
#home.home--v6 .footer-legal { border-top-color: var(--v6-footer-line) }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  #home.home--v6 .v6-nav { gap: 1.1rem; font-size: 12.5px }
}
@media (max-width: 1040px) {
  .home--v6 .v6-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .home--v6 .v6-est-layout, .home--v6 .v6-faq-layout { grid-template-columns: minmax(0, 1fr) }
  .home--v6 .v6-est-intro, .home--v6 .v6-faq-intro { position: static }
  .home--v6 .v6-section-title { max-width: 26ch }
}
@media (max-width: 900px) {
  /* home.css already hides #main-nav/#header-cta and shows #nav-toggle here with !important;
     these mirror it so the v6 classes behave the same if those ids ever move. */
  #home.home--v6 .v6-nav, #home.home--v6 .v6-headcta { display: none }
  #home.home--v6 .v6-nav-toggle { display: inline-flex }
  /* Must match the base rules' specificity: .v6-cta is declared at #home.home--v6 (1,2,0) so it
     can sit on the dark panel, and a media query adds none of its own. At (0,2,0) this override
     silently lost and the CTA stayed two-up on mobile. */
  #home.home--v6 .v6-hero, #home.home--v6 .v6-cta { grid-template-columns: minmax(0, 1fr) }
  .home--v6 .v6-hero-art, .home--v6 .v6-cta-art { border-right: 0; border-bottom: 1px solid var(--v6-line) }
  .home--v6 .v6-cta-art { border-bottom-color: var(--v6-panel-line) }
  .home--v6 .v6-hero-art svg, .home--v6 .v6-cta-art svg { max-height: 20rem }
  .home--v6 .v6-recip-grid, .home--v6 .v6-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .home--v6 .v6-section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start }
  .home--v6 .v6-rates-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem }
  .home--v6 .v6-faq-a { padding-right: 1.4rem }
}
@media (max-width: 640px) {
  .home--v6 .v6-strip { grid-template-columns: minmax(0, 1fr) }
  .home--v6 .v6-recip-grid, .home--v6 .v6-stats, .home--v6 .v6-est-cards { grid-template-columns: minmax(0, 1fr) }
  .home--v6 .v6-how-grid { grid-template-columns: minmax(0, 1fr) }
  .home--v6 .v6-step-art svg { max-height: 5rem }
  .home--v6 .v6-hero-actions .v6-btn { flex: 1 1 auto }
}
@media (prefers-reduced-motion: reduce) {
  .home--v6 .v6-rate-fill, .home--v6 .v6-est-bar-principal, .home--v6 .v6-est-bar-interest { transition: none }
}
