/* ===========================================================================
   Iron Vault Processing — built on the Ramp design system, recolored to
   black / gold / silver. Gold takes lime's role as the single functional
   accent; silver takes cobalt's atmospheric role. Dual-radius (4px controls /
   12px surfaces), surface-layering instead of drop shadows.
   =========================================================================== */
:root {
  /* Colors — Strata sky-blue / white, multi-layered */
  --color-gold-signal: #0ea5e9;   /* accent — sky-500 */
  --color-gold-bright: #38bdf8;   /* hover / highlight — sky-400 */
  --color-gold-deep:   #0284c7;   /* deeper — sky-600 */
  --color-silver-glow: #bae6fd;
  --sky:        linear-gradient(120deg, #7dd3fc, #38bdf8 38%, #0ea5e9 72%, #2563eb);
  --rainbow:    linear-gradient(120deg, #7dd3fc, #38bdf8 38%, #0ea5e9 72%, #2563eb);  /* alias */
  --c1:#7dd3fc; --c2:#38bdf8; --c3:#0ea5e9; --c4:#22d3ee; --c5:#0284c7; --c6:#2563eb;
  --color-obsidian:    #0f172a;   /* dark text / dark elements (slate-900) */
  --color-text:        #0f172a;   /* primary text (slate-900) */
  --color-paper:       #ffffff;   /* page canvas (white) */
  --color-bg-2:        #f0f9ff;   /* alt sections (sky-50) */
  --color-limestone:   #f4faff;   /* card surfaces (very light blue) */
  --color-platinum:    #e0f2fe;   /* hover / elevated fill (sky-100) */
  --color-charcoal:    #0f172a;   /* dark accent surface */
  --color-slate:       #475569;   /* secondary headline gray (slate-600) */
  --color-fog:         #64748b;   /* muted text / labels (slate-500) */
  --color-bone:        #d6e8f7;   /* hairline borders (light blue) */
  --color-silver:      #94a3b8;   /* metallic mid */

  /* Type — Lausanne → Inter substitute, ss01 */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-micro: 10px;  --text-caption: 13px; --text-body: 16px;  --text-subheading: 18px;
  --text-heading-sm: 20px; --text-heading: 24px; --text-heading-lg: 28px;
  --text-display-sm: 40px; --text-display: 48px; --text-display-lg: 64px;

  /* Spacing (4px base) */
  --s4:4px; --s8:8px; --s12:12px; --s16:16px; --s20:20px; --s24:24px; --s28:28px;
  --s32:32px; --s40:40px; --s48:48px; --s64:64px; --s76:76px; --s128:128px; --s160:160px;

  /* Layout */
  --maxw: 1200px;
  --section-gap: 80px;

  /* Dual-radius system */
  --radius-control: 4px;   /* buttons, inputs, nav items */
  --radius-surface: 12px;  /* cards, images, modal */
  --radius-pill: 9999px;

  --silver-grad:  linear-gradient(135deg, #eef1f4, #c2c7cf 45%, #9aa0a9);  /* bright metallic wordmark on dark */
  --silver-light: linear-gradient(135deg, #eef1f4, #c2c7cf 45%, #9aa0a9);
  --gold-grad:    linear-gradient(135deg, #e6c150, #b8902f);

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(16,24,40,.05);
  --shadow-card:   0 1px 3px rgba(16,24,40,.06), 0 12px 28px rgba(16,24,40,.07);
  --shadow-device: 0 30px 70px rgba(16,24,40,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-feature-settings: "ss01";
  background: var(--color-paper);
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* soft sky-blue atmospheric blooms on the white canvas */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 520px at 86% -8%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(620px 480px at -6% 8%, rgba(37,99,235,.07), transparent 60%);
}

h1, h2, h3, h4 { color: var(--color-text); font-weight: 400; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
.arw { display: inline-block; transition: transform .18s ease; }

/* ===== Buttons (4px radius) ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font); font-weight: 500; font-size: var(--text-body);
  padding: 10px 20px; border-radius: var(--radius-control); border: 1px solid transparent;
  cursor: pointer; transition: background .18s, border-color .18s, color .18s; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: var(--text-caption); }
.btn-lg { padding: 13px 24px; }
.btn-block { width: 100%; }
.btn:hover .arw { transform: translateX(3px); }

.btn-gold { background: linear-gradient(135deg, #38bdf8, #0ea5e9); color: #fff; font-weight: 600; border-color: transparent; transition: filter .18s, transform .15s ease, box-shadow .2s; box-shadow: 0 6px 22px rgba(14,165,233,.3); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(14,165,233,.45); }

.btn-ghost { background: #fff; color: var(--color-text); border: 1px solid var(--color-bone); }
.btn-ghost:hover { border-color: var(--color-gold-bright); background: var(--color-bg-2); }

/* arrow text-links */
.arw-link {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0;
  font: inherit; font-size: var(--text-body); color: var(--color-text); cursor: pointer;
}
.arw-link:hover { color: var(--color-gold-bright); }
.arw-link:hover .arw { transform: translateX(3px); }

/* ===== Navigation (white glass — light throughout) ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(255,255,255,.7); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav.scrolled { background: rgba(255,255,255,.85); border-bottom-color: var(--color-bone); box-shadow: 0 4px 20px rgba(14,165,233,.08); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; border-radius: var(--radius-control); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand { gap: 9px; }
.brand-name { font-family: 'Space Grotesk', var(--font); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--color-text); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--color-fog); transition: color .15s; }
.nav-links a:hover { color: var(--color-gold-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; }

/* ===== Hero (interactive Spline galaxy, inverted to a LIGHT blue/white field) ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 90px; overflow: hidden;
  background: linear-gradient(180deg, #f6fbff 0%, #eaf5ff 42%, #f3f9ff 78%, #ffffff 100%);
}
.hero-spline { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* invert dark→light, then colorize the whole field to the site sky-blue (#0ea5e9) */
  filter: invert(1) grayscale(1) sepia(1) hue-rotate(163deg) saturate(2.4) brightness(1.03);
  opacity: .82;
}
.hero-spline spline-viewer, .hero-spline canvas { width: 100% !important; height: 100% !important; display: block; }
/* light blue/white wash that fades smoothly into white — no hard edges */
.hero-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(54% 50% at 72% 30%, rgba(125,211,252,.20), transparent 60%),
    radial-gradient(60% 56% at 22% 76%, rgba(96,165,250,.16), transparent 62%),
    linear-gradient(to right, rgba(255,255,255,.55), transparent 26%, transparent 74%, rgba(255,255,255,.45)),
    linear-gradient(to bottom, rgba(255,255,255,.45) 0%, transparent 38%, rgba(255,255,255,.55) 78%, #ffffff 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-stat { font-size: 14px; color: var(--color-slate); margin-bottom: 28px; }
.hero-stat b { color: var(--color-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero h1 {
  font-family: 'Space Grotesk', var(--font); font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -.03em;
  max-width: 21ch; margin-bottom: 40px;
}
.hero h1 span { display: block; }
.hl-a { color: var(--color-text); }
.hl-b { color: var(--color-slate); }
.hl-c {
  background: linear-gradient(120deg, #0ea5e9, #2563eb 60%, #1e3a8a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255,255,255,.75); color: var(--color-text); border-color: var(--color-bone); backdrop-filter: blur(8px); }
.hero .btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); }

/* ===== Payment networks & gateways — 3D carousel ===== */
.trust { padding: 48px 0 16px; background: var(--color-paper); overflow: hidden; }
.trust-label { text-align: center; font-size: 13px; color: var(--color-fog); margin-bottom: 10px; }

.gw-stage { perspective: 1400px; height: 210px; display: grid; place-items: center; }
.gw-ring {
  position: relative; width: 180px; height: 110px;
  transform-style: preserve-3d;
  animation: gw-spin 36s linear infinite;
}
.gw-stage:hover .gw-ring { animation-play-state: paused; }
@keyframes gw-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

.gw-tile {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #ffffff; border: 1px solid var(--color-bone);
  border-radius: var(--radius-surface);
  backface-visibility: hidden;
  box-shadow: 0 14px 36px rgba(14,165,233,.14);
}
.gw-tile:nth-child(1)  { transform: rotateY(0deg)   translateZ(360px); }
.gw-tile:nth-child(2)  { transform: rotateY(30deg)  translateZ(360px); }
.gw-tile:nth-child(3)  { transform: rotateY(60deg)  translateZ(360px); }
.gw-tile:nth-child(4)  { transform: rotateY(90deg)  translateZ(360px); }
.gw-tile:nth-child(5)  { transform: rotateY(120deg) translateZ(360px); }
.gw-tile:nth-child(6)  { transform: rotateY(150deg) translateZ(360px); }
.gw-tile:nth-child(7)  { transform: rotateY(180deg) translateZ(360px); }
.gw-tile:nth-child(8)  { transform: rotateY(210deg) translateZ(360px); }
.gw-tile:nth-child(9)  { transform: rotateY(240deg) translateZ(360px); }
.gw-tile:nth-child(10) { transform: rotateY(270deg) translateZ(360px); }
.gw-tile:nth-child(11) { transform: rotateY(300deg) translateZ(360px); }
.gw-tile:nth-child(12) { transform: rotateY(330deg) translateZ(360px); }

/* — brand marks (simplified wordmarks) — */
.lg { font-weight: 700; font-size: 21px; letter-spacing: .01em; }
.lg-visa { color: #1a1f71; font-style: italic; letter-spacing: .04em; }
.lg-mc { position: relative; width: 58px; height: 36px; display: block; }
.mc-l, .mc-r { position: absolute; top: 0; width: 36px; height: 36px; border-radius: 50%; }
.mc-l { left: 0; background: #eb001b; }
.mc-r { right: 0; background: #f79e1b; mix-blend-mode: multiply; }
.lg-amex { background: #2e77bc; color: #fff; padding: 7px 12px; border-radius: 6px; font-size: 17px; letter-spacing: .06em; }
.lg-discover { color: #1a1a1a; font-size: 18px; }
.lg-discover i { color: #f76b1c; font-style: normal; }
.lg-paypal { color: #253b80; font-style: italic; }
.lg-paypal b { color: #179bd7; font-weight: 700; }
.lg-applepay { color: #0b0b0d; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.apple-glyph { width: 17px; height: 21px; fill: #0b0b0d; }
.lg-gpay { color: #5f6368; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.g-b { background: linear-gradient(45deg, #4285f4 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; font-size: 24px; }
/* icon-square + wordmark pattern (Venmo / Zelle / Cash App / Bitcoin) */
.lg-venmo, .lg-zelle, .lg-cashapp, .lg-btc, .lg-ach { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; }
.lg-venmo i, .lg-zelle i, .lg-cashapp i, .lg-btc i {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  color: #fff; font-style: normal; font-weight: 700; font-size: 19px;
}
.lg-venmo { color: #3d95ce; }
.lg-venmo i { background: #3d95ce; font-style: italic; }
.lg-zelle { color: #6d1ed4; }
.lg-zelle i { background: #6d1ed4; }
.lg-cashapp { color: #00c244; }
.lg-cashapp i { background: #00d632; }
.lg-btc { color: #f7931a; }
.lg-btc i { background: #f7931a; border-radius: 50%; }
.lg-ach { color: #4a4e57; }
.ach-glyph { width: 26px; height: 26px; stroke: #4a4e57; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .gw-ring { animation: none; transform: rotateY(0); }
}

/* ===== Sections / heading blocks ===== */
.section { padding: var(--section-gap) 0; }
.section-alt { background: linear-gradient(180deg, #ffffff, var(--color-bg-2) 18%, var(--color-bg-2) 82%, #ffffff); }
.section-alt .step { background: var(--color-paper); border: 1px solid var(--color-bone); }
.section-tight { padding-bottom: 56px; }
.head-block { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.head-block.head-left { margin-left: 0; text-align: left; }
.head-block h2 { font-size: var(--text-display); line-height: 1.14; margin-bottom: 18px; }
.head-block p { font-size: var(--text-subheading); color: var(--color-fog); }

/* display accents — carried down from the hero */
.head-block h2 em, .cta-inner h2 em {
  font-family: 'Space Grotesk', var(--font); font-style: normal; font-weight: 600;
  letter-spacing: -.02em;
}
.head-block h2 em, .cta-inner h2 em { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Feature card grid (Limestone surfaces, 12px radius) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcard {
  background: var(--color-limestone); border: 1px solid var(--color-bone); border-radius: var(--radius-surface); padding: 24px;
  display: flex; flex-direction: column;
  transition: border-color .18s, box-shadow .2s, transform .2s;
}
.fcard:hover { border-color: rgba(14,165,233,.55); box-shadow: 0 18px 40px rgba(15,23,42,.12); transform: translateY(-3px); }
.fcard h3 { font-size: var(--text-heading-sm); font-weight: 500; margin-bottom: 10px; letter-spacing: -.01em; }
.fcard p { font-size: var(--text-body); color: var(--color-fog); line-height: 1.5; margin-bottom: 16px; }
.fcard .arw-link { margin-bottom: 22px; font-size: 15px; }
.fcard-art {
  position: relative; overflow: hidden;
  margin-top: auto; height: 120px; border-radius: var(--radius-surface); display: grid; place-items: center;
  background: linear-gradient(150deg, #15161a, #0a0a0c);
}
.fcard-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(125deg, rgba(255,255,255,.035) 0 1px, transparent 1px 15px);
}
.art-ic { position: relative; z-index: 1; width: 40px; height: 40px; stroke: var(--color-gold-signal); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art-shield { background: linear-gradient(150deg, #e0f2fe, #fff 75%); }
.art-globe  { background: linear-gradient(150deg, #dbeafe, #fff 75%); }
.art-bolt   { background: linear-gradient(150deg, #cffafe, #fff 75%); }
.art-link   { background: linear-gradient(150deg, #e0e7ff, #fff 75%); }
.art-shield .art-ic { stroke: var(--c1); }
.art-globe .art-ic  { stroke: var(--c5); }
.art-bolt .art-ic   { stroke: var(--c3); }
.art-link .art-ic   { stroke: var(--c4); }

/* ===== Industries grid (limestone cards, small icon marks) ===== */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ind {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--color-limestone); border: 1px solid var(--color-bone); border-radius: var(--radius-surface);
  padding: var(--s24); cursor: pointer; font-family: var(--font);
  transition: border-color .18s, background .18s, box-shadow .2s, transform .2s;
}
.ind:hover { border-color: rgba(14,165,233,.6); box-shadow: 0 18px 40px rgba(15,23,42,.12); transform: translateY(-3px); }
.ind-ic {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--s16);
  background: linear-gradient(150deg, #e0f2fe, #ffffff 78%);
  border: 1px solid rgba(56,189,248,.2); border-radius: var(--radius-surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
/* frosted tint variety to match the feature tiles up top */
.ind:nth-child(4n+2) .ind-ic { background: linear-gradient(150deg, #dbeafe, #ffffff 78%); }
.ind:nth-child(4n+3) .ind-ic { background: linear-gradient(150deg, #cffafe, #ffffff 78%); }
.ind:nth-child(4n)   .ind-ic { background: linear-gradient(150deg, #e0e7ff, #ffffff 78%); }
.ind-ic svg { width: 22px; height: 22px; stroke: var(--color-gold-signal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ind:nth-child(8n+1) .ind-ic svg { stroke: var(--c1); }
.ind:nth-child(8n+2) .ind-ic svg { stroke: var(--c2); }
.ind:nth-child(8n+3) .ind-ic svg { stroke: var(--c3); }
.ind:nth-child(8n+4) .ind-ic svg { stroke: var(--c4); }
.ind:nth-child(8n+5) .ind-ic svg { stroke: var(--c5); }
.ind:nth-child(8n+6) .ind-ic svg { stroke: var(--c6); }
.ind:nth-child(8n+7) .ind-ic svg { stroke: var(--c1); }
.ind:nth-child(8n+8) .ind-ic svg { stroke: var(--c5); }
.ind-cat { font-size: var(--text-micro); font-weight: 500; letter-spacing: .12em; color: var(--color-fog); margin-bottom: var(--s4); }
.ind-name { font-size: var(--text-subheading); font-weight: 500; color: var(--color-text); letter-spacing: -.01em; margin-bottom: var(--s12); }
.ind-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--color-gold-signal); opacity: 0; transform: translateY(2px); transition: opacity .18s, transform .18s; }
.ind:hover .ind-go { opacity: 1; transform: none; }
.ind:hover .ind-go .arw { transform: translateX(3px); }
.story-foot { margin-top: 40px; color: var(--color-fog); text-align: center; }
.story-foot .arw-link { font-weight: 500; color: var(--color-gold-deep); }

/* ===== Stats band (dark shader) ===== */
.band { background: linear-gradient(180deg, #fbfbfc, #eef0f3); color: var(--color-text); border-top: 1px solid var(--color-bone); border-bottom: 1px solid var(--color-bone); }
.band-dark { position: relative; overflow: hidden; background: #0a0b0d; color: #fff; border-color: rgba(255,255,255,.08); }
.band-dark .band-grid { position: relative; z-index: 1; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-stat { padding: 64px 24px; text-align: center; border-right: 1px solid var(--color-bone); }
.band-dark .band-stat { border-right-color: rgba(255,255,255,.1); }
.band-stat:last-child { border-right: none; }
.band-num {
  display: block; font-family: 'Space Grotesk', var(--font);
  font-size: 54px; font-weight: 700; color: var(--color-gold-signal); letter-spacing: -.03em; margin-bottom: 8px;
}
.band-dark .band-num { color: var(--color-gold-bright); }
.band-lbl { display: block; font-size: 14px; color: var(--color-fog); max-width: 200px; margin: 0 auto; }
.band-dark .band-lbl { color: rgba(255,255,255,.6); }

/* ===== Comparison table (Iron Vault vs. others) ===== */
.vs { max-width: 920px; margin: 0 auto; background: var(--color-limestone); border: 1px solid var(--color-bone); border-radius: var(--radius-surface); box-shadow: 0 24px 60px rgba(15,23,42,.14); overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: stretch; border-top: 1px solid var(--color-bone); }
.vs-row:first-child { border-top: none; }
.vs-crit { padding: 16px 22px; font-size: 14.5px; font-weight: 600; color: var(--color-text); display: flex; align-items: center; }
.vs-cell { padding: 16px 18px; font-size: 14px; display: flex; align-items: center; gap: 9px; }
.vs-cell.iv { color: var(--color-text); font-weight: 500; background: linear-gradient(180deg, rgba(14,165,233,.07), rgba(14,165,233,.03)); }
.vs-cell.other { color: var(--color-fog); }
.vs-cell .yes { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--color-gold-signal); color: #fff; font-size: 12px; font-weight: 700; }
.vs-cell .no { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e2e8f0; color: #94a3b8; font-size: 11px; font-weight: 700; }

/* header row */
.vs-headrow { background: var(--color-bg-2); }
.vs-headrow .vs-col { padding: 18px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 9px; }
.vs-iv { color: var(--color-text); background: linear-gradient(180deg, rgba(14,165,233,.14), rgba(14,165,233,.05)); border-bottom: 2px solid var(--color-gold-signal); }
.vs-logo { width: 26px; height: 26px; object-fit: contain; }
.vs-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--color-gold-signal); border-radius: var(--radius-pill); padding: 3px 9px; margin-left: 2px; }
.vs-other { color: var(--color-fog); }
.vs-cta { text-align: center; margin-top: 36px; }

/* ===== Merchant CRM showcase ===== */
.crm-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.crm-copy .head-block { margin-bottom: 24px; }
.crm-points { list-style: none; margin: 0 0 30px; }
.crm-points li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--color-slate); font-size: 15px; }
.crm-points li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold-signal); }

.crm-shot { perspective: 1000px; }
/* the mockup reproduces the DARK product dashboard inside the page */
.crm-frame {
  border-radius: var(--radius-surface); overflow: hidden;
  border: 1px solid var(--color-bone); box-shadow: var(--shadow-device); background: #fff;
}
.crm-chrome {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #eef6fc; border-bottom: 1px solid var(--color-bone);
}
.crm-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #cdddec; }
.crm-chrome span { margin-left: 10px; font-size: 11.5px; color: var(--color-fog); background: #fff; border-radius: 6px; padding: 3px 12px; }
.crm-body { display: flex; min-height: 340px; background: #f4f9ff; }

/* Sidebar — mirrors the product's navy rail */
.crm-side { width: 132px; flex: none; background: #0f172a; display: flex; flex-direction: column; padding: 14px 12px; gap: 16px; }
.crm-brand { display: flex; align-items: center; gap: 8px; }
.crm-brand img { width: 26px; height: 26px; border-radius: 7px; }
.crm-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.crm-brand-text b { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.crm-brand-text em { font-style: normal; font-size: 9px; color: #9aa6b8; }
.crm-nav { display: flex; flex-direction: column; gap: 3px; }
.cn-item { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: #c2ccdb; padding: 7px 9px; border-radius: 7px; }
.cn-item i { width: 11px; height: 11px; border-radius: 3px; background: currentColor; opacity: .6; flex: none; }
.cn-item.active { background: linear-gradient(90deg, #38bdf8, #2563eb); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(37,99,235,.4); }
.cn-item.active i { opacity: 1; }
.crm-payout-card { margin-top: auto; background: linear-gradient(160deg, #1e293b, #14151a); border-radius: 10px; padding: 11px 12px; display: flex; flex-direction: column; gap: 4px; }
.cpc-label { font-size: 9px; color: #9aa6b8; }
.cpc-amt { font-size: 12.5px; font-weight: 600; color: #fff; }

/* Main column */
.crm-main { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 13px; background: #f4f9ff; min-width: 0; }
.crm-top { display: flex; justify-content: space-between; align-items: flex-start; }
.crm-top-text b { display: block; font-size: 16px; font-weight: 700; color: var(--color-text); letter-spacing: -.01em; }
.crm-top-text span { font-size: 10.5px; color: var(--color-fog); }
.crm-avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #0f172a, #0ea5e9); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.crm-range { display: flex; justify-content: space-between; align-items: center; }
.crm-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: #16a34a; background: #e7f7ef; border-radius: 999px; padding: 4px 9px; }
.crm-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.crm-seg { display: inline-flex; background: #fff; border: 1px solid var(--color-bone); border-radius: 9px; padding: 3px; gap: 2px; }
.crm-seg span { font-size: 10.5px; font-weight: 600; color: var(--color-fog); padding: 5px 11px; border-radius: 6px; }
.crm-seg span.active { background: #0f172a; color: #fff; }
.crm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.crm-card { background: #fff; border: 1px solid var(--color-bone); border-radius: 11px; padding: 11px 13px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.crm-card span { font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-fog); }
.crm-card b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--color-text); font-variant-numeric: tabular-nums; }
.crm-card b.neg { color: #e5484d; }
.crm-card.dark { background: linear-gradient(150deg, #38bdf8, #0284c7); border-color: transparent; box-shadow: 0 8px 20px rgba(2,132,199,.28); }
.crm-card.dark span { color: rgba(255,255,255,.82); }
.crm-card.dark b { color: #fff; }
.crm-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 9px; }
.crm-panel { background: #fff; border: 1px solid var(--color-bone); border-radius: 11px; padding: 12px 13px; box-shadow: 0 1px 2px rgba(16,24,40,.05); display: flex; flex-direction: column; gap: 8px; }
.crm-panel-head { display: flex; justify-content: space-between; align-items: center; }
.crm-panel-head b { font-size: 12px; font-weight: 700; color: var(--color-text); }
.crm-leg { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: var(--color-fog); font-weight: 500; }
.crm-leg i { width: 8px; height: 8px; border-radius: 2px; }
.crm-leg .lg-blue { background: #0ea5e9; }
.crm-leg .lg-navy { background: #1e40af; margin-left: 4px; }
.crm-chart { width: 100%; height: 78px; }
.crm-donut { display: flex; align-items: center; gap: 12px; }
.crm-donut svg { width: 72px; height: 72px; flex: none; }
.crm-dlegend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.crm-dlegend li { display: flex; align-items: center; justify-content: space-between; font-size: 10px; }
.crm-dlegend li span { display: flex; align-items: center; gap: 6px; color: var(--color-fog); font-weight: 500; }
.crm-dlegend li b { font-size: 11px; font-weight: 700; color: var(--color-text); }
.crm-dlegend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.crm-dlegend .d-green { background: #16a34a; }
.crm-dlegend .d-blue { background: #0ea5e9; }
.dotg { width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold-signal); }

/* ===== Steps — staggered offset cards ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.step {
  position: relative; background: var(--color-limestone); border-radius: var(--radius-surface);
  padding: 64px 24px 26px; overflow: hidden;
}
.step:nth-child(even) { margin-top: 40px; }
.step-num {
  position: absolute; top: 10px; right: 18px;
  font-family: 'Space Grotesk', var(--font); font-weight: 700;
  font-size: 76px; line-height: 1; color: rgba(255,255,255,.08); letter-spacing: -.04em;
}
.step h3 { position: relative; font-size: var(--text-heading-sm); font-weight: 500; margin-bottom: 8px; }
.step p { position: relative; font-size: 15px; color: var(--color-fog); line-height: 1.5; }

/* ===== 3D motion system ===== */
/* scroll reveal — cards rise and un-tilt into place */
.rv { opacity: 0; transform: perspective(900px) translateY(34px) rotateX(10deg); transform-origin: 50% 100%; }
.rv.in { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }

/* pointer tilt — cards respond in 3D, inner art pops forward */
.tilt { transform-style: preserve-3d; }
.tilt.in { transition: opacity .7s ease, transform .25s ease-out; }
.fcard-art, .ind-ic, .step-num { transform: translateZ(34px); }
.fcard, .ind, .step { will-change: transform; }

/* spinning coin medallion */
.coin-stage { perspective: 700px; display: flex; justify-content: center; margin-bottom: 26px; }
.coin { width: 84px; height: 84px; border-radius: var(--radius-surface); animation: coin-spin 6.5s linear infinite; filter: drop-shadow(0 16px 30px rgba(11,11,13,.25)); }
@keyframes coin-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .coin, .toast-approved, .toast-payout, .shader-layer::before, .shader-layer::after { animation: none; }
}

/* ===== CTA — light panel (matches the site colorway) ===== */
.cta { background: var(--color-paper); padding: 88px 0; }
.cta-panel {
  position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden;
  border-radius: 24px; padding: 72px 32px;
  background: linear-gradient(160deg, #eaf6ff, #d4ecfd 60%, #bbe3fb);
  border: 1px solid var(--color-bone); box-shadow: 0 30px 70px rgba(14,165,233,.16);
}

/* WebGL mountain scene — full-bleed animated background */
.shader-gl { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 1; }
.shader-gl canvas { width: 100% !important; height: 100% !important; display: block; }
/* soft white fade at the top keeps the headline readable over the peaks */
.shader-gl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.18) 32%, transparent 60%); }

/* ===== Animated shader (layered, reusable) ===== */
.shader-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shader-layer {
  background:
    repeating-linear-gradient(125deg, rgba(255,255,255,.022) 0 1px, transparent 1px 22px),
    radial-gradient(120% 110% at 50% 32%, #1b1f28 0%, #0d0f13 55%, #07080a 100%);
}
.shader-layer::before {
  content: ""; position: absolute; inset: -25%;
  background:
    radial-gradient(38% 38% at 28% 30%, rgba(14,165,233,.18), transparent 70%),
    radial-gradient(42% 42% at 72% 68%, rgba(140,160,190,.13), transparent 70%);
  animation: shaderDrift 22s ease-in-out infinite alternate;
}
.shader-layer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 34%, rgba(255,255,255,.05) 50%, transparent 64%);
  background-size: 260% 260%; animation: shaderSheen 12s linear infinite;
}
@keyframes shaderDrift { from { transform: translate(-3%,-2%) rotate(0deg); } to { transform: translate(4%,3%) rotate(7deg); } }
@keyframes shaderSheen { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-inner h2 { font-size: var(--text-display); margin-bottom: 14px; color: var(--color-text); }
.cta-inner p { font-size: var(--text-subheading); color: var(--color-slate); margin-bottom: 32px; }
.capture { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.capture input {
  flex: 1; min-width: 240px; max-width: 320px; background: #fff;
  border: 1px solid var(--color-bone); border-radius: var(--radius-control);
  padding: 14px 16px; font: inherit; font-size: 16px; color: var(--color-text);
}
.capture input::placeholder { color: var(--color-fog); }
.capture input:focus { outline: none; border-color: var(--color-gold-signal); }

/* ===== Footer (silver-white) ===== */
.footer { background: linear-gradient(180deg, #ffffff, var(--color-bg-2) 22%); color: var(--color-text); padding: 72px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 44px; border-bottom: 1px solid var(--color-bone); }
.footer .brand-name { color: var(--color-text); }
.footer-brand p { color: var(--color-fog); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--color-text); margin-bottom: 16px; }
.footer-col a, .footer-col .arw-link { display: flex; color: var(--color-fog); font-size: 14px; margin-bottom: 11px; text-align: left; }
.footer-col a:hover, .footer-col .arw-link:hover { color: var(--color-gold-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--color-fog); }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(11,11,13,.6); backdrop-filter: blur(5px); display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal-overlay.open { display: flex; }
.modal { position: relative; width: 100%; max-width: 600px; background: var(--color-paper); border: 1px solid var(--color-bone); border-radius: var(--radius-surface); padding: 36px; box-shadow: var(--shadow-device); animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: var(--color-fog); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--color-text); }
.modal-head { text-align: center; margin-bottom: 24px; }
.modal-mark { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-control); margin-bottom: 12px; }
.modal-head h2 { font-size: var(--text-heading-lg); margin-bottom: 8px; }
.modal-head p { color: var(--color-fog); font-size: 14px; }
.modal-telegram { margin-top: 12px; font-size: 14px; }
.modal-telegram a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; margin-top: 4px; border-radius: var(--radius-pill); background: rgba(34,158,217,.1); color: #229ED9; font-weight: 600; text-decoration: none; transition: background .15s ease; }
.modal-telegram a::before { content: ""; width: 17px; height: 17px; flex: none; background: #229ED9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.32 18.6 20.06c-.25 1.11-.91 1.39-1.85.87l-5.1-3.76-2.46 2.37c-.27.27-.5.5-1.02.5l.36-5.2L18 6.34c.41-.37-.09-.57-.64-.2L5.6 13.7l-5.03-1.57c-1.09-.34-1.11-1.09.23-1.62l19.65-7.58c.91-.34 1.71.2 1.49 1.39Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.32 18.6 20.06c-.25 1.11-.91 1.39-1.85.87l-5.1-3.76-2.46 2.37c-.27.27-.5.5-1.02.5l.36-5.2L18 6.34c.41-.37-.09-.57-.64-.2L5.6 13.7l-5.03-1.57c-1.09-.34-1.11-1.09.23-1.62l19.65-7.58c.91-.34 1.71.2 1.49 1.39Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.modal-telegram a:hover { background: rgba(34,158,217,.18); }
.modal-telegram b { font-weight: 700; }

/* Contact section */
.contact-card { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-telegram { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 16px 30px; border-radius: var(--radius-pill); background: #229ED9; color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; box-shadow: 0 14px 34px rgba(34,158,217,.34); transition: transform .15s ease, box-shadow .15s ease; }
.contact-telegram::before { content: ""; width: 22px; height: 22px; flex: none; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.32 18.6 20.06c-.25 1.11-.91 1.39-1.85.87l-5.1-3.76-2.46 2.37c-.27.27-.5.5-1.02.5l.36-5.2L18 6.34c.41-.37-.09-.57-.64-.2L5.6 13.7l-5.03-1.57c-1.09-.34-1.11-1.09.23-1.62l19.65-7.58c.91-.34 1.71.2 1.49 1.39Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.32 18.6 20.06c-.25 1.11-.91 1.39-1.85.87l-5.1-3.76-2.46 2.37c-.27.27-.5.5-1.02.5l.36-5.2L18 6.34c.41-.37-.09-.57-.64-.2L5.6 13.7l-5.03-1.57c-1.09-.34-1.11-1.09.23-1.62l19.65-7.58c.91-.34 1.71.2 1.49 1.39Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.contact-telegram b { font-weight: 800; }
.contact-telegram:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(34,158,217,.42); }
.contact-alt { margin-top: 18px; color: var(--color-fog); font-size: 14.5px; }
.contact-alt a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-bone); }
.contact-alt a:hover { border-bottom-color: var(--color-fog); }
.contact-applylink { background: none; border: none; color: var(--color-text); font: inherit; cursor: pointer; padding: 0; border-bottom: 1px solid var(--color-bone); }
.contact-applylink:hover { border-bottom-color: var(--color-fog); }
.apply-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--color-text); }
.field input, .field select, .field textarea { background: #fff; border: 1px solid var(--color-bone); border-radius: var(--radius-control); padding: 11px 13px; color: var(--color-text); font: inherit; font-size: 15px; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-gold-signal); }
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8f98' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.field input.invalid, .field select.invalid { border-color: #e05757; }
.form-fine { font-size: 13px; color: var(--color-fog); text-align: center; }
.apply-success { text-align: center; padding: 28px 10px; }
.success-mark { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; font-size: 1.7rem; color: var(--color-obsidian); background: var(--color-gold-signal); border-radius: var(--radius-pill); }
.apply-success h2 { font-size: var(--text-heading-lg); margin-bottom: 10px; }
.apply-success p { color: var(--color-fog); max-width: 380px; margin: 0 auto 22px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); padding: 8px 24px; border-bottom: 1px solid var(--color-bone); box-shadow: 0 12px 24px rgba(14,165,233,.12); }
  .nav-links.open a { padding: 12px 0; color: var(--color-text); }
  .hero { padding: 130px 0 84px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .crm-grid { grid-template-columns: 1fr; gap: 40px; }
  .vs-crit { padding: 12px 14px; font-size: 13px; }
  .vs-cell { padding: 12px 12px; font-size: 12.5px; gap: 6px; }
  .vs-headrow .vs-col { padding: 13px; font-size: 13px; }
  .vs-badge { display: none; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-stat:nth-child(2) { border-right: none; }
  .band-stat:nth-child(1), .band-stat:nth-child(2) { border-bottom: 1px solid var(--color-bone); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .head-block h2, .cta-inner h2 { font-size: var(--text-display-sm); }
}
@media (max-width: 560px) {
  .nav-actions .btn-ghost { display: none; }
  .gw-stage { perspective: 900px; height: 170px; }
  .gw-ring { width: 140px; height: 90px; }
  .gw-tile:nth-child(1)  { transform: rotateY(0deg)   translateZ(280px); }
  .gw-tile:nth-child(2)  { transform: rotateY(30deg)  translateZ(280px); }
  .gw-tile:nth-child(3)  { transform: rotateY(60deg)  translateZ(280px); }
  .gw-tile:nth-child(4)  { transform: rotateY(90deg)  translateZ(280px); }
  .gw-tile:nth-child(5)  { transform: rotateY(120deg) translateZ(280px); }
  .gw-tile:nth-child(6)  { transform: rotateY(150deg) translateZ(280px); }
  .gw-tile:nth-child(7)  { transform: rotateY(180deg) translateZ(280px); }
  .gw-tile:nth-child(8)  { transform: rotateY(210deg) translateZ(280px); }
  .gw-tile:nth-child(9)  { transform: rotateY(240deg) translateZ(280px); }
  .gw-tile:nth-child(10) { transform: rotateY(270deg) translateZ(280px); }
  .gw-tile:nth-child(11) { transform: rotateY(300deg) translateZ(280px); }
  .gw-tile:nth-child(12) { transform: rotateY(330deg) translateZ(280px); }
  .feature-grid, .ind-grid, .band-grid, .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .band-stat { border-right: none !important; border-bottom: 1px solid var(--color-bone); }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 26px 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
}
