/* Homepage pilot only: fintech-refresh-v1. Other routes retain their styling. */
.fintech-home {
  --color-navy: #14263f;
  --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;
  --radius-card: 16px;
  --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 20px; border-radius: 10px;
  font-size: 16px; font-weight: 600; line-height: 1.25; white-space: normal;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.fintech-home :is(.button--primary, .button--nav) {
  background: #0066e6; border: 1px solid #0066e6; color: #fff;
  box-shadow: 0 4px 12px rgb(0 102 230 / 14%);
}
.fintech-home :is(.button--primary, .button--nav):hover { background: #0052b8; border-color: #0052b8; color: #fff; }
.fintech-home .button--secondary { background: #fff; border-color: #6b7c93; color: #0052b8; box-shadow: none; }
.fintech-home .button--secondary:hover { background: #edf5ff; }
/* 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 { min-height: 52px; padding-inline: 24px; }
.fintech-home .hero-actions__secondary { min-height: 48px; font-size: 15px; font-weight: 600; padding-inline: 0; }
.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; }
.hero-photography__slide:not([hidden]) { animation: photo-fade 300ms ease; }
/* Tiny visual dots retain generous, invisible touch targets. */
.hero-photography__controls { position: absolute; right: 0; bottom: 16px; width: 54%; height: 44px; display: flex; justify-content: center; align-items: center; }
.hero-photography__controls[hidden] { display: none; }
.hero-photography__dots { display: flex; align-items: center; opacity: .72; transition: opacity 160ms ease; }
.hero-photography button { font: inherit; cursor: pointer; border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.hero-photography__dot { display: grid; place-items: center; }
.hero-photography__dot > span { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / 48%); border: 1px solid rgb(20 38 63 / 60%); box-shadow: 0 1px 4px rgb(0 0 0 / 20%); transition: background-color 160ms ease, box-shadow 160ms ease; }
.hero-photography__dot[aria-pressed=true] > span { width: 9px; height: 9px; background: #fff; box-shadow: 0 0 0 2px rgb(20 38 63 / 20%); }
.hero-photography:hover .hero-photography__dots, .hero-photography:focus-within .hero-photography__dots { opacity: 1; }
.hero-photography__dot:hover > span, .hero-photography__dot:focus-visible > span { background: #fff; }
.hero-photography__pause { position: absolute; right: 20px; bottom: 0; display: grid; place-items: center; opacity: 0; transition: opacity 160ms ease; }
.hero-photography__pause svg { width: 22px; height: 22px; border-radius: 50%; background: rgb(20 38 63 / 40%); }
.hero-photography:hover .hero-photography__pause, .hero-photography:focus-within .hero-photography__pause { opacity: .85; pointer-events: auto; }
.hero-photography__pause:hover, .hero-photography__pause:focus-visible { opacity: 1; }
.hero-photography__pause[hidden], .hero-photography__pause[data-playing=true] .slideshow-play, .hero-photography__pause[data-playing=false] .slideshow-pause { display: none; }
@media (hover: none) { .hero-photography .hero-photography__pause { opacity: .75; pointer-events: auto; } }
.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 existing journeys become photographic editorial cards. */
.fintech-home .section { padding-block: 80px; }
.fintech-home .section--doors { background: #fff; border: 0; }
.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 6px 24px rgb(20 38 63 / 5%); color: #14263f; min-height: 0; overflow: hidden; transition: box-shadow 150ms ease, transform 150ms ease; }
.fintech-home .door-card::before, .fintech-home .door-card::after { content: none; }
.fintech-home .door-card__photograph { aspect-ratio: 2.5; overflow: hidden; flex-shrink: 0; }
.fintech-home .door-card__body { padding: 0 24px 24px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.fintech-home .door-card__icon { display: grid; place-items: center; position: relative; width: 64px; height: 64px; margin: -32px 0 20px; border: 4px solid #fff; border-radius: 18px; background: #edf5ff; color: #0066e6; box-shadow: 0 3px 10px rgb(20 38 63 / 6%); }
.fintech-home .door-card__icon .refresh-icon { width: 40px; height: 40px; }
.fintech-home .door-card:nth-child(2) .door-card__icon { background: #e6f5ef; color: #116149; }
.fintech-home .door-card:nth-child(3) .door-card__icon { background: #fff4dd; color: #8d5a00; }
.fintech-home .door-card h3 { min-height: 0; margin: 0 0 14px; font-size: 23px; line-height: 1.25; }
.fintech-home .door-card p { min-height: 0; color: #52647a; font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.fintech-home .door-link, .fintech-home .door-card--featured .door-link { display: flex; justify-content: space-between; gap: 8px; align-items: center; align-self: stretch; border-top: 1px solid #e5ecf5; padding-top: 16px; margin-top: auto; font-size: 14px; color: #0052b8; font-weight: 650; min-height: 48px; }
.fintech-home .door-link > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #edf5ff; font-size: 20px; flex-shrink: 0; }

/* Photo banner: an existing offer CTA, without fabricated offer data. */
.fintech-home .home-offers-strip { position: relative; isolation: isolate; display: block; padding: 32px 40px; margin-top: 40px; overflow: hidden; background: #0052b8; border: 0; border-radius: 24px; box-shadow: none; }
.home-offers-strip__image { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 55%; mask-image: linear-gradient(to right, transparent, #000 40%); }
.home-offers-strip__image img { object-position: 65% 55%; }
.home-offers-strip__content { max-width: 53%; }
.home-offers-strip__icon { display: inline-flex; padding: 7px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 12px; color: #fff; margin-bottom: 12px; }
.home-offers-strip__icon .refresh-icon { width: 24px; height: 24px; }
.fintech-home .home-offers-strip .eyebrow { color: #fff; margin-bottom: 12px; }
.fintech-home .home-offers-strip h3 { margin: 0 0 16px; color: #fff; font-size: 32px; letter-spacing: -.035em; line-height: 1.15; }
.fintech-home .home-offers-strip p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: #fff; margin: 0 0 24px; }
.fintech-home .home-offers-strip .button { background: #fff; color: #0052b8; border-color: #fff; }
.fintech-home .home-offers-strip .button:hover { background: #edf5ff; }

.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: #0066e6; box-shadow: 0 4px 16px rgb(20 38 63 / 15%); }
.fintech-home .assistant-launcher:hover { background: #0052b8; }
@keyframes photo-fade { from { opacity: .5; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .fintech-home .door-card:hover { transform: translateY(-2px); border-color: #a6c9f5; box-shadow: 0 12px 28px rgb(20 38 63 / 11%); }
}
@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; }
  .hero-photography__controls { right: 0; bottom: 8px; width: 100%; }
  .hero-photography__pause { right: 8px; }
  .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__photograph { aspect-ratio: 2.5; }
  .fintech-home .door-card__body { padding: 0 24px 24px; }
  .fintech-home .door-card h3 { font-size: 23px; }
  .fintech-home .home-offers-strip { margin-top: 32px; padding: 24px 24px 0; }
  .home-offers-strip__content { max-width: none; }
  .home-offers-strip__image { position: relative; inset: auto; width: calc(100% + 48px); height: 150px; margin: 16px -24px 0; mask-image: linear-gradient(to bottom, transparent, #000 35%); }
  .fintech-home .home-offers-strip { display: flex; flex-direction: column; }
  .home-offers-strip__content { order: 0; }
  .home-offers-strip__image { order: 1; }
  .fintech-home .home-offers-strip h3 { font-size: 32px; }
  .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; }
}
/* Handwritten notes composed into the light area of each photograph. */
@font-face {
  font-family: "Kalam";
  src: url("/assets/kalam-latin-regular-68aa6126.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.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: "Kalam", "Segoe Print", cursive;
  font-size: 27px; font-weight: 400; line-height: 1.2; letter-spacing: 0;
  white-space: pre-line; text-align: center;
  transform: rotate(-9deg); transform-origin: 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 28px; background: #fff; border: 0; }
.fintech-home .home-assistant-spotlight__card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px; background: #edf5ff; border: 1px solid #dce4ef; border-radius: 20px; box-shadow: none; }
.assistant-ai-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 56px; color: #0066e6; background: #fff; border-radius: 16px; font-size: 22px; font-weight: 750; }
.assistant-ai-mark .refresh-icon { width: 18px; height: 18px; }
.fintech-home .home-assistant-spotlight h2 { font-size: 24px; line-height: 1.25; max-width: none; margin: 0 0 8px; color: #14263f; }
.fintech-home .home-assistant-spotlight__copy p { font-size: 15px; line-height: 1.6; margin: 0; max-width: 65ch; color: #52647a; }
.fintech-home .home-assistant-spotlight__card > .button { font-size: 14px; }

/* 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-assistant-spotlight__card { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .assistant-ai-mark { width: 48px; height: 48px; }
  .fintech-home .home-assistant-spotlight__card > .button { grid-column: 2; justify-self: start; }
  .fintech-home .home-methodology__heading { flex-wrap: wrap; gap: 0 16px; }
}
@media (max-width: 767px) {
  .fintech-home .home-assistant-spotlight__card { padding: 20px; align-items: start; }
  .fintech-home .home-assistant-spotlight h2 { font-size: 22px; }
  .fintech-home .home-assistant-spotlight__copy p { font-size: 14px; }
  .fintech-home .home-assistant-spotlight__card > .button { grid-column: 1 / -1; justify-self: stretch; }
  .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; }
}
