/* ============================================================
   catalog.app landing — styles
   Design: white bg · navy text · cobalt accent · Golos Text
   ============================================================ */

/* -------- Reset & base -------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: 'Golos Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(15px, 0.9vw + 9px, 17px);
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 1100px 600px at 15% 8%, rgba(36, 84, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 90% 25%, rgba(122, 92, 255, 0.07), transparent 60%),
    radial-gradient(ellipse 1200px 600px at 50% 80%, rgba(196, 240, 234, 0.18), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga', 'calt';
  font-variant-numeric: proportional-nums;
  font-optical-sizing: auto;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

strong {
  font-weight: 700;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.4em;
}

code,
pre,
.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

/* -------- Design tokens -------- */

:root {
  /* Palette */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-soft: #f0f3f9;
  --bg-accent: #eef3ff;
  --ink: #0f172a;
  --ink-dark: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #526075;
  --border: #e5e9f0;
  --border-soft: #eef1f6;
  --border-strong: #cbd5e1;
  --accent: #2454ff;
  --accent-hover: #1a3fd1;
  --accent-soft: #e6edff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-btn: 0 1px 0 rgba(255,255,255,0.12) inset, 0 1px 2px rgba(36,84,255,0.24), 0 4px 10px rgba(36,84,255,0.18);
  --shadow-btn-hover: 0 1px 0 rgba(255,255,255,0.14) inset, 0 2px 4px rgba(36,84,255,0.26), 0 8px 20px rgba(36,84,255,0.22);

  /* Typography scale */
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 17px;
  --lh-reading: 1.65;
  --fw-regular: 400;
  --fw-emphasis: 600;
  --fw-display: 600;
  --fw-numeric: 700;

  /* Spacing scale (4/8/12/16/24/32/40/48/64/80/96) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 960px;
  --gutter: 24px;
  --section-y: 88px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
}

/* -------- Typography -------- */

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: var(--fw-display);
  letter-spacing: -0.012em;
  line-height: 1.1;
  text-wrap: balance;
  font-synthesis: none;
}

h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--fw-emphasis);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
  font-feature-settings: "case" 1, "kern";
}

.lead {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-secondary);
}

mark {
  background: linear-gradient(180deg, transparent 58%, rgba(255, 222, 84, 0.55) 58%);
  color: inherit;
  padding: 0 1px;
  border-radius: 1px;
}

.text-muted {
  color: var(--ink-muted);
}

.text-small {
  font-size: 14px;
}

/* -------- Layout -------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-y) 0;
  scroll-margin-top: 80px;
}

section.section-alt {
  /* unified canvas — inherits page background */
}

section.section-tinted {
  /* unified canvas — inherits page background */
}

section.section-tight {
  --section-y: 64px;
}

/* Continuation sections (same topic as previous) — tight top padding */
section#roles {
  padding-top: 0;
}

section.section-airy {
  --section-y: 112px;
}

section.section-dark {
  background: linear-gradient(135deg, var(--ink-dark), #1a2238);
  color: #cbd5e1;
  padding: 72px 0;
}

section.section-dark.section-airy {
  padding: 112px 0;
}

section.section-dark a { color: #93b4ff; }
section.section-dark a:hover { color: #c9d7ff; }
section.section-dark strong { color: #fff; }
section.section-dark h1,
section.section-dark h2,
section.section-dark h3,
section.section-dark h4 { color: #fff; }
section.section-dark .section-header { border-top-color: rgba(255,255,255,0.1); }
section.section-dark .section-header .eyebrow { color: #93b4ff; }

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-top: 0;
}


.section-header h2 + p {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 19px;
  line-height: 1.55;
}

.hero-inner .eyebrow { color: var(--accent); }

/* -------- Buttons -------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 14px 8px;
}

.btn-ghost:hover {
  color: var(--accent-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(36, 84, 255, 0.3);
  outline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid rgba(36, 84, 255, 0.5);
  outline-offset: 2px;
  border-radius: 2px;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 600;
}

/* -------- Header / Nav -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  color: var(--ink);
}

.nav-logo-mark-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: baseline;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  color: var(--ink-secondary);
  font-size: 15px;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.nav-links a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-actions .btn {
  padding: 9px 16px;
  font-size: 14px;
}

/* -------- Utilities -------- */

.stack-8 > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }

.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* =============================================================
   HERO
   ============================================================= */

.hero {
  padding-top: 56px;
  padding-bottom: 88px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1000px;
  text-align: center;
}

.hero-inner .eyebrow {
  margin-bottom: 20px;
}

.hero-inner h1 {
  max-width: 960px;
  margin: 0 auto 24px;
  text-wrap: pretty;
  background: linear-gradient(120deg, #f0b400 0%, #f06400 18%, #e82000 32%, #d0148c 55%, #5020b0 85%, #1400a0 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-drift 14s ease-in-out infinite;
}

@keyframes grad-drift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner h1,
  .stat-value,
  .data-stat-value { animation: none; }
}

.hero-inner .lead {
  max-width: 780px;
  margin: 0 auto 32px;
  color: var(--ink-secondary);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-cta-note {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0;
}

/* Stat bar */

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 64px;
  margin-bottom: 64px;
}

.stat {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum", "kern";
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: linear-gradient(90deg, #5020b0, #d0148c, #e82000, #f0a000, #e82000, #d0148c, #5020b0);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-slide 22s ease-in-out infinite alternate;
}

@keyframes grad-slide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.stat-bar .stat:nth-child(1) .stat-value { animation-delay: 0s !important; }
.stat-bar .stat:nth-child(2) .stat-value { animation-delay: -5.5s !important; }
.stat-bar .stat:nth-child(3) .stat-value { animation-delay: -11s !important; }
.stat-bar .stat:nth-child(4) .stat-value { animation-delay: -16.5s !important; }


.stat-unit {
  font-size: 0.55em;
  font-weight: var(--fw-emphasis);
  letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: var(--ink-muted);
  color: var(--ink-muted);
}

.stat-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Hero USP list */

.hero-usp {
  margin: 0 0 64px;
}

.hero-usp-intro {
  font-size: 17px;
  color: var(--ink-secondary);
  margin: 0 0 32px;
  max-width: 780px;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.usp-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}

.usp-num {
  font-size: 14px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.usp-num::before {
  content: "0";
}

.usp-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}

.usp-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
}

/* Banking plate */

.banking-plate {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  color: #e2e8f0;
  font-size: var(--fs-base);
  line-height: 1.55;
}

.banking-plate strong {
  color: #fff;
}

.banking-plate a {
  color: #93b4ff;
  text-decoration: underline;
  text-decoration-color: rgba(147, 180, 255, 0.4);
  text-underline-offset: 2px;
}

.banking-plate a:hover {
  color: #c9d7ff;
}

.banking-plate-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(36, 84, 255, 0.18);
  color: #a6c0ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Integration logo wall */

.logo-wall {
  margin: 0 auto 48px;
  padding: 48px 0;
}

.logo-wall-label {
  font-size: 12px;
  font-weight: var(--fw-emphasis);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  margin-bottom: 32px;
  font-feature-settings: "case" 1, "kern";
}

.logo-wall-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wall-row + .logo-wall-row {
  margin-top: 36px;
}

.logo-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

.logo-cell img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.logo-cell:hover img {
  transform: scale(1.05);
}


/* Suppliers wall — same layout as marketplaces, desaturated logos */

.logo-wall-suppliers {
  margin: 0 auto 64px;
  padding: 32px 0;
}

.logo-wall-suppliers .logo-wall-row + .logo-wall-row {
  margin-top: 28px;
}

.logo-wall-suppliers .logo-cell img {
  height: 44px;
  max-width: 130px;
  filter: grayscale(1);
  opacity: 0.6;
}

.logo-wall-suppliers .logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.logo-wall-suppliers .logo-wall-row:last-of-type {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.logo-wall-footnote {
  margin: 32px 0 0;
  max-width: 780px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.logo-wall-footnote a {
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.15s ease;
}

.logo-wall-footnote a:hover {
  border-bottom-color: var(--ink);
}


.logo-cell-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.logo-cell-text:hover {
  color: var(--ink);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-emphasis);
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* 3 benefit cards */

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.benefit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.benefit-card p {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* =============================================================
   SECTION 1 — PROBLEM
   ============================================================= */

.problem-list {
  margin-bottom: 64px;
}

.problem-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.problem-row:last-child {
  border-bottom: 1px solid var(--border);
}

.problem-row-head {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.problem-row-num {
  font-size: 14px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.problem-row-num::before {
  content: "0";
}

.problem-row h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.problem-row p {
  margin: 0;
  max-width: 720px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.subhead-center {
  font-size: 22px;
  margin: 48px 0 24px;
  color: var(--ink);
}

.subhead-section {
  font-size: 22px;
  margin: 72px 0 32px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 600;
}

/* Compare table */

.compare-table {
  margin-bottom: 32px;
}

.compare-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 80px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.compare-row:last-child {
  border-bottom: 1px solid var(--border);
}

.compare-identity {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 16px;
}

.compare-identity strong {
  font-weight: 600;
}

.compare-desc {
  max-width: 720px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.compare-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: var(--fw-emphasis);
  line-height: 1;
}

.compare-mark-bad {
  background: #fde2e2;
  color: #c23434;
}

.compare-mark-good {
  background: #d7f5e3;
  color: #0e8a46;
}

.compare-row.compare-head {
  padding: 16px 0;
  border-top: none;
}

.compare-row.compare-head .compare-identity,
.compare-row.compare-head .compare-desc {
  font-size: 14px;
  font-weight: var(--fw-regular);
  color: var(--ink-muted);
  letter-spacing: 0;
  text-transform: none;
}

.compare-highlight {
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  border-radius: 8px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.compare-highlight .compare-identity strong {
  color: var(--accent);
}

.problem-footnote {
  max-width: 720px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================
   SECTION 2 — WHAT
   ============================================================= */

.pipeline {
  list-style: none;
  padding: 16px 0 0;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong) 8%, var(--border-strong) 92%, transparent);
  z-index: 0;
}

.pipeline-step {
  flex: 1;
  padding: 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.pipeline-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.pipeline-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pipeline-meta {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
  max-width: 160px;
}

.pipeline-arrow {
  display: none;
}

/* Animated rail fill — activates when .pipeline has .play class */
.pipeline::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 3%;
  width: 94%;
  height: 3px;
  background: linear-gradient(90deg, #f0b400, #f06400 25%, #e82000 45%, #d0148c 65%, #5020b0 85%, #1400a0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  border-radius: 2px;
}

.pipeline.play::after {
  transform: scaleX(1);
}

.pipeline-num {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pipeline.play .pipeline-step:nth-child(1) .pipeline-num { transition-delay: 100ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.pipeline.play .pipeline-step:nth-child(2) .pipeline-num { transition-delay: 400ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.pipeline.play .pipeline-step:nth-child(3) .pipeline-num { transition-delay: 700ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.pipeline.play .pipeline-step:nth-child(4) .pipeline-num { transition-delay: 1000ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.pipeline.play .pipeline-step:nth-child(5) .pipeline-num { transition-delay: 1300ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.pipeline.play .pipeline-step:nth-child(6) .pipeline-num { transition-delay: 1600ms; background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }

.step-details {
}

.step-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.step-row:last-child {
  border-bottom: 1px solid var(--border);
}

.step-row-head {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.step-row-num {
  font-size: 14px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.step-row-num::before {
  content: "0";
}

.step-row h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-row p {
  margin: 0;
  max-width: 720px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.step-row strong {
  color: var(--ink);
}

/* =============================================================
   SECTION 3 — FOR WHOM
   ============================================================= */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.profile-card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.profile-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Color variants per profile card (nth-child on .profile-grid) */
.profile-grid > .profile-card:nth-child(1) .profile-icon {
  background: rgba(36, 84, 255, 0.10);
  color: #2454ff;
}

.profile-grid > .profile-card:nth-child(2) .profile-icon {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}

.profile-grid > .profile-card:nth-child(3) .profile-icon {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.profile-grid > .profile-card:nth-child(4) .profile-icon {
  background: rgba(217, 119, 6, 0.14);
  color: #c2570a;
}

.profile-grid > .profile-card:nth-child(5) .profile-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.profile-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.profile-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.profile-card p strong {
  color: var(--ink);
}

.profile-who strong {
  color: var(--accent);
}

.profile-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
}

.profile-bullets li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.profile-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.profile-case {
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 14.5px !important;
}

.profile-stack {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px !important;
  color: var(--ink-muted) !important;
}

.profile-stack span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11.5px;
  margin-right: 6px;
}

/* "Not for us" card variant (inside profile-grid) */

.profile-card-not {
  background: var(--bg-alt);
  border-style: dashed;
  box-shadow: none;
}

.profile-card-not:hover {
  box-shadow: none;
  border-color: var(--border-strong);
}

.profile-card-not .profile-icon {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-muted);
}

.profile-bullets-not li::before {
  background: var(--ink-muted);
}

.profile-bullets-not li strong {
  color: var(--ink);
}

/* legacy .not-for-us — kept for BC if referenced elsewhere */
.not-for-us {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 36px;
  background: #fff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

.not-for-us h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.not-for-us h3::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--ink-muted);
  display: block;
}

.not-for-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.not-for-us li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.not-for-us li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
  font-weight: 600;
}

.not-for-us li strong {
  color: var(--ink);
}

/* =============================================================
   SECTION 4 — REVIEWS
   ============================================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reviews-grid > .review-card:last-child {
  grid-column: 1 / -1;
}

.review-card {
  margin: 0;
  padding: 92px 40px 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.review-card > * { position: relative; z-index: 1; }

/* Decorative accent — spans the whole card, mask shapes it into a soft top-right bloom.
   Fixed px sizes keep the bloom shape consistent across cards with different aspect ratios. */
.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle 250px at 100% 0%, #000 0%, transparent 100%);
          mask-image: radial-gradient(circle 250px at 100% 0%, #000 0%, transparent 100%);
}

/* 1 — soft diagonal light streaks on warm gradient */
.reviews-grid > .review-card:nth-child(1)::after {
  background:
    repeating-linear-gradient(135deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.28) 18px 24px,
      transparent 28px 54px),
    repeating-linear-gradient(115deg,
      transparent 0 32px,
      rgba(255, 255, 255, 0.18) 40px 48px,
      transparent 56px 120px),
    linear-gradient(120deg, #f0a000 0%, #e82000 45%, #d0148c 100%);
}

/* 2 — soft diagonal bands (cool magenta-violet) */
.reviews-grid > .review-card:nth-child(2)::after {
  background: repeating-linear-gradient(
    135deg,
    rgba(208, 20, 140, 0.9) 0 18px,
    rgba(112, 48, 192, 0.9) 18px 36px
  );
}

/* 3 — abstract: large soft overlapping blobs */
.reviews-grid > .review-card:nth-child(3)::after {
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 32, 0, 0.95) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(208, 20, 140, 0.95) 0%, transparent 40%),
    radial-gradient(circle at 95% 65%, rgba(112, 48, 192, 0.95) 0%, transparent 35%);
}

/* 4 — dot grid (warm amber) */
.reviews-grid > .review-card:nth-child(4)::after {
  background:
    radial-gradient(circle, #f0a000 2.5px, transparent 3px) 0 0 / 22px 22px,
    linear-gradient(135deg, rgba(240, 160, 0, 0.18), rgba(232, 32, 0, 0.18));
}

/* 5 — featured NDA review (full-width): larger conic ribbon */
.reviews-grid > .review-card:nth-child(5) {
  padding-right: 240px;
}
.reviews-grid > .review-card:nth-child(5)::after {
  -webkit-mask-image: radial-gradient(circle 320px at 100% 0%, #000 0%, transparent 100%);
          mask-image: radial-gradient(circle 320px at 100% 0%, #000 0%, transparent 100%);
  background: conic-gradient(
    from 220deg at 100% 0%,
    #f0a000 0deg,
    #e82000 60deg,
    #d0148c 140deg,
    #5020b0 200deg,
    #f0a000 360deg
  );
}

.review-card::before {
  content: "\00AB";
  position: absolute;
  top: 10px;
  left: 28px;
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: inherit;
  pointer-events: none;
}

.review-card p {
  position: relative;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.review-card p:first-of-type {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.review-card p:last-of-type {
  margin-bottom: 28px;
}

.review-card footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-card footer strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.review-card footer strong::before {
  content: "— ";
  color: var(--ink-muted);
}

.review-card footer span {
  color: var(--ink-muted);
  font-size: 13.5px;
}

/* =============================================================
   SECTION 5 — FUNCTIONS
   ============================================================= */

.role-block {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.role-block:first-of-type {
  padding-top: 0;
  border-top: none;
}

.role-block:last-of-type {
  border-bottom: 1px solid var(--border);
}

.role-label {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.role-num {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.role-label h3 {
  font-size: 22px;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.role-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}

.function-card {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.function-card + .function-card {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.function-card h4 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.function-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.function-card p strong {
  color: var(--ink);
}

.function-card-accent h4 {
  color: var(--accent);
}

.function-extra {
  margin-top: 48px;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.function-extra h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--ink);
}

.extra-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}

.extra-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

.extra-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
}

/* =============================================================
   SECTION 6 — INTEGRATIONS
   ============================================================= */

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tab-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: var(--fw-emphasis);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tab-pill:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.tab-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.integrations-grid:not([data-active-tab="all"]) .integration-card { display: none; }
.integrations-grid[data-active-tab="mp"]  .integration-card[data-tab="mp"],
.integrations-grid[data-active-tab="b2b"] .integration-card[data-tab="b2b"],
.integrations-grid[data-active-tab="ai"]  .integration-card[data-tab="ai"],
.integrations-grid[data-active-tab="fx"]  .integration-card[data-tab="fx"],
.integrations-grid[data-active-tab="api"] .integration-card[data-tab="api"] {
  display: revert;
}

.integration-card {
  padding: 28px 30px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.integration-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}


.integration-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.integration-num {
  flex-shrink: 0;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.integration-head h3 {
  margin: 0;
  font-size: 19px;
}

.integration-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.integration-list li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.integration-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.integration-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.integration-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 8px 0;
}

.integration-text strong {
  color: var(--ink);
}

/* Split layout — ingest vs distribute */
.integrations-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.integrations-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.integrations-col-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.integrations-col-eyebrow {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.integrations-col-arrow {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* =============================================================
   SECTION 7 — UNDER THE HOOD
   ============================================================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-block {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-block:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

section.section-dark .tech-block {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #cbd5e1;
}

section.section-dark .tech-block h3 { color: #fff; }
section.section-dark .tech-block p { color: #cbd5e1; }
section.section-dark .tech-block p strong { color: #fff; }

section.section-dark .tech-list li {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

section.section-dark .tech-list li::before { color: #93b4ff; }

section.section-dark .tech-block:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.tech-block-wide {
  grid-column: 1 / -1;
}

.tech-block h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.tech-block p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0 0 12px;
}

.tech-block p:last-child {
  margin-bottom: 0;
}

.tech-block p strong {
  color: var(--ink);
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: tech;
}

.tech-list li {
  position: relative;
  padding: 16px 18px 18px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-secondary);
  counter-increment: tech;
  margin: 0;
}

.tech-list li::before {
  content: counter(tech);
  display: block;
  font-size: 13px;
  color: var(--accent);
  font-weight: var(--fw-display);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.tech-list li strong {
  color: var(--ink);
  display: block;
}

.tech-footer {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px !important;
  color: var(--ink-muted) !important;
}

/* Metrics */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.metric {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 32px;
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum", "kern";
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-unit {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: var(--fw-regular);
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.35;
}

/* Hosting options */

.hosting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.hosting-option {
  padding: 24px 26px;
  background: var(--bg-alt);
  border-radius: 10px;
}

.hosting-option h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--accent);
}

.hosting-option p {
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: var(--ink-secondary);
}

.section-dark .hosting-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark .hosting-option h4 {
  color: #fff;
}

.section-dark .hosting-option p {
  color: #9ba8bd !important;
}

/* =============================================================
   SECTION 8 — WHERE
   ============================================================= */

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.country-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.country-flag {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: var(--fw-emphasis);
  letter-spacing: 0.04em;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.country-ru,
.country-by,
.country-kz {
  background: var(--accent-soft);
  color: var(--accent);
}

.country-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.country-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.country-mp {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.country-mp-label {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-emphasis);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.where-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
  padding: 48px 0 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.where-block h4 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.where-block p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* =============================================================
   SECTION 9 — DATA
   ============================================================= */

.data-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.data-stat {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.data-stat:last-child {
  border-right: none;
}

.data-stat-value {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: var(--fw-numeric);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum", "kern";
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: linear-gradient(90deg, #5020b0, #d0148c, #e82000, #f0a000, #e82000, #d0148c, #5020b0);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-slide 22s ease-in-out infinite alternate;
}

.data-stats > .data-stat:nth-child(1) .data-stat-value { animation-delay: -2s !important; }
.data-stats > .data-stat:nth-child(2) .data-stat-value { animation-delay: -9s !important; }
.data-stats > .data-stat:nth-child(3) .data-stat-value { animation-delay: -16s !important; }


.data-stat-value small {
  font-size: 0.55em;
  font-weight: var(--fw-emphasis);
  letter-spacing: 0;
  margin-left: 2px;
  background: none;
  -webkit-text-fill-color: var(--ink-muted);
  color: var(--ink-muted);
}

.data-stat-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.data-parts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.data-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  margin-bottom: 48px;
  padding: 0;
}

.data-features .data-feature {
  padding: 0;
  border-top: none;
}

.data-asset-note {
  padding: 20px 24px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  margin-bottom: 32px;
}

.data-asset-note p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.data-asset-note strong {
  color: var(--ink);
}

.data-asset-note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(36, 84, 255, 0.35);
  transition: border-color 0.15s ease;
}

.data-asset-note a:hover {
  border-bottom-color: var(--accent);
}

.data-part {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.data-part:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.data-part-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-emphasis);
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.data-part h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.data-feature {
  padding: 0;
}

.data-feature h4 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.data-feature p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* Dark data part (for banks) */

.data-part-dark {
  background: linear-gradient(135deg, var(--ink-dark), #1a2238);
  color: #cbd5e1;
  border-color: transparent;
}

.data-part-dark h3,
.data-part-dark h4 {
  color: #fff;
}

.data-part-dark .data-intro {
  font-size: 15.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.data-part-tag-light {
  background: rgba(36, 84, 255, 0.2);
  color: #a6c0ff;
}

.data-subhead {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93b4ff !important;
  margin-top: 24px !important;
  margin-bottom: 10px !important;
  font-weight: var(--fw-emphasis) !important;
}

.data-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.data-bullets li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #cbd5e1;
}

.data-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #6d95ff;
}

.data-contact {
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(36, 84, 255, 0.18);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
}

.data-contact a {
  color: #93b4ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.data-contact a:hover {
  color: #fff;
}

/* Data isolation plate */

.data-isolation {
  display: flex;
  gap: 16px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.data-isolation-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #d1fae5;
  color: var(--success);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-isolation strong {
  color: var(--ink);
}

/* =============================================================
   SECTION 10 — BLOG
   ============================================================= */

.blog-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-link {
  display: flex;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-link:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-link-platform {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-grow: 1;
}

.blog-link-count {
  font-size: 14px;
  color: var(--ink-muted);
  margin-right: 20px;
}

.blog-link-arrow {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.blog-link:hover .blog-link-arrow {
  transform: translateX(4px);
}

/* =============================================================
   SECTION 11 — FREE TOOLS
   ============================================================= */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  padding: 26px 28px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tool-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tool-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
}

.tools-footer {
  text-align: center;
  margin: 0;
}

/* =============================================================
   SECTION 12 — FAQ
   ============================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0 20px 48px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--accent);
  font-size: 18px;
  font-weight: var(--fw-emphasis);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.25s ease, border-color 0.2s ease;
}

.faq-item[open] summary::before {
  content: "−";
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 24px 48px;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* =============================================================
   SECTION 13 — CONTACT
   ============================================================= */

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header-center p {
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-block h3 {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-block-meta {
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--ink-muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.contact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

.contact-list-not li::before {
  content: "×";
  color: var(--ink-muted);
  font-size: 18px;
  top: -2px;
}

.contact-list li strong {
  color: var(--ink);
}

.contact-note {
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

.contact-note strong {
  color: var(--accent);
}

.contact-channels {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-channels h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.channel {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}

.channel:first-of-type {
  border-top: none;
  padding-top: 0;
}

.channel-label {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.channel a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
}

.channel a:hover {
  color: var(--accent);
}

/* Contact form */

.contact-form {
  padding: 32px 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
}

.form-row label span {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(36, 84, 255, 0.18);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-muted);
}

.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
  background: #0a0f1c;
  color: #cbd5e1;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .nav-logo:hover {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: var(--fw-emphasis);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 10px 0;
}

.footer-col li:first-child {
  margin-top: 0;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contacts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contacts li span {
  font-size: 12px;
  color: #64748b;
}

.footer-contacts li a {
  font-weight: 600;
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #64748b;
}

.footer-sep {
  color: #334155;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; --gutter: 20px; }
  h1 { font-size: clamp(26px, 5.5vw, 38px); }
  h2 { font-size: clamp(22px, 4vw, 30px); }
  .section-header { margin-bottom: 32px; }
  .hero-inner .lead { font-size: 16.5px; line-height: 1.5; margin-bottom: 24px; }
  .stat-value { font-size: clamp(36px, 10vw, 48px); }
  .data-stat-value { font-size: clamp(36px, 10vw, 48px); }

  .benefit-cards,
  .problem-row,
  .role-block,
  .step-row,
  .compare-row,
  .profile-grid,
  .reviews-grid,
  .tech-grid,
  .country-grid,
  .data-parts,
  .data-features,
  .step-grid,
  .integrations-grid,
  .integrations-split,
  .tools-grid,
  .blog-links,
  .hosting-grid,
  .compare-table,
  .usp-grid,
  .profile-grid,
  .contact-layout,
  .where-details {
    grid-template-columns: 1fr !important;
  }

  .where-details { gap: 28px; padding-top: 32px; margin-top: 32px; }

  /* Contact form — unstick on mobile so it follows the info column */
  .contact-form { position: static; top: auto; padding: 24px 20px; }
  .channel { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .contact-block { padding: 22px 20px; }
  .contact-channels { padding: 22px 20px; }

  /* Featured NDA review — drop the desktop 240px right padding (mobile uses base card mask size) */
  .reviews-grid > .review-card:nth-child(5) { padding-right: 24px; }
  .reviews-grid > .review-card:nth-child(5)::after {
    -webkit-mask-image: radial-gradient(circle 250px at 100% 0%, #000 0%, transparent 100%);
            mask-image: radial-gradient(circle 250px at 100% 0%, #000 0%, transparent 100%);
  }

  .step-row { gap: 8px; }
  .problem-row { gap: 8px; padding: 24px 0; }
  .role-block { gap: 16px; padding: 32px 0; }
  /* On mobile the head stacks above the body, so sticky would overlap scrolling paragraph text below */
  .role-label,
  .problem-row-head,
  .step-row-head,
  .compare-identity { position: static; top: auto; }

  /* Stat-bar & data-stats: remove vertical column dividers, use row dividers, add breathing room.
     Both sections use the same number-grid pattern — keep them visually identical on mobile. */
  .stat-bar,
  .data-stats { gap: 20px; padding: 24px 0; }
  .stat,
  .data-stat { padding: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; gap: 10px; }
  .stat:last-child,
  .data-stat:last-child { border-bottom: none; padding-bottom: 0; }

  /* Contact form buttons: stack and stretch full-width */
  .form-actions { flex-direction: column; gap: 10px; }
  .form-actions .btn { width: 100%; justify-content: center; }

  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(2, 1fr) !important; }
  .data-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .logo-wall-row { flex-wrap: wrap; gap: 24px 20px; justify-content: space-around; }
  .logo-wall-row + .logo-wall-row { margin-top: 20px; }

  .compare-row { grid-template-columns: 1fr; gap: 8px; }

  /* Pipeline — stack vertically, numbers on left inline with names */
  .pipeline {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .pipeline::before,
  .pipeline::after { display: none; }
  /* Grid layout so name/meta start at the same X across all rows regardless of name length */
  .pipeline-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .pipeline-num { grid-row: 1 / 3; align-self: center; margin-bottom: 0; }
  .pipeline-name { grid-column: 2; grid-row: 1; font-size: 16px; }
  .pipeline-meta { grid-column: 2; grid-row: 2; font-size: 13px; max-width: none; }

  /* Review cards — reduce top padding (big quote moves up) */
  .review-card { padding: 72px 24px 24px; }
  .review-card::before { top: -8px; left: 20px; font-size: 84px; }
  .review-card footer { padding-top: 20px; }

  /* Hero — buttons stack */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  /* Nav — hide secondary demo button, shrink primary to fit */
  .nav-actions .btn-secondary { display: none; }
  .nav-actions .btn { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
  .nav-logo span { font-size: 16px; white-space: nowrap; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 40px; }
  .nav-links { display: none !important; }

}

/* Horizontal overflow prevention was here but disabled — it caused Chrome to
   clamp vertical scroll in this hosting context. Leaving default overflow. */

@media (max-width: 600px) {
  .stat-bar,
  .data-stats { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: 1fr; }
}
