﻿/* ============================================================
   SalisPay v3 — main.css
   Exact Figma design system implementation
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Stack+Sans+Text:wght@300;400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ──
   --blue and --purple/--teal are kept as separate variable NAMES (not
   renamed to --primary/--secondary) so this file's structure stays a
   near-exact mirror of CredoPay's — a future CredoPay change can be
   ported here as a value-only diff. --blue now holds SalisPay's primary
   (#6f00b8); --purple and --teal both now hold a DARKENED version of
   secondary (#0d9c92, same cyan-teal hue as brand secondary #2ffdf1, just
   ~35% lightness instead of ~59%) — the raw brand secondary has no usable
   contrast as foreground text/icon color on light backgrounds (confirmed:
   it was unreadable as badge-label and "+N more" text). --secondary-glow
   holds the true, vivid brand secondary for the few contexts that only
   ever use it as a background fill / gradient / glow, never as text. */
:root {
  --blue:    #6f00b8;
  --purple:  #0d9c92;
  --teal:    #0d9c92;
  --secondary-glow: #2ffdf1;
  --black:   #000000;
  --ink:     #2E3033;
  --muted:   #6F6F6F;
  --bg:      #FFFFFF;
  --bg-soft: #F5F5F5;
  --border:  #E5E7EB;
  --dark:    #000000;
  --footer:  rgba(0,0,0,0.96);

  --grad:     linear-gradient(to right, #6f00b8 0%, #02d8cc 100%);
  --grad-cta: linear-gradient(135deg, #6f00b8 0%, #2ffdf1 100%);
  --stats-glow: radial-gradient(ellipse at 50% 50%, #2ffdf1 0%, #9a5fd6 42%, #6f00b8 87%, #2ffdf1 100%);

  --w:       1280px;
  --px:      80px;
  --section: 80px;
  --nav-h:   80px;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Stack Sans Text', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-h);
}
section[id] { scroll-margin-top: var(--nav-h); }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
/* Headings default to weight 400 — prevents faux-bold "stroke" on Instrument Serif (only ships 400) */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

.hero { padding: 80px 0 0; background: #fff; text-align: left; overflow: hidden; position: relative; }
.hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 80px; }
.hero h1 { font-family: var(--serif); font-size: clamp(36px,5vw,72px); line-height: 1.05; font-weight: 400; color: #000; max-width: 1000px; margin: 0 0 40px; text-align: left; }
.hero-bottom-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 64px; }
.hero-sub { font-family: var(--sans); font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--ink); max-width: 620px; margin: 0; padding: 0;}
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hero-product-wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 80px; box-sizing: border-box; }
.hero-product-wrap img { width: 100%; display: block; border-radius: 12px 12px 0 0; }

/* ── Utility ── */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section-pad {
  padding: var(--section) 0;
}

/* ── Gradient Text ── */
.gtxt {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badges / Eyebrow Pills ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--sans);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 0px;
  flex-shrink: 0;
}
.badge-blue   { color: var(--blue);   background: rgba(111,0,184,0.06);    border: 1px solid rgba(111,0,184,0.15); }
.badge-blue   .badge-dot { background: var(--blue); }
.badge-green  { color: var(--teal);   background: rgba(13,156,146,0.06);   border: 1px solid rgba(13,156,146,0.15); }
.badge-green  .badge-dot { background: var(--teal); }
.badge-purple { color: var(--purple); background: rgba(13,156,146,0.06);   border: 1px solid rgba(13,156,146,0.15); }
.badge-purple .badge-dot { background: var(--purple); }
.badge-white  { color: #FFFFFF;       background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); }
.badge-white  .badge-dot { background: #FFFFFF; }

/* ── Buttons — Figma exact spec ── */
/* Base: 44px tall, 8px radius, DM Sans 15px/500, 0 20px padding */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: 8px;
  height: 44px;
  padding: 0 20px;
  min-width: unset;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
/* Primary — solid #6f00b8 */
.btn-primary { background: var(--blue); color: #FFFFFF; border: 1.5px solid var(--blue); }
.btn-primary:hover { background: #59008f; border-color: #59008f; }
/* Outline — white bg, 1.5px dark border */
.btn-outline { background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: #f5f5f5; }
/* Purple variant — name kept from CredoPay for a value-only diff, but var(--purple)
   is SalisPay's teal now, so its hover must darken teal, not the old purple hex. */
.btn-purple { background: var(--purple); color: #FFFFFF; border: 1.5px solid var(--purple); }
.btn-purple:hover { background: #009070; border-color: #009070; }
/* CTA section buttons (on gradient bg) */
.btn-cta-primary { background: var(--blue); color: #FFFFFF; border: 1.5px solid var(--blue); border-radius: 8px; }
.btn-cta-primary:hover { background: #59008f; border-color: #59008f; }
.btn-cta-outline { background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; }
.btn-cta-outline:hover { background: #f5f5f5; }
.btn-cta-outline img { filter: none; }
/* Teal variant */
.btn-green { background: var(--teal); color: #FFFFFF; border: 1.5px solid var(--teal); }
.btn-green:hover { background: #009070; border-color: #009070; }
/* White arrow/icon on dark or solid-colour buttons (white text) */
.btn img { flex-shrink: 0; }
.btn-primary img, .btn-purple img, .btn-green img,
.btn-cta-outline img, .btn-dark img,
.btn-cta-ghost img { filter: brightness(0) invert(1); }
.btn-cta-outline img { filter: none; }
/* Nav buttons — smaller, 32px */
.btn-dark {
  background: #000000; color: #FFFFFF; border: 1px solid #000000;
  border-radius: 8px; height: 32px; padding: 0 16px; font-size: 13px; font-weight: 500;
}
.btn-dark:hover { background: #222; }
.btn-ghost-nav {
  background: #FFFFFF; color: var(--ink); border: 1px solid transparent;
  border-radius: 8px; height: 32px; padding: 0 16px; font-size: 13px; font-weight: 400;
}
.btn-ghost-nav:hover { background: var(--bg-soft); border-color: var(--border); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--w); margin: 0 auto; padding: 0 var(--px);
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
}
.nav-links a {
  font-size: 14px; font-family: var(--sans); color: var(--ink);
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease; font-weight: 400;
}
.nav-links a:hover { background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #FFFFFF; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: calc(var(--nav-h) + 40px) 32px 40px;
  gap: 8px;
  overflow-y: auto;
  transform: translateY(-100%); transition: transform 0.35s ease;
  pointer-events: none;
}
.nav-overlay.open { transform: translateY(0); pointer-events: all; }
.nav-overlay a {
  font-size: 24px; font-family: var(--sans); color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; font-weight: 400;
}
.nav-overlay a.active { color: var(--blue); }
.nav-overlay .nav-overlay-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.nav-overlay .nav-overlay-actions .btn { width: 100%; min-width: unset; justify-content: center; }

/* ── STATS SECTION ── */
.stats-section { background: #FFFFFF; padding: var(--section) 0; overflow: hidden; }
.stats-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 64px;
}
.stats-header-label {
  font-size: 18px; font-weight: 400; font-family: var(--sans);
  color: var(--purple); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.stats-header h2 { font-family: var(--serif); font-size: 48px; line-height: 52px; font-weight: 400; color: #000000; }
.stats-header-sub { font-size: 20px; line-height: 28px; font-weight: 300; color: var(--ink); text-align: right; padding-top: 8px; }
.stats-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 0; overflow: hidden;
}
.stats-glow-bg {
  position: absolute; inset: 0;
  background: var(--stats-glow); opacity: 0.08;
  pointer-events: none; z-index: 0; filter: blur(40px);
}
.stat-cell {
  position: relative; z-index: 1; padding: 40px 32px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-cell:nth-child(4n)   { border-right: none; }
.stat-cell:nth-child(n+5)  { border-bottom: none; }
.stat-number {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 84px); line-height: 1;
  font-weight: 400; color: var(--blue); display: block; margin-bottom: 8px;
}
.stat-label { font-size: 20px; line-height: 28px; font-weight: 300; color: var(--ink); font-family: var(--sans); }

/* ════════════════════════════════════════════════════
   GLOBAL SECTION LAYOUT HIERARCHY
   Rule: (Pill ─24px─ Heading) ─32px─ Body ─80px─ Content
   ════════════════════════════════════════════════════ */

/* Pill + Heading wrapper — badge provides 24px gap via margin-bottom */
.sec-ph {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;    /* Heading group → Body: reduced to tighten */
}
.sec-ph .badge   { margin-bottom: 20px; }  /* Pill → Heading: 20px */
.sec-ph h2,
.sec-ph .section-h2,
.sec-ph .hp-certs-h2,
.sec-ph .hp-testi-h2,
.sec-ph .certs-h2 { margin-bottom: 0; }

/* When no body text follows, remove the 32px */
.sec-ph.no-body { margin-bottom: 0; }

/* Centered section top */
.sec-top-c {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 64px;
  width: 100%;
}
/* Centered .sec-ph: badge centres and hugs */
.sec-top-c .sec-ph {
  align-items: center;
}
/* Left-aligned section top */
.sec-top-l {
  margin-bottom: 64px;
}
/* Section body text (after Heading, before content) */
.sec-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--muted);
  max-width: 920px;
}
.sec-sub.center { text-align: center; }

/* ── SECTION LAYOUTS ── */
/* Inner-page section header — matches home page hierarchy:
   badge ─20px─ heading ─24px─ sub ─64px─ content */
.section-header { max-width: 800px; margin-bottom: 64px; }
.section-header.centered { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.section-header .badge { margin-bottom: 20px; }
.section-header .section-h2 { margin-bottom: 24px; }
.section-header .section-sub { margin-bottom: 0; }
.section-header .section-h2:last-child { margin-bottom: 0; }
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);  /* consistent across all sections */
  line-height: 1.1;
  font-weight: 400;
  color: #000000;
  margin-bottom: 0;                   /* spacing handled by container */
}
.section-h2.white { color: #FFFFFF; }
/* Body/description text — DM Sans 400, 16px, line-height 1.65 */
.section-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
}
.section-sub.white  { color: rgba(255,255,255,0.78); }
.section-sub.muted  { color: var(--muted); }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cards-6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* Feature Card */
.feature-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 0; padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px; flex-shrink: 0;
}
.icon-teal   { background: rgba(13,156,146,0.12); }
.icon-blue   { background: rgba(111,0,184,0.10); }
.icon-purple { background: rgba(13,156,146,0.10); }
.feature-card h3 {
  font-family: var(--serif); font-size: 40px; line-height: 40px;
  font-weight: 400; color: #000000; margin-bottom: 16px;
}
.feature-card p { font-size: 20px; line-height: 28px; font-weight: 300; color: var(--ink); }
.module-card h3 { font-family: var(--serif); font-size: 29px; line-height: 29px; }

/* Dark Feature Card */
.feature-card-dark {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0; padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card-dark:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature-card-dark h3 { font-family: var(--serif); font-size: 40px; line-height: 40px; color: #FFFFFF; margin-bottom: 16px; }
.feature-card-dark p  { font-size: 16px; line-height: 24px; font-weight: 300; color: rgba(255,255,255,0.7); }

/* ── SOLUTIONS ── */
.solutions-section { background: #FFFFFF; padding: var(--section) 0; }
.solution-card { border-radius: 0; padding: 48px; display: flex; flex-direction: column; gap: 20px; transition: transform 0.2s ease; }
.solution-card:hover { transform: translateY(-4px); }
.solution-card-blue { background: rgba(111,0,184,0.04);   border: 1px solid rgba(111,0,184,0.12); }
.solution-card-teal { background: rgba(13,156,146,0.04);  border: 1px solid rgba(13,156,146,0.12); }
.solution-label { font-size: 18px; font-weight: 500; font-family: var(--sans); letter-spacing: 0.02em; text-transform: uppercase; }
.solution-label.blue { color: var(--blue); }
.solution-label.teal { color: var(--teal); }
.solution-card h3 { font-family: var(--serif); font-size: 40px; line-height: 40px; font-weight: 400; color: #000000; }
.solution-card p  { font-size: 20px; line-height: 28px; font-weight: 300; color: var(--ink); }
.solution-cta { font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; transition: gap 0.2s; }
.solution-cta:hover { gap: 12px; }
.solution-cta.blue { color: var(--blue); }
.solution-cta.teal { color: var(--teal); }

/* ── BUILT DIFFERENT ── */
.built-different { background: #FFFFFF; padding: var(--section) 0; }
.built-stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: 0; overflow: hidden; margin-top: 64px;
}
.built-stat { padding: 40px 32px; border-right: 1px solid var(--border); }
.built-stat:last-child { border-right: none; }
.built-stat-num  { font-family: var(--serif); font-size: clamp(40px,5vw,84px); line-height: 1; color: var(--blue); display: block; margin-bottom: 8px; }
.built-stat-label{ font-size: 16px; font-weight: 400; color: #000000; font-family: var(--sans); margin-bottom: 6px; display: block; }
.built-stat-desc { font-size: 14px; line-height: 20px; color: var(--muted); font-family: var(--sans); font-weight: 400; }

/* ── CERTIFICATIONS ── */
.certs-section { background: #000000; padding: var(--section) 0; }
.cert-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0; padding: 32px; transition: transform 0.2s ease;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-network-label { font-size: 12px; line-height: 16px; font-weight: 300; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.cert-card h3 { font-family: var(--serif); font-size: 20px; line-height: 24px; font-weight: 400; color: #FFFFFF; margin-bottom: 12px; }
.cert-card p  { font-size: 16px; line-height: 24px; font-weight: 300; color: rgba(255,255,255,0.7); }
.cert-logos-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.cert-logo-pill { display: inline-flex; align-items: center; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; font-size: 14px; color: rgba(255,255,255,0.7); font-family: var(--sans); }

/* ── PRESENCE ── */
.presence-section { background: #FFFFFF; padding: var(--section) 0; text-align: center; }
.globe-visual {
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(111,0,184,0.15), rgba(13,156,146,0.06));
  border: 2px solid rgba(111,0,184,0.15); margin: 48px auto;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.globe-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(111,0,184,0.2); }
.countries-row { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.country-item { display: flex; align-items: center; gap: 8px; font-size: 16px; font-family: var(--sans); color: var(--ink); }
.country-flag { font-size: 24px; line-height: 1; }

/* ── PRESENCE (home-page style, shared) ── */
.hp-presence-section { background: #fff; padding: var(--section) 0; text-align: center; }
.hp-presence-section .sec-top-c { max-width: 900px; }
/* Full-bleed breakout so the globe isn't capped by .container's own max-width
   (1280px) — it reads as a large, deliberate centerpiece rather than sitting
   at the same width as body text. Two layers on purpose: .hp-globe-bleed is
   always exactly 100vw (simple, always-correct self-centering via the
   symmetric negative margin); .hp-globe-wrap then centers inside THAT via
   ordinary margin:auto with its own max-width cap. Combining the vw-based
   offset and the max-width cap on a single element instead breaks the
   instant the cap kicks in — the offset math assumes the box is genuinely
   100vw wide, so a clamped (narrower) box ends up lopsided, not centered. */
.hp-globe-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* Globe is rendered as a full sphere but only the top half is ever shown — the
   wrap is a 2:1 box with overflow hidden, and the canvas is a true square (via
   aspect-ratio, so it's never stretched) pinned to the wrap's top edge, letting
   the bottom hemisphere fall below the visible area and get clipped. */
.hp-globe-wrap {
  margin: 64px auto 0; width: 75%; max-width: 1260px; aspect-ratio: 2 / 1;
  overflow: hidden; position: relative;
}
#globeCanvas { display: block; position: absolute; top: 0; left: 0; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; cursor: grab; touch-action: none; }
#globeCanvas:active { cursor: grabbing; }
.hp-countries-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.hp-country-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  color: var(--ink); white-space: nowrap;
  background: #FFFFFF; border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer; font: inherit; -webkit-appearance: none; appearance: none;
}
.hp-country-item:hover { border-color: rgba(111,0,184,0.25); box-shadow: 0 2px 10px rgba(111,0,184,0.1); }
.hp-country-item:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp-country-item.is-active {
  border-color: var(--blue); background: rgba(111,0,184,0.06);
  box-shadow: 0 2px 12px rgba(111,0,184,0.18); transform: translateY(-1px);
}
.hp-country-item.is-active span { color: var(--blue); font-weight: 500; }
.hp-country-flag { width: 22px; height: 22px; border-radius: 50%; display: block; flex-shrink: 0; object-fit: cover; }
@media (max-width: 768px) {
  .hp-globe-wrap { margin-top: 40px; }
  .hp-countries-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 32px;
  }
  .hp-country-item {
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
  }
  .hp-country-flag { width: 16px; height: 16px; }
}

/* ── CTA SECTION ── */
.cta-section { background: url('../assets/img/Gradient.svg') center/cover no-repeat; padding: var(--section) 0; text-align: center; }
.cta-section .section-h2 { color: #FFFFFF; max-width: 800px; margin: 0 auto 20px; }
.cta-section .section-sub { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 40px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: rgba(0,0,0,0.96); padding: 80px 0 40px; }

/* Footer outer: brand left | link-columns right — two-div flex row */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Fix logo sizing — height: auto so aspect ratio is never forced */
.footer-logos { display: block; }
.footer-logo-img {
  width: 100%;
  max-width: 360px;
  height: auto !important;
  display: block;
}
/* SalisPay footer: same "Logo Family for Footer.png" sprite as before, sliced into
   3 background-position crops so SalisPay/CredoPay can be reordered without a new
   asset. Crop x-ranges found by scanning the sprite's alpha channel for the blank
   gaps between logos — each divider actually sits in the MIDDLE of a much wider
   blank zone (e.g. 559-723 around the CredoPay/SalisPay divider, not just the 4px
   divider stroke itself at 638-642), so cropping right at the divider leaves a
   large empty margin as the leading edge of the next logo's box, reading as
   "not aligned left". True content spans, found from where the alpha actually
   turns on: CredoPay 0-559, SalisPay 723-1183, CenterFirst 1347-1640 (of 1640
   total) — then scaled by 260/1640 (.footer-brand's flex-basis of 260px is what
   actually capped the old img's width, its own max-width:360px never took
   effect, so 260px is the true on-screen scale to match). */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-crop {
  display: block;
  height: 27.9px;
  background-image: url('../assets/img/Logo Family for Footer.png');
  background-repeat: no-repeat;
  background-size: 260px auto;
}
.footer-logo-crop--salispay { width: 72.9px; background-position: -114.6px 0; }
.footer-logo-crop--credopay { width: 88.6px; background-position: 0 0; }
.footer-logo-crop--centerfirst { width: 46.5px; background-position: -213.5px 0; }
.footer-logo-divider { flex: 0 0 1px; width: 1px; height: 18px; background: rgba(255,255,255,0.15); }
.footer-tagline {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}

/* Link columns group — horizontal flex, fills remaining space */
.footer-cols {
  display: flex;
  gap: 56px;
  flex: 1;
  justify-content: flex-end;
}
.footer-col { min-width: 140px; }
.footer-col-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: #FFFFFF; }

/* Footer bottom — copyright only, no duplicate links */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.3); font-family: var(--sans); }
/* Keep .footer-legal in CSS for backwards compat but it's removed from HTML */
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color 0.2s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ── BROWSER MOCKUP ── */
.browser-mockup { border-radius: 16px; background: #F0F0F0; border: 1px solid rgba(111,0,184,0.15); overflow: hidden; max-width: 1100px; margin: 64px auto 0; }

/* ══ CENTERFIRST DASHBOARD WIDGET — shared hero product visual ══
   Real app chrome (sidebar + tabs), not a marketing-page screenshot.
   Used on Platform (3-tab toggle) and For Banks (single view). */
.cf-dash { display: flex; background: #fff; border-radius: 16px; overflow: hidden; border: 1.5px solid rgba(111,0,184,0.16); position: relative; z-index: 1; }
.cf-dash-sidebar { width: 180px; flex-shrink: 0; background: #F7F8FA; border-right: 1px solid rgba(0,0,0,0.06); padding: 20px 14px; }
.cf-dash-logo { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: 14.5px; color: #000; margin-bottom: 24px; padding: 0 6px; }
.cf-dash-logo-mark { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), #2ffdf1); flex-shrink: 0; }
.cf-dash-nav { display: flex; flex-direction: column; gap: 2px; }
.cf-dash-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: #78787D; }
.cf-dash-nav a.active { background: rgba(111,0,184,0.08); color: var(--blue); font-weight: 600; }
.cf-dash-nav a .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.55; flex-shrink: 0; }
.cf-dash-main { flex: 1; min-width: 0; padding: 20px 24px 24px; }
.cf-dash-main--full { padding: 24px 28px 28px; }
.cf-dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.cf-dash-title { font-family: var(--sans); font-weight: 700; font-size: 15px; color: #000; }
/* Real wordmark, not a fabricated icon mark — plain confident type is the honest move here */
.cf-dash-word { font-family: var(--serif); font-weight: 400; font-size: 20px; color: #000; letter-spacing: -0.01em; }
.cf-dash-word-logo-crop { height: 22px; overflow: hidden; display: flex; align-items: flex-start; }
.cf-dash-word-logo { height: 34px; width: auto; display: block; }
.cf-dash-tabs { display: flex; gap: 3px; background: #F1F2F5; padding: 3px; border-radius: 9px; }
.cf-dash-tab { font-family: var(--sans); font-size: 12px; font-weight: 600; color: #6F6F6F; padding: 7px 12px; border-radius: 7px; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.cf-dash-tab.active { background: #fff; color: #000; border: 1px solid rgba(111,0,184,0.18); }
.cf-dash-panel { display: none; }
.cf-dash-panel.active { display: block; animation: cfDashFade 0.3s ease; }
@keyframes cfDashFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.cf-dash-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.cf-dash-kpis--6 { grid-template-columns: repeat(6,1fr); }
.cf-dash-kpi { background: #F9FAFB; border: 1px solid rgba(0,0,0,0.05); border-radius: 10px; padding: 12px 14px; }
.cf-dash-kpi-label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #8A8A8E; margin-bottom: 6px; }
.cf-dash-kpi-num { font-family: var(--sans); font-size: 18px; font-weight: 700; color: #000; }
.cf-dash-kpi-num .u { font-size: 11.5px; font-weight: 500; color: #8A8A8E; margin-right: 2px; }
.cf-dash-kpi-delta { font-family: var(--sans); font-size: 10.5px; font-weight: 600; margin-top: 4px; }
.cf-dash-kpi-delta.up { color: var(--teal); }
.cf-dash-kpi-delta.down { color: #C0392B; }
.cf-dash-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cf-dash-chart-card { background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 10px; padding: 14px 16px; }
.cf-dash-chart-title { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: #000; margin-bottom: 2px; }
.cf-dash-chart-sub { font-family: var(--sans); font-size: 10.5px; color: #8A8A8E; margin-bottom: 8px; display: block; }
.cf-dash-chart-card svg { width: 100%; height: auto; display: block; }
.cf-bar-label { font-size: 10px; fill: #8A8A8E; font-family: var(--sans); }
.cf-bar-value { font-size: 10px; fill: #000; font-family: var(--sans); font-weight: 700; }

/* ── For Banks hero: real CenterFirst Analytics screenshots, tab-toggled ──
   Only the 3 tab buttons are interactive — the panels below are real
   screenshots of the live product (not a re-simulated widget), cross-faded
   on click so it reads as a genuine product view, not a static image. */
.cf-mis-embed { flex-direction: column; }
.cf-mis-main { flex: 1; min-width: 0; padding: 20px 24px 0; display: flex; flex-direction: column; }
.cf-mis-viewport { position: relative; width: 100%; aspect-ratio: 1200 / 647; border-radius: 12px; overflow: hidden; background: #F6F9FD; border: 1px solid rgba(111,0,184,0.12); }
.cf-mis-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top; display: block; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.cf-mis-img.active { opacity: 1; pointer-events: auto; }
/* Real tables — the density is the point, this is what makes it read as a
   working product instead of a stock hero illustration */
.cf-dash-table-card { background: #fff; border: 1px solid rgba(0,0,0,0.05); border-radius: 10px; padding: 14px 16px; margin-top: 0; }
.cf-dash-table-scroll { overflow-x: auto; margin-top: 8px; }
.cf-dash-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 11px; white-space: nowrap; }
.cf-dash-table th { text-align: left; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: #8A8A8E; padding: 6px 8px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.cf-dash-table td { padding: 7px 8px; border-bottom: 1px solid rgba(0,0,0,0.05); color: #000; }
.cf-dash-table tr:last-child td { border-bottom: none; }
.cf-dash-table td.num, .cf-dash-table th.num { text-align: right; }
.cf-dash-table .neg { color: #C0392B; }
.cf-dash-table tr.cf-total td { font-weight: 700; background: rgba(111,0,184,0.04); }
.cf-rag, .cf-roi { display: inline-flex; font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 7px; border-radius: 999px; }
.cf-rag.RED, .cf-roi.underwater { background: rgba(192,57,43,0.1); color: #C0392B; }
.cf-rag.AMBER, .cf-roi.below { background: rgba(214,137,16,0.12); color: #B4790E; }
.cf-rag.GREEN, .cf-roi.on { background: rgba(111,0,184,0.08); color: var(--blue); }
.cf-roi.ahead { background: rgba(13,156,146,0.1); color: #00816B; }
@media (max-width: 760px) {
  .cf-dash-sidebar { display: none; }
  .cf-dash-kpis, .cf-dash-kpis--6 { grid-template-columns: repeat(2,1fr); }
  .cf-dash-charts-row { grid-template-columns: 1fr; }
  .cf-dash-topbar { flex-direction: column; align-items: stretch; }
  .cf-dash-tabs { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cf-dash-tab { flex-shrink: 0; }
}

/* ══ FLOATING WIDGET CARDS — bleed over the hero dashboard visual ══
   Bigger, pulls real data from the dashboard itself (not a generic stat chip).
   Movement triggers off hovering the WHOLE dashboard, not the tiny card. */
.hero-visual-wrap { position: relative; }
.hero-float-card {
  position: absolute;
  background: #F5F9FF; border-radius: 14px;
  border: 1.5px solid rgba(111,0,184,0.22);
  padding: 14px 18px;
  width: 240px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  z-index: 2; cursor: default;
}
/* Hover motion for these is physics-driven (see js/float-cards-physics.js):
   ambient turbulence while the cursor is over the dashboard, a stronger spring
   reaction on individual card hover. CSS only provides the resting state. */
.hero-float-card-kicker { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #8A8A8E; margin-bottom: 8px; }
.hero-float-card-main { display: flex; align-items: center; gap: 10px; }
.hero-float-card-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-card-icon svg { width: 19px; height: 19px; }
.hero-float-card-num { font-family: var(--sans); font-weight: 700; font-size: 14px; color: #000; line-height: 1.25; }
.hero-float-card-label { font-family: var(--sans); font-size: 10.5px; color: #8A8A8E; font-weight: 500; line-height: 1.3; }
.hero-float-card--r { top: 36%; right: -32px; }
.hero-float-card--bl { bottom: -28px; left: -32px; }
.hero-float-card--bl70 { top: 70%; left: -32px; }
.hero-float-card--tl { top: -24px; left: 64px; }

/* ── Platform hero: the Top Issuers floating widget (anonymized — no real
   issuer names, per the no-explicit-partner-naming policy). Same underlying
   .hero-float-card shell (position, border, physics-hover) as every other
   floating card; this modifier just widens it to fit the bar chart. ── */
.hero-float-card--issuers { width: 340px; padding: 20px 22px; }
.hero-issuers-title { font-family: var(--sans); font-weight: 600; font-size: 13px; color: #000; margin-bottom: 14px; }
.hero-issuers-rows { display: flex; flex-direction: column; gap: 8px; }
.hero-issuers-row { display: flex; align-items: center; gap: 10px; }
.hero-issuers-label { width: 50px; flex-shrink: 0; font-family: var(--sans); font-size: 11px; color: var(--muted); }
.hero-issuers-track { flex: 1; min-width: 0; }
.hero-issuers-bar {
  height: 22px; border-radius: 6px; min-width: 32px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 8px; box-sizing: border-box;
  font-family: var(--sans); font-weight: 600; font-size: 10.5px; color: #fff;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-float-card--tl { top: -16px; left: 24px; }
}
@media (max-width: 1050px) {
  .hero-float-card { display: none; }
}
.browser-chrome { background: #E8E8E8; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }
.browser-url { flex: 1; background: #FFFFFF; border-radius: 6px; padding: 4px 12px; font-size: 13px; color: var(--muted); font-family: var(--sans); }
.browser-body { display: flex; height: 420px; background: #FFFFFF; }
.dashboard-sidebar { width: 200px; background: #1a1a2e; padding: 20px 0; flex-shrink: 0; overflow: hidden; }
.sidebar-logo { display: flex; align-items: center; justify-content: center; height: 44px; margin-bottom: 24px; }
.sidebar-logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 14px; font-weight: 600; font-family: var(--sans); }
.sidebar-nav-item { display: block; padding: 9px 20px; font-size: 12px; color: rgba(255,255,255,0.55); font-family: var(--sans); transition: all 0.15s ease; cursor: pointer; }
.sidebar-nav-item:hover, .sidebar-nav-item.active { background: rgba(255,255,255,0.08); color: #FFFFFF; }
.dashboard-main { flex: 1; padding: 20px; overflow: hidden; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-title { font-size: 15px; font-weight: 600; color: var(--ink); font-family: var(--sans); }
.dash-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 12px; font-family: var(--sans); }
.dash-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.dash-metric { background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; border: 1px solid var(--border); }
.dash-metric-label { font-size: 10px; font-weight: 500; color: var(--muted); font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.dash-metric-value { font-size: 20px; font-weight: 600; color: var(--ink); font-family: var(--sans); }
.dash-metric-change { font-size: 10px; margin-top: 4px; }
.dash-metric-change.up   { color: var(--teal); }
.dash-metric-change.down { color: #E53E3E; }
.dash-chart-area { background: var(--bg-soft); border-radius: 8px; height: 160px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.dash-chart-title { position: absolute; top: 12px; left: 16px; font-size: 11px; font-weight: 500; color: var(--muted); }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; }
.chart-bar { flex: 1; background: var(--blue); border-radius: 3px 3px 0 0; opacity: 0.7; transition: opacity 0.2s; }
.chart-bar:hover { opacity: 1; }

/* ── INNER PAGE HERO ── */
.hero-inner-page { padding: 80px 0 60px; background: #FFFFFF; text-align: center; position: relative; overflow: hidden; }
.hero-inner-page > .container { position: relative; z-index: 1; }
.hero-inner-page h1 { font-family: var(--serif); font-size: clamp(36px,5vw,68px); line-height: 1.06; font-weight: 400; color: var(--ink); max-width: 860px; margin: 0 auto 40px; }
.hero-inner-page .hero-sub { margin-left: auto; margin-right: auto; }
/* Wider, justified variant — About page's merged origin-story + JV paragraph is
   longer than a typical hero-sub, so it gets more width and even edges instead
   of the usual centered-text ragged wrap. */
.hero-sub-wide { max-width: 760px; text-align: justify; text-align-last: center; }
/* Left-aligned variant — Platform / For Banks / For Fintechs (matches Home) */
.hero-inner-page.hero-left { text-align: left; }
.hero-inner-page.hero-left h1 { margin-left: 0; margin-right: 0; max-width: 1000px; }
.hero-inner-page.hero-left .hero-sub { margin-left: 0; margin-right: 0; max-width: 720px; }
.hero-inner-page.hero-left .hero-inline-stats { justify-content: flex-start; }
.hero-inline-stats { display: flex; align-items: center; justify-content: center; gap: 48px; margin: 40px 0; flex-wrap: wrap; }
.inline-stat { text-align: center; }
.inline-stat-num { font-family: var(--serif); font-size: 36px; line-height: 1; color: #000000; display: block; }
.inline-stat-label { font-size: 13px; color: var(--muted); font-family: var(--sans); margin-top: 6px; }
.stat-divider { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

/* ── LIFECYCLE FLOW ── */
.lifecycle-section { background: #F9FAFB; padding: var(--section) 0; position: relative; overflow: hidden; }
.lifecycle-flow { display: flex; align-items: flex-start; margin-top: 64px; position: relative; }
/* Transaction lifecycle SVG (replaces the manual flow) */
.lifecycle-svg-wrap { margin-top: 64px; width: 100%; }
.lifecycle-svg-wrap img { width: 100%; height: auto; display: block; }
.lifecycle-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.lifecycle-step-connector { position: absolute; top: 29px; left: 50%; right: -50%; height: 2px; background: linear-gradient(to right, var(--blue), rgba(111,0,184,0.3)); z-index: 0; }
.lifecycle-step:last-child .lifecycle-step-connector { display: none; }
.lifecycle-circle { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; background: #FFFFFF; z-index: 1; font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--blue); margin-bottom: 16px; position: relative; }
.lifecycle-title { font-size: 14px; font-weight: 500; color: #000000; font-family: var(--sans); margin-bottom: 8px; }
.lifecycle-desc { font-size: 12px; color: var(--muted); font-family: var(--sans); line-height: 18px; max-width: 140px; }

/* ══════════════════════════════════════════════
   FEATURES & MODULES — 3 stacked cards (Figma pixel-perfect)
   ══════════════════════════════════════════════ */
.pf-modules { background: #0E0E0E; padding: var(--section) 0; position: relative; overflow: hidden; }
.pf-modules .container { position: relative; z-index: 1; }
.pf-modules-head { margin-bottom: 48px; }
.pf-stack { display: flex; flex-direction: column; gap: 24px; }

/* Card: white, left visual panel + right content */
.pf-card {
  background: #FFFFFF;
  display: grid;
  grid-template-columns: 409px 1fr;
  gap: 32px;
  padding: 24px;
  align-items: stretch;
}

/* Left coloured visual panel with phone */
.pf-visual {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-visual--purple { background: linear-gradient(160deg, #CDB2F2 0%, #9466D6 100%); }
.pf-visual--blue   { background: linear-gradient(160deg, #A7C7F2 0%, #4E84D4 100%); }
.pf-visual--green  { background: linear-gradient(160deg, #A6E2C0 0%, #4FB888 100%); }
/* SVG artwork replaces phone mockup — no background needed */
.pf-visual--svg    { background: none; padding: 0; }
/* Positioned absolute + inset:0 so the image's own intrinsic aspect ratio (it's
   a tall phone-mockup illustration) can't drive the grid row's auto-height —
   without this, width/height:100% alone still let the ratio inflate the whole
   card to ~612px regardless of min-height. */
.pf-visual-img     { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Phone mockup */
.pf-phone {
  width: 230px;
  background: #fff;
  border-radius: 28px;
  padding: 0 0 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  position: relative;
  overflow: hidden;
}
.pf-phone-notch { width: 90px; height: 22px; background: #fff; border-radius: 0 0 14px 14px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; }
.pf-phone-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 0; font-family: var(--sans); font-size: 12px; font-weight: 600; color: #111; }
.pf-phone-sig { width: 16px; height: 10px; background: #111; border-radius: 2px; opacity: 0.8; }
.pf-phone-body { display: flex; flex-direction: column; align-items: center; padding: 70px 24px 40px; }
.pf-tick { width: 72px; height: 72px; border-radius: 50%; background: #2BB673; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; box-shadow: 0 8px 20px rgba(43,182,115,0.35); }
.pf-tick svg { width: 34px; height: 34px; }
.pf-amount { font-family: var(--sans); font-size: 26px; font-weight: 700; color: #111; margin-bottom: 8px; }
.pf-success { font-family: var(--sans); font-size: 13px; font-weight: 600; color: #2BB673; margin-bottom: 6px; }
.pf-paidto { font-family: var(--sans); font-size: 11px; color: #888; text-align: center; line-height: 1.4; }

/* Right content */
.pf-content { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 24px 24px 0; }
.pf-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(111,0,184,0.07);
  border: 1px solid rgba(111,0,184,0.18);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 24px;
}
.pf-title { font-family: var(--serif); font-size: clamp(28px,2.6vw,38px); font-weight: 400; color: #000; line-height: 1.15; margin-bottom: 16px; max-width: 720px; }
.pf-desc { font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--muted); font-weight: 400; max-width: 760px; }

/* Module pills grid */
.pf-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; width: 100%; }
.pf-pill {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px; line-height: 1.35; font-weight: 500; color: #2E3033;
  background: #fff;
}
.pf-pill-ic { width: 27px; height: 27px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-pill-ic svg { width: 15px; height: 15px; }
/* Figma library icon exports — filter to white on coloured tiles */
.pf-pill-ic img { width: 15px; height: 15px; display: block; filter: brightness(0) invert(1); }
.tspec-ic img   { width: 22px; height: 22px; display: block; filter: brightness(0) invert(1); }

@media (max-width: 1100px) {
  .pf-card { grid-template-columns: 1fr; }
  .pf-visual { min-height: 260px; }
  .pf-content { padding: 24px 0; }
  .pf-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pf-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-title { font-size: 26px; }
}

/* ── PLATFORM CARD MODULE DETAILS (accordion) ── */
.pf-explore { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.pf-explore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; padding: 0;
  font-size: 14px; font-weight: 500; color: var(--blue);
  cursor: pointer; font-family: var(--sans);
  transition: gap 0.2s;
}
.pf-explore-btn:hover { gap: 12px; }
.pf-explore-btn svg { transition: transform 0.3s ease; flex-shrink: 0; }
.pf-explore-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pf-details {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.pf-details.open { max-height: 320px; margin-top: 16px; }
.pf-details ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pf-details ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.55; color: var(--ink); font-family: var(--sans);
}
.pf-details ul li::before {
  content: ''; width: 6px; height: 6px; min-width: 6px;
  background: var(--teal); border-radius: 50%; margin-top: 7px;
}

/* ── DEPLOY SIGNAL (hero licensing badges) ── */
.deploy-signal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.deploy-signal-label { font-size: 13px; color: var(--muted); font-family: var(--sans); margin-right: 4px; }
.deploy-tag {
  font-size: 12px; font-weight: 500; font-family: var(--sans);
  padding: 4px 12px; border: 1px solid var(--border);
  border-radius: 100px; color: var(--ink); background: transparent; white-space: nowrap;
}

/* ── BROCHURE DOWNLOAD LINK ── */
.brochure-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted); text-decoration: none;
  font-family: var(--sans); margin-top: 14px; transition: color 0.2s;
}
.brochure-link:hover { color: var(--blue); }
.brochure-link svg { flex-shrink: 0; }

/* ── TECHNICAL SPECS (enterprise cards) ── */
.tspec-section { background: #FFFFFF; padding: var(--section) 0; }
.tspec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tspec-card {
  --acc: var(--blue);
  position: relative;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px;
  background: linear-gradient(180deg, #FFFFFF 52%, color-mix(in srgb, var(--acc) 9%, #FFFFFF) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tspec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.08);
  border-color: color-mix(in srgb, var(--acc) 32%, var(--border));
}
.tspec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.tspec-ic {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--acc);
}
.tspec-ic svg { width: 22px; height: 22px; }
.tspec-title { font-family: var(--sans); font-size: 17px; font-weight: 500; color: var(--ink); margin: 0; }
.tspec-list { display: flex; flex-direction: column; gap: 14px; }
.tspec-li { display: flex; align-items: flex-start; gap: 12px; }
.tspec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-top: 7px; flex-shrink: 0; }
.tspec-li > span:last-child { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── NETWORKS (solar-system orbit, semi-circle) ──
   A real orbit system, clipped to its upper half: CenterFirst sits at
   the bottom-center (the actual orbit centre — a plain transparent logo,
   no card/glow behind it), three full rings of network logos circle
   that centre continuously underneath the clip, each ring at its own
   speed (inner = fastest, matching how closer orbits move faster in a
   real solar system) — so logos rise and set at the horizon like real
   orbiting bodies instead of sitting in a static arch.
   Logo sizes are randomised per tile (seeded, so they don't reshuffle
   on resize) for an organic, non-uniform feel.
   All sizing/spacing is computed ONCE in js/network-orbit.js from real
   measured tile sizes — never hand-guessed — so rings can never overlap.
   The whole assembly is then built at a fixed pixel size and scaled down
   as a unit on narrow viewports (transform: scale), so shrinking the
   viewport can never break the spacing that was already solved for. */
.networks-section { background: var(--bg-soft); padding: calc(var(--section) * 0.7) 0; overflow: hidden; position: relative; }
.networks-section > .container { position: relative; z-index: 1; }
.networks-section .section-header.centered { margin-bottom: 32px; }
.net-orbit-wrap { display: flex; justify-content: center; margin-top: 32px; }
.net-orbit {
  position: relative;
  overflow: hidden; /* clips each full ring to its upper half — the semi-circle */
  opacity: 0;
  transition: opacity 0.5s ease;
  /* .net-orbit-wrap is a flex container, and flex items default to flex-shrink:1 —
     without this, the browser silently squeezes this box's LAID-OUT width down to
     fit the wrap, even though JS set an explicit inline width. Every tile's (x,y)
     is a raw pixel value computed against that original, unshrunk width (hubCx =
     containerSize/2), so once flex-shrink compresses the real box, the hub (centered
     with CSS left:50%, which tracks the shrunk box) and the rings (pinned to the old,
     wider centre) end up circling two different points. The JS's own transform:scale
     is the only thing meant to fit this to the viewport — flex must never resize it. */
  flex-shrink: 0;
  /* Default transform-origin (50% 50%) scales this box down from its own CENTRE —
     since its unscaled height is much taller than the wrap's scaled height, that
     drags the whole box (hub included) visually DOWNWARD by roughly half the
     shrinkage, past .networks-section's overflow:hidden clip line. Anchoring the
     scale to the top instead means only the bottom moves as it shrinks, landing
     exactly on the wrap's own (already-scaled) bottom edge — hub stays uncut. */
  transform-origin: top center;
}
.net-orbit.is-ready { opacity: 1; }
.net-orbit-hub {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; align-items: flex-end; justify-content: center;
}
.net-orbit-hub img { width: 100%; height: auto; display: block; }
/* Static dashed guide per ring, drawn once (not rotated) so the three
   orbits read as deliberate concentric paths rather than a scatter of
   circles at loosely similar distances. */
.net-orbit-path {
  position: absolute; border-radius: 50%;
  border: 1.5px dashed rgba(111,0,184,0.16);
  pointer-events: none; z-index: 0;
}
/* Ring elements are now just semantic grouping (no positioning of their
   own) — each tile's (x, y) is computed every frame in JS and applied as
   a single translate(), directly against .net-orbit's own coordinate
   space. Nothing here composes one element's transform against
   another's, which is what made every CSS-only version of this
   (rotating ring + counter-rotating badge) render inconsistently. */
.net-orbit-tile { position: absolute; top: 0; left: 0; z-index: 2; will-change: transform; }
.net-orbit-badge {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(15,23,42,0.10);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.2s ease;
}
.net-orbit-badge:hover { box-shadow: 0 10px 26px rgba(15,23,42,0.18); }
.net-orbit-badge img { width: 82%; height: auto; max-height: 82%; object-fit: contain; display: block; }
/* These specific network marks have more built-in whitespace in their own SVG
   viewBox than the rest, so the shared 82% still reads small next to something
   like Mastercard's two overlapping circles — sized up individually instead of
   raising everyone's fill and making the icon-heavy logos look oversized. */
.net-orbit-badge img[src*="network-circle/visa.svg"],
.net-orbit-badge img[src*="network-circle/omannet.svg"],
.net-orbit-badge img[src*="network-circle/maal.svg"],
.net-orbit-badge img[src*="network-circle/rupay.svg"],
.net-orbit-badge img[src*="network-circle/uaeswitch.svg"],
.net-orbit-badge img[src*="network-circle/himyan.svg"],
.net-orbit-badge img[src*="network-circle/aeps.svg"],
.net-orbit-badge img[src*="network-circle/nfs.svg"],
.net-orbit-badge img[src*="network-circle/samsungpay.svg"],
.net-orbit-badge img[src*="network-circle/discover.svg"] {
  width: 98%; max-height: 98%;
}
/* Horizontal marquee — used by logo scroll strips across all pages */
@keyframes net-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.net-scroll-wrap {
  overflow: hidden;
  /* Fade both edges so logos don't appear/disappear abruptly */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.net-scroll-track { display: flex; gap: 48px; width: max-content; animation: net-scroll 30s linear infinite; }
.net-scroll-track:hover { animation-play-state: paused; }
/* Unified item style — applies to both network (fintech) and compliance (bank) strips */
.net-scroll-item,
.compliance-logo-item {
  flex-shrink: 0; height: 48px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.65; transition: opacity 0.2s;
}
.net-scroll-item:hover,
.compliance-logo-item:hover { opacity: 1; }
.net-scroll-item img,
.compliance-logo-item img { height: 100%; width: auto; max-width: 120px; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) {
  .orbit, .node .badge img { animation: none !important; }
}

/* ── CHALLENGE ── */
.challenge-section { background: #FFFFFF; padding: var(--section) 0; }
.bank-challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bank-challenge-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bank-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.08);
  border-color: rgba(111,0,184,0.22);
}
.bank-challenge-visual {
  min-height: 180px;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bank-challenge-visual img { width: 100%; height: auto; object-fit: contain; display: block; }
.bank-challenge-body { padding: 0 28px 32px; }
.bank-challenge-body h3 {
  font-family: var(--serif);
  font-size: clamp(26px,2.2vw,34px);
  line-height: 1.08;
  font-weight: 400;
  color: #000000;
  margin-bottom: 14px;
}
.bank-challenge-body p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--muted);
}
.challenge-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
.challenge-col h3 { font-family: var(--serif); font-size: 29px; line-height: 29px; font-weight: 400; color: #000000; margin-bottom: 24px; }
.challenge-list { display: flex; flex-direction: column; gap: 16px; }
.challenge-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 24px; color: var(--ink); font-family: var(--sans); }
.challenge-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; font-weight: 700; margin-top: 2px; }
.icon-x    { background: rgba(229,62,62,0.1);  color: #E53E3E; }
.icon-tick { background: rgba(13,156,146,0.1);   color: var(--teal); }

/* ── BANK VALUE SECTION ── */
.bank-value-section {
  background: #0E0E0E;
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}
.bank-value-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/features&modules-bg.svg') center/1280px auto no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.bank-value-section .container { position: relative; z-index: 1; }
.bank-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bank-value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.bank-value-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.bank-value-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  border-radius: 8px;
}
.bank-value-icon img { width: 34px; height: 34px; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: 0.92; }
.bank-value-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px,2.1vw,32px);
  line-height: 1.08;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 14px;
}
.bank-value-card p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255,255,255,0.68);
}

/* ── BANK IMPLEMENTATION ── */
.bank-implementation-section { background: #F9FAFB; padding: var(--section) 0; position: relative; overflow: hidden; }
/* Implementation background SVG — bottom-anchored, full section width.
   No max-width here: capping it (e.g. at 1280px) leaves the section's own
   flat background colour showing past the cap on any wider viewport,
   which reads as an abrupt hard-edged cutoff instead of a full-bleed glow. */
.impl-bg-img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 0; pointer-events: none;
  opacity: 1;
}
.bank-implementation-section .container,
.lifecycle-section .container { position: relative; z-index: 1; }
.bank-implementation-visual {
  margin-top: 56px;
  background: #ffffff00;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}
.bank-implementation-visual img { width: 100%; height: auto; display: block; }

/* ── DEPLOYMENT MODELS ── */
.deployment-section { background: #FFFFFF; padding: var(--section) 0; }
.bank-deployment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bank-deploy-card {
  --acc: var(--blue);
  background: linear-gradient(180deg, #FFFFFF 52%, color-mix(in srgb, var(--acc) 9%, #FFFFFF) 100%);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bank-deploy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px color-mix(in srgb, var(--acc) 18%, transparent);
  border-color: color-mix(in srgb, var(--acc) 45%, var(--border));
  background: linear-gradient(180deg, #FFFFFF 30%, color-mix(in srgb, var(--acc) 12%, #FFFFFF) 100%);
}
.bank-deploy-blue { --acc: var(--blue); }
.bank-deploy-teal { --acc: var(--teal); }
.bank-deploy-purple { --acc: var(--purple); }
.bank-deploy-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
  font-family: var(--sans);
  margin-bottom: 18px;
}
.bank-deploy-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px,2.6vw,38px);
  line-height: 1.08;
  font-weight: 400;
  color: #000000;
  margin-bottom: 14px;
}
.bank-deploy-card p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.bank-deploy-features { display: flex; flex-direction: column; gap: 12px; }
.bank-deploy-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.bank-deploy-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
  margin-top: 7px;
}
.deploy-card { border-radius: 0; padding: 40px; border: 1px solid var(--border); transition: transform 0.2s ease; }
.deploy-card:hover { transform: translateY(-4px); }
.deploy-card.highlighted { background: var(--blue); border-color: var(--blue); }
.deploy-card.highlighted h3    { color: #FFFFFF; }
.deploy-card.highlighted p     { color: rgba(255,255,255,0.8); }
.deploy-card.highlighted .deploy-label   { color: rgba(255,255,255,0.7); }
.deploy-card.highlighted .deploy-feature { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.deploy-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); margin-bottom: 20px; }
.deploy-card h3 { font-family: var(--serif); font-size: 40px; line-height: 40px; color: #000000; margin-bottom: 16px; }
.deploy-card p  { font-size: 16px; line-height: 24px; color: var(--ink); margin-bottom: 24px; }
.deploy-features { display: flex; flex-direction: column; gap: 10px; }
.deploy-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); font-family: var(--sans); padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.deploy-feature:last-child { border-bottom: none; }

/* ── BANK CERTIFICATIONS ── */
.bank-certs-section { background: var(--bg-soft); padding: var(--section) 0; }
/* Panel stripped — no box, no border, no padding — scroll strip sits directly in section */
.bank-certs-panel { background: transparent; border: none; padding: 0; margin-top: 40px; }
.network-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.network-pill  { display: inline-flex; align-items: center; padding: 8px 20px; border: 1px solid var(--border); border-radius: 100px; font-size: 14px; color: var(--ink); font-family: var(--sans); background: #FFFFFF; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.network-pill:hover { border-color: var(--blue); color: var(--blue); background: rgba(111,0,184,0.04); }

/* Compliance logo scroll — unified with .net-scroll-item above */
.compliance-track { gap: 48px; padding: 0; }
.compliance-logo-item {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.compliance-logo-item:hover { opacity: 1; }
.compliance-logo-item img { height: 100%; width: auto; max-width: 120px; object-fit: contain; display: block; }

/* ── ABOUT STORY ── */
.story-section { background: #FFFFFF; padding: var(--section) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-label { font-size: 13px; font-weight: 500; color: var(--teal); font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; display: block; }
.story-heading { font-family: var(--serif); font-weight: 400; font-size: clamp(32px,4vw,48px); line-height: 1.1; color: #000000; margin-bottom: 8px; }
.story-subheading { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,3vw,32px); line-height: 1.15; color: var(--muted); margin-bottom: 32px; }
.story-body { font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--ink); margin-bottom: 24px; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: var(--serif); font-size: 24px; color: var(--blue); flex-shrink: 0; width: 60px; }
.timeline-text { font-size: 16px; line-height: 24px; color: var(--ink); font-family: var(--sans); flex: 1; }
.team-photo-block { background: #1a1a2e; border-radius: 0; height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 16px; font-family: var(--sans); text-align: center; padding: 32px; line-height: 24px; }
.team-photo-icon { margin-bottom: 16px; display: flex; }
.team-photo-icon svg { display: block; }

/* ── PRINCIPLES ── */
.principles-section { background: #F9FAFB; padding: var(--section) 0; }
.principle-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: 0; padding: 32px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.principle-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.principle-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 24px; }
.principle-icon img, .principle-icon svg { width: 32px; height: 32px; display: block; }
.principle-card h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 400; color: #000000; margin-bottom: 12px; }
.principle-card p { font-family: var(--sans); font-size: 15px; line-height: 1.65; font-weight: 400; color: var(--muted); }

/* ── CONTACT FORM ── */
.contact-section { background: #FFFFFF; padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: 32px; line-height: 32px; font-weight: 400; color: #000000; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(111,0,184,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--sans); margin-bottom: 4px; }
.contact-detail-value { font-size: 16px; color: var(--ink); font-family: var(--sans); }
.next-steps { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.next-steps h4 { font-size: 16px; font-weight: 600; color: #000000; font-family: var(--sans); margin-bottom: 20px; }
.next-step-item { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.next-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; font-family: var(--sans); flex-shrink: 0; }
.next-step-text { font-size: 15px; line-height: 22px; color: var(--ink); font-family: var(--sans); padding-top: 4px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--ink); font-family: var(--sans); transition: all 0.2s ease; }
.social-btn:hover { background: var(--bg-soft); }
.contact-form-wrap { background: var(--bg-soft); border-radius: 0; padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group.last { margin-bottom: 0; }
.form-label { font-size: 14px; font-weight: 500; color: var(--ink); font-family: var(--sans); }
.form-input, .form-select, .form-textarea { background: #FFFFFF; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 15px; color: var(--ink); font-family: var(--sans); transition: border-color 0.2s ease; width: 100%; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-submit-row { margin-top: 24px; }
.form-submit-row .btn { width: 100%; justify-content: center; }
.form-privacy { font-size: 12px; color: var(--muted); font-family: var(--sans); text-align: center; margin-top: 12px; line-height: 18px; }

/* ── OFFICES ── */
.office-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: 0; padding: 32px; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.office-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.office-flag { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; display: block; }
.office-flag img { width: 40px; height: 40px; border-radius: 50%; display: block; object-fit: cover; }
.office-card-name { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.office-country { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--sans); margin-bottom: 4px; }
.office-city { font-family: var(--serif); font-size: 24px; line-height: 33px; color: #000000; margin-bottom: 8px; }
.office-address { font-size: 14px; line-height: 20px; color: var(--muted); font-family: var(--sans); margin-bottom: 16px; }
.office-role-pill { display: inline-flex; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-family: var(--sans); background: rgba(111,0,184,0.08); color: var(--blue); border: 1px solid rgba(111,0,184,0.15); }

/* ── FAQ ── */
.faq-section { background: #000000; padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 400; color: #FFFFFF; font-family: var(--sans); transition: color 0.2s ease; }
.faq-question:hover { color: rgba(255,255,255,0.8); }
.faq-arrow { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.5); transition: transform 0.3s ease; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; font-size: 16px; line-height: 24px; color: rgba(255,255,255,0.6); font-family: var(--sans); font-weight: 300; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ── Challenge two-column layout for fintechs ── */
.challenge-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.challenge-col-left .challenge-item,
.challenge-col-right .challenge-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.challenge-col-left .challenge-item h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
}
.challenge-col-left .challenge-item p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}
.challenge-metric {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.challenge-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.challenge-metric-icon.teal { background: rgba(13,156,146,0.12); }
.challenge-metric-icon.blue { background: rgba(111,0,184,0.10); }
.challenge-metric-icon.purple { background: rgba(13,156,146,0.10); }
.challenge-metric-num {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: #000000;
}
.challenge-metric-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Timeline section (about page) ── */
.timeline-section { padding: var(--section) 0; background: #FFFFFF; }
.timeline-card {
  background: #0F1117;
  border-radius: 0;
  padding: 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.timeline-milestone-year {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 8px;
}
.timeline-milestone-text {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255,255,255,0.7);
}

/* ── Dark stats section (about page) ── */
.dark-stats-section {
  background: #000000;
  padding: var(--section) 0;
}
.dark-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  overflow: hidden;
  margin-top: 48px;
}
.dark-stat-cell {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.dark-stat-cell:nth-child(4n) { border-right: none; }
.dark-stat-cell:nth-child(n+5) { border-bottom: none; }
.dark-stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: #FFFFFF;
  display: block;
  margin-bottom: 8px;
}
.dark-stat-label { font-size: 16px; line-height: 22px; color: rgba(255,255,255,0.55); }

/* ── Office cards (contact page) ── */
.offices-section {
  padding: var(--section) 0;
  background: linear-gradient(135deg, rgba(91,255,240,0.08) 0%, rgba(121,174,255,0.08) 42%, rgba(217,158,255,0.08) 87%);
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.office-card-city {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: #000000;
  margin: 8px 0;
}
.office-card-address {
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
  margin-bottom: 16px;
}
.office-card-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  background: rgba(13,156,146,0.08);
  border: 1px solid rgba(13,156,146,0.2);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ── Contact channels (sales / support split) ── */
.contact-channels-section { background: #FFFFFF; padding: var(--section) 0; }
.contact-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.channel-card {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.channel-card--primary { background: linear-gradient(165deg, #6f00b8 0%, #240339 100%); border-color: transparent; color: #fff; }
.channel-card--secondary { background: #fff; color: var(--ink); }
.channel-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.channel-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.channel-card--primary .channel-icon { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: #fff; }
.channel-card--secondary .channel-icon { background: rgba(13,156,146,0.08); border: 1px solid rgba(13,156,146,0.2); color: var(--teal); }
.channel-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.channel-card--primary .channel-eyebrow { color: rgba(255,255,255,0.65); }
.channel-card--secondary .channel-eyebrow { color: var(--muted); }
.channel-title { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 14px; }
.channel-card--secondary .channel-title { color: #000; }
.channel-body { font-family: var(--sans); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.channel-card--primary .channel-body { color: rgba(255,255,255,0.8); }
.channel-card--secondary .channel-body { color: var(--muted); }
.channel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.channel-tag { font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 100px; }
.channel-card--primary .channel-tag { color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); }
.channel-card--secondary .channel-tag { color: var(--teal); background: rgba(13,156,146,0.08); border: 1px solid rgba(13,156,146,0.2); }
.channel-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; font-family: var(--sans); font-size: 15px; font-weight: 500;
  border-radius: 8px; margin-top: auto; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.channel-cta svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }
.channel-card--primary .channel-cta { background: #fff; color: var(--blue); border: 1.5px solid #fff; }
.channel-card--primary .channel-cta:hover { background: rgba(255,255,255,0.85); }
.channel-card--secondary .channel-cta { background: var(--teal); color: #fff; border: 1.5px solid var(--teal); }
.channel-card--secondary .channel-cta:hover { background: #0b8479; border-color: #0b8479; }
.channel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.channel-reply { font-family: var(--sans); font-size: 12px; }
.channel-card--primary .channel-reply { color: rgba(255,255,255,0.55); }
.channel-card--secondary .channel-reply { color: var(--muted); }
.channel-social { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.channel-card--primary .channel-social { color: #fff; }
.channel-card--secondary .channel-social { color: var(--teal); }
.channel-card--primary .channel-social:hover,
.channel-card--secondary .channel-social:hover { text-decoration: underline; }

/* ── Dark FAQ section (2-column, contact page) ── */
.faq-dark-section {
  background: #000000;
  padding: var(--section) 0;
}
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.faq-item-dark {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
}
.faq-q-dark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  font-family: var(--sans);
  gap: 16px;
}
.faq-q-dark::after {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-color: rgba(255,255,255,0.55);
  -webkit-mask: url('../assets/img/CaretDown.svg') center / contain no-repeat;
  mask: url('../assets/img/CaretDown.svg') center / contain no-repeat;
  transition: transform 0.3s, background-color 0.2s;
}
.faq-q-dark:hover::after { background-color: #fff; }
.faq-item-dark.open .faq-q-dark::after { transform: rotate(180deg); }
.faq-a-dark {
  font-size: 15px;
  line-height: 22px;
  color: rgba(255,255,255,0.65);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding-top: 0;
}
.faq-item-dark.open .faq-a-dark {
  max-height: 300px;
  padding-top: 12px;
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.4s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --px: 40px; --section: 80px; }
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2n)   { border-right: none; }
  .stat-cell:nth-child(n+3)  { border-bottom: none; }
  .stats-header              { grid-template-columns: 1fr; }
  .stats-header-sub          { text-align: left; }
  .footer-top                { flex-direction: column; gap: 40px; }
  .footer-cols               { justify-content: flex-start; gap: 40px; }
  .built-stats-row           { grid-template-columns: repeat(2,1fr); }
  .built-stat:nth-child(2n)  { border-right: none; }
  .built-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .tab-content-grid          { grid-template-columns: 1fr; gap: 32px; }
  .challenge-vs              { gap: 24px; }
  .contact-grid              { grid-template-columns: 1fr; }
  .story-grid                { grid-template-columns: 1fr; }
  .team-photo-block          { height: 300px; }
  .challenge-two-col         { grid-template-columns: 1fr; gap: 48px; }
  .timeline-grid             { grid-template-columns: repeat(2, 1fr); }
  .offices-grid              { grid-template-columns: repeat(2, 1fr); }
  .contact-channels          { grid-template-columns: 1fr; }
  .faq-two-col               { grid-template-columns: 1fr; }
  .tspec-grid                { grid-template-columns: repeat(2, 1fr); }
  .bank-challenge-grid,
  .bank-value-grid,
  .bank-deployment-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* Nav switches to hamburger earlier than the general tablet breakpoint below —
   "Platform / For Banks / For Fintechs / About / Contact" plus both nav buttons
   get visually cramped well before the tightest-fit width, so this cuts over
   at the same generous breakpoint already used elsewhere on the site. */
@media (max-width: 1100px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger             { display: flex; }
  .nav-inner                 { gap: 16px; }
}

@media (max-width: 768px) {
  :root { --px: 20px; --section: 60px; --nav-h: 64px; }
  .timeline-grid             { grid-template-columns: 1fr; }
  .offices-grid              { grid-template-columns: 1fr; }
  .dark-stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .dark-stat-cell:nth-child(2n)  { border-right: none; }
  .dark-stat-cell:nth-child(n+7) { border-bottom: none; }
  .tspec-grid                { grid-template-columns: 1fr; }
  .hero                      { padding: 48px 0 0; }
  .hero h1                   { font-size: clamp(32px,9vw,56px); line-height: 1.1; }
  .hero-sub                  { font-size: 16px; line-height: 24px; }
  .cta-buttons               { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn          { width: 100%; justify-content: center; }
  .cards-4, .cards-3, .cards-6 { grid-template-columns: 1fr; }
  .cards-2                   { grid-template-columns: 1fr; }
  .solution-card             { padding: 32px 24px; }
  .stats-grid                { grid-template-columns: repeat(2,1fr); }
  .built-stats-row           { grid-template-columns: 1fr; }
  .built-stat                { border-right: none; border-bottom: 1px solid var(--border); }
  .built-stat:last-child     { border-bottom: none; }
  .lifecycle-flow            { flex-direction: column; align-items: flex-start; gap: 24px; }
  .lifecycle-step            { flex-direction: row; text-align: left; width: 100%; }
  .lifecycle-step-connector  { display: none; }
  .lifecycle-circle          { flex-shrink: 0; margin-bottom: 0; margin-right: 16px; }
  .lifecycle-desc            { max-width: none; }
  .challenge-vs              { grid-template-columns: 1fr; }
  .bank-challenge-grid,
  .bank-value-grid,
  .bank-deployment-grid      { grid-template-columns: 1fr; }
  .bank-challenge-visual     { min-height: 150px; padding: 28px 24px 18px; }
  .bank-value-card           { min-height: auto; }
  .bank-implementation-visual { margin-top: 40px; padding: 18px; }
  .faq-grid                  { grid-template-columns: 1fr; }
  .form-row                  { grid-template-columns: 1fr; }
  .contact-form-wrap         { padding: 24px; }
  .footer-top                { gap: 32px; }
  .footer-cols               { flex-wrap: wrap; gap: 28px; }
  .footer-col                { min-width: calc(50% - 14px); }
  .browser-body              { height: 280px; }
  .dashboard-sidebar         { width: 150px; }
  .dash-metrics              { grid-template-columns: repeat(2,1fr); }
  .footer-bottom             { flex-direction: column; text-align: center; }
  .section-h2                { font-size: clamp(24px,7vw,48px); }
  .hero-inner-page h1        { font-size: clamp(28px,7vw,48px); }
  .faq-question              { font-size: 16px; }

  /* ── Inner page hero mobile fixes ── */
  .hero-inner-page           { padding: 48px 0 40px; }
  .hero-bottom-row           { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
  .hero-ctas                 { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-ctas .btn            { width: 100%; justify-content: center; }
  .hero-inline-stats         { gap: 24px; margin: 28px 0; }
  .inline-stat-num           { font-size: 28px; }
  /* Dashboard mockup on inner pages */
  .hero-page-ss              { margin-top: 32px; }
  .browser-mockup            { margin: 0; }
  /* Contact channel card padding reduction */
  .channel-card              { padding: 32px 24px; }
  /* Fintech challenge section */
  .ft-challenge-grid         { grid-template-columns: 1fr; gap: 40px; }
  .ft-metrics                { margin-top: 0; }
  /* Platform features */
  .pf-card                   { grid-template-columns: 1fr; }
  /* Deployment cards */
  .bank-deployment-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --px: 16px; }
  .hero h1        { font-size: 32px; line-height: 38px; }
  .hero-sub       { font-size: 15px; line-height: 23px; }
  .badge          { font-size: 13px; padding: 5px 12px; }
  .stat-number    { font-size: clamp(32px,12vw,64px); }
  .dash-metrics   { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; }
  .stat-cell      { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-card h3{ font-size: 28px; line-height: 32px; }
  .countries-row  { gap: 16px; }
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES — extracted from inline styles
   ═══════════════════════════════════════════ */

/* Dark section wrapper (fintechs / about dark stats) */
.section-dark { background: #000000; padding: var(--section) 0; }
.section-dark .stats-grid       { border-color: rgba(255,255,255,0.1); }
.section-dark .stat-cell        { border-color: rgba(255,255,255,0.1); }
.section-dark .stats-glow-bg    { opacity: 0.05; }
.section-dark .stat-number      { color: #FFFFFF; }
.section-dark .stat-label       { color: rgba(255,255,255,0.65); }

/* Inline stat divider (For Banks hero stats row) */
/* .stat-divider defined above with hero-inline-stats */

/* pf-pill-ic color variants (Platform page module pills) */
.pf-pill-ic.ic-teal   { background: var(--teal); }
.pf-pill-ic.ic-blue   { background: var(--blue); }
.pf-pill-ic.ic-orange { background: #E8833A; }
.pf-pill-ic.ic-purple { background: var(--purple); }

/* tspec-card accent color variants (blue is already the default --acc) */
.tspec-card.acc-teal   { --acc: var(--teal); }
.tspec-card.acc-purple { --acc: var(--purple); }

/* feature-card-dark icon spacing */
.feature-card-dark .feature-icon { margin-bottom: 20px; }

/* Chart bar colour variant */
.chart-bar.bar-teal { background: var(--teal); }

/* Lifecycle circle colour variants */
.lifecycle-circle.lc-teal-outline { background: #000; color: var(--teal); border-color: var(--teal); }
.lifecycle-circle.lc-teal-fill    { background: var(--teal); color: #fff;  border-color: var(--teal); }

/* Hero: no bottom padding (Contact page) */
.hero-inner-page.pb-0 { padding-bottom: 0; }

/* About: team photo secondary caption line */
.team-photo-caption { font-size: 13px; margin-top: 8px; opacity: 0.5; }

/* ═══════════════════════════════════════════
   ABOUT PAGE — POLISHED COMPONENTS
   ═══════════════════════════════════════════ */

/* Story left: badge → 24px → heading */
.story-left .badge { display: inline-flex; margin-bottom: 24px; }
.story-heading { margin-bottom: 12px; }

/* Three Phases — right column */
.story-phases { display: flex; flex-direction: column; border: 1px solid var(--border); }
.story-phase { padding: 28px 32px; border-bottom: 1px solid var(--border); transition: background 0.18s ease; }
.story-phase:last-child { border-bottom: none; }
.story-phase:hover { background: var(--bg-soft); }
.story-phase-num { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.story-phase-title { font-family: var(--serif); font-size: 22px; color: #000; line-height: 1.2; margin-bottom: 6px; font-weight: 400; }
.story-phase-period { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 12px; display: block; }
.story-phase-desc { font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Timeline V2 — horizontal polished */
.timeline-section-v2 { padding: var(--section) 0; background: var(--bg-soft); }
.timeline-v2 { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; margin-top: 56px; }
.timeline-v2::before { content: ''; position: absolute; top: 5px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: linear-gradient(to right, var(--teal) 0%, var(--blue) 50%, var(--purple) 100%); z-index: 0; opacity: 0.3; }
.timeline-node { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg-soft); box-shadow: 0 0 0 2px var(--blue); flex-shrink: 0; z-index: 1; margin-bottom: 20px; }
.timeline-node:nth-child(1) .timeline-dot, .timeline-node:nth-child(2) .timeline-dot { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.timeline-node:nth-child(5) .timeline-dot, .timeline-node:nth-child(6) .timeline-dot { background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.timeline-yr { font-family: var(--serif); font-size: 21px; color: #000; margin-bottom: 10px; line-height: 1; }
.timeline-ev { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.55; }

/* Principle icon tile */
.principle-icon-tile { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; flex-shrink: 0; }
.principle-icon-tile svg { width: 24px; height: 24px; display: block; }
.tile-blue   { background: var(--blue); }
.tile-teal   { background: var(--teal); }
.tile-purple { background: var(--purple); }

/* Stats grid wrapper — glow-bg is a sibling, not a grid child, so nth-child stays correct */
.stats-grid-wrap { position: relative; overflow: hidden; }
.stats-grid-wrap > .stats-glow-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--stats-glow); filter: blur(60px); opacity: 0.06; }

@media (max-width: 768px) {
  .timeline-v2 { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline-v2::before { display: none; }
  .story-phase { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .timeline-v2 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hidden sections (restore by removing the class) ── */
.hidden-for-now { display: none !important; }

/* ── Stats glow — reduced so white text stays legible ── */
.stats-grid-wrap > .stats-glow-bg { opacity: 0.025 !important; }

/* ── Mission & Vision ── */
.mv-section {
  background: linear-gradient(140deg, #110533 0%, #0d0727 45%, #0a1535 100%);
  padding: var(--section) 0; position: relative; overflow: hidden;
}
.mv-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 60%, rgba(13,156,146,0.25) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 40%, rgba(111,0,184,0.2)  0%, transparent 55%);
}
.mv-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 72px; position: relative; z-index: 1; }
.mv-divider { background: rgba(255,255,255,0.1); align-self: stretch; }
.mv-heading {
  font-family: var(--serif); font-size: clamp(36px,4vw,52px);
  font-weight: 400; line-height: 1.05; margin-bottom: 28px;
  color: #FFFFFF;
}
.mv-body { font-family: var(--sans); font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.75); font-weight: 300; }
.mv-body + .mv-body { margin-top: 20px; }

/* ── Journey / Timeline (dark two-column with video) ── */
/* ── Journey Section — sticky-scroll two-column layout ── */
.journey-section { background: #080808; overflow-x: clip; }
.journey-wrap { max-width: 1280px; margin: 0 auto; padding: 0 0 0 clamp(24px,4vw,48px); }
.journey-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }

/* Left column: scrolls naturally with the page, sits above the bleeding video */
.journey-left { padding: 120px 0 160px; position: relative; z-index: 2; }
.journey-left .section-h2 { color: #fff; max-width: 520px; margin-top: 24px; margin-bottom: 0; }
.journey-left .badge { margin-bottom: 0; }

/* Solid white pill — "OUR JOURNEY" label */
.badge-pill-white { background: #FFFFFF; color: #111111; border-color: transparent; }
.badge-pill-white .badge-dot { background: #111111; }

/* Timeline */
.journey-timeline { display: flex; flex-direction: column; margin-top: 48px; }
.journey-item { display: flex; gap: 18px; padding-bottom: 28px; position: relative; }
.journey-item:not(:last-child)::after {
  content: ''; position: absolute; left: 5px; top: 17px; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.08);
}
.journey-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; z-index: 1; }
.journey-dot.teal   { background: var(--teal);   box-shadow: 0 0 6px var(--teal); }
.journey-dot.blue   { background: var(--blue);   box-shadow: 0 0 6px var(--blue); }
.journey-dot.purple { background: var(--purple); box-shadow: 0 0 6px var(--purple); }
.journey-year  { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.journey-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.journey-desc  { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.journey-countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.journey-country-tag {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px; border-radius: 20px;
}

/* Right column: video sticks to viewport while left column scrolls */
.journey-right {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; padding: 24px 0;
}
.journey-video-wrap {
  position: relative; width: 130%; margin-left: -30%; aspect-ratio: 16/9;
  max-width: 1280px; border-radius: 12px 0 0 12px; overflow: hidden;
}
.journey-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Left-to-right black fade overlay — hides the 30% bleed into the timeline */
.journey-video-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right,
    rgba(0,0,0,1)    0%,
    rgba(0,0,0,0.95) 20%,
    rgba(0,0,0,0.4)  30%,
    rgba(0,0,0,0)    42%
  );
}

/* ── Leadership Team ── */
.leadership-section { background: var(--bg-soft); padding: var(--section) 0; }
.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.leader-card { background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.leader-photo { aspect-ratio: 1/1; background: #E8EAF0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* object-fit:cover on a portrait headshot in a square card crops top+bottom
   equally to fill the box — with the head near the top of the source photo,
   that cut straight into hair/foreheads. contain scales the whole photo down
   to fit instead, so the full head is always visible regardless of how a
   future photo is cropped or how big the card renders at any breakpoint. */
.leader-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.leader-photo-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #DEE1EC 0%, #C8CEDF 100%); }
.leader-photo-ph svg { opacity: 0.3; }
.leader-info { padding: 20px 20px 24px; flex: 1; }
.leader-type-tag { display: inline-block; font-family: var(--sans); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 20px; margin-bottom: 10px; }
.leader-type-tag.founder  { background: rgba(111,0,184,0.08);  color: var(--blue);   }
.leader-type-tag.investor { background: rgba(13,156,146,0.08); color: var(--purple); }
.leader-name  { font-family: var(--serif); font-size: 20px; font-weight: 400; color: #000; margin-bottom: 4px; line-height: 1.2; }
.leader-title { font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-bottom: 2px; }
.leader-org   { font-family: var(--sans); font-size: 12px; color: var(--teal); font-weight: 500; display: block; margin-bottom: 10px; }
.leader-bio   { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Policy pages ── */
.policy-section { padding: var(--section) 0; background: #fff; }
.policy-content { max-width: 800px; }
.policy-content h2 { font-family: var(--serif); font-size: clamp(24px,3vw,36px); font-weight: 400; color: #000; margin: 48px 0 16px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--ink); margin: 32px 0 12px; }
.policy-content p { font-family: var(--sans); font-size: 16px; line-height: 1.75; color: var(--muted); margin-bottom: 16px; }
.policy-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.policy-content ul li { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 8px; }
.policy-content strong { color: var(--ink); font-weight: 500; }
.policy-meta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

@media (max-width: 1100px) {
  .mv-grid         { grid-template-columns: 1fr; gap: 48px; }
  .mv-divider      { display: none; }
  .journey-grid    { grid-template-columns: 1fr; gap: 40px; }
  .journey-left    { padding: 80px 0 60px; }
  .journey-right   { position: static; height: auto; padding: 0 0 80px; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .leadership-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FOR FINTECHS PAGE
   ═══════════════════════════════════════════ */

/* Challenge: two-column layout */
.ft-challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Challenge items (left col) */
.ft-challenge-items { display: flex; flex-direction: column; margin-top: 40px; }
.ft-challenge-item  { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.ft-challenge-item:first-child { padding-top: 0; }
.ft-challenge-item:last-child  { border-bottom: none; padding-bottom: 0; }
.ft-ch-tile { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; margin-top: 2px;
              display: flex; align-items: center; justify-content: center; }
.ft-ch-tile svg { width: 18px; height: 18px; }
.ft-challenge-item h4 { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.ft-challenge-item p  { font-family: var(--sans); font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Complexity removed (right col) */
.ft-remove-h2  { font-family: var(--serif); font-size: clamp(26px,2.8vw,38px); font-weight: 400; color: #000; margin-bottom: 12px; line-height: 1.15; }
.ft-remove-sub { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; }
.ft-metrics    { display: flex; flex-direction: column; }
.ft-metric     { display: flex; align-items: center; gap: 20px; padding: 18px 20px;
                 border: 1px solid var(--border); border-bottom: none; transition: background 0.15s; }
.ft-metric:last-child { border-bottom: 1px solid var(--border); }
.ft-metric:hover      { background: var(--bg-soft); }
.ft-metric-ic  { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center;
                 justify-content: center; flex-shrink: 0; }
.ft-metric-ic svg  { width: 22px; height: 22px; }
.ft-metric-num     { font-family: var(--serif); font-size: 26px; font-weight: 400; color: #000; line-height: 1.1; }
.ft-metric-label   { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* What You Get — dark card grid */
.ft-what-section { background: #080808; padding: var(--section) 0; }
.ft-what-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
                   background: rgba(255,255,255,0.07); margin-top: 56px; }
.ft-what-card    { background: #0A0A0A; padding: 40px 32px; display: flex; flex-direction: column;
                   transition: background 0.18s; }
.ft-what-card:hover { background: #121212; }
.ft-what-ic   { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center;
                justify-content: center; margin-bottom: 28px; flex-shrink: 0; }
.ft-what-ic img { width: 24px; height: 24px; filter: brightness(0) invert(1); display: block; }
.ft-what-ic svg { width: 24px; height: 24px; }
.ft-what-title  { font-family: var(--sans); font-size: 17px; font-weight: 500; color: #fff; margin: 0 0 12px; line-height: 1.3; }
.ft-what-desc   { font-family: var(--sans); font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }

/* Implementation SVG */
.ft-impl-wrap     { margin-top: 56px; width: 100%; }
.ft-impl-wrap img { width: 100%; height: auto; display: block; }

/* Step cards — reuses HP Platform card pattern */
.ft-steps-section { background: #F8F8FC; padding: var(--section) 0; }

/* ── HP Platform cards — shared (homepage + fintechs steps) ── */
.hp-platform-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.hp-platform-card  { background: #fff; border: 1px solid rgba(0,0,0,0.07); overflow: hidden;
                     transition: transform 0.3s ease; display: flex; flex-direction: column; padding: 12px; }
/* Specificity 0-4-0 — beats reveal-stagger.visible > *:nth-child(n) at 0-2-1 */
.hp-platform-cards.visible > .hp-platform-card:hover { transform: translateY(-16px); }
.hp-platform-illus { overflow: hidden; height: 190px; flex-shrink: 0; }
.hp-platform-illus img { width: 100%; height: auto; display: block; object-fit: cover; object-position: top center; }
.hp-platform-body  { padding: 16px 4px 12px; flex: 1; }
.hp-platform-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: #000; margin-bottom: 10px; line-height: 1.2; }
.hp-platform-desc  { font-family: var(--sans); font-size: 14px; line-height: 1.65; color: var(--muted); font-weight: 400; }

@media (max-width: 1100px) {
  .ft-challenge-grid { grid-template-columns: 1fr; gap: 48px; }
  .ft-what-grid      { grid-template-columns: repeat(2, 1fr); }
  .hp-platform-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ft-what-grid      { grid-template-columns: 1fr; }
  .hp-platform-cards { grid-template-columns: 1fr; }
  .hp-platform-illus { height: auto; }
  .hp-platform-illus img { object-fit: contain; width: 100%; height: auto; }
}

/* ══════════════════════════════════════════════
   FLOW STEPS — coded replacement for the static zigzag
   process-diagram SVGs (transaction lifecycle, implementation
   flow). The connecting line is drawn at runtime by js/flow.js,
   which measures the actual icon positions, so it always lines
   up correctly regardless of column width or step count.
   ══════════════════════════════════════════════ */
.flow-steps {
  --flow-accent: var(--blue);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}
.flow-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: var(--flow-accent);
}
.flow-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 230px;
}
.flow-step--offset { margin-top: 92px; }
.flow-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--flow-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}
.flow-icon svg { width: 26px; height: 26px; fill: var(--flow-accent); }
.flow-title { font-family: var(--serif); font-size: 16px; font-weight: 400; color: #000; margin-bottom: 8px; line-height: 1.25; }
.flow-desc { font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Groups title+desc as one column next to the icon on mobile's row layout —
   without this wrapper, icon/title/desc all become separate flex siblings
   and spread out unpredictably instead of stacking as a single text block. */
.flow-text { min-width: 0; }

@media (max-width: 900px) {
  .flow-steps { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0; }
  .flow-step--offset { margin-top: 0; }
  .flow-step {
    max-width: none;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    padding-bottom: 32px;
  }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-icon { margin-bottom: 0; }
  .flow-connector { display: none; }
  .flow-steps::before {
    content: '';
    position: absolute;
    left: 29px; top: 30px; bottom: 30px;
    width: 1.5px;
    background: var(--border);
  }
}
