/* Homepage "Build together / Invest together": a night-blue band with a large,
   faint outline of the logo V behind it, so the investment pathway reads as
   its own chapter. Chosen in invest-lab.html (option 3). */
/* A short bottom: the dark Velo OS section follows, with its own divider. */
.vh-invest.vh-invest-night { position: relative; overflow: hidden; background: #09193E; padding: 96px 32px 48px; }
/* The headline block sits centred against the copy beside it. */
.vh-invest-night .vh-invest-grid { position: relative; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.vh-invest-night .vh-invest-grid > div { position: relative; }
.vh-invest-night p.vh-eyebrow { color: #7FAEF0; }
.vh-invest-night h2 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; margin: 0; }
.vh-invest-night p { color: rgba(255, 255, 255, .78); }
.vh-invest-night p.vh-invest-lead { font-size: 20px; line-height: 1.5; color: #fff; margin-bottom: 18px; }
.vh-invest-night .vh-fine { color: rgba(255, 255, 255, .5) !important; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; }
.vh-invest-night .vh-spv-open { color: #7FAEF0; border-bottom-color: rgba(127, 174, 240, .45); }
.vh-invest-night .vh-spv-open:hover { color: #fff; border-bottom-color: #fff; }
.vh-invest-night .vh-spv-open:focus-visible { outline-color: #7FAEF0; }
/* The "What is an SPV?" dialog lives inside this dark section but is a white
   card: keep its own dark text. */
.vh-invest-night .vh-dialog h3 { color: #09193E; }
.vh-invest-night .vh-dialog p { color: #485362; }
.vh-invest-night .vh-dialog-ok { color: #fff; }
/* The V spans exactly the copy on the right: its top at the first line, its
   point at the last line (the grid is as tall as the copy). Shown whole. */
.vh-invest-night .vh-invest-grid > div:last-child > :first-child { margin-top: 0; }
.vh-invest-night .vh-invest-grid > div:last-child > :last-child { margin-bottom: 0 !important; }
.vh-invest-v { position: absolute; left: -40px; top: 5px; bottom: 3px; height: calc(100% - 8px); width: auto; aspect-ratio: 383 / 338; overflow: visible; opacity: .07; pointer-events: none; }
.vh-invest-v polygon { fill: none; stroke: #7FAEF0; stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Closed until asked (invest-collapse.js adds .cl-ready): the headline sits in
   the middle with "How it works"; opening slides it to its column, the V
   draws itself (stroke, then triangle) and the copy fades up paragraph by
   paragraph. Chosen in collapse-lab.html (option 1). Without the script the
   section simply shows open. */
.cl-ready .vh-invest-grid > div:nth-child(2), .cl-ready .vh-invest-v { transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.cl-ready:not(.cl-open) .vh-invest-grid > div:nth-child(2), .cl-ready:not(.cl-open) .vh-invest-v { transform: translateX(var(--cl-x, 0px)); }
.cl-measure .vh-invest-grid > div:nth-child(2), .cl-measure .vh-invest-v { transform: none !important; transition: none !important; }
.cl-ready .vh-invest-v { opacity: .14; }
.cl-ready .vh-invest-v polygon { vector-effect: none; stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1); }
.cl-ready .vh-invest-v polygon + polygon { transition-delay: .35s; }
.cl-ready.cl-open .vh-invest-v polygon { stroke-dashoffset: 0; }
.cl-ready .vh-invest-grid > div:last-child { pointer-events: none; }
.cl-ready.cl-open .vh-invest-grid > div:last-child { pointer-events: auto; }
.cl-ready .vh-invest-grid > div:last-child > * { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .7s cubic-bezier(.22, .61, .36, 1); transition-delay: calc(.15s * var(--n, 0)); }
.cl-ready.cl-open .vh-invest-grid > div:last-child > * { opacity: 1; transform: none; transition-delay: calc(.7s + .15s * var(--n, 0)); }
.cl-snap, .cl-snap * { transition: none !important; }
.cl-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 12px 14px 12px 20px; border-radius: 999px; border: 1px solid rgba(127, 174, 240, .5); background: transparent; color: #fff; font: 500 12px/1 Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cl-btn:hover { background: #7FAEF0; border-color: #7FAEF0; color: #09193E; }
.cl-btn i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #7FAEF0; transition: transform .45s cubic-bezier(.65, 0, .35, 1), background .2s; }
.cl-btn:hover i { background: #09193E; }
.cl-btn i::before, .cl-btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: #09193E; transition: background .2s; }
.cl-btn:hover i::before, .cl-btn:hover i::after { background: #7FAEF0; }
.cl-btn i::after { transform: rotate(90deg); }
.cl-open .cl-btn i { transform: rotate(135deg); }
.cl-btn:focus-visible { outline: 3px solid #7FAEF0; outline-offset: 3px; }

@media (max-width: 860px) {
  /* Phones: no slide; the copy opens below the headline. */
  .cl-ready .vh-invest-grid > div:last-child { max-height: 0; overflow: hidden; transition: max-height .8s cubic-bezier(.65, 0, .35, 1); }
  .cl-ready.cl-open .vh-invest-grid > div:last-child { max-height: 900px; }
  .cl-ready:not(.cl-open) .vh-invest-grid { gap: 0; }
  .vh-invest.vh-invest-night { padding: 64px 20px 36px; }
  .vh-invest-night .vh-invest-grid { grid-template-columns: 1fr; gap: 24px; }
  .vh-invest-night p.vh-invest-lead { font-size: 18px; }
  .vh-invest-v { left: auto; right: -120px; top: auto; bottom: -110px; height: auto; width: 340px; }
}
