/* Homepage pilot only: fintech-refresh-v1. Other routes retain their styling. */
.fintech-home {
  --color-navy: #0b2346;
  --color-navy-soft: #14263f;
  --color-blue: #0066e6;
  --color-blue-dark: #0052b8;
  --color-text: #14263f;
  --color-muted: #52647a;
  --color-text-secondary: #52647a;
  --color-surface-alt: #f7f9fc;
  --color-border: #dce4ef;

  /* Centralized CTA & Semantic Color Tokens */
  --color-primary-action: #0b2346;
  --color-primary-action-hover: #143460;
  --color-primary-action-text: #ffffff;
  --color-secondary-action-bg: #f2f5f9;
  --color-secondary-action-hover: #e4e9f1;
  --color-secondary-action-text: #0b2346;
  --color-secondary-action-border: #dce4ef;
  --color-link: #0066e6;
  --color-link-hover: #0052b8;
  --color-positive: #167044;
  --color-positive-bg: #eafaf1;
  --color-brand-accent: #7357f6;
  --radius-pill: 999px;

  --radius-card: 20px;
  --shadow-card: 0 4px 16px rgb(20 38 63 / 6%);
  --max-content-width: 1200px;
  background: #fff;
  color: #14263f;
  line-height: 1.5;
}
.fintech-home .shell { width: min(calc(100% - 64px), 1200px); }
.fintech-home :is(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid #0052b8;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}
.fintech-home :is(h1, h2, h3) { letter-spacing: -.035em; }
.fintech-home h2 { font-size: 32px; line-height: 1.2; }
.fintech-home h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.fintech-home .eyebrow { color: #0052b8; font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.fintech-home .site-header { background: #fff; backdrop-filter: none; border-color: #dce4ef; }
.fintech-home .header-inner { min-height: 80px; }
.fintech-home .wordmark { min-height: 44px; display: inline-flex; align-items: center; }
.fintech-home .main-nav { gap: 24px; }
.fintech-home .main-nav > a:not(.button) { color: #14263f; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.fintech-home .button {
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill, 999px);
  font-size: 16px; font-weight: 600; line-height: 1.25; white-space: normal;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.fintech-home :is(.button--primary, .button--nav) {
  background: var(--color-primary-action, #0b2346);
  border: 1px solid var(--color-primary-action, #0b2346);
  border-radius: var(--radius-pill, 999px);
  color: var(--color-primary-action-text, #fff);
  box-shadow: 0 4px 14px rgb(11 35 70 / 18%);
}
.fintech-home :is(.button--primary, .button--nav):hover {
  background: var(--color-primary-action-hover, #143460);
  border-color: var(--color-primary-action-hover, #143460);
  color: #fff;
  box-shadow: 0 6px 18px rgb(11 35 70 / 25%);
}
.fintech-home .button--nav {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}
.fintech-home .button--secondary {
  background: var(--color-secondary-action-bg, #f2f5f9);
  border: 1px solid var(--color-secondary-action-border, #dce4ef);
  border-radius: var(--radius-pill, 999px);
  color: var(--color-secondary-action-text, #0b2346);
  box-shadow: none;
}
.fintech-home .button--secondary:hover {
  background: var(--color-secondary-action-hover, #e4e9f1);
  border-color: #cbd5e1;
  color: var(--color-secondary-action-text, #0b2346);
}
/* Full-bleed photographic introduction, with a solid readable text side. */
.fintech-home .hero--refresh { position: relative; isolation: isolate; padding: 32px 0 36px; background: #edf5ff; border: 0; }
.fintech-home .hero--refresh::before, .fintech-home .hero--refresh::after { content: none; }
.fintech-home .hero--refresh .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fintech-home .hero-copy { position: relative; z-index: 1; max-width: none; min-width: 0; padding: 0; }
.fintech-home .hero-copy .eyebrow { margin: 0 0 16px; }
.fintech-home .hero-copy h1 { margin: 0 0 24px; max-width: 18ch; font-size: 48px; line-height: 1.06; font-weight: 750; letter-spacing: -.045em; }
.fintech-home .hero-copy h1 span { display: block; color: #0066e6; }
.fintech-home .hero-description { max-width: 51ch; font-size: 16px; line-height: 1.65; margin: 0 0 20px; color: #344b66; }
.fintech-home .hero-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 20px; align-items: center; }
.fintech-home .hero-actions .button--primary { min-height: 52px; padding-inline: 28px; }
.fintech-home .hero-actions__secondary {
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
  padding-inline: 4px;
  color: var(--color-link, #0066e6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.fintech-home .hero-actions__secondary:hover {
  color: var(--color-link-hover, #0052b8);
  text-decoration: underline;
}
.fintech-home .hero-reassurance { font-size: 12px; line-height: 1.7; font-weight: 400; color: #52647a; max-width: 58ch; margin: 0; }
.hero-photography { min-width: 0; align-self: stretch; }
.hero-photography__frames { position: absolute; inset: 0 0 0 auto; width: 54%; height: 100%; overflow: hidden; background: #edf5ff; mask-image: linear-gradient(to right, transparent, #000 24%); }
.hero-photography__slide { height: 100%; }
.hero-photography__slide[hidden] { display: none; }
.hero-photography__slide img { height: 100%; width: 100%; object-fit: cover; object-position: 65% center; }
/* Tiny visual dots retain generous, invisible touch targets. */
.hero-photography button { font: inherit; cursor: pointer; border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.refresh-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.refresh-icon { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.refresh-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fintech-home :is(a, button, summary) { scroll-margin-block: 100px; }

/* Existing trust statements, with editorial line icons beneath the hero. */
.fintech-home .trust-strip { position: relative; background: #fff; padding: 0; border: 0; border-bottom: 1px solid #e5ecf5; }
.fintech-home .trust-strip__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 32px 0; }
.fintech-home .trust-strip__inner .trust-point { display: flex; flex-direction: column; gap: 12px; padding: 0 24px; align-items: center; text-align: center; border: 0; color: #0066e6; }
.fintech-home .trust-strip__inner .trust-point + .trust-point { border-left: 1px solid #dce4ef; }
.fintech-home .trust-point .refresh-icon { width: 38px; height: 38px; }
.fintech-home .trust-strip__inner .trust-point__label { display: block; padding: 0; font-size: 12px; line-height: 1.5; font-weight: 550; color: #344b66; border: 0; }

/* Three journeys become cohesive fintech illustrated cards. */
.fintech-home .section { padding-block: 80px; }
.fintech-home .section--doors {
  background: #f8fafd;
  border: 0;
  border-top: 1px solid #edf2f8;
  border-bottom: 1px solid #edf2f8;
}
.fintech-home .section-heading { margin-bottom: 32px; text-align: center; }
.fintech-home .section-heading h2 { font-size: 36px; }
.fintech-home .door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fintech-home .door-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #dce4ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(11 35 70 / 5%);
  color: #0b2346;
  min-height: 0;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.fintech-home .door-card::before, .fintech-home .door-card::after { content: none; }
.fintech-home .door-card__visual {
  width: 100%;
  background: #fbfdff;
  border-bottom: 1px solid #edf2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fintech-home .door-illustration {
  width: 100%;
  height: auto;
  display: block;
}
.fintech-home .door-card__body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.fintech-home .door-card h3 { min-height: 0; margin: 0 0 10px; font-size: 21px; line-height: 1.3; color: #0b2346; }
.fintech-home .door-card p { min-height: 0; color: #52647a; font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.fintech-home .door-card--featured .door-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: var(--radius-pill, 999px);
  background: var(--color-primary-action, #0b2346);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  min-height: 42px;
  border-top: none;
  margin-top: auto;
  box-shadow: 0 2px 8px rgb(11 35 70 / 18%);
  transition: background-color 150ms ease, transform 150ms ease;
}
.fintech-home .door-card--featured:hover .door-link {
  background: var(--color-primary-action-hover, #143460);
}
.fintech-home .door-card--featured .door-link > span {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 15px;
  color: #fff;
}
.fintech-home .door-card:not(.door-card--featured) .door-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-top: 1px solid #edf2f8;
  padding-top: 14px;
  margin-top: auto;
  font-size: 14px;
  color: var(--color-link, #0066e6);
  font-weight: 650;
  min-height: 42px;
}
.fintech-home .door-card:not(.door-card--featured) .door-link > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf5ff;
  font-size: 16px;
  color: #0066e6;
  transition: background-color 150ms ease, transform 150ms ease;
}
.fintech-home .door-card:not(.door-card--featured):hover .door-link > span {
  background: #dbeaff;
  transform: translateX(2px);
}

/* Welcome offers banner: deep navy gradient with fintech bonus visual. */
.fintech-home .home-offers-strip {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 32px;
  padding: 36px 44px;
  margin-top: 48px;
  overflow: hidden;
  background: linear-gradient(135deg, #071b33 0%, #0d2e57 50%, #10386b 100%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgb(7 27 51 / 16%);
}
.fintech-home .home-offers-strip__content { max-width: 58ch; }
.fintech-home .home-offers-strip__icon {
  display: inline-flex;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 12px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  margin-bottom: 14px;
}
.fintech-home .home-offers-strip__icon .refresh-icon { width: 24px; height: 24px; }
.fintech-home .home-offers-strip .eyebrow { color: #6ee7b7; font-size: 11px; letter-spacing: 0.12em; margin-bottom: 10px; }
.fintech-home .home-offers-strip h3 { margin: 0 0 12px; color: #fff; font-size: 30px; letter-spacing: -.03em; line-height: 1.2; }
.fintech-home .home-offers-strip p:not(.eyebrow) { font-size: 15px; line-height: 1.6; color: #cdd9e8; margin: 0 0 22px; }
.fintech-home .home-offers-strip .button {
  background: #fff;
  color: #0b2346;
  border: 1px solid #fff;
  border-radius: var(--radius-pill, 999px);
  padding: 11px 24px;
  font-weight: 650;
  box-shadow: 0 4px 14px rgb(0 0 0 / 14%);
}
.fintech-home .home-offers-strip .button:hover {
  background: #f0f4f9;
  border-color: #f0f4f9;
  color: #0b2346;
  box-shadow: 0 6px 18px rgb(0 0 0 / 20%);
}
.fintech-home .home-offers-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fintech-home .offers-illustration {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.fintech-home .site-footer { background: #edf5ff; border-top: 1px solid #dce4ef; color: #52647a; padding-block: 48px; }
.fintech-home .footer-brand p { color: #52647a; font-size: 14px; }
.fintech-home .footer-nav { gap: 8px 20px; }
.fintech-home .footer-nav a { color: #344b66; font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.fintech-home .assistant-launcher { background: #0b2346; box-shadow: 0 4px 16px rgb(20 38 63 / 15%); }
.fintech-home .assistant-launcher:hover { background: #143460; }
@media (hover: hover) and (pointer: fine) {
  .fintech-home .door-card:hover { transform: translateY(-3px); border-color: #bcd4f2; box-shadow: 0 14px 34px rgb(11 35 70 / 10%); }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .fintech-home .main-nav { display: none; }
  .fintech-home .mobile-menu { display: block; }
  .fintech-home .hero--refresh .hero-grid { gap: 20px; }
  .fintech-home .hero-copy h1 { font-size: 44px; }
  .fintech-home .trust-strip__inner .trust-point { padding-inline: 12px; }
  .fintech-home .door-grid { gap: 16px; }
  .fintech-home .door-card__body { padding-inline: 16px; }
  .fintech-home .door-card h3 { font-size: 20px; }
}
@media (max-width: 767px) {
  .fintech-home .shell { width: calc(100% - 32px); }
  .fintech-home .header-inner { min-height: 64px; }
  .fintech-home h2 { font-size: 28px; }
  .fintech-home h3 { font-size: 22px; }
  .fintech-home .hero--refresh { padding: 24px 0 20px; }
  .fintech-home .hero--refresh .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .fintech-home .hero-copy h1 { font-size: 36px; line-height: 1.08; max-width: 20ch; margin-bottom: 20px; }
  .fintech-home .hero-copy .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .fintech-home .hero-description { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
  .fintech-home .hero-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .fintech-home .hero-actions .button { width: 100%; }
  .fintech-home .hero-actions__secondary { justify-content: center; }
  .fintech-home .hero-reassurance { font-size: 11px; }
  .hero-photography__frames { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.95; border-radius: 20px; mask-image: none; }
  .hero-photography__slide { position: absolute; inset: 0; }
  .hero-photography { position: relative; }
  .fintech-home .trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; padding: 28px 0; }
  .fintech-home .trust-strip__inner .trust-point { padding-inline: 16px; gap: 8px; }
  .fintech-home .trust-strip__inner .trust-point + .trust-point { border: 0; }
  .fintech-home .trust-strip__inner .trust-point:nth-child(even) { border-left: 1px solid #dce4ef; }
  .fintech-home .trust-strip__inner .trust-point:last-child { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; }
  .fintech-home .trust-point .refresh-icon { width: 32px; height: 32px; }
  .fintech-home .section { padding-block: 48px; }
  .fintech-home .section-heading { text-align: left; margin-bottom: 24px; }
  .fintech-home .section-heading h2 { font-size: 28px; }
  .fintech-home .door-grid { grid-template-columns: 1fr; gap: 24px; }
  .fintech-home .door-card__body { padding: 0 24px 24px; }
  .fintech-home .door-card h3 { font-size: 23px; }
  .fintech-home .home-offers-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
    margin-top: 32px;
  }
  .fintech-home .home-offers-illustration {
    order: -1;
  }
  .fintech-home .home-offers-illustration .offers-illustration {
    max-width: 260px;
  }
  .fintech-home .home-offers-strip h3 { font-size: 28px; }
  .fintech-home .home-offers-strip .button { width: 100%; }
  .fintech-home .site-footer { padding-block: 32px 80px; }
  .fintech-home .mobile-menu summary { min-width: 44px; min-height: 44px; }
  .fintech-home .mobile-menu nav a { min-height: 44px; }
}
@media (min-width: 480px) and (max-width: 767px) { .fintech-home .shell { width: calc(100% - 48px); } }
@media (prefers-reduced-motion: reduce) {
  .fintech-home *, .fintech-home *::before, .fintech-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.hero-photography__slide { position: relative; }
.hero-photography__caption {
  position: absolute; z-index: 1; isolation: isolate;
  top: 9%; left: 29%; width: 190px; margin: 0;
  color: #19324f; font-family: inherit;
  font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: 0;
  white-space: pre-line; text-align: center;
}
.hero-photography__caption::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -45px -55px;
  background: radial-gradient(ellipse, rgb(245 249 253 / 94%) 20%, rgb(245 249 253 / 72%) 45%, transparent 72%);
}

@media (max-width: 767px) {
  .hero-photography__slide { position: absolute; }
  .hero-photography__caption { top: 12px; left: 20px; width: 126px; font-size: 19px; line-height: 1.12; transform: rotate(-7deg); }
  .hero-photography__caption::before { inset: -24px -25px; }
}

/* Compact journeys: anchor crops above the faces, not at image centre. */
.fintech-home .door-card__photograph .refresh-photo { object-position: center top; }

/* A compact AI entry point in the same light palette as the rest of the page. */
.fintech-home .home-assistant-spotlight { padding-block: 0 32px; background: #fff; border: 0; }
.fintech-home .home-assistant-spotlight__card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #f7faff 0%, #edf5ff 50%, #f4f8fd 100%);
  border: 1px solid #dce4ef;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgb(11 35 70 / 4%);
}
.assistant-ai-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #edf5ff;
  border: 1px solid #cfe2f8;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgb(0 102 230 / 10%);
}
.assistant-ai-mark img { display: block; width: 41px; height: auto; }
.fintech-home .home-assistant-spotlight h2 { font-size: 22px; line-height: 1.25; max-width: none; margin: 0 0 6px; color: #0b2346; }
.fintech-home .home-assistant-spotlight__copy p { font-size: 14.5px; line-height: 1.55; margin: 0; max-width: 52ch; color: #52647a; }
.fintech-home .home-assistant-illustration { display: flex; align-items: center; justify-content: center; }
.fintech-home .assistant-illustration { width: 220px; height: 105px; display: block; }
.fintech-home .home-assistant-spotlight__card > .button {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .fintech-home .home-assistant-illustration { display: none; }
  .fintech-home .home-assistant-spotlight__card { grid-template-columns: 56px minmax(0, 1fr) auto; }
}
@media (max-width: 767px) {
  .fintech-home .home-assistant-spotlight__card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px;
    align-items: start;
    gap: 16px;
  }
  .assistant-ai-mark { width: 48px; height: 48px; font-size: 18px; }
  .fintech-home .home-assistant-spotlight h2 { font-size: 20px; }
  .fintech-home .home-assistant-spotlight__copy p { font-size: 14px; }
  .fintech-home .home-assistant-illustration { display: none; }
  .fintech-home .home-assistant-spotlight__card > .button { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
}

/* Methodology is a short reading path; its photograph lives on the full page. */
.fintech-home .home-methodology { padding-block: 28px 40px; background: #fff; border: 0; }
.home-methodology__layout { display: block; }
.fintech-home .home-methodology__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.fintech-home .home-methodology__heading h2 { font-size: 24px; line-height: 1.3; margin: 0; }
.fintech-home .home-methodology__heading .text-link { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; font-size: 14px; }
.fintech-home .home-methodology__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 16px 0 0; margin: 0; border: 0; border-top: 1px solid #dce4ef; background: none; border-radius: 0; list-style: none; }
.fintech-home .home-methodology__steps::before { content: none; }
.fintech-home .home-methodology__steps li { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 12px; border: 0; padding: 0; }
.fintech-home .home-methodology__steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #0052b8; background: #edf5ff; font-size: 13px; box-shadow: none; }
.fintech-home .home-methodology__steps p { margin: 0; font-size: 14px; line-height: 1.6; font-weight: 400; color: #52647a; }
@media (max-width: 1000px) {
  .fintech-home .home-methodology__heading { flex-wrap: wrap; gap: 0 16px; }
}
@media (max-width: 767px) {
  .fintech-home .home-methodology { padding-block: 12px 32px; }
  .fintech-home .home-methodology__heading h2 { font-size: 22px; }
  .fintech-home .home-methodology__steps { grid-template-columns: 1fr; gap: 12px; padding-top: 12px; }
}

/* Compact secondary entry points under the doors (Lot 7): provincial Top 3, guides, methodology. */
.fintech-home .home-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 1.25rem; font-size: 0.95rem; }
.fintech-home .home-quick-links__lead { color: #5b6b82; font-weight: 700; }
.fintech-home .home-quick-links a { min-height: 2.5rem; display: inline-flex; align-items: center; }
