/**
 * Explainers: the "Vestmind, explained" section at the foot of the landing
 * page and the "About VestCall" / "About VestFolio" sections beneath the
 * working tools.
 *
 * These sections are the part of each page written to be read without
 * JavaScript — by a crawler, an answer engine, or a person who scrolled past
 * the tool to find out what it is. So nothing here animates in, and nothing is
 * hidden until a script decides to show it.
 *
 * The look follows the Brand Identity System (v3.1): a cloud ground with a
 * soft sky wash at the edge, navy type in the display face, crisp white cards
 * on hairline blue-grey borders, blue for everything interactive, and gold only
 * for the one small marker beside each eyebrow. Every colour comes from
 * `tokens.css`, with the literal value as a fallback for any page that loads
 * this sheet first.
 */

.vx {
  --vx-navy: var(--text-main, #0F172A);
  --vx-muted: var(--text-muted, #64748B);
  --vx-dim: var(--text-dim, #94A3B8);
  --vx-blue: var(--brand-blue, #2563EB);
  --vx-signal: var(--signal-blue, #0B63F6);
  --vx-rule: var(--mist-blue, #D7E7F5);
  --vx-pale: var(--pale-blue, #EAF6FF);
  --vx-cloud: var(--cloud, #F7FBFF);
  --vx-gold: var(--vest-gold, #D69A2D);

  position: relative;
  overflow: hidden;
  padding: 96px 24px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(117, 199, 244, .16) 0%, rgba(117, 199, 244, 0) 55%),
    var(--vx-cloud);
  color: var(--vx-navy);
  font-family: var(--font-body);
}

/* An oversized abstract arc at the edge — the brand's one decoration. */
.vx::before {
  content: '';
  position: absolute;
  top: -320px;
  right: -260px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(11, 99, 246, .08);
  border-radius: 50%;
  pointer-events: none;
}

.vx-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

/* ── Heading ─────────────────────────────────────────────────────────────── */

.vx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vx-blue);
}

.vx-eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vx-gold);
}

.vx h2 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--vx-navy);
}

/* ── The answer ──────────────────────────────────────────────────────────── */

/*
 * The paragraph an answer engine is most likely to quote, set apart for the
 * same reason it comes first: it is the complete answer.
 */
.vx-answer {
  max-width: 960px;
  padding: 28px 32px;
  border: 1px solid var(--vx-rule);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(7, 27, 58, .03);
}

.vx-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--vx-muted);
}

.vx-answer p + p { margin-top: 14px; }

.vx-answer .vx-definition {
  font-size: 18px;
  line-height: 1.65;
  color: var(--vx-navy);
}

/*
 * The gap and the answer to it, side by side: question first, then what
 * Vestmind does about it, set on the pale-blue analytical surface so the
 * difference is the part the eye lands on.
 */
.vx-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 18px;
}

.vx-why-part {
  padding: 20px 22px;
  border: 1px solid var(--vx-rule);
  border-radius: 14px;
  background: var(--vx-cloud);
}

.vx-why-part--answer {
  border-color: rgba(37, 99, 235, .22);
  background: var(--vx-pale);
  box-shadow: inset 3px 0 0 var(--vx-blue);
}

.vx-answer .vx-why-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vx-blue);
}

.vx-answer .vx-why-part p + p { margin-top: 0; }
.vx-answer .vx-why-part p:not(.vx-why-label) { font-size: 15px; line-height: 1.7; }
.vx-answer .vx-difference { color: var(--vx-navy); }
.vx-answer .vx-context { margin-top: 0; }

/* ── The five products ───────────────────────────────────────────────────── */

.vx-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vx-product {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--vx-rule);
  border-radius: 16px;
  background: #FFFFFF;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vx-product:hover {
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 20px 40px rgba(7, 27, 58, .05);
}

.vx .vx-product-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--vx-navy);
}

.vx-product-name b { font-weight: 800; }

.vx-product-tagline {
  min-height: 2.8em;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--vx-signal);
}

.vx-product-line {
  flex: 1;
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--vx-muted);
}

.vx-product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
}

.vx-button {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill, 999px);
  background: var(--vx-blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--font-weight-button, 700);
  letter-spacing: var(--font-tracking-button, .01em);
  text-decoration: none;
  transition: background-color .2s ease;
}

.vx-button:hover { background: #1D4FD8; }

.vx-link {
  white-space: nowrap;
  color: var(--vx-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.vx-link:hover { text-decoration: underline; }

/* ── Steps ───────────────────────────────────────────────────────────────── */

.vx-steps-wrap,
.vx-faq {
  display: grid;
  gap: 20px;
}

.vx-steps-wrap h2,
.vx-faq h2 { font-size: clamp(22px, 2.4vw, 30px); }

.vx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vx-step;
}

.vx-steps li {
  counter-increment: vx-step;
  padding: 24px;
  border: 1px solid var(--vx-rule);
  border-radius: 16px;
  background: var(--vx-pale);
}

/* Large number, explicit label: how the brand shows a sequence. */
.vx-steps li::before {
  content: counter(vx-step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--vx-signal);
}

.vx .vx-steps h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -.015em;
  color: var(--vx-navy);
}

.vx-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--vx-muted);
}

/* ── Questions ───────────────────────────────────────────────────────────── */

/*
 * `<details>` so eight answers read as a scannable list. The answer text is in
 * the document whether or not the element is open, which is what a crawler
 * reading the HTML needs.
 */
.vx-faq {
  max-width: 860px;
}

.vx-faq > .vx-qa:first-of-type { border-top: 1px solid var(--vx-rule); }

.vx-qa {
  border-bottom: 1px solid var(--vx-rule);
}

.vx-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.vx-qa summary::-webkit-details-marker { display: none; }

.vx-qa summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--vx-rule);
  border-radius: 50%;
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1;
  color: var(--vx-blue);
}

.vx-qa[open] summary::after { content: '–'; }

.vx .vx-qa h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--vx-navy);
}

.vx .vx-qa[open] h3 { color: var(--vx-blue); }

.vx-qa summary:focus-visible {
  outline: 2px solid var(--vx-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.vx-qa p {
  max-width: 70ch;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--vx-muted);
}

/* ── Where to read next ──────────────────────────────────────────────────── */

.vx-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vx-related a {
  display: inline-flex;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--vx-rule);
  border-radius: var(--radius-pill, 999px);
  background: #FFFFFF;
  color: var(--vx-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.vx-related a:hover {
  border-color: var(--vx-blue);
  color: var(--vx-blue);
}

.vx-related span { color: var(--vx-blue); }

.vx-disclosure {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--vx-dim);
}

/* ── Beneath a working tool ──────────────────────────────────────────────── */

/*
 * Inside the tool page's own column rather than full-bleed, so it reads as
 * part of that page: a major surface, with the larger radius the brand gives
 * one.
 */
.vx--tool {
  margin-top: 80px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--vx-rule);
  border-radius: 28px;
}

.vx--tool .vx-inner { max-width: none; }

@media (max-width: 640px) {
  .vx { padding: 64px 16px; }
  .vx--tool { margin-top: 56px; padding: 40px 16px; border-radius: 20px; }
  .vx-inner { gap: 32px; }
  .vx-answer { padding: 22px 20px; }
  .vx-product-tagline { min-height: 0; }
  .vx-why { grid-template-columns: 1fr; }
  .vx-answer .vx-definition { font-size: 16.5px; }
  .vx .vx-qa h3 { font-size: 16px; }
}

/* ══ The landing page: "Vestmind, explained" and the FAQ ════════════════ */

/*
 * Two full-bleed sections on photographs (`VestmindExplained`,
 * `QuestionsAboutVestmind`, served from the responsive ladder), laid out like
 * the landing mock-ups: a centred heading over three frosted step cards with a
 * phone in each, then the five products; and a left-aligned FAQ of numbered
 * cards, the open one warm.
 *
 * The type is the landing page's own, not the mock-ups': headings in the
 * display face at the core headline weight, at the size every other landing
 * section uses (`.financial-life-heading h2`), the gold kicker rules, and the
 * landing palette. Nothing here overrides `vestmindcore.css`.
 */

.vxh,
.vxf,
.vxp-body {
  --vxh-navy: #07162F;
  --vxh-ink: #41556E;
  --vxh-muted: #56647B;
  --vxh-blue: #1D5BD8;
  --vxh-blue-soft: #EAF2FF;
  --vxh-gold: #E0A13A;
  --vxh-gold-rule: #EE9414;
  --vxh-gold-soft: #FFF0D6;
}

.vxh,
.vxf {
  position: relative;
  isolation: isolate;
  /* `clip`, not `hidden`: a hidden overflow makes the section a scroll
     container, and every scroll-driven animation inside it would then follow
     a scroll that never happens instead of the page's. */
  overflow: clip;
  background: #F4F8FC;
  color: var(--vxh-navy);
}

.vxh::before,
.vxf::before {
  /* Replaces the base section's arc with a wash that keeps text legible over
     the photograph. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  pointer-events: none;
}

.vxh-bg,
.vxf-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vxh-bg img,
.vxf-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The landing page's kicker: small capitals between two gold hairlines. */
.vxh-kicker,
.vxf-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  color: var(--vxh-navy);
  font-size: 12px;
  font-weight: var(--font-weight-button);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.vxh-kicker { justify-content: center; }

.vxh-kicker span,
.vxf-eyebrow span {
  display: block;
  width: 39px;
  height: 1px;
  background: var(--vxh-gold-rule);
}

/* The landing page's section heading, exactly. */
.vxh .vxh-head h1,
.vxh .vxh-head h2,
.vxf .vxf-head h2 {
  max-width: none;
  margin: 10px 0 8px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: clamp(35px, 3.4vw, 58px);
  font-weight: var(--font-weight-headline);
  line-height: 1.02;
  letter-spacing: var(--font-tracking-headline);
  text-wrap: balance;
}

.vxh h1 em,
.vxh h2 em,
.vxf h2 em {
  color: #EC920D;
  font-style: normal;
}

/* ── Vestmind, explained ─────────────────────────────────────────────────── */

.vxh { padding: 96px clamp(24px, 4.5vw, 80px) 88px; }
.vxh-bg img { object-position: 62% 45%; }
.vxh::before {
  background: linear-gradient(180deg, rgba(247, 250, 255, .8) 0%, rgba(247, 250, 255, .45) 30%, rgba(247, 250, 255, .14) 60%, rgba(247, 250, 255, .55) 100%);
}

.vxh-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.vxh-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.vxh .vxh-head .vx-definition {
  max-width: 780px;
  margin: 14px auto 0;
  color: var(--vxh-navy);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
}

.vxh-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: stretch;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.vxh-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 0;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .68) 100%);
  box-shadow: 0 24px 48px rgba(15, 40, 90, .08);
  /* The phone is cut by the card's lower edge; the icons floating on its
     sides are not. */
  overflow: visible clip;
}

.vxh-step-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 26px;
}

.vxh-step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
  font: var(--font-weight-headline) 17px/1 var(--font-display);
}

.vxh-step--gold .vxh-step-number { background: var(--vxh-gold-soft); color: #C7861F; }

.vxh .vxh-step h3 {
  margin: 8px 0 8px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.vxh-step-head p {
  margin: 0;
  color: var(--vxh-ink);
  font-size: 14px;
  line-height: 1.6;
}

.vxh-arrow {
  display: grid;
  place-items: center;
  color: var(--vxh-gold);
}

.vxh-arrow svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The phone: a dark frame with a warm metal edge, and a white screen. */
.vxh-phone {
  width: min(280px, 100%);
  margin: auto auto -64px;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(150deg, #2B2F38 0%, #0D0F14 60%);
  box-shadow: 0 0 0 2px #CFAE6E, 0 24px 48px rgba(15, 23, 42, .2);
}

.vxh-screen {
  height: 440px;
  padding: 13px 16px 22px;
  overflow: hidden;
  border-radius: 36px;
  background: #FFFFFF;
}

.vxh-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin-bottom: 12px;
  color: var(--vxh-navy);
  font-size: 12px;
}

.vxh-island {
  width: 80px;
  height: 22px;
  border-radius: 14px;
  background: #0D0F14;
}

.vxh-signal {
  width: 28px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--vxh-navy) 0 62%, transparent 62% 70%, var(--vxh-navy) 70%);
}

/* The mark and wordmark exactly as the logo component draws them. */
.vxh-app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.vxh-app-head .vx-mark { width: 24px; height: auto; }

.vxh-wordmark {
  color: #03172F;
  font: 600 11px/1 Arial, sans-serif;
  letter-spacing: .18em;
}

.vxh-wordmark em { color: #C58C35; font-style: normal; }

.vxh-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
  font-size: 11px;
  font-weight: var(--font-weight-button);
}

.vxh-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vxh-gold);
}

.vxh-phone-heading {
  margin: 0 0 12px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: var(--font-weight-headline);
  line-height: 1.3;
  letter-spacing: var(--font-tracking-headline);
}

.vxh-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxh-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid #E6EEF9;
  border-radius: 13px;
  background: #F8FBFF;
  color: var(--vxh-navy);
  font-size: 12.5px;
  line-height: 1.35;
}

.vxh-row-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
}

.vxh-step:first-child .vxh-row-icon { background: var(--vxh-gold-soft); color: #C7861F; }

.vxh-row-icon svg,
.vxh-row-open svg,
.vxh-float svg,
.vxh-product-icon svg,
.vxf-contact svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vxh-row-icon svg { width: 17px; height: 17px; }

.vxh-row--product { padding: 0; }

.vxh-row-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 0 7px 10px;
  color: inherit;
  text-decoration: none;
}

.vxh-row-text { display: grid; gap: 2px; min-width: 0; }
.vxh-row-text b { font-size: 13px; font-weight: var(--font-weight-button); }
.vxh-row-text small { color: var(--vxh-muted); font-size: 11px; line-height: 1.3; }

.vxh-row-open {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 9px;
  border-radius: 50%;
  color: var(--vxh-muted);
  transition: background-color .2s ease, color .2s ease;
}

.vxh-row-open svg { width: 15px; height: 15px; }
.vxh-row-main:hover b,
.vxh-row-open:hover { color: var(--vxh-blue); }
.vxh-row-open:hover { background: var(--vxh-blue-soft); }
.vxh-row-main:focus-visible,
.vxh-row-open:focus-visible { outline: 2px solid var(--vxh-blue); outline-offset: 2px; border-radius: 12px; }

/* The product phone is a menu, not a picture: every row stays reachable. */
.vxh-step:last-child .vxh-phone { margin-bottom: -22px; }
.vxh-step:last-child .vxh-screen { height: auto; padding-bottom: 28px; }
.vxh-step:last-child .vxh-rows { gap: 7px; }

/* Round icon badges floating on the cards' edges, as in the mock-up. */
.vxh-float {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 14px 28px rgba(15, 40, 90, .12);
  color: var(--vxh-blue);
}

.vxh-float svg { width: 26px; height: 26px; }
.vxh-float--bank { top: 52%; left: -28px; }
.vxh-float--chart { top: 66%; left: -28px; }
.vxh-float--shield { top: 80%; left: -28px; color: var(--vxh-gold); }
.vxh-float--mind { top: 44%; right: -28px; color: var(--vxh-gold); }
.vxh-float--target { top: 52%; right: -28px; }

/* The five products, in the same frosted cards as the steps. */
.vxh-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.vxh-product {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 36px rgba(15, 40, 90, .07);
}

.vxh-product-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
}

.vxh-product-icon svg { width: 20px; height: 20px; }

/* The journey cards' wordmark: "Vest" in navy, the rest in gold. */
.vxh .vxh-product-name {
  margin: 0 0 4px;
  color: #0A1F3D;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: var(--font-tracking-headline);
}

.vxh-product-name b,
.vxh-product-name em { color: var(--vxh-gold); font-style: normal; font-weight: inherit; }

.vxh-product-tagline {
  min-height: 2.6em;
  margin: 0 0 10px;
  color: var(--vxh-blue);
  font-size: 12.5px;
  line-height: 1.3;
}

.vxh-product-line {
  flex: 1;
  margin: 0 0 16px;
  color: var(--vxh-ink);
  font-size: 14px;
  line-height: 1.5;
}

.vxh-product-links {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0;
}

/* The landing page's call to action, at card size. */
.vxh-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid #C7973B;
  border-radius: 9px;
  background: #080B18;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--font-weight-button);
  letter-spacing: var(--font-tracking-button);
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .25s ease, transform .25s ease;
}

.vxh-button span { color: #D2A03D; }
.vxh-button:hover { box-shadow: 0 10px 22px rgba(8, 25, 51, .18); transform: translateY(-1px); }

.vxh-link {
  color: var(--vxh-blue);
  font-size: 13px;
  font-weight: var(--font-weight-button);
  text-decoration: none;
  white-space: nowrap;
}

.vxh-link:hover { text-decoration: underline; }

/* ── The FAQ ─────────────────────────────────────────────────────────────── */

.vxf { padding: 96px clamp(24px, 6vw, 112px); }
.vxf-bg img { object-position: 72% 50%; }
.vxf::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .66) 0%, rgba(255, 255, 255, .42) 42%, rgba(255, 255, 255, .06) 72%, rgba(255, 255, 255, 0) 100%);
}

.vxf-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.vxf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: 36px;
}

.vxf-eyebrow { margin-bottom: 4px; }

.vxf-lede {
  max-width: 380px;
  padding-left: 40px;
  border-left: 1px solid rgba(7, 22, 47, .18);
}

.vxf-lede p {
  margin: 0 0 14px;
  color: var(--vxh-navy);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.45;
  /* The line can fall across the bright window frame in the photograph. */
  text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9);
}

.vxf-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vxh-blue);
  font-size: 15px;
  font-weight: var(--font-weight-button);
  text-decoration: none;
}

.vxf-contact svg { width: 17px; height: 17px; }
.vxf-contact:hover { text-decoration: underline; }

.vxf-list {
  display: grid;
  gap: 12px;
  width: min(100%, 980px);
  max-width: 70%;
}

.vxf-item {
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 26px rgba(15, 40, 90, .07);
  transition: background-color .2s ease;
}

.vxf-item[open] { background: linear-gradient(180deg, #FFFBF4 0%, #FFF6E9 100%); }

.vxf-item summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 20px;
  padding: 14px 26px 14px 16px;
  cursor: pointer;
  list-style: none;
}

.vxf-item summary::-webkit-details-marker { display: none; }

.vxf-item summary:focus-visible {
  outline: 2px solid var(--vxh-blue);
  outline-offset: 3px;
  border-radius: 18px;
}

.vxf-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
  font: var(--font-weight-headline) 18px/1 var(--font-display);
}

.vxf-item[open] .vxf-number { background: var(--vxh-gold-soft); color: #C7861F; }

.vxf .vxf-item h3 {
  margin: 0;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
}

/* A plus that becomes a gold minus: two bars, one of which folds away. */
.vxf-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--vxh-blue);
}

.vxf-toggle::before,
.vxf-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.vxf-toggle::after { transform: rotate(90deg); }
.vxf-item[open] .vxf-toggle { color: var(--vxh-gold); }
.vxf-item[open] .vxf-toggle::after { transform: rotate(0deg); opacity: 0; }

.vxf-answer { padding: 0 32px 22px 84px; }

.vxf-answer p {
  max-width: 76ch;
  margin: 0;
  color: var(--vxh-ink);
  font-size: 15px;
  line-height: 1.65;
}

.vxf .vx-related { margin-top: 28px; }

/* ── Smaller screens ─────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .vxh-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .vxh-steps { grid-template-columns: minmax(0, 620px); justify-content: center; gap: 0; }
  .vxh-arrow { height: 52px; }
  .vxh-arrow svg { transform: rotate(90deg); }
  .vxh-float { display: none; }
  .vxf-list { max-width: none; }
  .vxf::before { background: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .72) 100%); }
}

@media (max-width: 760px) {
  .vxh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .vxh { padding: 72px 16px 64px; }
  .vxf { padding: 72px 16px; }
  .vxh-step { padding: 22px 18px 0; }
  .vxh-screen { height: 420px; }
  .vxh-products { grid-template-columns: minmax(0, 1fr); }
  .vxh-product-tagline { min-height: 0; }
  .vxf-lede { padding-left: 0; border-left: 0; }
  .vxf-item summary { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; padding: 12px 16px 12px 12px; }
  .vxf-number { width: 40px; height: 40px; font-size: 16px; }
  .vxf .vxf-item h3 { font-size: 16px; }
  .vxf-toggle, .vxf-toggle::before, .vxf-toggle::after { width: 18px; }
  .vxf-toggle { height: 18px; }
  .vxf-answer { padding: 0 18px 18px; }
}


/* ══ Generated pages: product pages, pricing, security, tool explainers ══ */

/*
 * The same two sections, used as a page system. A page opens on the
 * "Vestmind, explained" photograph with a centred heading and its direct
 * answer; explanatory sections follow as frosted cards on a cloud ground; the
 * questions close it on the FAQ photograph. Section headings take the landing
 * heading's face, weight and colour at a step down in size, because a product
 * page carries seven of them where the landing page carries one per section.
 */

.vxp-main { padding: 0; }

/* ── The opening ─────────────────────────────────────────────────────────── */

.vxh--hero { padding: 132px clamp(24px, 4.5vw, 80px) 72px; }
.vxh--hero::before {
  background: linear-gradient(180deg, rgba(247, 250, 255, .9) 0%, rgba(247, 250, 255, .62) 45%, rgba(247, 250, 255, .5) 100%);
}

.vxp-crumbs ol { justify-content: center; margin-bottom: 22px; }

.vxh .vxh-head .vxp-lede {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--vxh-navy);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
}

.vxp-answer {
  max-width: 920px;
  margin: 36px auto 0;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 48px rgba(15, 40, 90, .08);
  text-align: left;
}

.vxp-answer h2 {
  margin: 0 0 10px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
}

.vxp-answer p {
  margin: 0 0 12px;
  color: var(--vxh-ink);
  font-size: 15px;
  line-height: 1.65;
}

.vxp-answer .kn-definition {
  color: var(--vxh-navy);
  font-size: 17px;
  line-height: 1.6;
}

.vxp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 18px 0 0 !important;
}

/* The landing call to action: navy with a gold edge. */
.vxp-body .vxp-answer .kn-button,
.vxp-body .vxp-price-card .vxh-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #C7973B;
  border-radius: 9px;
  background: #080B18;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: var(--font-weight-button);
  letter-spacing: var(--font-tracking-button);
  text-decoration: none;
}

.vxp-body .vxp-answer .kn-button span { color: #D2A03D; }
.vxp-body .vxp-answer .kn-button:hover { box-shadow: 0 10px 22px rgba(8, 25, 51, .18); opacity: 1; }

/* ── Sections of cards on a cloud ground ─────────────────────────────────── */

.vxp-content {
  position: relative;
  padding: 8px clamp(24px, 4.5vw, 80px) 80px;
  background: linear-gradient(180deg, #F4F8FC 0%, #F8FBFE 55%, #FDF8F0 100%);
}

.vxp-content--end { padding-top: 56px; }

.vxp-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.vxp-section { padding-top: 72px; }

.vxp-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.vxp-head h2 {
  margin: 10px 0 0;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: var(--font-weight-headline);
  line-height: 1.08;
  letter-spacing: var(--font-tracking-headline);
  text-wrap: balance;
}

.vxp-intro {
  margin: 12px 0 0;
  color: var(--vxh-navy);
  font-size: 16px;
  line-height: 1.5;
}

.vxp-intro a,
.vxp-note a,
.vxp-meta a { color: var(--vxh-blue); }

.vxp-cards {
  display: grid;
  grid-template-columns: repeat(var(--vxp-cols, 4), minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxp-card {
  padding: 22px 24px;
  border: 1px solid #E3ECF7;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 36px rgba(15, 40, 90, .06);
}

.vxp-card h3,
.vxp-step h3 {
  margin: 0 0 6px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
}

.vxp-card p,
.vxp-step p {
  margin: 0;
  color: var(--vxh-ink);
  font-size: 14.5px;
  line-height: 1.6;
}

.vxp-note {
  margin: 20px 0 0;
  color: var(--vxh-navy);
  font-size: 15px;
  text-align: center;
}

/* Numbered steps: the landing step cards without the phones. */
.vxp-steps {
  display: grid;
  grid-template-columns: repeat(var(--vxp-cols, 4), minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxp-step {
  padding: 22px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 100%);
  box-shadow: 0 18px 36px rgba(15, 40, 90, .07);
}

.vxp-step .vxh-step-number { margin-bottom: 16px; }
.vxp-step--gold .vxh-step-number { background: var(--vxh-gold-soft); color: #C7861F; }

/* Beneath a working tool: the steps sit on the photograph under the heading. */
.vxh--tool .vxp-steps-wrap { margin-top: 44px; }

.vxh .vxp-steps-title {
  margin: 0 0 18px;
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
}

/* A worked example: a white card of large figures with explicit labels. */
.vxp-example {
  margin: 0;
  padding: 28px;
  border: 1px solid #E3ECF7;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 48px rgba(15, 40, 90, .07);
}

.vxp-example figcaption {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-bottom: 22px;
}

.vxp-example figcaption strong {
  color: var(--vxh-navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--font-weight-headline);
  letter-spacing: var(--font-tracking-headline);
}

.vxp-example figcaption > span:last-child { color: var(--vxh-ink); font-size: 15px; line-height: 1.6; }

.vxp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--vxh-blue-soft);
  color: var(--vxh-blue);
  font-size: 11.5px;
  font-weight: var(--font-weight-button);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vxp-chip--gold { background: var(--vxh-gold-soft); color: #9A6414; }

.vxp-findings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 0;
}

.vxp-findings > div {
  padding: 18px 20px;
  border-radius: 16px;
  background: #F4F8FD;
}

.vxp-findings dt {
  margin-bottom: 6px;
  color: var(--vxh-navy);
  font-size: 14px;
  font-weight: var(--font-weight-button);
}

.vxp-findings dt b {
  display: block;
  margin-bottom: 2px;
  color: var(--vxh-blue);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: var(--font-weight-headline);
  line-height: 1.15;
  letter-spacing: var(--font-tracking-headline);
}

.vxp-findings dd { margin: 0; color: var(--vxh-ink); font-size: 14.5px; line-height: 1.6; }

.vxp-takeaway {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--vxh-gold);
  color: var(--vxh-navy);
  font-size: 15px;
  line-height: 1.6;
}

/* The comparison, in a white card. */
.vxp-table {
  overflow-x: auto;
  border: 1px solid #E3ECF7;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 18px 36px rgba(15, 40, 90, .06);
}

.vxp-table .kn-compare { min-width: 620px; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.vxp-price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxp-price-card { border-color: #E3ECF7; }
.vxp-price-card .vxp-chip { align-self: flex-start; margin-bottom: 16px; }
.vxp-price-card--invite { background: linear-gradient(180deg, #FFF9EF 0%, #FFFFFF 46%); }
.vxp-price-card .vxh-product-tagline { min-height: 0; }

.vxp-features {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.vxp-features li {
  position: relative;
  padding-left: 22px;
  color: var(--vxh-navy);
  font-size: 14px;
  line-height: 1.5;
}

.vxp-features li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--vxh-blue);
  border-left: 2px solid var(--vxh-blue);
  transform: rotate(-45deg);
}

/* ── The close ───────────────────────────────────────────────────────────── */

.vxf-disclosure { margin-top: 18px; color: var(--vxh-muted); }

.vxp-content--end .kn-cta { max-width: 1240px; margin: 0 auto; }

.vxp-meta {
  max-width: 1240px;
  margin: 40px auto 0;
}

@media (max-width: 1000px) {
  .vxp-cards,
  .vxp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .vxp-cards,
  .vxp-steps { grid-template-columns: minmax(0, 1fr); }
  .vxh--hero { padding: 108px 16px 56px; }
  .vxp-answer { padding: 22px 20px; }
  .vxp-content { padding: 0 16px 56px; }
  .vxp-section { padding-top: 56px; }
  .vxp-example { padding: 20px; }
}


/* ── Motion on the landing page ──────────────────────────────────────────── */

/*
 * The two sections move in the landing page's own language (`landing.css`,
 * "Motion"): app.js gives their headings, card rows, cards and questions the
 * same roles as the sections above, and the photographs trail behind them
 * here, exactly as `.section-photo` does — a layer cut taller than its section
 * by the distance it travels, drifting the other way to the copy, on the
 * compositor. Only on `/`, whose stylesheet defines the keyframes, and only
 * where scroll timelines exist and motion is welcome.
 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    #landing .vxh > .vxh-bg,
    #landing .vxf > .vxf-bg {
      inset: calc(var(--motion-photo) * -1) 0;
      animation: motion-photo linear both;
      animation-range: cover 0% cover 100%;
      animation-timeline: view();
    }
  }
}
