/* =============================================================
   Archway Pay — styles.css
   Strictly following DESIGN.md (Stripe-inspired system)
   ============================================================= */

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand */
  --purple:       #533afd;
  --purple-hover: #4434d4;
  --purple-deep:  #2e2b8c;
  --purple-light: #b9b9f9;
  --purple-soft:  #d6d9fc;
  --purple-bg:    rgba(83,58,253,0.06);

  /* Typography */
  --heading:  #061b31;
  --label:    #273951;
  --body:     #64748d;

  /* Surfaces */
  --white:      #ffffff;
  --bg-subtle:  #f6f9fc;
  --border:     #e5edf5;

  /* Dark sections */
  --brand-dark: #1c1e54;
  --navy-deep:  #0d253d;

  /* Accents (decorative only) */
  --ruby:    #ea2261;
  --magenta: #f96bee;
  --mag-100: #ffd7ef;

  /* Status */
  --green:      #15be53;
  --green-text: #108c3d;

  /* Shadows — blue-tinted multi-layer */
  --sh-1: rgba(23,23,23,0.06) 0 3px 6px;
  --sh-2: rgba(23,23,23,0.08) 0 15px 35px 0;
  --sh-3: rgba(50,50,93,0.25) 0 30px 45px -30px,
          rgba(0,0,0,0.10)    0 18px 36px -18px;
  --sh-4: rgba(3,3,39,0.25)   0 14px 21px -14px,
          rgba(0,0,0,0.10)    0  8px 17px  -8px;

  /* Border-radius (4 – 8 px only) */
  --r4: 4px;
  --r5: 5px;
  --r6: 6px;
  --r8: 8px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* sohne-var is the brand font; SF Pro Display is the system fallback */
  font-family: "sohne-var", "SF Pro Display", -apple-system, BlinkMacSystemFont,
               "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  font-feature-settings: "ss01";  /* non-negotiable per DESIGN.md */
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ss01 on every rendered node */
h1,h2,h3,h4,p,a,span,button,li,blockquote,figcaption,em,small,strong,b {
  font-feature-settings: "ss01";
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--purple); }
button { font: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1,h2,h3,h4 { margin: 0; color: var(--heading); font-weight: 300; }

/* ─── Helpers ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Tabular nums for financial data */
.tnum, .tnum * { font-feature-settings: "tnum" !important; }

/* Monospace */
.mono {
  font-family: "Source Code Pro", "SFMono-Regular", ui-monospace, Menlo, monospace;
  font-weight: 500;
}

/* Section backgrounds */
.bg-white { background: var(--white); }
.bg-dark  { background: var(--brand-dark); }

/* ─── Typography Scale ──────────────────────────────────────── */
/* Display Hero  56px / weight 300 / leading 1.03 / -1.4px */
.t-display {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -1.4px;
  color: var(--heading);
  font-feature-settings: "ss01";
}

/* Display Large  48px / weight 300 / leading 1.15 / -0.96px */
.t-display-lg {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.96px;
  color: var(--heading);
  font-feature-settings: "ss01";
}

/* Section Heading  32px / weight 300 / leading 1.10 / -0.64px */
.t-section {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 300;
  line-height: 1.10;
  letter-spacing: -0.64px;
  color: var(--heading);
  font-feature-settings: "ss01";
}

/* Sub-heading  22px / weight 300 / leading 1.10 / -0.22px */
.t-subhead {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.10;
  letter-spacing: -0.22px;
  color: var(--heading);
  font-feature-settings: "ss01";
}

/* Body Large  18px / weight 300 */
.t-body-lg {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.40;
  color: var(--body);
}

/* On-dark overrides */
.on-dark { color: rgba(255,255,255,0.90) !important; }
.t-display.on-dark,
.t-display-lg.on-dark,
.t-section.on-dark,
.t-subhead.on-dark { color: #fff !important; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: var(--purple);
  font-feature-settings: "ss01";
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--purple-light); }

/* Mono-style label (SourceCodePro) */
.mono-label {
  font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--body);
}
.mono-label.on-dark { color: rgba(255,255,255,0.55); }

/* ─── Buttons ───────────────────────────────────────────────── */
/* Primary  — purple fill, 4px radius (NOT pill) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--r4);
  font-feature-settings: "ss01";
  box-shadow: rgba(50,50,93,0.18) 0 2px 6px -1px, rgba(0,0,0,0.08) 0 1px 3px -1px;
  transition: background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover  { background: var(--purple-hover); color: #fff; }
.btn-primary:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.btn-primary.btn-lg { padding: 12px 22px; }

/* Ghost  — transparent + purple border */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--purple);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--r4);
  border: 1px solid var(--purple-light);
  font-feature-settings: "ss01";
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(83,58,253,0.05); border-color: var(--purple); color: var(--purple); }
.btn-ghost.btn-lg { padding: 12px 22px; }

/* Ghost Light  — for use on dark sections */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--r4);
  border: 1px solid rgba(255,255,255,0.40);
  font-feature-settings: "ss01";
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.70); color: #fff; }
.btn-ghost-light.btn-lg { padding: 12px 22px; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--purple);
  font-feature-settings: "ss01";
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}
.arrow-link:hover { color: var(--purple-hover); gap: 8px; }
.arrow-link.on-dark { color: var(--purple-light); }
.arrow-link.on-dark:hover { color: #fff; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: rgba(0,55,112,0.04) 0 1px 0;
}
.hdr-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--heading);
  font-feature-settings: "ss01";
  white-space: nowrap;
}
.brand svg { color: var(--purple); flex-shrink: 0; }
.brand.on-dark { color: #fff; }
.brand.on-dark svg { color: #fff; }

/* Nav links */
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; gap: 0; align-items: center; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--r6);
  font-size: 14px;
  font-weight: 400;
  color: var(--heading);
  font-feature-settings: "ss01";
  transition: background 0.16s var(--ease);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(6,27,49,0.05); color: var(--heading); }
.caret { font-size: 9px; opacity: 0.55; }

/* Mega Panel */
.has-mega { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: -16px;
  width: 480px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r6);
  box-shadow: var(--sh-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}
.mega-panel[hidden] { display: none; }
.mega-panel.open { opacity: 1; transform: none; }
.mega-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--r4);
  transition: background 0.15s var(--ease);
}
.mega-item:hover { background: var(--bg-subtle); }
.mega-item strong { font-size: 14px; font-weight: 400; color: var(--heading); }
.mega-item span   { font-size: 12px; font-weight: 300; color: var(--body); line-height: 1.4; }

.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-actions .nav-link { font-size: 14px; color: var(--label); }

/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  font-feature-settings: "ss01";
  color: var(--label);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r4);
  cursor: pointer;
  letter-spacing: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-toggle:hover {
  background: var(--bg-subtle);
  border-color: #c8d5e2;
  color: var(--heading);
}

.burger { display: none; width: 36px; height: 36px; border-radius: var(--r6);
          flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--heading); border-radius: 2px; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 88px 0 80px;
}

/* Large ruby-magenta glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-a {
  width: 680px; height: 540px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(249,107,238,0.40) 0%, rgba(234,34,97,0.22) 50%, transparent 75%);
}
.hero-glow-b {
  width: 500px; height: 420px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(83,58,253,0.22) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

/* Left copy */
.hero-text { max-width: 520px; }
.hero-text .t-display { margin: 8px 0 18px; }
.hero-desc { max-width: 500px; margin-bottom: 28px; }
.hero-desc b { color: var(--heading); font-weight: 400; }

.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.hero-stats li b {
  display: block;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.22px;
  color: var(--heading);
  line-height: 1.1;
}
.hero-stats li span {
  display: block;
  margin-top: 4px;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body);
  line-height: 1.3;
}

/* ── Dashboard mock ── */
.hero-dashboard { position: relative; }
.db-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.db-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.db-dots { display: inline-flex; gap: 5px; }
.db-dots i { width: 9px; height: 9px; border-radius: 50%; }
.db-dots i:nth-child(1) { background: #ff6057; }
.db-dots i:nth-child(2) { background: #ffbd2e; }
.db-dots i:nth-child(3) { background: #27c93f; }
.db-label {
  margin-left: auto;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  color: var(--body);
  letter-spacing: 0.03em;
}

.db-body { padding: 18px 20px; }
.db-meta {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body);
}
.db-amount {
  display: block;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--heading);
  line-height: 1.1;
  margin: 6px 0 4px;
}
.db-amount small { font-size: 18px; color: var(--body); }
.db-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  padding: 1px 6px;
  border-radius: var(--r4);
}
.db-badge.success {
  background: rgba(21,190,83,0.18);
  color: var(--green-text);
  border: 1px solid rgba(21,190,83,0.38);
}

.db-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.chip {
  font-size: 11px;
  font-weight: 400;
  padding: 2px 6px;
  border-radius: var(--r4);
  background: var(--white);
  border: 1px solid var(--border);
  color: #000;
}

.db-txns { border-top: 1px solid var(--border); }
.txn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--label);
  border-bottom: 1px solid var(--border);
}
.txn:last-child { border-bottom: 0; }
.txn .pos     { color: var(--green-text);  font-weight: 400; }
.txn .neg     { color: var(--ruby);        font-weight: 400; }
.txn .neutral { color: var(--heading);     font-weight: 400; }

.db-chart {
  margin-top: 10px;
  height: 52px;
  padding: 6px 0;
}
.db-chart svg { width: 100%; height: 100%; }

/* Floating cards */
.db-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r6);
  box-shadow: var(--sh-4);
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.float-label {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body);
}
.db-fx { right: -24px; top: -22px; min-width: 200px; }
.fx-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 12.5px; }
.fx-row em { font-style: normal; color: var(--body); }
.fx-row b  { color: var(--heading); font-weight: 400; }
.fx-row .up { color: var(--green-text); font-size: 10px; }
.fx-row .dn { color: var(--ruby);       font-size: 10px; }

.db-vcard {
  left: -28px; bottom: -22px;
  background: var(--brand-dark);
  border-color: transparent;
  box-shadow: var(--sh-4);
  min-width: 220px;
}
.db-vcard .float-label { color: rgba(255,255,255,0.50); }
.vcard-num { font-family: "Source Code Pro", ui-monospace, monospace; font-size: 14px; color: #fff; letter-spacing: 0.08em; }
.vcard-name { font-family: "Source Code Pro", ui-monospace, monospace; font-size: 10px; color: rgba(255,255,255,0.60); letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── Logo Wall ─────────────────────────────────────────────── */
.logo-wall {
  padding: 32px 0 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-label {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  opacity: 0.75;
  text-align: center;
  margin-bottom: 20px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--body);
  opacity: 0.55;
}

/* ─── Product Sections (split layout) ──────────────────────── */
.product-section { padding: 96px 0; }

/* Generic section padding — used by inner pages */
.section { padding: 96px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-copy   { order: 2; }
.split.reverse .split-visual { order: 1; }

.split-copy .t-section { margin: 8px 0 16px; }
.split-copy .t-body-lg { max-width: 500px; }

.feat-list {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--label);
  line-height: 1.5;
}
.feat-list.on-dark li { color: rgba(255,255,255,0.78); }
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
}
.feat-list.on-dark li::before { background: var(--purple-light); }

/* ── Panel Cards ── */
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  box-shadow: var(--sh-3);
  padding: 20px 22px;
}
.dark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: rgba(3,3,39,0.35) 0 30px 50px -20px,
              rgba(83,58,253,0.12) 0 14px 28px -14px;
}

.pcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dark-card .pcard-head { border-bottom-color: rgba(255,255,255,0.10); }

.badge-success {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--r4);
  background: rgba(21,190,83,0.20);
  color: var(--green-text);
  border: 1px solid rgba(21,190,83,0.38);
}

/* Account list */
.acct-list { display: flex; flex-direction: column; }
.acct {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.acct:last-child { border-bottom: 0; }
.flag { font-size: 20px; line-height: 1; }
.acct-info { display: flex; flex-direction: column; gap: 1px; }
.acct-info strong { font-size: 13.5px; font-weight: 400; color: var(--heading); }
.acct-info em { font-style: normal; font-size: 11.5px; color: var(--body); }

/* Payments grid */
.pay-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pm {
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  border-radius: var(--r4);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-feature-settings: "ss01";
}
.pay-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.pay-stats div { display: flex; flex-direction: column; gap: 3px; }
.pay-stats b {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.22px;
  color: #fff;
  font-feature-settings: "tnum";
}

/* FX table */
.fx-table { margin: 4px 0; }
.fxrow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.fxrow:last-child { border-bottom: 0; }
.fxrow em { font-style: normal; color: var(--body); }
.fxrow b  { font-weight: 400; color: var(--heading); }
.fxrow .up { color: var(--green-text); font-size: 11px; }
.fxrow .dn { color: var(--ruby); font-size: 11px; }
.fx-note { margin-top: 12px; font-size: 12px; color: var(--body); }
.fx-note b { color: var(--heading); font-weight: 400; }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--green-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-dot i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(21,190,83,0.60); }
  70%  { box-shadow: 0 0 0 8px rgba(21,190,83,0); }
  100% { box-shadow: 0 0 0 0   rgba(21,190,83,0); }
}

/* Card stack (for dark section) */
.card-stack { position: relative; height: 360px; }
.vcard {
  position: absolute;
  width: 320px;
  height: 195px;
  border-radius: var(--r8);
  padding: 20px 22px;
  color: #fff;
  box-shadow: rgba(3,3,39,0.40) 0 20px 40px -16px,
              rgba(0,0,0,0.18) 0 10px 20px -10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.vc-brand {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.vc-num {
  align-self: end;
  font-size: 15px;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.95);
}
.vc-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vc-foot em { font-style: normal; }
.vc-net { position: absolute; right: 18px; bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }

.vc-a {
  top: 0; left: 10px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1c1e54 100%);
  transform: rotate(-5deg);
  z-index: 1;
}
.vc-b {
  top: 90px; left: 80px;
  background: linear-gradient(135deg, #533afd 0%, #665efd 100%);
  transform: rotate(2deg);
  z-index: 3;
}
.vc-c {
  top: 185px; left: 20px;
  background: linear-gradient(135deg, #ea2261 10%, #f96bee 100%);
  transform: rotate(-2deg);
  z-index: 2;
}

/* ─── Why Section ───────────────────────────────────────────── */
.why-section { padding: 96px 0; border-top: 1px solid var(--border); }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head .t-section { margin-top: 8px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 24px 20px;
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.why-card:hover { box-shadow: var(--sh-3); border-color: var(--purple-soft); }
.why-icon {
  width: 38px; height: 38px;
  border-radius: var(--r6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-bg);
  color: var(--purple);
  margin-bottom: 14px;
}
.why-icon svg { width: 18px; height: 18px; }
.why-card .t-subhead { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14px; font-weight: 300; color: var(--body); line-height: 1.55; }

/* ─── Compliance Section ────────────────────────────────────── */
.compliance-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.compliance-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 350px at 90% 110%, rgba(249,107,238,0.18), transparent 60%),
    radial-gradient(800px 320px at 5%  -10%, rgba(83,58,253,0.25),  transparent 55%);
  pointer-events: none;
}
.compliance-section > .container { position: relative; z-index: 1; }

.sec-head .t-body-lg.on-dark { color: rgba(255,255,255,0.70); }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}
.c-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r6);
  padding: 22px 20px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.c-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.20); }
.c-card .t-subhead { font-size: 17px; margin-bottom: 8px; }
.c-card p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.68); line-height: 1.55; }

.compliance-note {
  margin-top: 36px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  text-align: center;
  font-feature-settings: "ss01";
}

/* ─── Developer Section ─────────────────────────────────────── */
.dev-section { padding: 96px 0; }

.dev-links { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }

/* Code card (dark internally on white section) */
.code-card {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r8);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.code-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-filename {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
}
.code-copy-btn {
  margin-left: auto;
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r4);
  background: none;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.code-copy-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }

.code-body {
  margin: 0;
  padding: 18px 20px;
  font-family: "Source Code Pro", "SFMono-Regular", ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 2.0;
  color: #e2eaf5;
  overflow-x: auto;
  tab-size: 2;
}
/* Syntax tokens */
.ck { color: #c8a2ff; font-weight: 700; }   /* keyword */
.cf { color: #8be1ff; }                      /* function */
.cs { color: #9ee493; }                      /* string */
.cn { color: #ffb86b; }                      /* number */
.cc { color: #7a8a9e; font-style: italic; }  /* comment */

/* ─── Quotes ────────────────────────────────────────────────── */
.quotes-section { padding: 96px 0; border-top: 1px solid var(--border); }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 26px 24px;
  box-shadow: var(--sh-1);
  transition: box-shadow 0.22s var(--ease);
}
.quote-card:hover { box-shadow: var(--sh-3); }
.quote-card blockquote {
  margin: 0 0 16px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.60;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.quote-card figcaption {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.03em;
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Ruby-Magenta gradient orbs */
.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.cta-glow-a {
  width: 700px; height: 500px;
  top: -160px; right: -150px;
  background: radial-gradient(circle, rgba(234,34,97,0.45) 0%, rgba(249,107,238,0.28) 50%, transparent 75%);
}
.cta-glow-b {
  width: 550px; height: 420px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(83,58,253,0.30) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner .eyebrow.on-dark { margin-bottom: 16px; }
.cta-inner .t-display-lg.on-dark { margin-bottom: 14px; }
.cta-inner .t-body-lg.on-dark { color: rgba(255,255,255,0.75); }
.cta-actions { display: inline-flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand-full {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin: 2px 0 4px;
}
.foot-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 240px;
  line-height: 1.55;
}
.locale-btn {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r4);
  cursor: pointer;
  transition: background 0.16s var(--ease);
  background: none;
  font-feature-settings: "ss01";
}
.locale-btn:hover { background: rgba(255,255,255,0.06); color: #fff; }

.foot-col h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.40);
  font-family: "Source Code Pro", ui-monospace, monospace;
  margin-bottom: 14px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 9px; }
.foot-col a {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  transition: color 0.16s var(--ease);
}
.foot-col a:hover { color: #fff; }

.foot-legal { padding-top: 20px; }
.foot-legal p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 4px; }
.foot-disclaimer { max-width: 860px; color: rgba(255,255,255,0.33) !important; }

/* ═══════════════════════════════════════════════════════════════
   INNER PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Page Hero (inner pages — smaller than homepage hero) ─── */
.page-hero {
  padding: 80px 0 68px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-glow-a { width: 500px; height: 350px; top: -120px; right: -80px; }
.page-hero .hero-glow-b { width: 400px; height: 280px; bottom: -80px; left: -60px; }
.page-hero-content { max-width: 740px; }
.page-hero-content .eyebrow { margin-bottom: 12px; }
.page-hero-content .t-display { margin-bottom: 20px; }
.page-hero-content .t-body-lg { margin-bottom: 0; }
.page-hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.page-hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.page-hero-stats b {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--heading);
  font-feature-settings: "tnum";
}
.page-hero-stats span { font-size: 13px; color: var(--body); }
.page-hero.bg-dark .page-hero-stats { border-top-color: rgba(255,255,255,0.10); }
.page-hero.bg-dark .page-hero-stats b { color: #fff; }
.page-hero.bg-dark .page-hero-stats span { color: rgba(255,255,255,0.60); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--body);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--body); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb sep { opacity: 0.45; }
.breadcrumb span { color: var(--heading); }
.breadcrumb.on-dark a, .breadcrumb.on-dark sep { color: rgba(255,255,255,0.50); }
.breadcrumb.on-dark span { color: rgba(255,255,255,0.90); }

/* ─── Feature checkmark list ────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 11px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.5;
}
.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-bg);
  color: var(--purple);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}
.feature-list.on-dark li { color: rgba(255,255,255,0.75); }
.feature-list.on-dark li::before { background: rgba(83,58,253,0.25); color: var(--purple-light); }

/* ─── Capability grid cards ─────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 24px 20px;
  box-shadow: var(--sh-1);
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.cap-card:hover { box-shadow: var(--sh-3); border-color: var(--purple-soft); }
.cap-num {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cap-card h3 { font-size: 17px; font-weight: 300; color: var(--heading); margin-bottom: 8px; }
.cap-card p { font-size: 14px; font-weight: 300; color: var(--body); line-height: 1.55; }
.cap-card.on-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}
.cap-card.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.cap-card.on-dark .cap-num { color: var(--purple-light); }
.cap-card.on-dark h3 { color: #fff; }
.cap-card.on-dark p { color: rgba(255,255,255,0.65); }

/* ─── Steps / Integration process ──────────────────────────── */
.steps-section { padding: 96px 0; }
.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: 0; }
.step-num {
  width: 34px; height: 34px;
  border-radius: var(--r6);
  background: var(--purple-bg);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  font-feature-settings: "tnum";
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 { font-size: 18px; font-weight: 300; color: var(--heading); margin-bottom: 6px; }
.step-content p { font-size: 14px; font-weight: 300; color: var(--body); line-height: 1.55; }
.bg-dark .step-item { border-color: rgba(255,255,255,0.10); }
.bg-dark .step-num { background: rgba(83,58,253,0.25); color: var(--purple-light); }
.bg-dark .step-content h3 { color: #fff; }
.bg-dark .step-content p { color: rgba(255,255,255,0.65); }

/* ─── Pricing section ───────────────────────────────────────── */
.pricing-section { padding: 96px 0; }
.pricing-head { text-align: center; max-width: 600px; margin: 0 auto 52px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.22s var(--ease);
}
.pricing-tier:hover { box-shadow: var(--sh-3); }
.pricing-tier.featured {
  border-color: var(--purple);
  box-shadow: var(--sh-3);
}
.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--r4);
  font-family: "Source Code Pro", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-tier-name {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--label);
  font-family: "Source Code Pro", ui-monospace, monospace;
  margin-bottom: 12px;
}
.pricing-amount {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.8px;
  color: var(--heading);
  font-feature-settings: "tnum";
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-amount sup { font-size: 20px; letter-spacing: 0; vertical-align: super; }
.pricing-amount sub {
  font-size: 14px;
  letter-spacing: 0;
  vertical-align: baseline;
  color: var(--body);
  font-weight: 300;
}
.pricing-amount.custom { font-size: 26px; letter-spacing: -0.4px; }
.pricing-desc { font-size: 13px; color: var(--body); margin: 10px 0 22px; line-height: 1.55; }
.pricing-divider { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.4;
}
.pricing-features li::before {
  content: "✓";
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.muted { color: var(--border); }
.pricing-features li.muted::before { color: var(--border); content: "—"; }
.pricing-cta {
  margin-top: 24px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-section { padding: 96px 0; border-top: 1px solid var(--border); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 52px;
  margin-top: 48px;
}
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq-q { font-size: 16px; font-weight: 400; color: var(--heading); margin-bottom: 8px; line-height: 1.4; }
.faq-a { font-size: 14px; font-weight: 300; color: var(--body); line-height: 1.65; }

/* ─── Legal document layout ─────────────────────────────────── */
.legal-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.legal-hero .eyebrow { margin-bottom: 10px; }
.legal-hero .t-display-lg { max-width: 560px; }
.legal-effective {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 16px;
}
.legal-page { padding: 64px 0 96px; }
.legal-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 80px;
}
.legal-toc-title {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--body);
  margin-bottom: 14px;
}
.legal-toc a {
  display: block;
  padding: 5px 0 5px 10px;
  font-size: 13px;
  color: var(--body);
  border-left: 2px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.legal-toc a:hover { color: var(--purple); border-left-color: var(--purple); }
.legal-body { padding: 8px 0 0; }
.legal-intro {
  font-size: 17px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 300;
  color: var(--heading);
  margin: 36px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.legal-body h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.80;
  margin-bottom: 14px;
}
.legal-body ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-body ul li { font-size: 15px; color: var(--body); line-height: 1.65; }
.legal-body strong { color: var(--heading); font-weight: 400; }
.legal-body a { color: var(--purple); }
.legal-body a:hover { color: var(--purple-hover); }

/* ─── Contact page ──────────────────────────────────────────── */
.contact-section { padding: 80px 0 96px; }
/* 4-column info grid (no form) */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-blocks .contact-info-block {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
  transition: box-shadow 0.22s var(--ease);
}
.contact-blocks .contact-info-block:hover { box-shadow: var(--sh-3); }
/* legacy two-col grid (kept for reference) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-block h3 {
  font-size: 17px;
  font-weight: 300;
  color: var(--heading);
  margin-bottom: 8px;
}
.contact-info-block p,
.contact-info-block a { font-size: 15px; color: var(--body); line-height: 1.65; }
.contact-info-block a:hover { color: var(--purple); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 400; color: var(--label); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  font-feature-settings: "ss01";
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r6);
  outline: none;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(83,58,253,0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* ─── News / Blog ───────────────────────────────────────────── */
.news-section { padding: 80px 0 96px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  overflow: hidden;
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.news-card:hover { box-shadow: var(--sh-3); border-color: var(--purple-soft); }
.news-thumb {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.news-thumb-accounts  { background: linear-gradient(135deg, rgba(83,58,253,0.08), rgba(83,58,253,0.16)); }
.news-thumb-acquiring { background: linear-gradient(135deg, rgba(28,30,84,0.08), rgba(83,58,253,0.12)); }
.news-thumb-fx        { background: linear-gradient(135deg, rgba(21,190,83,0.08), rgba(83,58,253,0.10)); }
.news-thumb-cards     { background: linear-gradient(135deg, rgba(234,34,97,0.08), rgba(249,107,238,0.10)); }
.news-thumb-company   { background: linear-gradient(135deg, rgba(83,58,253,0.10), rgba(28,30,84,0.16)); }
.news-body { padding: 20px; }
.news-tag {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 17px;
  font-weight: 300;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-body p { font-size: 13.5px; color: var(--body); line-height: 1.55; margin-bottom: 14px; }
.news-date { font-size: 12px; color: var(--body); }
.news-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.news-featured .news-thumb { height: 100%; min-height: 240px; }
.news-featured .news-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.news-featured .news-body h3 { font-size: 22px; letter-spacing: -0.22px; margin-bottom: 12px; }
.news-featured .news-body p { font-size: 15px; }

/* ─── About / Values / Team ─────────────────────────────────── */
.about-section { padding: 80px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
  transition: box-shadow 0.22s var(--ease);
}
.value-card:hover { box-shadow: var(--sh-3); }
.value-icon { font-size: 28px; margin-bottom: 14px; }
.value-card h3 { font-size: 18px; font-weight: 300; color: var(--heading); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--body); line-height: 1.6; }

.team-section { padding: 80px 0; border-top: 1px solid var(--border); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  text-align: center;
  padding: 28px 16px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
  transition: box-shadow 0.22s var(--ease);
}
.team-card:hover { box-shadow: var(--sh-3); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bg), rgba(83,58,253,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}
.team-card h3 { font-size: 16px; font-weight: 400; color: var(--heading); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--purple); margin-bottom: 8px; }
.team-card p { font-size: 12.5px; color: var(--body); line-height: 1.5; }

/* ─── Careers ───────────────────────────────────────────────── */
.jobs-section { padding: 80px 0; }
.jobs-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.job-item:hover { box-shadow: var(--sh-3); border-color: var(--purple-soft); }
.job-info h3 { font-size: 16px; font-weight: 400; color: var(--heading); margin-bottom: 6px; }
.job-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.job-tag {
  font-family: "Source Code Pro", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--purple-bg);
  color: var(--purple);
  padding: 2px 8px;
  border-radius: var(--r4);
}
.job-loc { font-size: 13px; color: var(--body); }
.job-arrow { color: var(--purple); font-size: 18px; flex-shrink: 0; }

/* ─── Solutions page components ─────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
}
.pain-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.pain-card h3 { font-size: 16px; font-weight: 400; color: var(--heading); margin-bottom: 6px; }
.pain-card p { font-size: 14px; color: var(--body); line-height: 1.55; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.solution-card {
  padding: 24px 20px;
  border-radius: var(--r8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.solution-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.20); }
.solution-card .why-icon { background: rgba(83,58,253,0.20); color: var(--purple-light); }
.solution-card h3 { font-size: 16px; font-weight: 300; color: #fff; margin: 10px 0 8px; }
.solution-card p { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.55; }

/* ─── Related products bar ──────────────────────────────────── */
.related-section { padding: 72px 0; border-top: 1px solid var(--border); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.related-card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r8);
  background: var(--white);
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  text-decoration: none;
  display: block;
}
.related-card:hover { box-shadow: var(--sh-3); border-color: var(--purple-soft); }
.related-card .eyebrow { font-size: 11px; margin-bottom: 4px; }
.related-card h3 { font-size: 16px; font-weight: 300; color: var(--heading); margin-bottom: 6px; }
.related-card p { font-size: 13px; color: var(--body); line-height: 1.5; margin-bottom: 12px; }
.related-card .arrow-link { font-size: 13px; }

/* ─── Responsive: inner page additions ─────────────────────── */
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-blocks { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-column: span 2; grid-template-columns: 1fr; }
  .news-featured .news-thumb { height: 200px; }
  .faq-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero-stats { gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: span 1; }
  .related-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-blocks { grid-template-columns: 1fr; }
  .jobs-section, .about-section, .team-section,
  .news-section, .contact-section { padding: 56px 0; }
  .pricing-section, .faq-section, .steps-section { padding: 60px 0; }
}

/* ─── Reveal animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .t-display { font-size: 44px; letter-spacing: -0.96px; line-height: 1.08; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 100%; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy   { order: 1; }
  .split.reverse .split-visual { order: 2; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid .foot-brand { grid-column: span 3; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 56px; }
  .t-display { font-size: 32px; letter-spacing: -0.5px; }
  .t-display-lg { font-size: 28px; letter-spacing: -0.4px; }
  .t-section { font-size: 24px; letter-spacing: -0.3px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }

  .db-fx { right: -8px; top: -14px; }
  .db-vcard { left: -8px; bottom: -14px; }

  .why-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .foot-brand { grid-column: span 2; }

  .product-section,
  .why-section,
  .compliance-section,
  .dev-section,
  .quotes-section,
  .cta-section { padding: 60px 0; }

  .card-stack { height: 340px; }
  .vcard { width: 270px; height: 170px; }
  .vc-a { left: 0; }
  .vc-b { left: 50px; top: 80px; }
  .vc-c { left: 10px; top: 170px; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost-light { width: 100%; justify-content: center; }
}
