/* ============================================================
   EDWARDS FX — Modern fintech treatment (Nexus-inspired)
   Same content, navy + electric blue, Montserrat throughout.
   ============================================================ */

@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c49263c690889de9a_Montserrat-Regular.ttf') format('truetype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c41e2a4ca9e7f9001_Montserrat-Medium.ttf') format('truetype'); font-weight:500; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73ca4438778ad0ed16f_Montserrat-SemiBold.ttf') format('truetype'); font-weight:600; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c413f6b916ef61e79_Montserrat-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c15ef64be7400f668_Montserrat-ExtraBold.ttf') format('truetype'); font-weight:800; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c379497ff57e4327e_Montserrat-Black.ttf') format('truetype'); font-weight:900; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c1c50d160399eef97_Montserrat-Light.ttf') format('truetype'); font-weight:300; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c39e53bfb34dd8f4e_Montserrat-Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c574fefeb897e873c_Montserrat-SemiBoldItalic.ttf') format('truetype'); font-weight:600; font-style:italic; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c6fd9bb45b8f16166_Montserrat-BoldItalic.ttf') format('truetype'); font-weight:700; font-style:italic; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c79bd1b2d430af977_Montserrat-ExtraBoldItalic.ttf') format('truetype'); font-weight:800; font-style:italic; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/6829d73c188309cc0feaf6e7_Montserrat-BlackItalic.ttf') format('truetype'); font-weight:900; font-style:italic; font-display:swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a2242;
  --navy-2:  #06182f;
  --navy-3:  #122e57;
  --blue:    #3898ec;
  --blue-2:  #4ea7f0;
  --blue-3:  #1e7bd0;
  --pale:    #e0edff;
  --pale-2:  #edf5ff;
  --white:   #ffffff;
  --ink:     #101828;
  --muted:   #8a97b0;
  --muted-2: #b6c0d4;
  --line:    rgba(56,152,236,0.18);
  --line-2:  rgba(255,255,255,0.10);
  --shadow-card: 0 24px 60px rgba(6,24,47,0.20), 0 1px 0 rgba(255,255,255,0.06) inset;
  --radius: 18px;
  /* Aliases for inline-styled blocks (contact page etc.) */
  --border:  var(--line-2);
  --muted2:  var(--muted-2);
  --font-display: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 76px;
  background: rgba(10,34,66,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.005em;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo .brand-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(56,152,236,0.35));
}
.nav-logo .brand-wordmark {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.005em;
}
.nav-logo .brand-wordmark > span {
  color: var(--blue);
  font-weight: 800;
  margin-left: 0;
  letter-spacing: 0;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted-2); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -28px; left: 0; right: 0;
  height: 2px; background: var(--blue);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-ghost {
  color: var(--white); border: 1px solid var(--line); background: transparent;
  padding: 11px 22px; border-radius: 999px;
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; transition: all 0.25s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(56,152,236,0.10); border-color: var(--blue); color: var(--blue); }
.btn-primary {
  background: var(--blue); color: var(--white);
  border: 1px solid var(--blue);
  padding: 11px 26px; border-radius: 999px;
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; transition: all 0.25s;
  display: inline-block; box-shadow: 0 8px 24px rgba(56,152,236,0.32);
}
.btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(56,152,236,0.45); }
.btn-lg { padding: 16px 36px; font-size: 0.92rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 48px; align-items: center;
  padding: 140px 60px 60px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(56,152,236,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(18,46,87,0.50) 0%, transparent 80%),
    linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--blue); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 28px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(56,152,236,0.10);
  border: 1px solid var(--line);
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 12px var(--blue); }
.hero-h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: italic; font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.005em;
}
.hero-sub {
  font-size: 1.05rem; color: var(--muted-2); font-weight: 400;
  max-width: 540px; line-height: 1.7; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-link {
  color: var(--muted-2); font-size: 0.9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s;
}
.hero-link:hover { color: var(--blue); }
.hero-link:hover svg { transform: translateX(4px); }
.hero-link svg { transition: transform 0.2s; }

/* Hero stats — bottom of left column */
.hero-stats { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line-2); position: relative; z-index: 2; }
.stat .stat-num {
  font-size: 2.4rem; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.01em;
}
.stat .stat-num span { color: var(--blue); }
.stat .stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

/* Hero cube illustration */
.hero-illustration {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.hero-illustration img {
  width: 100%; max-width: 620px; height: auto;
  filter: drop-shadow(0 30px 60px rgba(56,152,236,0.18));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-illustration img { animation: none; } }

@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; padding: 120px 28px 60px; }
  .hero-illustration { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-stats { gap: 28px; }
}

/* ── PAGE HEADER (small hero for inner pages) ── */
.page-header {
  padding: 160px 60px 80px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(56,152,236,0.12) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--line);
}
.page-header-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-header-inner { max-width: 900px; position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.page-header h1 em { font-style: italic; font-weight: 700; color: var(--blue); letter-spacing: -0.005em; }
.page-header p.lead {
  font-size: 1.1rem; color: var(--muted-2); font-weight: 400;
  line-height: 1.7; max-width: 640px;
}

/* ── TICKER ── */
.ticker-wrap {
  position: relative; overflow: hidden;
  background: var(--navy-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy-2), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg, var(--navy-2), transparent); }
.ticker {
  display: flex; gap: 64px; width: max-content;
  animation: ticker-scroll 45s linear infinite;
}
.tick-item {
  font-size: 0.9rem; color: var(--muted-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
}
.tick-pair { color: var(--white); font-weight: 700; letter-spacing: 0.02em; }
.tick-up { color: #4ade80; font-weight: 600; font-size: 0.78rem; }
.tick-dn { color: #f87171; font-weight: 600; font-size: 0.78rem; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTIONS ── */
section {
  padding: 110px 60px;
  position: relative;
}
.label {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 22px;
  color: var(--white);
}
.section-h2 em { font-style: italic; font-weight: 700; color: var(--blue); }
.section-lead {
  color: var(--muted-2); font-size: 1.05rem; font-weight: 400;
  max-width: 600px; line-height: 1.7;
}

/* ── SERVICES ── */
#services { background: var(--navy-2); border-top: 1px solid var(--line-2); }
.services-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.service-card {
  padding: 44px 36px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.3s ease;
  position: relative;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card:hover { background: rgba(56,152,236,0.05); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(56,152,236,0.30);
}
.service-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--white); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.92rem; color: var(--muted-2); line-height: 1.65;
  margin-bottom: 20px;
}
.service-learn {
  font-size: 0.82rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.02em; transition: color 0.2s;
}
.service-learn:hover { color: var(--blue-2); }

/* ── WHY ── */
#why {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 80px; align-items: center;
}

/* FX Quote Card mockup (built in HTML/CSS, FX-themed) */
.fx-card-wrap {
  position: relative; padding: 40px 0;
}
.fx-card-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 40% 50%, rgba(56,152,236,0.18) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.fx-card {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  max-width: 460px;
}
.fx-card-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(56,152,236,0.12);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
  margin-bottom: 24px;
}
.fx-card-pill::before {
  content: ''; width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.4; } }
.fx-pair-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fx-pair-currency {
  display: flex; align-items: center; gap: 12px;
}
.fx-pair-flag {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  background: var(--white); color: var(--navy);
}
.fx-pair-label {
  font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em;
}
.fx-pair-amount {
  font-size: 1.4rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.01em; line-height: 1;
}
.fx-pair-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(56,152,236,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.fx-rate-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; margin: 4px 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.fx-rate-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.fx-rate-value { font-size: 0.95rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.fx-rate-up { color: #4ade80; }
.fx-card-cta {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: var(--blue); color: var(--white);
  border: none; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 0.02em;
}
.fx-card-cta:hover { background: var(--blue-2); transform: translateY(-1px); }

/* Floating mini cards next to the main card */
.fx-mini {
  position: absolute; z-index: 2;
  background: rgba(10,34,66,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  min-width: 200px;
}
.fx-mini-1 { top: 0; right: -10px; }
.fx-mini-2 { bottom: 20px; left: -10px; }
.fx-mini .fx-mini-label { font-size: 0.7rem; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.fx-mini .fx-mini-value { font-size: 1.05rem; color: var(--white); font-weight: 800; }
.fx-mini .fx-mini-meta { font-size: 0.72rem; color: var(--muted-2); margin-top: 4px; }

.why-points { list-style: none; display: grid; gap: 24px; margin-top: 32px; }
.why-point {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 20px; align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
}
.why-point:last-child { border-bottom: none; }
.why-num {
  font-size: 1.05rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.04em;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(56,152,236,0.10);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.why-point h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-point p { font-size: 0.92rem; color: var(--muted-2); line-height: 1.6; }

@media (max-width: 1024px) {
  #why { grid-template-columns: 1fr; gap: 60px; }
  .fx-card { max-width: 100%; }
  .fx-mini-1 { top: -16px; right: 0; }
  .fx-mini-2 { bottom: -16px; left: 0; }
}

/* ── PROCESS ── */
#process { background: var(--navy-2); border-top: 1px solid var(--line-2); }
.process-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.process-header .label, .process-header .section-h2 { display: inline-block; }
.process-header .section-h2 { display: block; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 22px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--line), var(--line), transparent);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-dot {
  width: 60px; height: 60px; margin: 0 auto 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 12px 30px rgba(56,152,236,0.30);
}
.step-dot svg {
  width: 30px; height: 30px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.process-step p { font-size: 0.88rem; color: var(--muted-2); line-height: 1.6; }

/* ── CURRENCIES ── */
#currencies {
  position: relative; overflow: hidden;
}
.currencies-globe {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 720px; opacity: 0.20;
  pointer-events: none; z-index: 0;
  filter: hue-rotate(180deg) brightness(1.4) saturate(1.4);
  animation: globe-spin 90s linear infinite;
}
@keyframes globe-spin { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
.currencies-header { position: relative; z-index: 1; max-width: 720px; margin-bottom: 48px; }
.currency-cloud {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 12px; max-width: 900px;
}
.currency-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.88rem; color: var(--white); font-weight: 500;
  transition: all 0.25s ease;
}
.currency-pill:hover { background: rgba(56,152,236,0.10); border-color: var(--blue); transform: translateY(-2px); }
.currency-symbol {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 26px; padding: 0 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  color: var(--white);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgba(56,152,236,0.30);
  flex-shrink: 0;
}
.currency-pill--more .currency-symbol {
  background: rgba(255,255,255,0.08);
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 1rem;
  font-weight: 700;
}
.currencies-sub {
  position: relative; z-index: 1;
  margin-top: 36px; max-width: 600px;
  color: var(--muted-2); font-size: 0.95rem;
}
.currencies-sub strong { color: var(--blue); font-weight: 700; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--navy-2); border-top: 1px solid var(--line-2); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--line); }
.testi-quote {
  font-family: Georgia, serif; font-size: 4rem; line-height: 0.6;
  color: var(--blue); opacity: 0.6;
  position: absolute; top: 24px; left: 24px;
}
.testi-text {
  font-size: 0.96rem; color: var(--white); font-weight: 400;
  line-height: 1.65; margin-top: 36px; margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.testi-name { font-size: 0.92rem; color: var(--white); font-weight: 700; }
.testi-role { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.testi-disclaimer {
  margin-top: 32px; max-width: 720px;
  font-size: 0.78rem; color: var(--muted); font-style: italic; line-height: 1.6;
}

/* ── CTA ── */
#cta {
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(56,152,236,0.18) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy-3) 0%, var(--navy-2) 100%);
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.regulatory {
  margin-top: 32px; font-size: 0.74rem; color: var(--muted);
  line-height: 1.7; font-style: italic;
}

/* ── FOOTER ── */
footer { background: var(--navy-2); padding: 80px 60px 32px; border-top: 1px solid var(--line); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--line-2);
}
.footer-brand { max-width: 380px; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.005em; }
.footer-logo span { color: var(--blue); }
.footer-tagline {
  margin-top: 16px; font-size: 0.88rem; color: var(--muted-2); line-height: 1.7;
}
.footer-contact { margin-top: 24px; font-size: 0.85rem; color: var(--muted-2); display: grid; gap: 6px; }
.footer-contact a { color: var(--blue); transition: color 0.2s; }
.footer-contact a:hover { color: var(--blue-2); }
.partner-attribution {
  margin-top: 28px; padding: 22px;
  background: rgba(56,152,236,0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.partner-label { font-size: 0.7rem; font-weight: 700; color: var(--blue); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.partner-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.partner-name { font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.partner-badge {
  font-size: 0.6rem; font-weight: 800; color: var(--blue);
  border: 1px solid var(--blue); padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.06em; line-height: 1.1; text-align: center;
}
.partner-detail { font-size: 0.74rem; color: var(--muted-2); line-height: 1.65; margin-bottom: 10px; }
.partner-link { font-size: 0.78rem; color: var(--blue); font-weight: 600; }
.partner-link:hover { color: var(--blue-2); }

.footer-col h5 {
  font-size: 0.74rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--muted-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; }
.footer-legal { font-size: 0.7rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.footer-legal--legacy { opacity: 0.55; font-size: 0.66rem; }
.footer-copy { font-size: 0.72rem; color: var(--muted); opacity: 0.7; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > *,
.hero-stats,
.hero-illustration,
.page-header-inner > * {
  opacity: 0; animation: fadeUp 0.8s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.32s; }
.hero-content > *:nth-child(4) { animation-delay: 0.44s; }
.hero-stats { animation-delay: 0.6s; }
.hero-illustration { animation-delay: 0.4s; }
.page-header-inner > *:nth-child(1) { animation-delay: 0.05s; }
.page-header-inner > *:nth-child(2) { animation-delay: 0.2s; }
.page-header-inner > *:nth-child(3) { animation-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; }
  .page-header { padding: 130px 28px 60px; }
  section { padding: 72px 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .service-card:last-child { border-bottom: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .currencies-globe { width: 480px; right: -180px; opacity: 0.10; }
}
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat .stat-num { font-size: 1.8rem; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
  nav { padding: 0 16px; }
  .currencies-globe {
    width: 240px;
    top: 28px;
    right: -80px;
    transform: none;
    opacity: 0.08;
    animation: none;
  }
}

/* ============================================================
   INNER PAGES — prose, info tiles, contact form, attributions
   ============================================================ */

/* Prose / long-form content layout */
.prose-section {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  padding: 110px 60px; max-width: 1300px; margin: 0 auto;
  position: relative;
}
.prose-section.alt {
  background: var(--navy-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  max-width: none;
  padding: 110px 60px;
}
.prose-section.alt > * { max-width: 1300px; margin: 0 auto; width: 100%; }
.prose-section.alt .prose-aside,
.prose-section.alt .prose-body { max-width: none; margin: 0; }
.prose-section.alt-wide { display: block; max-width: 880px; }

.prose-aside { position: sticky; top: 110px; align-self: start; }
.prose-aside .label { margin-bottom: 14px; }
.prose-aside h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
.prose-aside h2 em { font-style: italic; font-weight: 700; color: var(--blue); }
.prose-aside p {
  margin-top: 18px; font-size: 0.92rem; color: var(--muted-2);
  line-height: 1.65;
}

.prose-body p {
  font-size: 0.98rem; color: var(--muted-2); font-weight: 400;
  line-height: 1.85; margin-bottom: 22px;
}
.prose-body p strong { color: var(--white); font-weight: 600; }
.prose-body p a { color: var(--blue); border-bottom: 1px dotted var(--blue); }
.prose-body p a:hover { color: var(--blue-2); border-bottom-style: solid; }
.prose-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--line-2);
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.prose-body h3:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose-body h4 {
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-top: 28px; margin-bottom: 12px;
}
.prose-body ul, .prose-body ol {
  margin: 16px 0 24px 4px; list-style: none; padding: 0;
}
.prose-body ul li, .prose-body ol li {
  position: relative; padding-left: 28px;
  font-size: 0.95rem; color: var(--muted-2); line-height: 1.75; margin-bottom: 12px;
}
.prose-body ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 1px; background: var(--blue);
}
.prose-body ol { counter-reset: ol-counter; }
.prose-body ol li { counter-increment: ol-counter; }
.prose-body ol li::before {
  content: counter(ol-counter, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-size: 0.78rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.04em;
}

.lead {
  font-size: 1.1rem; color: var(--muted-2); font-weight: 400;
  line-height: 1.7; margin-bottom: 28px;
}

/* Attribution block (partner callout in prose) */
.attribution-block {
  margin: 36px 0;
  padding: 28px 30px;
  background: rgba(56,152,236,0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative; overflow: hidden;
}
.attribution-block::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-3));
}
.attribution-block .label { margin-bottom: 12px; }
.attribution-block p {
  font-size: 0.92rem; color: var(--muted-2); line-height: 1.65; margin-bottom: 12px;
}
.attribution-block p:last-child { margin-bottom: 0; }
.attribution-block p strong { color: var(--white); font-weight: 600; }

/* Info tiles (used on safeguarding, etc.) */
.info-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.info-tile {
  background: var(--navy);
  padding: 40px 36px;
  border-right: 1px solid var(--line-2);
  transition: background 0.3s ease;
}
.info-tile:last-child { border-right: none; }
.info-tile:hover { background: rgba(56,152,236,0.05); }
.info-tile .label { margin-bottom: 14px; }
.info-tile h4 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.info-tile p { font-size: 0.92rem; color: var(--muted-2); line-height: 1.7; }
@media (max-width: 1024px) {
  .info-tiles { grid-template-columns: 1fr; }
  .info-tile { border-right: none; border-bottom: 1px solid var(--line-2); }
  .info-tile:last-child { border-bottom: none; }
}

/* Contact form */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px; margin-top: 40px;
}
.form-grid .full { grid-column: 1 / -1; }
.field-label {
  display: block;
  font-size: 0.74rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 8px;
}
.field {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem; font-weight: 400; color: var(--white);
  transition: all 0.2s ease;
}
.field:focus {
  outline: none; border-color: var(--blue);
  background: rgba(56,152,236,0.06);
  box-shadow: 0 0 0 4px rgba(56,152,236,0.12);
}
.field::placeholder { color: var(--muted); opacity: 0.7; }
textarea.field { min-height: 160px; resize: vertical; line-height: 1.6; }
.form-note {
  margin-top: 20px;
  font-size: 0.78rem; color: var(--muted); font-style: italic; line-height: 1.7;
}

/* Big numeric flourish (used on inner page hero) */
.why-big-num {
  font-size: 4rem; font-weight: 800; color: var(--blue);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 18px;
}

/* Why visual — floating glass card cluster */
.why-visual {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 480px;
  padding: 12px 0;
}
.why-card { padding: 28px 30px; border-radius: 20px; }
.why-card.main { padding: 36px 34px; border-radius: 24px; }
.why-card.float1 { margin-left: auto; margin-right: 0; max-width: 380px; transform: translateX(40px); }
.why-card.float2 { margin-left: 30px; max-width: 380px; }
.why-card-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.why-card-val {
  font-size: 1.7rem; font-weight: 700;
  color: var(--white); line-height: 1.15;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.why-card-sub {
  font-size: 0.86rem; color: var(--muted-2);
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .why-visual { max-width: 100%; }
  .why-card.float1, .why-card.float2 { transform: none; margin-left: 0; max-width: 100%; }
}

/* Responsive */
@media (max-width: 1024px) {
  .prose-section, .prose-section.alt { grid-template-columns: 1fr; gap: 40px; padding: 60px 28px; }
  .prose-aside { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Live FX quote input */
.fx-input {
  background: transparent; border: none; outline: none;
  color: var(--white); font-family: inherit; font-weight: 700;
  font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1;
  padding: 0; margin: 0; width: 100%; max-width: 180px;
  border-bottom: 1px dashed var(--line);
  transition: border-color .2s ease;
  font-variant-numeric: tabular-nums;
}
.fx-input:focus { border-bottom-color: var(--blue); }
.fx-input::-webkit-outer-spin-button,
.fx-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============================================================
   Safeguarding flow diagram
   ============================================================ */
.safe-flow {
  background: var(--navy-2);
  border-bottom: 1px solid var(--line-2);
  padding: 110px 60px;
  position: relative; overflow: hidden;
}
.safe-flow::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(56,152,236,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.safe-flow-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.safe-flow-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1.15fr 60px 1fr;
  gap: 0; align-items: stretch;
}
.safe-node {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.safe-node:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.safe-node-featured {
  background: rgba(56,152,236,0.06);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(56,152,236,0.15);
}
.safe-node-num {
  font-size: 0.78rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.18em; margin-bottom: 14px;
}
.safe-node-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(56,152,236,0.30);
  color: var(--white);
}
.safe-node-icon svg { width: 26px; height: 26px; }
.safe-node h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--white);
  margin-bottom: 12px; line-height: 1.35; letter-spacing: -0.01em;
}
.safe-node p {
  font-size: 0.9rem; color: var(--muted-2); line-height: 1.65;
}
.safe-node p strong { color: var(--white); font-weight: 600; }
.safe-node-tag {
  display: inline-block; margin-top: 16px;
  font-size: 0.7rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 12px; background: rgba(56,152,236,0.10);
  border: 1px solid var(--line); border-radius: 999px;
}
.safe-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.safe-arrow svg { width: 60px; height: 22px; }
.safe-flow-note {
  text-align: center; max-width: 640px; margin: 50px auto 0;
  font-size: 0.85rem; font-style: italic; color: var(--muted); line-height: 1.7;
}
@media (max-width: 1024px) {
  .safe-flow { padding: 72px 28px; }
  .safe-flow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .safe-arrow { transform: rotate(90deg); margin: -8px 0; }
}

/* ============================================================
   Cookie consent banner (PECR / UK GDPR)
   ============================================================ */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 200;
  width: calc(100% - 48px); max-width: 420px;
  background: rgba(10,34,66,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(56,152,236,0.12);
  transform: translateY(20px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
}
.cookie-banner.is-open { transform: none; opacity: 1; pointer-events: auto; }
.cookie-banner h4 {
  font-size: 0.92rem; font-weight: 700; margin-bottom: 8px;
  color: var(--white); letter-spacing: -0.01em;
}
.cookie-banner p {
  font-size: 0.84rem; color: var(--muted-2);
  line-height: 1.55; margin-bottom: 16px;
}
.cookie-banner p a { color: var(--blue); border-bottom: 1px dotted var(--blue); }
.cookie-banner p a:hover { color: var(--blue-2); border-bottom-style: solid; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1; min-width: 0;
  padding: 11px 18px; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.02em; cursor: pointer;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.cookie-btn--reject {
  background: transparent; color: var(--white);
  border-color: var(--line);
}
.cookie-btn--reject:hover { background: rgba(255,255,255,0.04); border-color: var(--muted); }
.cookie-btn--accept {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(56,152,236,0.28);
}
.cookie-btn--accept:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-1px); }

/* Cookie preferences trigger in footer */
.cookie-trigger {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; color: var(--muted-2);
  text-align: left; transition: color .2s ease;
}
.cookie-trigger:hover { color: var(--white); }

@media (max-width: 480px) {
  .cookie-banner { left: 12px; bottom: 12px; right: 12px; width: auto; padding: 18px 18px; }
}

/* ============================================================
   PAYMENTS FLOW (home, between Process and Currencies)
   ============================================================ */
#payments-flow { padding: 120px 60px; background: var(--navy-2); border-top: 1px solid var(--line-2); position: relative; overflow: hidden; }
#payments-flow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(56,152,236,0.10) 0%, transparent 70%);
}
.payments-flow-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
  max-width: 1240px; margin: 0 auto; position: relative; z-index: 1;
}
.payments-flow-copy .section-h2 { margin-bottom: 22px; }
.payments-flow-copy .section-lead { margin-bottom: 32px; }
.payments-flow-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 16px;
}
.payments-flow-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
}
.payments-flow-list b {
  display: block; color: var(--white); font-weight: 700; font-size: 0.96rem;
  margin-bottom: 4px; letter-spacing: -0.01em;
}
.payments-flow-list span { display: block; color: var(--muted-2); font-size: 0.86rem; line-height: 1.55; }
.pf-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  margin-top: 1px; flex-shrink: 0;
  line-height: 0;
}
.pf-tick svg {
  width: 13px; height: 13px;
  display: block;
  overflow: visible;
}
.payments-flow-illustration {
  display: flex; justify-content: center; position: relative;
}
.payments-flow-illustration::before {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(56,152,236,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.payments-flow-illustration img {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.30));
}
@media (max-width: 1024px) {
  #payments-flow { padding: 80px 28px; }
  .payments-flow-grid { grid-template-columns: 1fr; gap: 48px; }
  .payments-flow-illustration img { max-width: 420px; }
}

/* ============================================================
   SAFEGUARDING — Trust by design (security graphic)
   ============================================================ */
.safe-trust { padding: 120px 60px; background: var(--navy); border-top: 1px solid var(--line-2); position: relative; overflow: hidden; }
.safe-trust::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 25% 50%, rgba(56,152,236,0.10) 0%, transparent 65%);
}
.safe-trust-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.safe-trust-copy h2 { margin-bottom: 22px; }
.safe-trust-copy > p { color: var(--muted-2); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.safe-trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.safe-trust-list li {
  position: relative; padding-left: 22px;
  font-size: 0.96rem; color: var(--muted-2); line-height: 1.65;
}
.safe-trust-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px; background: var(--blue);
}
.safe-trust-list strong { color: var(--white); font-weight: 700; }
.safe-trust-illustration {
  display: flex; justify-content: center;
}
.safe-trust-illustration img {
  width: 100%; max-width: 520px; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.25));
}
@media (max-width: 1024px) {
  .safe-trust { padding: 80px 28px; }
  .safe-trust-inner { grid-template-columns: 1fr; gap: 48px; }
}


/* ============================================================
   NEXUS LIGHT THEME — white-dominant, blue brick accents
   Applied site-wide via <body class="theme-light">
   ============================================================ */

.theme-light {
  /* Nexus palette */
  --page-bg:        #ffffff;
  --page-card:      #ffffff;
  --page-soft:      #f9fafb;       /* faint off-white for striping */
  --brick:          #e0edff;       /* Nexus signature brick blue */
  --brick-2:        #edf5ff;       /* lighter brick */
  --brick-edge:     #d4e5ff;
  --page-text:      #0a2242;       /* Nexus navy text */
  --page-text-soft: #1a2940;
  --page-muted:     #5d6c7b;       /* Nexus secondary */
  --page-muted-2:   #758696;
  --page-line:      rgba(10,34,66,0.10);
  --page-line-2:    rgba(10,34,66,0.06);
  /* Override the inline-style aliases so contact page reads correctly */
  --border:         rgba(10,34,66,0.10);
  --muted2:         #5d6c7b;
}

/* Body base */
.theme-light body { background: var(--page-bg); color: var(--page-text); }

/* ---------- NAV ---------- */
.theme-light nav {
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--page-line-2);
}
.theme-light .nav-logo { color: var(--page-text); }
.theme-light .nav-logo span { color: var(--blue); }
.theme-light .nav-logo .brand-wordmark { color: var(--page-text); }
.theme-light .nav-logo .brand-wordmark > span { color: var(--blue); }
.theme-light .nav-links a { color: var(--page-muted); }
.theme-light .nav-links a:hover, .theme-light .nav-links a.active { color: var(--page-text); }
.theme-light .nav-links a.active::after { background: var(--blue); }
.theme-light .btn-ghost {
  color: var(--page-text); border: 1px solid var(--page-line); background: transparent;
}
.theme-light .btn-ghost:hover {
  background: rgba(56,152,236,0.08); border-color: var(--blue); color: var(--blue);
}

/* ---------- HERO (home) ---------- */
.theme-light #hero {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, var(--brick-2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg);
  color: var(--page-text);
}
.theme-light #hero::before {
  background-image:
    linear-gradient(rgba(10,34,66,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,34,66,0.06) 1px, transparent 1px);
  opacity: 0.6;
}
.theme-light .hero-eyebrow { color: var(--blue-3); }
.theme-light .hero-eyebrow::before { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.theme-light .hero-h1 { color: var(--page-text); }
.theme-light .hero-h1 em, .theme-light .hero h1 em { color: var(--blue); }
.theme-light .hero-sub, .theme-light .hero-lead { color: var(--page-muted); }
.theme-light .hero-stats { border-top-color: var(--page-line); border-bottom-color: var(--page-line); }
.theme-light .stat .stat-num { color: var(--page-text); }
.theme-light .stat .stat-num span { color: var(--blue); }
.theme-light .stat .stat-label { color: var(--page-muted); }
.theme-light .hero-link { color: var(--blue-3); }
.theme-light .hero-link:hover { color: var(--blue); }

/* Hero ticker / rate card on light */
.theme-light .ticker-card,
.theme-light .rate-card {
  background: var(--page-card);
  border: 1px solid var(--page-line);
  box-shadow: 0 24px 60px -28px rgba(10,34,66,0.18), 0 2px 8px rgba(10,34,66,0.04);
}
.theme-light .ticker-row { border-bottom-color: var(--page-line-2); }
.theme-light .ticker-pair { color: var(--page-text); }
.theme-light .ticker-rate { color: var(--page-text); }
.theme-light .ticker-meta, .theme-light .ticker-label { color: var(--page-muted); }

/* ---------- FX QUOTE CARD on light ---------- */
.theme-light .fx-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 30px 80px -30px rgba(10,34,66,0.25);
}
.theme-light .fx-pair-flag {
  background: linear-gradient(180deg, #fff, #f3f7ff);
  color: var(--page-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 12px -4px rgba(10,34,66,0.18);
}
.theme-light .fx-pair-label { color: var(--page-muted); }
.theme-light .fx-pair-amount { color: var(--page-text); }
.theme-light .fx-input {
  color: var(--page-text);
  border-bottom-color: rgba(56,152,236,0.30);
}
.theme-light .fx-input:focus { border-bottom-color: var(--blue); }
.theme-light .fx-pair-arrow {
  background: rgba(56,152,236,0.10);
  color: var(--blue);
}
.theme-light .fx-rate-row {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(10,34,66,0.06);
}
.theme-light .fx-rate-label { color: var(--page-muted); }
.theme-light .fx-rate-value { color: var(--page-text); }

/* Floating mini cards — keep dark for "pop", but pull them closer */
.theme-light .fx-mini-1 { top: -16px; right: 10px; }
.theme-light .fx-mini-2 { bottom: 24px; left: 10px; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.theme-light .page-header {
  background:
    radial-gradient(ellipse 60% 70% at 30% 30%, var(--brick-2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 80%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg) !important;
  color: var(--page-text);
}
.theme-light .page-header::before {
  background-image:
    linear-gradient(rgba(10,34,66,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,34,66,0.05) 1px, transparent 1px);
  opacity: 0.6;
}
.theme-light .page-header::after {
  background: linear-gradient(180deg, transparent, var(--page-bg)) !important;
}
.theme-light .page-header h1 { color: var(--page-text); }
.theme-light .page-header h1 em { color: var(--blue); }
.theme-light .page-header .label,
.theme-light .page-header .hero-eyebrow { color: var(--blue-3); }
.theme-light .page-header p.lead, .theme-light .page-header .lead { color: var(--page-muted); }
.theme-light .page-header .breadcrumb,
.theme-light .page-header .breadcrumb a { color: var(--page-muted); }
.theme-light .page-header .breadcrumb a:hover { color: var(--blue); }

/* ---------- GENERIC SECTIONS ---------- */
.theme-light section { background: var(--page-bg); }
.theme-light section.alt,
.theme-light section[id="trust"],
.theme-light section.section-alt { background: var(--page-soft); }
.theme-light section[id]:not(#hero) {
  border-top-color: var(--page-line-2);
  border-bottom-color: var(--page-line-2);
}
.theme-light .section-h2 { color: var(--page-text); }
.theme-light .section-h2 em { color: var(--blue); }
.theme-light .section-lead, .theme-light .lead { color: var(--page-muted); }
.theme-light .label, .theme-light .eyebrow { color: var(--blue-3); }
.theme-light .regulatory { color: var(--page-muted-2); }

/* ---------- DARK-BG SECTION COERCION (process, services, testimonials) ---------- */
.theme-light #process,
.theme-light #services,
.theme-light #testimonials {
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, var(--brick-2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg) !important;
  border-top-color: var(--page-line-2) !important;
}

/* Testimonials — glass cards on light */
.theme-light .testi-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.45));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 18px 40px -22px rgba(10,34,66,0.20);
}
.theme-light .testi-card:hover { border-color: rgba(56,152,236,0.30); transform: translateY(-4px); }
.theme-light .testi-quote { color: var(--page-text); }
.theme-light .testi-text { color: var(--page-text-soft); }
.theme-light .testi-author { border-top-color: var(--page-line-2); }
.theme-light .testi-name { color: var(--page-text); }
.theme-light .testi-role { color: var(--page-muted); }
.theme-light .testi-disclaimer { color: var(--page-muted); }
.theme-light .testi-avatar {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(224,237,255,0.5));
  color: var(--blue-3);
  border: 1px solid rgba(56,152,236,0.20);
}
.theme-light #process .section-h2,
.theme-light #services .section-h2 { color: var(--page-text); }
.theme-light #process .section-h2 em,
.theme-light #services .section-h2 em { color: var(--blue); }
.theme-light #process .section-lead,
.theme-light #services .section-lead { color: var(--page-muted); }
.theme-light #process .label,
.theme-light #services .label { color: var(--blue-3); }

/* Currency section (#currencies) on light */
.theme-light #currencies {
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg) !important;
}
/* Re-tint the dotted globe from cyan-on-dark to soft Nexus blue-on-light */
.theme-light .currencies-globe {
  filter: brightness(0) saturate(100%) invert(56%) sepia(96%) saturate(2200%) hue-rotate(189deg) brightness(96%) contrast(89%);
  opacity: 0.32;
}

/* ---------- APPLE-STYLE FROSTED GLASS CARDS ---------- */
/* Generic feature cards / process steps / currency chips → frosted glass */
.theme-light .why-card,
.theme-light .process-step,
.theme-light .service-card,
.theme-light .feature-card,
.theme-light .currency-card,
.theme-light .info-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.45));
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 0 rgba(10,34,66,0.04),
    0 18px 40px -22px rgba(10,34,66,0.20),
    0 4px 12px -4px rgba(56,152,236,0.10);
  color: var(--page-text);
  border-radius: 18px;
}
.theme-light .why-card:hover,
.theme-light .process-step:hover,
.theme-light .service-card:hover,
.theme-light .feature-card:hover,
.theme-light .info-tile:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 0 rgba(10,34,66,0.05),
    0 28px 60px -24px rgba(10,34,66,0.28),
    0 6px 18px -6px rgba(56,152,236,0.18);
}
.theme-light .why-card h3, .theme-light .why-card h4,
.theme-light .process-step h3, .theme-light .process-step h4,
.theme-light .service-card h3, .theme-light .service-card h4,
.theme-light .feature-card h3, .theme-light .feature-card h4,
.theme-light .info-tile h4,
.theme-light .currency-card h3 { color: var(--page-text); }
.theme-light .why-card p,
.theme-light .process-step p,
.theme-light .service-card p,
.theme-light .feature-card p,
.theme-light .info-tile p,
.theme-light .currency-card p { color: var(--page-muted); }

/* Process step icon tile — keep blue gradient on light, with extra polish */
.theme-light .step-dot {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 14px 34px -10px rgba(56,152,236,0.40),
    0 2px 6px rgba(56,152,236,0.18);
}

/* ---------- CURRENCY PILLS — glass ---------- */
.theme-light .currency-pill {
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.40));
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.70);
  color: var(--page-text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 6px 16px -8px rgba(10,34,66,0.18);
}
.theme-light .currency-pill:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(224,237,255,0.55));
  border-color: rgba(56,152,236,0.40);
  transform: translateY(-2px);
}
.theme-light .currency-symbol {
  background: linear-gradient(180deg, rgba(255,255,255,0.60), rgba(56,152,236,0.20));
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  backdrop-filter: blur(8px) saturate(180%);
  color: var(--blue-3);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 4px 10px -4px rgba(56,152,236,0.30);
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.theme-light .currency-pill--more .currency-symbol {
  background: rgba(255,255,255,0.55);
  border: 1px dashed rgba(56,152,236,0.40);
  color: var(--blue);
}
.theme-light .currencies-sub { color: var(--page-muted); }
.theme-light .currencies-sub strong { color: var(--blue-3); }

/* Big numeric flourish + why-card inner labels */
.theme-light .why-big-num { color: var(--blue); }
.theme-light .why-card-label { color: var(--blue-3); }
.theme-light .why-card-val { color: var(--page-text); }
.theme-light .why-card-sub { color: var(--page-muted); }

/* Info-tiles container (multi-column tile grid) */
.theme-light .info-tiles {
  background: transparent;
  border: 1px solid var(--page-line);
  border-radius: 16px;
  overflow: hidden;
}
.theme-light .info-tiles .info-tile {
  background: var(--page-card);
  border: none;
  border-right: 1px solid var(--page-line-2);
  border-bottom: 1px solid var(--page-line-2);
  border-radius: 0;
}
.theme-light .info-tiles .info-tile:hover { background: var(--brick-2); transform: none; }

/* ---------- PROSE / DOC PAGES ---------- */
.theme-light .prose-section { background: var(--page-bg); color: var(--page-text); }
.theme-light .prose-section.alt { background: var(--page-soft); border-top: 1px solid var(--page-line-2); border-bottom: 1px solid var(--page-line-2); }
.theme-light .prose-aside h2 { color: var(--page-text); }
.theme-light .prose-aside h2 em { color: var(--blue); }
.theme-light .prose-aside p { color: var(--page-muted); }
.theme-light .prose-body p { color: var(--page-text-soft); }
.theme-light .prose-body p strong { color: var(--page-text); }
.theme-light .prose-body p a { color: var(--blue-3); border-bottom-color: var(--blue-3); }
.theme-light .prose-body p a:hover { color: var(--blue); }
.theme-light .prose-body h3 { color: var(--page-text); border-top-color: var(--page-line-2); }
.theme-light .prose-body h4 { color: var(--page-text); }
.theme-light .prose-body ul li, .theme-light .prose-body ol li { color: var(--page-text-soft); }
.theme-light .prose-body ul li::before { background: var(--blue); }
.theme-light .prose-body ul li strong, .theme-light .prose-body ol li strong { color: var(--page-text); }

/* Attribution callout */
.theme-light .attribution-block {
  background: var(--brick-2);
  border-color: var(--brick-edge);
}
.theme-light .attribution-block::before { background: linear-gradient(180deg, var(--blue), var(--blue-3)); }
.theme-light .attribution-block p { color: var(--page-text-soft); }
.theme-light .attribution-block p strong { color: var(--page-text); }

/* ---------- FORMS (contact) ---------- */
.theme-light .field {
  background: var(--page-card);
  border-color: var(--page-line);
  color: var(--page-text);
}
.theme-light .field::placeholder { color: var(--page-muted); opacity: 0.7; }
.theme-light .field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(56,152,236,0.12);
  background: var(--page-card);
}
.theme-light .form-note,
.theme-light .field-label { color: var(--page-muted); }
.theme-light label { color: var(--page-text); }

/* ---------- PAYMENTS-FLOW & SAFE-TRUST sections (Nexus imports) ---------- */
.theme-light #payments-flow {
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg) !important;
  border-top-color: var(--page-line-2) !important;
}
.theme-light #payments-flow .section-h2 { color: var(--page-text); }
.theme-light #payments-flow .section-h2 em { color: var(--blue); }
.theme-light #payments-flow .section-lead,
.theme-light #payments-flow .payments-flow-list li span { color: var(--page-muted); }
.theme-light #payments-flow .payments-flow-list li b,
.theme-light #payments-flow .payments-flow-list li > div b { color: var(--page-text); }
.theme-light #payments-flow .pf-tick {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(224,237,255,0.45));
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(56,152,236,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 10px -4px rgba(56,152,236,0.25);
}
.theme-light #payments-flow .pf-tick svg { color: var(--blue); }
.theme-light #payments-flow .payments-flow-illustration {
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(224,237,255,0.40));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.70);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 30px 60px -30px rgba(10,34,66,0.22);
}

.theme-light .safe-trust {
  background:
    radial-gradient(ellipse 50% 60% at 10% 30%, var(--brick-2) 0%, transparent 70%),
    var(--page-bg) !important;
  border-top-color: var(--page-line-2) !important;
}
.theme-light .safe-trust-copy > p,
.theme-light .safe-trust-list li { color: var(--page-text-soft); }
.theme-light .safe-trust-list strong { color: var(--page-text); }
.theme-light .safe-trust-list li::before { background: var(--blue); }
.theme-light .safe-trust .section-h2 { color: var(--page-text); }
.theme-light .safe-trust .section-h2 em { color: var(--blue); }
.theme-light .safe-trust .section-lead,
.theme-light .safe-trust-list li span { color: var(--page-muted); }
.theme-light .safe-trust-list li b,
.theme-light .safe-trust-list li > div b { color: var(--page-text); }
.theme-light .safe-trust-illustration {
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(224,237,255,0.40));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.70);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 30px 60px -30px rgba(10,34,66,0.22);
}

/* ---------- CTA — keep punchy but on-theme (white with blue accent) ---------- */
.theme-light #cta {
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, var(--brick) 0%, var(--brick-2) 100%) !important;
  color: var(--page-text);
  border-top: 1px solid var(--brick-edge);
}
.theme-light #cta .section-h2 { color: var(--page-text); }
.theme-light #cta .section-h2 em { color: var(--blue); }
.theme-light #cta .label { color: var(--blue-3); }
.theme-light #cta .section-lead, .theme-light #cta .regulatory { color: var(--page-muted); }
.theme-light #audit { background: var(--page-card) !important; border-color: var(--page-line-2) !important; }
.theme-light #audit .section-h2 { color: var(--page-text); }
.theme-light #audit p { color: var(--page-muted); }

/* ---------- FOOTER ---------- */
.theme-light footer {
  background: var(--page-soft);
  border-top: 1px solid var(--page-line);
  color: var(--page-text);
}
.theme-light .footer-logo { color: var(--page-text); }
.theme-light .footer-logo span { color: var(--blue); }
.theme-light .footer-tagline { color: var(--page-muted); }
.theme-light .footer-contact { color: var(--page-muted); }
.theme-light .footer-contact a { color: var(--blue-3); }
.theme-light .footer-contact a:hover { color: var(--blue); }
.theme-light .footer-col h5 { color: var(--page-text); }
.theme-light .footer-col a { color: var(--page-muted); }
.theme-light .footer-col a:hover { color: var(--page-text); }
.theme-light .footer-bottom { border-top-color: var(--page-line-2); color: var(--page-muted); }
.theme-light .footer-bottom a { color: var(--page-muted); }
.theme-light .footer-bottom a:hover { color: var(--blue); }

/* ---------- INLINE STYLE COERCION ---------- */
/* Any section using inline navy backgrounds → coerce to white */
.theme-light section[style*="var(--navy)"],
.theme-light section[style*="var(--navy-2)"],
.theme-light section[style*="var(--navy-3)"],
.theme-light section[style*="background:#0"],
.theme-light section[style*="background: #0"] {
  background: var(--page-bg) !important;
  color: var(--page-text);
}

/* ---------- SCROLLBAR ---------- */
.theme-light ::-webkit-scrollbar { width: 10px; height: 10px; }
.theme-light ::-webkit-scrollbar-track { background: transparent; }
.theme-light ::-webkit-scrollbar-thumb { background: rgba(10,34,66,0.16); border-radius: 999px; }
.theme-light ::-webkit-scrollbar-thumb:hover { background: rgba(10,34,66,0.26); }

/* ============================================================
   MOBILE OPTIMIZATION PASS
   ============================================================ */

/* Tablet portrait & below */
@media (max-width: 900px) {
  /* Contact page: 2-col inline grid → 1-col (overrides inline) */
  section[style*="padding:80px 60px"] > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  section[style*="padding:80px 60px"] { padding: 60px 22px !important; }

  /* Section padding */
  section { padding: 64px 22px; }
  .page-header { padding: 120px 22px 56px; }

  /* Hero floating cards: keep inside viewport */
  .fx-mini-1, .theme-light .fx-mini-1 { top: -8px; right: 8px; }
  .fx-mini-2, .theme-light .fx-mini-2 { bottom: 16px; left: 8px; }

  /* Why-cards cluster: drop the offsets */
  .why-card.float1, .why-card.float2 {
    transform: none !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  .why-visual { max-width: 100%; }

  /* Payments-flow & safe-trust collapse */
  .payments-flow-grid,
  .safe-trust-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .payments-flow-illustration img,
  .safe-trust-illustration img { max-width: 100%; height: auto; }

  /* FX card scales down */
  .fx-card { padding: 22px; }
  .fx-pair-amount { font-size: 1.2rem; }
  .fx-pair-flag { width: 32px; height: 32px; font-size: 0.8rem; }

  /* Why-points header column */
  .why-points-header { grid-template-columns: 1fr; gap: 24px; }
}

/* Phone */
@media (max-width: 600px) {
  /* Section padding */
  section { padding: 48px 18px; }
  .page-header { padding: 100px 18px 44px; }

  /* Headline scaling */
  .hero-h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.15; }
  .page-header h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.15; }
  .section-h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); line-height: 1.15; }
  .hero-h1 br, .page-header h1 br, .section-h2 br { display: none; }
  .hero-sub, .page-header p.lead, .section-lead { font-size: 0.95rem; line-height: 1.6; }

  /* Nav: simplify */
  nav { padding: 0 14px; height: 64px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 0.78rem; }
  .nav-logo .brand-mark { width: 22px; height: 22px; }
  .nav-logo .brand-wordmark { font-size: 1rem; }

  /* Hero stats: 2+1 grid */
  .hero-stats { gap: 18px 14px; padding-top: 22px; flex-wrap: wrap; }
  .stat { flex: 1 1 calc(50% - 7px); min-width: 0; }
  .stat .stat-num { font-size: 1.5rem; }
  .stat .stat-label { font-size: 0.66rem; letter-spacing: 0.10em; }

  /* Hero buttons full-width */
  .hero-actions { gap: 12px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .hero-actions .btn-lg { width: 100%; text-align: center; padding-left: 16px; padding-right: 16px; }

  /* Hero illustration smaller */
  .hero-illustration { max-width: 280px; }

  /* Floating mini cards: hide on phone — too cramped */
  .fx-mini { display: none !important; }

  /* Currency pills tighter */
  .currency-pill { padding: 10px 14px; font-size: 0.82rem; gap: 8px; }
  .currency-symbol { min-width: 40px; height: 22px; font-size: 0.62rem; }

  /* Process steps: 1 col */
  .process-steps { grid-template-columns: 1fr !important; gap: 20px; }
  .process-step { padding: 26px 22px; }
  .step-dot { width: 52px; height: 52px; }
  .step-dot svg { width: 26px; height: 26px; }

  /* Service cards: 1 col */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { padding: 28px 22px; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .service-icon svg { width: 24px; height: 24px; }

  /* Testimonials 1 col */
  .testi-grid { grid-template-columns: 1fr !important; gap: 18px; }
  .testi-card { padding: 24px; }

  /* Footer single col */
  .footer-top { grid-template-columns: 1fr !important; gap: 32px; }
  footer { padding: 56px 18px 28px; }
  .footer-bottom { font-size: 0.72rem; flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { font-size: 0.7rem; line-height: 1.6; }

  /* Cookie banner: full-width, top-stacked buttons */
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    width: calc(100% - 24px); max-width: none;
    padding: 18px;
  }
  .cookie-banner h4 { font-size: 0.86rem; }
  .cookie-banner p { font-size: 0.78rem; margin-bottom: 12px; }
  .cookie-actions { gap: 8px; }
  .cookie-btn { font-size: 0.78rem; padding: 10px 14px; }

  /* Form fields full-width single col */
  .form-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .field { padding: 14px 16px; font-size: 0.95rem; }

  /* Currency-cloud */
  .currency-cloud { gap: 8px; }

  /* Prose sections collapse */
  .prose-section, .prose-section.alt {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 48px 18px !important;
  }
  .prose-aside { position: static !important; }
  .prose-body p { font-size: 0.95rem; }
  .prose-body h3 { font-size: 1.15rem; }
  .prose-body ul li, .prose-body ol li { font-size: 0.93rem; }

  /* Why-points layout */
  .why-point { grid-template-columns: 38px 1fr; gap: 14px; padding: 16px 0; }
  .why-num { width: 36px; height: 36px; font-size: 0.88rem; }
  .why-big-num { font-size: 3rem; }

  /* Why card cluster */
  .why-card { padding: 24px 22px; }
  .why-card.main { padding: 28px 24px; }
  .why-card-val { font-size: 1.4rem; }

  /* Info-tiles single col */
  .info-tiles { grid-template-columns: 1fr !important; }
  .info-tile {
    padding: 22px;
    border-right: none !important;
    border-bottom: 1px solid var(--page-line-2);
  }
  .info-tile:last-child { border-bottom: none; }

  /* Eyebrow/labels */
  .label, .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.16em; }

  /* Ticker tighter */
  .ticker-wrap { padding: 12px 0; }
  .tick-item { padding: 0 18px; font-size: 0.78rem; }

  /* Payments-flow & safe-trust copy + illustration */
  .payments-flow-illustration,
  .safe-trust-illustration { padding: 18px !important; }
  .payments-flow-list li,
  .safe-trust-list li { font-size: 0.9rem; }

  /* Section h2 with em — keep on same line if possible */
  .section-h2 br + em { display: inline; }

  /* Page-header inner wider */
  .page-header-inner { padding-right: 0; max-width: 100%; }
  .page-header h1 { letter-spacing: -0.005em; }

  /* Attribution callout */
  .attribution-block { padding: 18px 20px; font-size: 0.88rem; }
  .attribution-block::before { left: -12px; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero-h1 { font-size: 1.8rem; }
  .page-header h1 { font-size: 1.65rem; }
  .section-h2 { font-size: 1.5rem; }
  .stat { flex: 1 1 100%; }
  .stat .stat-num { font-size: 1.4rem; }
  .nav-logo .brand-wordmark { display: none; }
  nav { padding: 0 12px; }
  section { padding: 40px 14px; }
  .page-header { padding: 90px 14px 36px; }
}

/* Tap-target sizing on touch devices (44×44 minimum, WCAG 2.5.5) */
@media (hover: none) and (pointer: coarse) {
  .nav-links a,
  .footer-col a,
  .footer-bottom a,
  .hero-link,
  .service-learn { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-primary,
  .btn-ghost,
  .cookie-btn,
  .fx-card-cta { min-height: 44px; }
  .currency-pill { min-height: 44px; }
}

/* Prevent horizontal overflow universally */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

/* ============================================================
   MOBILE NAVIGATION (hamburger + drawer)
   ============================================================ */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  margin-left: 8px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(56,152,236,0.08); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.18s ease;
}
.theme-light .nav-toggle span { background: var(--page-text); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid var(--line-2);
  padding: 20px 18px 28px;
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.theme-light .mobile-menu {
  background: var(--page-bg);
  border-top: 1px solid var(--page-line);
  box-shadow: 0 24px 48px rgba(10,34,66,0.10);
}
.mobile-menu-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.mobile-menu-links li { margin: 0; }
.mobile-menu-links a {
  display: block;
  padding: 16px 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  letter-spacing: -0.005em;
}
.mobile-menu-links a:hover,
.mobile-menu-links a:active { color: var(--blue); }
.theme-light .mobile-menu-links a {
  color: var(--page-text);
  border-bottom-color: var(--page-line-2);
}
.theme-light .mobile-menu-links a:hover,
.theme-light .mobile-menu-links a:active { color: var(--blue); }

.mobile-menu-cta {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.mobile-menu-cta .btn-ghost,
.mobile-menu-cta .btn-primary {
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  font-size: 0.92rem;
}

body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; gap: 8px; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .nav-toggle { display: none !important; }
}

/* ============================================================
   WHATSAPP FLOATING ACTION BUTTON
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37,211,102,0.40), 0 2px 6px rgba(0,0,0,0.18);
  z-index: 950;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37,211,102,0.50), 0 4px 10px rgba(0,0,0,0.22);
  color: #ffffff;
}
.wa-fab:active { transform: scale(0.96); }
.wa-fab svg { width: 32px; height: 32px; display: block; }
.wa-fab::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
  opacity: 0.55;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0;    }
}
@media (max-width: 600px) {
  .wa-fab {
    right: 16px; bottom: 16px;
    width: 54px; height: 54px;
  }
  .wa-fab svg { width: 30px; height: 30px; }
}
