/* Paymetify — site styles */
:root {
  --ink: #0a0a0a;
  --ink-2: #3a3f4b;
  --muted: #6b7280;
  --faint: #9aa1ad;
  --blue: #8a6a2f;
  --blue-2: #c9a45c;
  --blue-3: #e3c88a;
  --green: #8a6a2f;
  --green-2: #c9a45c;
  --red: #d9363e;
  --accent-rgb: 138, 106, 47;
  --accent2-rgb: 201, 164, 92;
  --dot: radial-gradient(circle at 35% 30%, #f1d9a0, #a8823a);
  --btn: linear-gradient(180deg, #2b2a27 0%, #0e0d0c 100%);
  --line: rgba(var(--accent-rgb), 0.12);
  --glass: rgba(255, 255, 255, 0.32);
  --orb: radial-gradient(circle at 50% 30%, #f6e3b4 0%, #c9a45c 52%, #6e5220 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Raleway", "Inter", sans-serif;
  --font-brand: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --header-h: 84px;
  --grad-hero: radial-gradient(circle at center, #ffffff 0%, #f8f5ee 38%, #e9dfc9 100%);
  --grad-decline: radial-gradient(circle at center, #ffffff 0%, #f3f2f0 38%, #d9d8d4 100%);
  --grad-approve: radial-gradient(circle at center, #ffffff 0%, #fbf4e2 38%, #efdcaa 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: #1a1a1a;
  background: #faf8f3;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: rgba(var(--accent2-rgb), 0.2); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.18); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), 0.32); }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }

/* ---------- background + canvas ---------- */
.bg-layer {
  position: fixed; inset: 0; z-index: -10;
  background: var(--grad-hero);
  transition: background 1.2s var(--ease-io);
}
body[data-stage="1"] .bg-layer { background: var(--grad-decline); }
body[data-stage="2"] .bg-layer { background: var(--grad-approve); }
body:not([data-page="home"]) .bg-layer { background: radial-gradient(circle at 70% 10%, #ffffff 0%, #f8f5ee 40%, #ece3d0 100%); }

.scene-fixed { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene-fixed canvas, .scene-lite canvas { display: block; width: 100%; height: 100%; }

/* ---------- type ---------- */
.label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(var(--accent-rgb), .8); margin: 0;
}
.label.light { color: rgba(255, 255, 255, .45); }
.eyebrow { font-family: var(--font-display); font-weight: 500; font-size: clamp(12px, 1.1vw, 14px); letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin: 0 0 clamp(14px, 2vw, 24px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0; }
.display { font-size: clamp(2.6rem, 7vw, 96px); line-height: .95; letter-spacing: -0.045em; }
.h2 { font-size: clamp(2.4rem, 5.6vw, 80px); line-height: .96; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.8rem, 3.4vw, 48px); line-height: 1; letter-spacing: -0.03em; }
.lede { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: #3f4450; margin: 0; }
.small-print { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--blue); }
.accent-green { color: var(--green); }
.strike { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--red); color: #8a8f99; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .6), inset 0 1px 1px rgba(255,255,255,.35); }
.btn.primary:hover { box-shadow: 0 16px 36px -10px rgba(var(--accent-rgb), .7), inset 0 1px 1px rgba(255,255,255,.35); }
.btn.ghost { background: rgba(255,255,255,.35); border-color: rgba(255,255,255,.7); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1.5px 2px rgba(255,255,255,.7), 0 8px 30px rgba(0,0,0,.04); }
.btn.ghost:hover { background: rgba(255,255,255,.6); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.orb { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orb); flex: none; transition: transform .3s var(--ease); }
.orb.lg { width: 44px; height: 44px; }
.orb svg { width: 16px; height: 16px; fill: none; stroke: #1a1408; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--blue); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: background .4s, box-shadow .4s, transform .8s var(--ease), opacity .8s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(var(--accent-rgb), .08); }
html.is-loading .site-header { opacity: 0; transform: translateY(-16px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-brand); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: .22em; color: var(--ink); text-decoration: none; }
.wordmark .mark { width: 22px; height: 22px; border-radius: 50%; background: var(--orb); box-shadow: inset 0 1px 2px rgba(255,255,255,.5); position: relative; }
.wordmark .mark::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border-left: 2px solid #1a1408; border-bottom: 2px solid #1a1408; transform: rotate(-45deg); }
.nav { display: flex; gap: clamp(24px, 3.4vw, 48px); }
.nav a { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-decoration: none; color: var(--ink); padding: 12px 0; position: relative; transition: opacity .25s; }
.nav a:hover { opacity: .6; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.pill-cta {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 22px; border-radius: 999px; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; min-height: 44px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1); border-top-color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.85);
  box-shadow: inset 0 1.5px 2px rgba(255,255,255,.7), 0 8px 30px rgba(0,0,0,.04);
  transition: background .25s, transform .25s var(--ease);
}
.pill-cta:hover { background: rgba(255,255,255,.4); }
.pill-cta:hover .orb { transform: scale(1.06); }
.pill-cta:active { transform: scale(.98); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.3); backdrop-filter: blur(14px); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 25; background: rgba(250,248,243,.97); backdrop-filter: blur(20px); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 500; font-size: 34px; letter-spacing: -.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mono { font-size: 12px; color: var(--muted); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f8f5ee 45%, #ebe2cd 100%); transition: opacity .55s var(--ease-io); }
.loader.leaving { opacity: 0; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader-inner > * { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: loaderIn .9s var(--ease) forwards; }
.loader-inner > :nth-child(1) { animation-delay: .1s; } .loader-inner > :nth-child(2) { animation-delay: .26s; } .loader-inner > :nth-child(3) { animation-delay: .42s; }
@keyframes loaderIn { to { opacity: 1; transform: none; filter: none; } }
.loader-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #8a7f6a; }
.loader-bar { width: clamp(180px, 32vw, 280px); height: 2px; border-radius: 99px; background: rgba(var(--accent-rgb), .14); overflow: hidden; }
.loader-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #e3c88a 0%, #8a6a2f 100%); box-shadow: 0 0 14px rgba(var(--accent2-rgb), .55); transition: width .45s var(--ease); }
.loader-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- entrance + reveal ---------- */
[data-enter] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.is-loading [data-enter] { opacity: 0; transform: translateY(22px); }
html.js [data-reveal] { opacity: 0; transform: translateY(42px); filter: blur(8px); transition: opacity 1.5s var(--ease), transform 1.5s var(--ease), filter 1.5s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- scroll story (home) ---------- */
.story { position: relative; z-index: 10; pointer-events: none; }
.story a, .story button, .story .interactive { pointer-events: auto; }
.screen { min-height: 100svh; display: flex; position: relative; }
.hero { align-items: flex-end; padding: calc(var(--header-h) + 24px) var(--gutter) clamp(40px, 6vh, 56px); }
.hero-row { width: 100%; max-width: 1360px; margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { max-width: 13ch; }
.hero-right { width: 300px; flex: none; display: flex; flex-direction: column; gap: 18px; }
.hero-right .lede { font-size: 15px; line-height: 1.4; color: #1f2430; }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; animation: pulse 2s ease-in-out infinite; }
.scroll-cue svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes pulse { 50% { opacity: .45; } }

.drop { align-items: flex-start; padding: calc(var(--header-h) + clamp(32px, 6vh, 64px)) var(--gutter) 120px; }
.split { width: 100%; max-width: 1360px; margin-inline: auto; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split .lede { margin-top: 28px; max-width: 34rem; }
.split h2 { margin-top: 22px; }
.cards { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }

.glass-card { position: relative; border-radius: 1.4rem; padding: 1px; background: linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,.3), rgba(255,255,255,.1)); box-shadow: 0 14px 40px -12px rgba(var(--accent-rgb), .18); transition: transform .35s var(--ease), box-shadow .35s; }
.glass-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(var(--accent-rgb), .24); }
.glass-card > .inner { position: relative; border-radius: calc(1.4rem - 1px); background: rgba(255,255,255,.3); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); padding: 20px 24px; overflow: hidden; }
.glass-card > .inner::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,.95), transparent); }
.card-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.card-head .k { flex: 1; }
.card-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 8px rgba(var(--accent2-rgb), .6); }
.card-head .dot.red { background: var(--dot); box-shadow: 0 0 8px rgba(var(--accent2-rgb), .55); }
.card-head .dot.green { background: var(--dot); box-shadow: 0 0 8px rgba(var(--accent2-rgb), .55); }
.glass-card .v { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); margin: 10px 0 4px; }
.glass-card .d { font-size: 13.5px; color: var(--muted); margin: 0; }

.shape { flex-direction: column; justify-content: space-between; padding: clamp(120px, 18vh, 170px) var(--gutter) clamp(80px, 12vh, 140px); }
.shape > div { width: 100%; max-width: 1360px; margin-inline: auto; }
.shape-top h2 { margin-top: 22px; max-width: 12ch; }
.shape-bottom { display: flex; justify-content: flex-end; }
.shape-bottom > div { max-width: 25rem; text-align: right; }
.hint-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.38); backdrop-filter: blur(12px); color: #3f4450; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hint-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.release { align-items: center; justify-content: center; text-align: center; padding: 140px var(--gutter); }
.release > div { max-width: 52rem; }
.release h2 { margin-top: 26px; }
.release .lede { margin: 28px auto 0; max-width: 30rem; }
.release .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- regular content sections ---------- */
.section { position: relative; z-index: 10; padding: clamp(90px, 12vw, 150px) 0; }
.section.solid { background: transparent; }
.section.tint { background: rgba(241, 233, 216, .4); }
.section.dark { background: rgba(14, 13, 11, .92); color: #ece8df; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lede { color: #bdb6a6; }
.section.dark .label { color: #d9bd7f; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-top: 20px; }
.section-head .lede { max-width: 32rem; justify-self: end; }

.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
a.card { text-decoration: none; }
a.card:hover, .card.hoverable:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -24px rgba(var(--accent-rgb), .35); border-color: rgba(var(--accent2-rgb), .3); }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.card p { margin: 0; color: #4b5161; font-size: 15px; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, #f8f1e1, #eddcb3); color: var(--blue); }
.card .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--blue-2); }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card li { font-size: 14.5px; color: #3f4450; padding-left: 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg); }

.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: #dfe5f5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo:hover img, a:hover .photo img { transform: scale(1.03); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.square { aspect-ratio: 1; }

.photo-card { padding: 0; overflow: hidden; gap: 0; }
.photo-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.photo-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }

/* feature split with photo */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature .copy h2 { margin: 20px 0 24px; }
.feature .copy .btn-row, .feature .copy .link-arrow { margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; color: #2e3340; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--orb); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 4px; border-left: 2px solid #1a1408; border-bottom: 2px solid #1a1408; transform: rotate(-45deg); }
.section.dark .checks li { color: #e2dccf; }

/* ---------- app frame (merchant dashboard mock) ---------- */
.app-frame { border-radius: 20px; background: #fff; border: 1px solid rgba(var(--accent-rgb), .12); box-shadow: 0 40px 90px -40px rgba(var(--accent-rgb), .45), 0 2px 0 rgba(255,255,255,.8) inset; overflow: hidden; font-size: 13px; color: #1f2430; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #eef0f6; background: #fafbff; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ef; }
.app-bar .t { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 170px 1fr; min-height: 360px; }
.app-side { border-right: 1px solid #eef0f6; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side span { padding: 8px 10px; border-radius: 8px; color: #5b6170; }
.app-side span.on { background: #f6eedb; color: var(--blue); font-weight: 600; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid #eef0f6; border-radius: 12px; padding: 12px 14px; }
.kpi .k { font-size: 11px; color: var(--muted); }
.kpi .v { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-top: 4px; }
.kpi .v small { font-size: 11px; font-weight: 600; color: var(--green); margin-left: 6px; }
.tx { width: 100%; border-collapse: collapse; }
.tx th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid #eef0f6; }
.tx td { padding: 10px 6px; border-bottom: 1px solid #f3f4f8; white-space: nowrap; }
.tx td.amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.tx tr.new td { animation: rowIn 3.2s var(--ease) infinite; }
@keyframes rowIn { 0% { background: rgba(201,164,92,.18); } 60%, 100% { background: transparent; } }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.badge.ok { background: #f6eedb; color: #6e5220; }
.badge.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9a45c; }
.badge.route { background: #efefed; color: var(--blue); }
.app-mid { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }

/* bank routing diagram */
.routing { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; padding: 32px; border-radius: var(--radius); background: #14120f; border: 1px solid rgba(217,189,127,.18); min-height: 380px; }
.routing .node { border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #e8ebf7; font-size: 13px; }
.routing .node b { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; }
.routing .node span { color: #a39a87; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; }
.routing .hub { width: 116px; height: 116px; border-radius: 50%; background: var(--orb); display: grid; place-items: center; text-align: center; color: #1a1408; font-family: var(--font-brand); font-weight: 700; font-size: 12px; letter-spacing: .16em; box-shadow: 0 0 0 10px rgba(var(--accent2-rgb), .12), 0 0 60px rgba(var(--accent2-rgb), .5); position: relative; z-index: 2; }
.routing .col { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.routing .col.right .node { border-color: rgba(201,164,92,.45); }
.routing svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.routing svg.lines path { fill: none; stroke: rgba(217,189,127,.22); stroke-width: 1.2; }
.routing svg.lines path.pulse { stroke: #e3c88a; stroke-width: 2; stroke-dasharray: 6 220; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -226; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; border-top: 2px solid var(--blue-2); background: rgba(255,255,255,.6); border-radius: 0 0 var(--radius) var(--radius); }
.step .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--blue-2); }
.step h3 { font-size: 22px; font-weight: 600; margin: 14px 0 10px; }
.step p { margin: 0; color: #4b5161; font-size: 15px; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ind:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(var(--accent-rgb), .35); border-color: rgba(var(--accent2-rgb), .3); }
.ind h3 { font-size: 18px; font-weight: 600; }
.ind p { margin: 0; font-size: 14px; color: #5b6170; }
.ind .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); background: #f6eedb; padding: 4px 8px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, background .25s; }
a.chip:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.chip.no { color: #8a8f99; background: transparent; }

/* page hero (inner pages) */
.page-hero { position: relative; z-index: 10; min-height: 86svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(56px, 8vh, 96px); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.page-hero h1 { margin-top: 22px; }
.page-hero .lede { max-width: 30rem; }
.page-hero .side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.scene-lite { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
@media (max-width: 900px) { .scene-lite { opacity: .5; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(var(--accent2-rgb), .35); box-shadow: 0 18px 40px -26px rgba(var(--accent-rgb), .35); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--blue-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #4b5161; max-width: 60rem; }

/* pricing factors */
.factor { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.factor .num { font-family: var(--font-mono); font-size: 11px; color: var(--blue-2); letter-spacing: .2em; padding-top: 4px; }
.factor h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.factor p { margin: 0; color: #4b5161; font-size: 15px; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 90px -50px rgba(var(--accent-rgb), .45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.field label .opt { color: var(--faint); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9deea; background: #fbfcff; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c3dd; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(var(--accent2-rgb), .15); background: #fff; }
.field .err { font-size: 13px; color: var(--red); min-height: 0; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--muted); max-width: 26rem; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.form-status.ok { background: #f6eedb; color: #5a4318; }
.form-status.bad { background: #fde8e9; color: #8f1d23; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(var(--accent-rgb), .4); }
.contact-card .ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--orb); }
.contact-card .ico svg { width: 18px; height: 18px; fill: none; stroke: #1a1408; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.contact-card span { font-size: 14px; color: #4b5161; }

/* CTA band */
.cta-band { position: relative; z-index: 10; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(201,164,92,.35) 0%, transparent 55%), #12110f; color: #fff; padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(255,255,255,.8); margin-top: 20px; }
.cta-band .btn.light { background: var(--orb); color: #1a1408; }
.cta-band .btn.light:hover { filter: brightness(1.06); }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 10; background: #0a0a0a; color: #fff; border-radius: 40px 40px 0 0; overflow: hidden; margin-top: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.glow-a { width: 28rem; height: 28rem; right: -8rem; top: -8rem; background: radial-gradient(circle, #c9a45c55 0%, transparent 65%); }
.glow-b { width: 32rem; height: 32rem; left: -10rem; bottom: -12rem; background: radial-gradient(circle, #e3c88a33 0%, transparent 65%); }
.marquee { border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 0; overflow: hidden; position: relative; }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 26s linear infinite; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 6vw, 64px); color: rgba(255,255,255,.9); letter-spacing: -.02em; }
.marquee-track span { padding: 0 32px; }
.marquee-track i { width: 10px; height: 10px; border-radius: 50%; background: #c9a45c; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer-body { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-top: clamp(64px, 8vw, 96px); padding-bottom: 40px; }
.footer-cta h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 60px); line-height: .98; letter-spacing: -.03em; margin: 18px 0 32px; }
.mail-pill { display: inline-flex; align-items: center; gap: 16px; padding: 7px 7px 7px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.4vw, 18px); transition: background .25s, transform .25s var(--ease); max-width: 100%; }
.mail-pill:hover { background: rgba(255,255,255,.1); }
.mail-pill:hover .orb svg { transform: rotate(45deg); }
.mail-pill:active { transform: scale(.98); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.col-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 18px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols a, .footer-cols .plain { display: inline-flex; align-items: center; min-height: 36px; font-family: var(--font-display); font-size: 15px; color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s, transform .25s var(--ease); word-break: break-all; }
.footer-cols a:hover { color: #fff; transform: translateX(3px); }
.footer-cols .plain { color: rgba(255,255,255,.55); }
.footer-bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wordmark.small { color: #fff; font-size: 15px; }
.footer-brand .dot { width: 6px; height: 6px; border-radius: 50%; background: #c9a45c; }
.footer-brand .mono { font-size: 11px; color: rgba(255,255,255,.4); }
.disclosure { margin: 0; max-width: 46rem; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.38); }

.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: var(--gutter); max-width: 900px; margin: 0 auto; }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 88px); line-height: .95; letter-spacing: -.04em; }
.notfound p { color: #4b5161; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .pill-cta { padding-left: 16px; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-right { width: 100%; max-width: 30rem; }
  .split, .feature, .section-head, .page-hero .wrap, .cta-band, .footer-body { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .section-head .lede { justify-self: start; }
  .grid.c3 { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .routing { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .routing .col { width: 100%; }
  .routing svg.lines { display: none; }
}
@media (max-width: 640px) {
  .pill-cta span:first-child { display: none; }
  .pill-cta { padding: 6px; }
  .grid.c3, .grid.c2, .grid.c4, .ind-grid, .steps, .form-grid, .footer-cols { grid-template-columns: 1fr; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app-kpis .kpi:last-child { display: none; }
  .tx .hide-sm { display: none; }
  .btn-row .btn { width: 100%; }
  .shape-bottom > div { text-align: left; }
  .shape-bottom { justify-content: flex-start; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .mail-pill span:first-child { overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ---------- accents follow the background (home scroll story) ---------- */
body[data-stage="1"] {
  --blue: #3d3c39;
  --blue-2: #8d8b86;
  --blue-3: #c9c7c2;
  --accent-rgb: 61, 60, 57;
  --accent2-rgb: 141, 139, 134;
  --orb: radial-gradient(circle at 50% 30%, #f4f4f2 0%, #a9a7a2 52%, #4a4946 100%);
  --dot: radial-gradient(circle at 35% 30%, #e6e5e2, #6d6b67);
}
body[data-stage="2"] {
  --blue: #7a5a1a;
  --blue-2: #d4a845;
  --blue-3: #efd28c;
  --accent-rgb: 122, 90, 26;
  --accent2-rgb: 212, 168, 69;
  --orb: radial-gradient(circle at 50% 30%, #fbe7ae 0%, #d4a845 52%, #6b4c12 100%);
  --dot: radial-gradient(circle at 35% 30%, #fbe7ae, #b8892c);
  --btn: linear-gradient(180deg, #2e2716 0%, #0f0c05 100%);
}
.label, .eyebrow, .link-arrow { transition: color .8s var(--ease-io); }
