/* 12 Vector: the pointer to Vector (vector.synthflow.ai), Synthflow's AI agent for consumer lenders, as one card a step
   below the page's sections, so it does not take their attention. The page's card (white, hairline, Elevation/1), the
   whole card the link, with a faint light of Vector's sage in its top right:
   - Vector's photograph, cut straight on the left (on top on tablet and phone), and on it, on Vector's night glass, the
     account's outcome: the one product moment, its amount in Spectral as Vector writes it.
   - Vector's own lockup (no "powered by" line), the line (Instrument Sans 500, 36/42), one sentence (System/Lead) and a
     secondary button.
   Motion: the outcome rises onto the photograph once, as the card comes into view (/_assets/design/3f3b0da04faff8c8/12-vector.js); on hover the card
   lifts and the photograph settles closer. Reduced motion and ?static: at rest. */
.vector {
  background: var(--surface-page); padding-block: var(--space-8);
}
.vector-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 1fr); min-height: 420px;
  overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(70% 90% at 100% 0%, rgb(var(--v-sage-rgb) / .16), rgb(var(--v-sage-rgb) / 0) 60%), var(--surface-card);
  box-shadow: inset 0 0 0 1px var(--border-subtle), var(--elev-1);
  transition: box-shadow var(--motion-state) var(--ease-settle), translate var(--motion-state) var(--ease-settle); }
.vector-card:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1px var(--border-strong), 0 32px 64px rgb(var(--c-violet-deep-rgb) / .13); }

/* The photograph and its outcome */
.vector-photo { position: relative; display: block; overflow: hidden; }
.vector-photo picture { display: contents; }
.vector-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: scale 900ms var(--ease-settle); }
.vector-card:hover .vector-photo img { scale: 1.035; }
/* A soft shade at the photograph's foot, under the glass */
.vector-photo::after { content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(0deg, rgb(var(--v-night-2-rgb) / .38), rgb(var(--v-night-2-rgb) / 0)); }
.vector-outcome { position: absolute; z-index: 1; left: 24px; bottom: 24px; display: grid; gap: 10px; padding: 14px 20px 16px 16px;
  border-radius: var(--radius-md); background: rgb(var(--v-night-2-rgb) / .58); color: var(--v-cream);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: inset 0 0 0 1px rgb(var(--v-cream-rgb) / .14), 0 18px 36px -18px rgb(0 0 0 / .55); }
.vector-outcome-head { display: flex; align-items: center; gap: 8px; font: 600 14px/20px var(--font-text); color: var(--v-sage); }
.vector-outcome-head i { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--v-sage); box-shadow: 0 0 0 4px rgb(var(--v-sage-rgb) / .2); }
.vector-outcome-amount { display: flex; flex-direction: column; gap: 6px; font: 400 13px/18px var(--font-text); color: rgb(var(--v-cream-rgb) / .7); }
.vector-outcome-amount b { font: 500 32px/1 var(--v-serif); letter-spacing: -.02em; color: var(--v-cream); }

/* The words */
.vector-body { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); padding: 52px 64px 48px 60px; }
.vector-lockup { width: 126px; height: auto; }   /* Vector's own lockup (Promo), by eye beside the head: its capitals as tall as the head's */
.vector-words { display: flex; flex-direction: column; gap: var(--space-4); }
.vector-title { max-width: 480px; font: var(--t-panel); letter-spacing: var(--t-panel-tracking); color: var(--ink-primary); text-wrap: balance; }
.vector-text { max-width: 460px; color: var(--ink-secondary); text-wrap: pretty; }
.vector-go { align-self: flex-start; gap: 6px; }
.vector-go img { width: 16px; height: 16px; transition: transform var(--motion-hover) var(--ease-settle); }
.vector-card:hover .vector-go { box-shadow: inset 0 0 0 1px var(--ink-primary); }
.vector-card:hover .vector-go img { transform: translateX(2px); }

/* Motion: the outcome rises onto the photograph once (/_assets/design/3f3b0da04faff8c8/12-vector.js sets is-waiting, then is-in) */
.vector-card.is-waiting .vector-outcome { opacity: 0; translate: 0 14px; }
.vector-card.is-in .vector-outcome { opacity: 1; translate: 0 0; transition: opacity var(--motion-arrive) var(--ease-arrive) .25s, translate var(--motion-arrive) var(--ease-arrive) .25s; }

@media (max-width: 1199px) {
  .vector { padding-block: var(--space-7); }
  .vector-card { min-height: 380px; }
  .vector-body { padding: 40px 44px 38px 40px; gap: var(--space-5); }
  .vector-title { font-size: 30px; line-height: 36px; letter-spacing: -.6px; }
}
/* Tablet and phone: the photograph on top, cut straight across */
@media (max-width: 899px) {
  .vector-card { grid-template-columns: 1fr; min-height: 0; }
  .vector-photo img { height: 300px; object-position: 50% 0%; }   /* the tablet's and phone's crops are cut from the photograph's top, so her head stays whole (Promo) */
  .vector-body { gap: var(--space-5); padding: 30px 32px 32px; }
}
@media (max-width: 599px) {
  .vector-photo img { height: 284px; }   /* Promo's phone photograph: the outcome's glass covers about a fifth of it */
  .vector-lockup { width: 98px; }
  .vector-outcome { left: 14px; bottom: 14px; gap: 6px; padding: 10px 14px 12px 12px; }
  .vector-outcome-head { font-size: 13px; }
  .vector-outcome-amount { font-size: 12px; }
  .vector-outcome-amount b { font-size: 24px; }
  .vector-body { gap: var(--space-4); padding: 22px 22px 24px; }
  .vector-title { font-size: 24px; line-height: 30px; letter-spacing: -.3px; }   /* a step under the next section's head */
}
@media (prefers-reduced-motion: reduce) { .vector-card:hover { translate: none; } .vector-card:hover .vector-photo img { scale: none; } }
