/* ==========================================================
   Novolink — Editorial Fintech Design System
   ========================================================== */

:root {
  /* Palette */
  --paper:        #F4EFE2;
  --paper-2:      #ECE5D2;
  --paper-3:      #E2D9C0;
  --ink:          #0A1A4F;
  --ink-2:        #1E2A5E;
  --ink-3:        #4A5680;
  --ink-mute:     #8A93B0;
  --line:         #0A1A4F;
  --accent:       #00B8CC;
  --accent-2:     #00DDEE;
  --accent-deep:  #0A1A4F;
  --blue:         #1B3FE8;
  --coral:        #FF5C39;
  --lemon:        #F4D35E;
  --white:        #FFFEF8;

  /* Type */
  --display:  "Instrument Serif", "Times New Roman", serif;
  --sans:     "Bricolage Grotesque", -apple-system, "Helvetica Neue", sans-serif;
  --mono:     "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Layout */
  --maxw:      1400px;
  --gutter:    clamp(20px, 4vw, 56px);
  --radius:    18px;
  --radius-sm: 10px;
  --radius-lg: 32px;

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* ===== Texture (subtle grain) ===== */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* ===== Type ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px; background: currentColor;
  display: inline-block;
}
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.mono { font-family: var(--mono); }

/* ===== Container ===== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }

/* ===== Top Bar (announcement) ===== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  padding: 9px 0;
  text-align: center;
  position: relative;
  z-index: 10;
  letter-spacing: 0.04em;
}
.topbar span { color: var(--accent-2); }
.topbar a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.topbar a:hover { color: var(--accent-2); }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 226, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-name .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink); }
.nav-links .caret { display: inline-block; margin-left: 4px; opacity: 0.5; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .login {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 12px;
}
.nav-cta .login:hover { color: var(--ink); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(10, 26, 79, 0.5);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in oklab, var(--ink) 25%, transparent);
}
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.3s var(--ease);
}
.btn-icon:hover { transform: rotate(-45deg) scale(1.05); }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 5%; right: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
}
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(54px, 8.2vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 36px;
}
.hero h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%;
  height: 0.18em;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
}
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  font-style: italic;
  font-family: var(--display);
  font-weight: 400;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-trust {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-right: 16px;
  border-right: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
}
.hero-trust-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-3);
}

/* Hero right column - Terminal */
.hero-right {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.terminal {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 22px 24px 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 80px -20px rgba(10, 26, 79, 0.35);
  position: relative;
  overflow: hidden;
}
.terminal::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 36px;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--paper) 5%, transparent), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-header {
  display: flex; gap: 7px; align-items: center;
  position: relative; z-index: 2;
  margin-bottom: 18px;
}
.terminal-header span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.terminal-header span:nth-child(1) { background: #FF5F57; }
.terminal-header span:nth-child(2) { background: #FEBC2E; }
.terminal-header span:nth-child(3) { background: #28C840; }
.terminal-header .title {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  letter-spacing: 0.1em;
}
.terminal-body { position: relative; z-index: 2; }
.terminal-line { display: flex; gap: 12px; }
.terminal-prompt { color: var(--accent-2); user-select: none; }
.terminal-key { color: var(--coral); }
.terminal-str { color: #B8E986; }
.terminal-num { color: var(--lemon); }
.terminal-cmt { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.terminal-out { color: color-mix(in oklab, var(--paper) 75%, transparent); }
.cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent-2);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
  margin-left: 4px;
}
@keyframes blink { 50% { opacity: 0; } }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric-card {
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.metric-card .label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.metric-card .value {
  font-family: var(--display);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.metric-card .unit {
  font-size: 14px;
  color: var(--ink-3);
  font-style: normal;
  font-family: var(--sans);
  margin-left: 2px;
}
.metric-card .pulse {
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px color-mix(in oklab, #22C55E 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklab, #22C55E 25%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in oklab, #22C55E 0%, transparent); }
}

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  padding: 22px 0;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee-item::after {
  content: "✦";
  color: var(--accent);
  font-style: normal;
  margin-left: 60px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section Header ===== */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
.section-header h2 {
  font-size: clamp(42px, 5.6vw, 84px);
  letter-spacing: -0.035em;
  font-weight: 500;
}
.section-header h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.section-header h2 em::after {
  content: "";
  display: inline-block;
  width: 0.45em; height: 0.45em;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 0.15em;
  margin-bottom: 0.08em;
  vertical-align: middle;
}
.section-header p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 460px;
}

/* ===== Stats Section ===== */
.stats-section { padding: 120px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
.stat {
  padding: 36px 28px 36px 28px;
  border-right: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  position: relative;
}
.stat:nth-child(n+5) { border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(64px, 6.5vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.stat-num .small { font-size: 0.4em; color: var(--ink-3); font-style: normal; font-family: var(--sans); font-weight: 600; }
.stat-label {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 8px;
}
.stat-sub {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
}
.stat .corner {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ===== Industries (Bento) ===== */
.industries { padding: 100px 0; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 14px;
}
.ind-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(10, 26, 79, 0.18);
}
.ind-card.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ind-card.accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.ind-card.feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ind-card.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 50%);
  pointer-events: none;
}

.ind-1 { grid-column: span 5; grid-row: span 2; }
.ind-2 { grid-column: span 4; }
.ind-3 { grid-column: span 3; }
.ind-4 { grid-column: span 4; }
.ind-5 { grid-column: span 3; }
.ind-6 { grid-column: span 5; }
.ind-7 { grid-column: span 7; grid-row: span 2; min-height: 280px; }
.ind-8 { grid-column: span 5; }
.ind-9 { grid-column: span 4; }

.ind-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.ind-card.dark .ind-num,
.ind-card.feature .ind-num { color: color-mix(in oklab, var(--paper) 50%, transparent); }
.ind-card.accent .ind-num { color: var(--ink); opacity: 0.6; }
.ind-num::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.ind-card.feature .ind-num::before { background: var(--accent-2); }
.ind-card.accent .ind-num::before { background: var(--ink); }

.ind-name {
  font-size: 30px;
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.05;
  margin-top: 12px;
}
.ind-card.feature .ind-name,
.ind-card.dark .ind-name {
  font-size: 36px;
  font-family: var(--display);
  font-style: italic;
}
.ind-card.feature .ind-name { font-size: 44px; }
.ind-card.accent .ind-name { color: var(--ink); }

.ind-desc {
  font-size: 14.5px;
  line-height: 1.5;
  margin-top: 12px;
  color: var(--ink-2);
}
.ind-card.dark .ind-desc,
.ind-card.feature .ind-desc { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.ind-card.accent .ind-desc { color: var(--ink); opacity: 0.75; }

.ind-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 18px;
}
.ind-tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid color-mix(in oklab, var(--ink) 20%, transparent);
  border-radius: 999px;
  color: var(--ink-2);
}
.ind-card.dark .ind-tag,
.ind-card.feature .ind-tag {
  border-color: color-mix(in oklab, var(--paper) 25%, transparent);
  color: color-mix(in oklab, var(--paper) 75%, transparent);
}
.ind-card.accent .ind-tag { border-color: var(--ink); color: var(--ink); }

.ind-illust {
  position: absolute;
  pointer-events: none;
}

/* Specific illustrations for cards */
.ind-illust-1 {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 50%;
  opacity: 0.85;
}

/* ===== Coverage / Map Section ===== */
.coverage { padding: 100px 0 60px; }
.coverage-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.coverage-left h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.coverage-left p {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 420px;
}
.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.coverage-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  font-size: 15px;
}
.coverage-row:last-child { border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.coverage-row .name { font-weight: 600; }
.coverage-row .meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.05em; }
.coverage-row .methods { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.coverage-row .arrow-icon { color: var(--ink-3); transition: transform 0.3s var(--ease); }
.coverage-row:hover .arrow-icon { transform: translateX(4px); color: var(--ink); }

/* Map */
.map-container {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.map-svg { width: 100%; height: 100%; }
.map-dot {
  fill: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.map-dot:hover {
  r: 5;
  fill: var(--accent);
}
.map-dot.pulse-dot {
  fill: var(--accent);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.map-dot.pulse-dot-2 {
  animation-delay: 0.6s;
}
.map-dot.pulse-dot-3 {
  animation-delay: 1.2s;
}
@keyframes dot-pulse {
  0%, 100% { r: 3; opacity: 1; }
  50% { r: 5; opacity: 0.5; }
}
.map-legend {
  position: absolute;
  bottom: 24px; left: 24px;
  display: flex; gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.map-legend-item { display: flex; align-items: center; gap: 6px; }
.map-legend-item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
}
.map-legend-item.live::before { background: var(--accent); }
.map-legend-item.region::before { background: var(--ink); }
.map-tooltip {
  position: absolute;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -120%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.map-tooltip.show { opacity: 1; }

/* ===== Payment Methods ===== */
.methods { padding: 100px 0; }
.methods-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.method {
  aspect-ratio: 1.1;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.method:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
  border-color: var(--ink);
}
.method .method-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.method:hover .method-icon { color: var(--accent-2); }
.method .method-name {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
}
.method::after {
  content: attr(data-count);
  position: absolute;
  top: 8px; right: 10px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.method:hover::after { color: color-mix(in oklab, var(--paper) 60%, transparent); }

/* ===== Speed / Live Demo Section ===== */
.speed { padding: 100px 0; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.speed::before {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 50%);
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
}
.speed .container { position: relative; z-index: 2; }
.speed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.speed-left h2 {
  font-size: clamp(46px, 6vw, 88px);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--paper);
}
.speed-left h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}
.speed-left p {
  font-size: 18px;
  line-height: 1.5;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  max-width: 480px;
  margin-bottom: 36px;
}
.speed-bullets { display: flex; flex-direction: column; gap: 14px; }
.speed-bullet {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
}
.speed-bullet .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.speed-bullet .check svg { width: 11px; height: 11px; color: var(--ink); }

.speed-right {
  background: color-mix(in oklab, var(--paper) 4%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.speed-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.demo-header .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}
.demo-header .live {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.demo-header .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-2) 30%, transparent);
  animation: pulse 1.5s ease-in-out infinite;
}

.txn-list {
  display: flex; flex-direction: column; gap: 0;
  max-height: 380px;
  overflow: hidden;
  position: relative;
}
.txn-list::before, .txn-list::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px;
  z-index: 2; pointer-events: none;
}
.txn-list::before { top: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--ink) 100%, transparent), transparent); }
.txn-list::after { bottom: 0; background: linear-gradient(to top, color-mix(in oklab, var(--ink) 100%, transparent), transparent); }

.txn {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 6%, transparent);
  font-size: 13.5px;
  animation: txn-slide-in 0.4s var(--ease) backwards;
}
@keyframes txn-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.txn-flag {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
}
.txn-name { font-weight: 500; }
.txn-amount { font-family: var(--mono); color: color-mix(in oklab, var(--paper) 90%, transparent); }
.txn-time {
  font-family: var(--mono);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.05em;
  min-width: 56px;
  text-align: right;
}

/* ===== How it Works ===== */
.how { padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
.step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  position: relative;
  margin-right: 28px;
}
.step:last-child { border-right: none; margin-right: 0; }
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.step-num::before { content: ""; width: 24px; height: 1px; background: var(--ink-3); }
.step-name {
  font-size: 32px;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 8px;
}
.step-name em { font-family: var(--display); font-style: italic; font-weight: 400; }
.step-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 320px;
}
.step-meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* ===== Developers ===== */
.dev { padding: 100px 0; background: var(--paper-2); position: relative; overflow: hidden; }
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.dev-left h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 0.95;
}
.dev-left h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}
.dev-left p {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 440px;
}
.dev-bullets { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.dev-bullet { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.dev-bullet .icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.code-window {
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(10, 26, 79, 0.4);
  border: 1px solid color-mix(in oklab, var(--ink) 20%, transparent);
}
.code-header {
  background: color-mix(in oklab, var(--paper) 5%, transparent);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 8%, transparent);
}
.code-tabs {
  display: flex; gap: 4px;
}
.code-tab {
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.code-tab.active {
  background: var(--ink-2);
  color: var(--paper);
}
.code-filename {
  font-family: var(--mono);
  font-size: 11px;
  color: color-mix(in oklab, var(--paper) 45%, transparent);
  letter-spacing: 0.05em;
}
.code-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper);
  overflow-x: auto;
}
.code-body .c-com { color: color-mix(in oklab, var(--paper) 35%, transparent); font-style: italic; }
.code-body .c-key { color: #FF8FA3; }
.code-body .c-fn { color: var(--accent-2); }
.code-body .c-str { color: #B8E986; }
.code-body .c-num { color: var(--lemon); }
.code-body .c-prop { color: #FBA5C0; }
.code-body .c-bool { color: var(--coral); }

.lang-row {
  display: flex; gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.lang {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: 999px;
  color: var(--ink-2);
}

/* ===== Security ===== */
.security { padding: 100px 0; }
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sec-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.sec-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sec-card h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.sec-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.sec-icon {
  width: 38px; height: 38px;
  background: var(--paper-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; background: var(--paper-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testi {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.testi-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  color: var(--ink);
  flex: 1;
}
.testi-meta { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--ink);
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em; text-transform: uppercase; }

/* ===== CTA Section ===== */
.cta-section { padding: 120px 0; position: relative; }
.cta-wrap {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.cta-wrap::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 50%);
  opacity: 0.2;
  pointer-events: none;
}
.cta-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.5;
}
.cta-content { position: relative; z-index: 2; max-width: 760px; }
.cta-wrap h2 {
  font-size: clamp(46px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin-bottom: 24px;
}
.cta-wrap h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}
.cta-wrap p {
  font-size: 18px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  margin-bottom: 36px;
  max-width: 520px;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-wrap .btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.cta-wrap .btn-primary:hover { background: var(--accent-2); }
.cta-wrap .btn-ghost {
  color: var(--paper);
  border-color: color-mix(in oklab, var(--paper) 25%, transparent);
}
.cta-wrap .btn-ghost:hover {
  background: color-mix(in oklab, var(--paper) 8%, transparent);
}

/* ===== Footer ===== */
.footer {
  background: var(--paper);
  padding: 80px 0 32px;
  border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.4;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
  color: var(--ink-2);
}
.footer-social a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--ink); }

.footer-marquee {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.85;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  margin-top: 40px;
  letter-spacing: -0.04em;
  user-select: none;
}
.footer-marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.footer-marquee-track .star { color: var(--accent); font-style: normal; }

/* ===== Reveal Animation (progressive enhancement) =====
   Only applies when body has .js-anim class (set by JS) */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-anim .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track, .footer-marquee-track { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
  .industries-grid { grid-template-columns: repeat(6, 1fr); }
  .ind-1 { grid-column: span 6; grid-row: auto; }
  .ind-2, .ind-3 { grid-column: span 3; }
  .ind-4, .ind-5, .ind-6 { grid-column: span 3; }
  .ind-7 { grid-column: span 6; grid-row: auto; }
  .ind-8, .ind-9 { grid-column: span 3; }
  .coverage-wrap { grid-template-columns: 1fr; gap: 48px; }
  .methods-grid { grid-template-columns: repeat(4, 1fr); }
  .speed-grid { grid-template-columns: 1fr; gap: 48px; }
  .dev-grid { grid-template-columns: 1fr; gap: 48px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .ind-1, .ind-2, .ind-3, .ind-4, .ind-5, .ind-6, .ind-7, .ind-8, .ind-9 { grid-column: span 1; }
  .methods-grid { grid-template-columns: repeat(3, 1fr); }
  .sec-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); padding: 32px 0; margin-right: 0; }
  .step:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .metric-strip { grid-template-columns: 1fr; }
  .nav-cta .login { display: none; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-trust-label { border-right: none; padding-right: 0; padding-bottom: 8px; border-bottom: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); }
  .topbar { font-size: 10px; }
  .cta-wrap { padding: 40px 28px; }
  .map-container { padding: 20px; }
}
