:root {
  --blue: #1461db;
  --blue-dark: #0e4fba;
  --ink: #111111;
  --muted: #667085;
  --line: #e6edf6;
  --card: #f6f9ff;
  --soft: #f7f9fc;
  --lime: #c6f27b;
  --lime-ink: #245c32;
  --green: #17803d;
  --green-deep: #0f6b32;
  --pink: #fde8ef;
  --black: #151515;
  --header-h: 72px;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  --radius: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: #f4f4f5;
  background: #050505;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(20, 97, 219, 0.55); color: #fff; }
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; color: #111; padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 8px; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 92px 0; }
.eyebrow {
  margin: 0;
  text-align: center;
  color: #9ec1ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title {
  margin: 12px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede {
  margin: 14px auto 0;
  max-width: 620px;
  text-align: center;
  color: #c4c4cc;
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  white-space: nowrap;
}
.btn-blue, .btn-green, .btn-outline { background: #111; color: #fff; border-color: #111; }
.btn-blue:hover, .btn-green:hover, .btn-outline:hover { background: #2a2a2e; }
.btn-black { background: #f4f4f5; color: #111; }
.btn-black:hover { background: #fff; }
.btn-ghost { border-color: #f4f4f5; color: #f4f4f5; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.nav-actions .btn-blue,
.nav-actions .btn-black { background: #f4f4f5; color: #111; border-color: transparent; }
.nav-actions .btn-blue:hover,
.nav-actions .btn-black:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn, .horizon-primary, .horizon-secondary, .menu-btn, .pills button,
.sim-seg button, .sim-run, .sim-open, .lang button, .docs-side button, .rails button,
.copy, .close-x, .chip {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, opacity 0.2s ease, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:active, .horizon-primary:active, .horizon-secondary:active, .sim-run:not(:disabled):active,
.pills button:active, .sim-seg button:active, .lang button:active, .close-x:active { transform: scale(0.97); }
.chev { width: 16px; height: 16px; }

.sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #050505;
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #222226;
}
.sticky-wrap.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 22px;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.menu { position: relative; }
.menu-btn, .nav-links > a {
  border: 0;
  background: transparent;
  text-decoration: none;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #f4f4f5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.menu-btn:hover, .nav-links > a:hover { background: #161618; }
.caret { width: 12px; height: 12px; opacity: 0.7; }
.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 20;
}
.menu-panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px; height: 10px;
}
.menu:hover .menu-panel, .menu:focus-within .menu-panel, .menu.open .menu-panel { display: grid; }
.menu-panel a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
}
.menu-panel a { transition: background-color 0.18s ease; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: #f5f8ff; }
.caret { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
@media (min-width: 981px) {
  .menu-panel {
    display: grid;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px) scale(0.985);
    transform-origin: top left;
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.22s;
  }
  .menu:hover .menu-panel, .menu:focus-within .menu-panel, .menu.open .menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .menu:hover .caret, .menu:focus-within .caret { transform: rotate(180deg); }
}
.menu-panel strong { font-size: 14px; font-weight: 650; }
.menu-panel span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111114;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: #f4f4f5; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.horizon { background: #050505; color: #fafafa; }
.horizon-stage {
  position: relative;
  height: max(40rem, calc(100svh - var(--header-h)));
  overflow: hidden;
  container-type: inline-size;
  --orb: max(135vw, 56rem);
  --orb: max(135cqw, 56rem);
  --cap: clamp(13rem, 42%, 22rem);
}
.horizon-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.035);
  background-image: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 8px);
  animation: horizon-lines 6s linear infinite, horizon-lines-flicker 3.2s ease-in-out infinite;
}
@keyframes horizon-lines { to { background-position: 16px 0; } }
@keyframes horizon-lines-flicker {
  0%, 100% { color: rgba(255, 255, 255, 0.03); }
  50% { color: rgba(255, 255, 255, 0.06); }
}
/* Pointer spotlight, positioned by hero.js. */
.horizon-spot {
  position: absolute;
  z-index: 11;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.3), rgba(45, 212, 191, 0.09) 55%, transparent);
  opacity: 0;
  transform: translate3d(var(--spot-x, 50vw), var(--spot-y, 40%), 0);
  transition: opacity 0.6s ease;
  will-change: transform;
}
.horizon.is-pointer .horizon-spot { opacity: 1; }
.horizon-drift {
  position: absolute;
  z-index: 12;
  width: 46%;
  height: 34%;
  left: -8%;
  top: 18%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(20, 97, 219, 0.34), rgba(45, 212, 191, 0.08) 60%, transparent);
  filter: blur(10px);
  animation: horizon-drift 7s ease-in-out infinite;
}
@keyframes horizon-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate3d(95%, -6%, 0) scale(1.12); opacity: 1; }
  66% { transform: translate3d(180%, 10%, 0) scale(0.96); opacity: 0.8; }
}
.horizon-streaks {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 90%);
}
.horizon-streaks span {
  position: absolute;
  top: 0;
  left: var(--left);
  width: 2px;
  height: 360px;
  transform-origin: top left;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
  animation: horizon-streak var(--dur) linear var(--delay) infinite;
}
/* JS-generated streaks: a meteor with a bright head that falls toward the horizon. */
.horizon-streaks span.meteor {
  width: var(--w, 2px);
  height: var(--len, 240px);
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--tint, rgba(255, 255, 255, 0.55)) 78%, #fff);
  box-shadow: 0 0 10px 1px var(--tint, rgba(255, 255, 255, 0.35));
  animation: horizon-meteor var(--dur) cubic-bezier(0.45, 0, 0.75, 1) var(--delay) infinite;
}
@keyframes horizon-streak {
  0% { transform: translateY(-100%) scale(var(--sx), var(--sy)); opacity: 0; }
  12% { opacity: var(--peak); }
  100% { transform: translateY(260%) scale(var(--sx), var(--sy)); opacity: 0; }
}
@keyframes horizon-meteor {
  0% { transform: translate3d(0, -110%, 0); opacity: 0; }
  10% { opacity: var(--peak); }
  82% { opacity: var(--peak); }
  100% { transform: translate3d(0, var(--fall, 85vh), 0); opacity: 0; }
}
.horizon-copy {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  bottom: calc(var(--cap) + 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.horizon-eyebrow {
  margin: 0;
  color: #a3a3ad;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 450;
}
.horizon-title {
  margin: 4px 0 0;
  max-width: 14ch;
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.024em;
  color: #fafafa;
  animation: horizon-title 3.6s ease-in-out 2.2s infinite;
}
@keyframes horizon-title {
  0%, 100% { text-shadow: 0 0 0 rgba(158, 193, 255, 0); }
  50% { text-shadow: 0 10px 36px rgba(158, 193, 255, 0.35); }
}
/* The headline rises in on load (the span carries no inline intro styles). */
.horizon-title > span { display: inline-block; animation: title-swap 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes title-swap {
  from { opacity: 0; transform: translateY(0.18em); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.horizon-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }
.horizon-primary, .horizon-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.horizon-primary { border: 0; background: #f4f4f5; color: #111; }
.horizon-primary:hover { background: #fff; }
.horizon-secondary { border: 1px solid #f4f4f5; background: transparent; color: #f4f4f5; }
.horizon-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.horizon-halo, .horizon-planet { position: absolute; inset: 0; pointer-events: none; }
.horizon-halo { z-index: 10; overflow: hidden; }
.horizon-planet {
  z-index: 30;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 64px);
  mask-image: linear-gradient(to top, transparent 0, #000 64px);
}
.orb { position: absolute; left: 50%; border-radius: 999px; }
.orb-halo {
  width: calc(var(--orb) * 1.3);
  height: calc(var(--orb) * 1.3);
  margin-left: calc(var(--orb) * -0.65);
  top: calc(100% - var(--cap) - var(--orb) * 0.15);
}
.halo-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-image: radial-gradient(circle closest-side,
    transparent 64%,
    rgba(255,255,255,0.04) 71%,
    rgba(255,255,255,0.12) 74.5%,
    rgba(255,255,255,0.16) 75.5%,
    rgba(255,255,255,0.125) 77.5%,
    rgba(255,255,255,0.07) 80.5%,
    rgba(255,255,255,0.035) 85%,
    rgba(255,255,255,0.015) 91%,
    transparent 98%);
}
.rim-clip, .rim-filter, .rim-layer { position: absolute; inset: 0; }
.rim-soft { filter: blur(10px); opacity: 0.45; }
.rim-sharp { filter: blur(2px); opacity: 1; }
.orb-rim {
  background-image: conic-gradient(from 0deg at 50% 50%, #f4f4f5 0deg, #2dd4bf 10deg, #3b82f6 60deg, #3b82f6 180deg, #f97316 180deg, #f97316 300deg, #eab308 350deg, #f4f4f5 360deg);
  -webkit-mask-image: conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,0.4) 0deg, #000 35deg, #000 325deg, rgba(0,0,0,0.4) 360deg);
  mask-image: conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,0.4) 0deg, #000 35deg, #000 325deg, rgba(0,0,0,0.4) 360deg);
}
.orb-rim-soft {
  width: calc(var(--orb) + 6px);
  height: calc(var(--orb) + 6px);
  margin-left: calc((var(--orb) + 6px) / -2);
  top: calc(100% - var(--cap) - 3px);
  animation: horizon-spin 22s linear infinite reverse;
}
.orb-rim-sharp {
  width: calc(var(--orb) + 4px);
  height: calc(var(--orb) + 4px);
  margin-left: calc((var(--orb) + 4px) / -2);
  top: calc(100% - var(--cap) - 2px);
  animation: horizon-spin 14s linear infinite;
}
@keyframes horizon-spin { to { transform: rotate(360deg); } }
/* A light that sweeps back and forth along the visible arc of the rim. */
.orb-sweep {
  width: calc(var(--orb) + 8px);
  height: calc(var(--orb) + 8px);
  margin-left: calc((var(--orb) + 8px) / -2);
  top: calc(100% - var(--cap) - 4px);
  background-image: conic-gradient(from 0deg at 50% 50%,
    rgba(255, 255, 255, 0.95) 0deg, rgba(158, 193, 255, 0.5) 4deg, transparent 11deg,
    transparent 349deg, rgba(158, 193, 255, 0.5) 356deg, rgba(255, 255, 255, 0.95) 360deg);
  animation: horizon-sweep 3.4s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}
.rim-soft .orb-sweep { filter: blur(6px); }
@keyframes horizon-sweep {
  from { transform: rotate(-46deg); }
  to { transform: rotate(46deg); }
}
.horizon-halo { animation: horizon-breathe 3.6s ease-in-out infinite; }
@keyframes horizon-breathe {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
/* Pause the hero loops once it is scrolled out of view (class set by hero.js). */
.horizon.is-offscreen *, .horizon.is-offscreen *::before, .horizon.is-offscreen *::after { animation-play-state: paused !important; }
.orb-disk, .orb-edge {
  width: var(--orb);
  height: var(--orb);
  margin-left: calc(var(--orb) / -2);
  top: calc(100% - var(--cap));
}
.orb-disk { background: #050505; filter: blur(0.5px); }
.orb-edge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Rotating globe (js/globe.js) that fills the dark planet. The canvas covers the
   visible band from just above the rim to the bottom of the hero; globe.js scales
   the sphere onto the disk. */
.horizon-globe {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - var(--cap) - 24px);
  bottom: 0;
  pointer-events: auto;
}
.horizon-globe canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  contain: layout paint size;
  cursor: grab;
  touch-action: pan-y;
}
.horizon-edge { opacity: 0; }
.halo-fill { opacity: 0; transform: scale(0.84); }
.rim-clip { opacity: 0; clip-path: inset(-64px 100% -64px -64px); }
.rim-filter { filter: hue-rotate(-40deg) saturate(0.35); }
.horizon-copy { transform: translateY(4px); }
.horizon-eyebrow { opacity: 0; filter: blur(1.5px); }
.horizon-title, .horizon-actions { opacity: 0; filter: blur(2.5px); }
.offer {
  width: min(640px, calc(100% - 48px));
  margin: 8px auto 10px;
  color: #17301c;
  background: var(--lime);
  border-radius: 18px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  text-align: left;
  border: 0;
  cursor: pointer;
}
.offer { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease; }
.offer:hover { filter: saturate(1.05); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(198, 242, 123, 0.16); }
.offer:active { transform: translateY(0) scale(0.99); }
.offer-num { font-size: 42px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.offer p { margin: 0; font-weight: 650; }
.offer ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--lime-ink); font-size: 13px; font-weight: 600; }
.offer li { display: flex; align-items: center; gap: 6px; }
.offer li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }

.word {
  display: inline-flex;
  align-items: center;
  gap: 54px;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: clamp(20px, 2.2vw, 26px);
  color: #8b8b95;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.word::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #1461db;
  transform: rotate(45deg);
  opacity: 0.8;
}
.marquee:hover .word:hover { color: #fafafa; }

.cover-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cover-card {
  grid-column: span 2;
  background: #121214;
  border-radius: 18px;
  padding: 28px 26px 30px;
  text-align: left;
  border: 1px solid #232328;
  min-height: 220px;
  width: 100%;
  font: inherit;
  color: #f4f4f5;
}
.cover-card.wide { grid-column: span 3; }
/* Cards are buttons, so pin the content to the top instead of centring it. */
.cover-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.cover-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}
.cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(20, 97, 219, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cover-card > * { position: relative; }
.cover-card:hover, .cover-card:focus-visible { border-color: #2a4a86; transform: translateY(-3px); background-color: #141418; }
.cover-card:hover::before, .cover-card:focus-visible::before { opacity: 1; }
.cover-card .ic { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.cover-card:hover .ic, .cover-card:focus-visible .ic { transform: translateY(-3px) scale(1.06); }
.cover-card h3 { margin: 34px 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.cover-card p { margin: 0; color: #b7b7c0; font-size: 15px; max-width: 38ch; }
.ic { width: 34px; height: 34px; color: var(--blue); }

.marquee-wrap {
  padding: 28px 0 8px;
  background: transparent;
  overflow: hidden;
  max-width: 100%;
}
.marquee-label {
  text-align: center;
  color: #c6f27b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 54px; padding-right: 54px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.stack { padding-top: 24px; padding-bottom: 20px; }
.stack-stage {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.float-card {
  background: #fff;
  color: #111;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid #edf1f6;
  min-width: 0;
}
.float-card.chart { padding: 16px; background: #f4ffe4; border-color: #e2f3bf; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.float-card.pay { padding: 14px 16px; }
.float-card.chat { padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.chart-top { display: flex; justify-content: space-between; font-size: 12px; color: #4d6b32; font-weight: 650; }
.chart-top b { font-size: 22px; color: #14301c; letter-spacing: -0.03em; }
.chart-note { margin: 0; font-size: 12.5px; line-height: 1.5; font-weight: 600; color: #4d6b32; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f2f4f7; font-size: 13px; font-weight: 650; }
.mini-row:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 99px; display: inline-block; margin-right: 6px; }
.bubble { background: #f4f7fb; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; color: #344054; }
.bubble + .bubble { margin-top: 8px; background: #e9f8ee; }

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bento-card {
  border-radius: 28px;
  padding: 22px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: #111;
}
.bento-card.checkout { background: linear-gradient(180deg, #e7f1ff, #f8fbff); }
.bento-card.methods { background: linear-gradient(180deg, #eefbf3, #f9fffb); }
.bento-card.subs { background: #fde8ef; }
.bento-card.links { background: #f3fbe3; }
.bento-card.forms { background: #f4f7ff; }
.bento-card.settle { background: #f7f8f4; }
.bento-card h3 { margin: 8px 0; font-size: 28px; letter-spacing: -0.03em; }
.bento-card p { margin: 0; color: #475467; max-width: 46ch; }
.ui-phone, .ui-panel {
  margin-top: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}
.stat {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 22px;
}
.stat b { font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.saved-pay { padding: 14px; width: min(320px, 100%); margin-left: auto; margin-top: 22px; }
.saved-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #667085; font-weight: 600; }
.saved-head b { font-size: 22px; color: #111; letter-spacing: -0.03em; }
.saved-row {
  display: flex; align-items: center; gap: 4px; margin-top: 8px; padding: 10px 12px;
  border: 1px solid #edf0f4; border-radius: 12px; font-size: 13px; font-weight: 650;
}
.saved-row.is-on { border-color: #1461db; background: #f3f7ff; }
.saved-row em { margin-left: auto; font-style: normal; font-size: 11px; color: #1461db; font-weight: 700; }
.saved-cta {
  margin-top: 10px; height: 38px; border-radius: 999px; background: #111; color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
}
.stat span { display: block; font-size: 12px; color: #d0d5dd; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.method {
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-list { padding: 8px; }
.pay-list button, .link-card {
  width: 100%;
  text-align: left;
  border: 1px solid #edf0f4;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-weight: 650;
}
.pay-list button.is-on { background: #14301c; color: #fff; border-color: #14301c; }
.wa {
  margin-top: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  width: min(280px, 100%);
  margin-left: auto;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.wa b { display: block; margin-bottom: 6px; }
.note { background: #f4fff0; border-radius: 12px; padding: 8px; margin-top: 8px; }

.integrate-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.integrate-card {
  background: var(--soft);
  color: #111;
  border-radius: 24px;
  padding: 42px 28px 0;
  text-align: center;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.integrate-card h3 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.integrate-card .sub { color: var(--muted); margin: 8px 0 16px; }
.integrate-card .small-print { max-width: 46ch; margin: 14px auto 0; font-size: 13px; }
.checks { list-style: none; margin: 0 0 18px; padding: 0; color: #344054; }
.checks li { display: flex; gap: 8px; justify-content: center; padding: 4px 0; font-size: 14.5px; }
.checks svg { color: var(--blue); flex: 0 0 auto; }
.phone-slot { margin-top: auto; width: min(280px, 100%); padding-top: 28px; transform: translateY(26px); }
.phone {
  color: #111;
  background: #fff;
  border: 3px solid var(--blue);
  border-radius: 32px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 16px 40px rgba(20, 97, 219, 0.12);
}
.phone-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px 6px; font-size: 11px; color: #667085;
}
.phone-body { padding: 8px 14px 18px; }
.field {
  margin-top: 10px;
  background: #f6f8fb;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.field label { display: block; font-size: 11px; color: #98a2b3; }
.field input {
  border: 0; background: transparent; width: 110px; font-size: 20px; font-weight: 700; padding: 0; color: #111;
}
.field select, .chip {
  border: 0; background: #fff; border-radius: 8px; padding: 4px 8px; font-weight: 700; font-size: 13px; color: #111;
}
.receive { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.rate-line { margin-top: 8px; font-size: 12px; color: #667085; }
.phone .btn { width: 100%; margin-top: 12px; }
#theme-pay { transition: background-color 0.35s ease, transform 0.16s ease; }

.pills {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 26px auto 0;
  background: #141417;
  border: 1px solid #26262c;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  overflow: auto;
  scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pills button {
  border: 0; background: transparent; border-radius: 999px;
  padding: 10px 16px; font-weight: 600; font-size: 14px; color: #a1a1aa; white-space: nowrap;
}
.pills button:not(.is-on):hover { color: #fafafa; background: rgba(255, 255, 255, 0.06); }
.pills button.is-on { background: #f4f4f5; color: #111; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.usecase-panel {
  display: none;
  margin-top: 18px;
  color: #111;
  background: #f4f8ff;
  border-radius: 28px;
  padding: 48px 44px;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}
.usecase-panel.is-on { display: grid; animation: panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.usecase-panel h3 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.03em; line-height: 1.15; }
.usecase-panel p { margin: 0 0 14px; color: #475467; }
.usecase-panel .checks { text-align: left; }
.usecase-panel .checks li { justify-content: flex-start; }
.usecase-panel .btn-outline { background: transparent; color: #111; border-color: #111; }
.usecase-panel .btn-outline:hover { background: #fff; }
.diagram { width: 100%; height: auto; }

.rails { display: flex; gap: 6px; background: #f2f4f7; border-radius: 999px; padding: 4px; margin-top: 10px; }
.rails button { flex: 1; border: 0; background: transparent; border-radius: 999px; height: 32px; font-weight: 700; font-size: 13px; }
.rails button.is-on { background: #111; color: #fff; }

.payout-stack { margin-top: 10px; display: grid; gap: 12px; }
.payout-item {
  background: #f6fbf4;
  color: #102216;
  border-radius: 24px;
  border: 1px solid #e5f0df;
  overflow: hidden;
}
.payout-item { transition: background-color 0.35s ease, box-shadow 0.35s ease; }
.payout-item header button {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 750;
}
.payout-item header button::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: 0.55;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.payout-item.is-open header button::after { transform: translateY(2px) rotate(-135deg); }
.payout-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.payout-collapse > div { min-height: 0; overflow: hidden; }
.payout-item.is-open .payout-collapse { grid-template-rows: 1fr; }
.payout-body {
  display: grid; padding: 0 22px 22px; grid-template-columns: 1fr 320px; gap: 18px; align-items: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.payout-item.is-open .payout-body { opacity: 1; transition-delay: 0.08s; }
.payout-item.is-open { box-shadow: var(--shadow); background: #f3fbe8; }
.bulk { background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.bulk .file { font-size: 12px; color: #667085; margin-bottom: 8px; }
.bulk .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-top: 1px solid #f2f4f7; }
.bar { height: 8px; background: #e8f6df; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; width: 72%; background: var(--green); }
.receive-box { background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.receive-box label { display: flex; justify-content: space-between; padding: 8px; border: 1px solid #eee; border-radius: 10px; margin-top: 8px; }

.industry-panel { display: none; margin-top: 22px; }
.industry-panel.is-on { display: block; animation: panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.scene {
  color: #102216;
  background: linear-gradient(180deg, #e7f6ea, #f7fbf4);
  border-radius: 28px;
  min-height: 320px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: center;
}
.scene-copy h3 { margin: 18px 0 8px; font-size: 30px; letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { background: #fff; border: 1px solid #e4e7ec; border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 650; }
.mock-checkout { background: #14301c; color: #fff; border-radius: 18px; padding: 14px; }
.mock-checkout .riskpill { display: flex; gap: 6px; margin: 8px 0; }
.mock-checkout .riskpill span { background: #245c3a; border-radius: 8px; padding: 6px 8px; font-size: 12px; }
.mock-checkout .riskpill span.on { background: #c6f27b; color: #14301c; }
.switch { width: 36px; height: 20px; background: #c6f27b; border-radius: 99px; position: relative; display: inline-block; }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; background: #fff; border-radius: 99px; top: 2px; right: 2px; }

.dev-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dev-card { background: #f7f9fc; color: #111; border-radius: 20px; padding: 22px; min-width: 0; }
.dev-card pre { overflow-wrap: anywhere; }
.dev-card h3 { margin: 0 0 8px; }
.dev-card p { margin: 0 0 14px; color: #475467; }
.code {
  background: #101828;
  color: #e8eefc;
  border-radius: 14px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  overflow: auto;
  min-height: 140px;
  position: relative;
}
.code button.copy {
  position: absolute; top: 8px; right: 8px;
  border: 0; background: #f4f4f5; color: #111; border-radius: 8px; padding: 4px 8px; font-size: 12px;
}
.code .copy + pre { padding-top: 26px; }
.lang { display: flex; gap: 6px; margin-bottom: 8px; }
.lang button { border: 1px solid #e4e7ec; background: #fff; border-radius: 999px; padding: 4px 8px; font-size: 12px; }
.lang button.is-on { background: #111; color: #fff; border-color: #111; }

.faq-list { max-width: 820px; margin: 22px auto 0; }
.faq-item { border-bottom: 1px solid #2a2a2e; }
.faq-item button.q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 18px 4px; font-weight: 680; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color 0.2s ease;
}
.faq-item button.q:hover { color: #fff; }
.faq-item .a {
  display: grid;
  grid-template-rows: 0fr;
  color: #c8c8d0;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item .a > div { min-height: 0; overflow: hidden; padding: 0 4px; opacity: 0; transition: opacity 0.3s ease, padding 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-item.is-open .a { grid-template-rows: 1fr; }
.faq-item.is-open .a > div { padding-bottom: 18px; opacity: 1; transition-delay: 0.06s; }
.faq-item .pm {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #2f2f36;
  color: #9ec1ff;
  font-size: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item .pm::before, .faq-item .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  margin: -0.75px 0 0 -5.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item .pm::after { transform: rotate(90deg); }
.faq-item.is-open .pm { border-color: #3b6fd0; background: rgba(20, 97, 219, 0.14); transform: rotate(180deg); }
.faq-item.is-open .pm::after { transform: rotate(0deg); }

.footer-links { background: #0a0a0c; padding: 28px 0; }
.frow { display: grid; grid-template-columns: 230px 1fr; gap: 12px; padding: 8px 0; align-items: start; }
.frow b { color: #9ec1ff; font-size: 13px; letter-spacing: .04em; }
.frow p { margin: 0; color: #d4d4dc; }
.frow a { color: #d4d4dc; text-decoration: none; }
.frow a:hover { color: var(--blue); }
.footer-base { padding: 28px 0 40px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; }
.footer-base p { color: #c8c8d0; max-width: 460px; }
.badges { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.badge {
  width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--blue);
  display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; color: #9ec1ff; line-height: 1.15;
  border-color: #9ec1ff;
}
.legal { display: flex; justify-content: space-between; gap: 12px; color: #a1a1aa; font-size: 13px; margin-top: 18px; }
.socials { display: flex; gap: 14px; align-items: center; }
.socials button { border: 0; background: transparent; color: #f4f4f5; font-weight: 800; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  color: #111;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line);
}
.cookie p { margin: 0; font-size: 13.5px; color: #475467; max-width: 760px; }
.cookie .btn-ghost { border-color: #111; color: #111; background: transparent; }
.cookie .btn-ghost:hover { background: #f3f4f6; }
.integrate-card .btn-outline,
.dev-card .btn-outline { background: #111; color: #fff; border-color: #111; }
.integrate-card .btn-outline:hover,
.dev-card .btn-outline:hover { background: #2a2a2e; }
.bento-card input, .bento-card select, .bento-card textarea, .receive-box { color: #111; }
.cookie .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-panel { display: none; margin-top: 10px; }
.cookie.settings .cookie-panel { display: block; }
.cookie.settings { align-items: stretch; flex-direction: column; }

.section-nav {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: rgba(20, 20, 23, 0.82); border: 1px solid #2a2a30; border-radius: 999px;
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  display: flex; gap: 2px; padding: 5px; z-index: 40;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
body.cookie-open .section-nav { display: none; }
[hidden] { display: none !important; }
.section-nav a {
  text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650; color: #c4c4cc;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.section-nav a:not(.is-on):hover { color: #fff; }
.section-nav a.is-on { background: #f4f4f5; color: #111; }
.section-nav.is-hidden {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.drawer, .modal {
  position: fixed; z-index: 80; background: #fff;
}
.drawer {
  color: #111;
  top: 0; right: 0; height: 100%; width: min(460px, 100%);
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .45s;
  visibility: hidden;
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
}
.drawer.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.backdrop {
  position: fixed; inset: 0; background: rgba(5, 5, 8, 0.55); z-index: 75; display: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.backdrop.is-on { display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  color: #111;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 24px));
  border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: none; max-height: min(86vh, 760px); overflow: auto;
  overscroll-behavior: contain;
}
.modal.is-on { display: block; animation: modal-in 0.38s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(0.97); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal h2 { padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 97, 219, 0.18); }
.form input { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.success { animation: panel-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.modal h2, .drawer h2 { margin: 0 0 8px; letter-spacing: -0.03em; }
.form { display: grid; gap: 10px; margin-top: 12px; }
.form label { display: grid; gap: 4px; font-size: 13px; font-weight: 650; }
.form input, .form select, .form textarea {
  border: 1px solid #d0d5dd; border-radius: 10px; padding: 10px 12px; font-weight: 500;
}
.form .err { color: #b42318; font-size: 12px; font-weight: 600; min-height: 16px; }
.form input.bad { border-color: #b42318; }
.close-x { position: absolute; top: 12px; right: 12px; border: 0; background: #f2f4f7; width: 32px; height: 32px; border-radius: 50%; }
.modal, .drawer { position: fixed; }
.success { background: #f4fff0; border-radius: 12px; padding: 12px; }

.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(14px) scale(0.98);
  width: max-content; max-width: calc(100% - 32px); text-align: center;
  background: #f4f4f5; color: #111; padding: 10px 16px; border-radius: 999px; z-index: 90;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.docs-side { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.docs-side button { border: 1px solid #111; background: #fff; color: #111; border-radius: 999px; padding: 6px 10px; }
.docs-side button.is-on { background: #111; color: #fff; border-color: #111; }

@media (max-width: 980px) {
  .burger { display: flex; }
  .nav-links, .nav-actions { display: none; }
  :root { --header-h: 72px; }
  .nav-links.is-open, .nav-actions.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    left: 0; right: 0;
    background: #050505;
    padding: 12px 16px 20px;
    z-index: 49;
  }
  .nav-links.is-open { top: var(--header-h); bottom: 0; overflow: auto; margin: 0; padding-top: 64px; animation: fade-in 0.25s ease; }
  .nav-links.is-open .menu-btn { width: 100%; justify-content: space-between; height: 48px; font-size: 16px; }
  .menu.open .caret { transform: rotate(180deg); }
  .menu.open .menu-panel { animation: panel-in 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
  .nav-actions.is-open { top: var(--header-h); bottom: auto; flex-direction: row; border-bottom: 1px solid #222226; animation: fade-in 0.25s ease; }
  .menu-panel { position: static; box-shadow: none; border: 0; display: none; min-width: 0; }
  .menu.open .menu-panel { display: grid; }
  .cover-grid, .bento, .integrate-grid, .dev-grid, .usecase-panel.is-on, .payout-body, .footer-base, .scene {
    grid-template-columns: 1fr;
  }
  .cover-card, .cover-card.wide { grid-column: span 1; }
  .cover-grid { grid-template-columns: 1fr; }
  .stack-stage { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .section-nav { max-width: calc(100% - 24px); overflow: auto; }
  .hero-copy { padding-top: 120px; }
  .offer { grid-template-columns: 1fr; }
}

.flow-kicker {
  margin: 0 0 14px;
  text-align: center;
  color: #c6f27b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rail-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.rail-steps-center { justify-content: center; margin: 0 auto 12px; }
.rail-steps span {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid #e4e7ec;
}
.rail-steps span.is-on { background: #1461db; color: #fff; border-color: #1461db; }
.rail-caption { margin: 8px 0 0; font-size: 13.5px; color: #344054; font-weight: 650; }
.rail-hub { transform-box: view-box; transform-origin: 210px 78px; }
.rail-kicker {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1461db;
}
.stack-stage { position: relative; }

.sim {
  margin: 0 0 22px;
  padding: 22px 22px 16px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(20, 97, 219, 0.28), transparent 58%),
    #100e18;
  border: 1px solid #2a2740;
  color: #f4f4f5;
}
.sim-status { margin: 0 0 14px; min-height: 2.7em; font-size: 14.5px; color: #e4e7f2; }
.sim-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-steps span {
  font-size: 12px; font-weight: 700; color: #b7bdd0;
  background: #221f33; border-radius: 999px; padding: 6px 10px;
}
.sim-steps span.is-on { background: var(--blue); color: #fff; }
.sim-board { position: relative; height: 300px; margin: 6px 0 16px; }
.sim-board svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sim-node, .sim-card { position: absolute; z-index: 2; }
.sim-node {
  width: 176px; top: 72px;
  background: #2a2738; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.sim-node.left { left: 8px; }
.sim-node.right { right: 8px; }
.sim-node b, .sim-node strong, .sim-node span { display: block; }
.sim-node b { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #c5c9d8; font-weight: 700; }
.sim-node strong { margin-top: 3px; font-size: 15px; letter-spacing: -0.02em; }
.sim-node span { margin-top: 2px; font-size: 12px; color: #c5c9d8; }
.sim-node.is-hot { background: var(--blue); }
.sim-node.is-hot b, .sim-node.is-hot span { color: #e7efff; }
.sim-card {
  width: 248px; left: 50%; top: 28px;
  transform: translateX(-50%);
  background: #fff; color: #111; border-radius: 18px;
  padding: 14px 16px 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
}
.sim-card.is-tilt { transform: translateX(-50%) rotate(-8deg); }
.sim-card header { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #98a2b3; }
.sim-amount { margin-top: 8px; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.sim-card p { margin: 6px 0 0; color: #475467; font-size: 13px; }
.sim-wait { min-height: 1.3em; }
.sim-wallets p { margin: 8px 0 6px; font-weight: 700; color: #111; }
.sim-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sim-icons i { height: 28px; border-radius: 8px; display: block; }
.sim-qr { display: grid; grid-template-columns: repeat(11, 8px); gap: 2px; width: max-content; margin: 10px auto 4px; }
.sim-qr i { width: 8px; height: 8px; background: transparent; display: block; }
.sim-qr i.on { background: #111; }
.sim-open, .sim-paid {
  display: inline-flex; margin-top: 12px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 12px;
}
.sim-paid { letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.sim-controls {
  display: grid; grid-template-columns: 1.3fr 0.7fr auto auto auto;
  gap: 12px; align-items: end;
  background: #1a1726; border-radius: 18px; padding: 12px;
}
.sim-controls label, .sim-field > span {
  display: block; font-size: 11px; font-weight: 700; color: #b7bdd0;
}
.sim-controls input {
  display: block; width: 100%; margin-top: 6px;
  background: #100e18; color: #fff; border: 0; border-radius: 999px; padding: 9px 12px;
}
.sim-seg { display: flex; gap: 4px; margin-top: 6px; background: #100e18; border-radius: 999px; padding: 4px; }
.sim-seg button {
  border: 0; background: transparent; color: #d0d5e2; border-radius: 999px;
  padding: 8px 12px; font-weight: 700; font-size: 13px;
}
.sim-seg button.is-on { background: var(--blue); color: #fff; }
.sim-run {
  height: 40px; border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 14px; padding: 0 16px; min-width: 9.5rem;
}
.sim-run:hover { background: #2a74ec; }
.sim[data-phase]:not([data-phase="idle"]):not([data-phase="done"]) .sim-run { box-shadow: 0 0 0 4px rgba(20, 97, 219, 0.25); }
.sim-run:disabled { opacity: 0.72; cursor: default; }
.sim-seg button:not(.is-on):hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.sim-controls input { transition: box-shadow 0.2s ease; }
.sim-controls input:focus { outline: none; box-shadow: 0 0 0 2px var(--blue); }
.sim-node { transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.sim-node.is-hot { box-shadow: 0 12px 30px rgba(20, 97, 219, 0.35); }
.sim-steps span { transition: background-color 0.3s ease, color 0.3s ease; }
.sim-note { margin: 10px 2px 0; font-size: 12px; color: #9aa3b8; }

.spark-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: spark-draw 4.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes spark-draw {
  0% { stroke-dashoffset: 100; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}
.rail-dash { animation: rail-dash 1.1s linear infinite; }
@keyframes rail-dash { to { stroke-dashoffset: -26; } }
.pay-line { border-radius: 10px; transition: background 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.pay-line.is-hot { background: #eef4ff; transform: translateX(4px); }
.bubble.is-swap { animation: bubble-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.method { transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.method.is-hot { border-color: #1461db; background: #eef4ff; transform: translateY(-2px); }
.settle-phase, .flow-status {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #17803d;
}
#settle-card .mini-row { border-radius: 8px; transition: background 0.3s ease; }
#settle-card .mini-row.is-hot { background: #f3fbe8; }
#widget-phone { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
#widget-phone.is-tilt { transform: rotate(-2.4deg) translateY(-6px); }
#widget-phone .phone-body { min-height: 248px; }
#theme-phone { transition: border-color 0.35s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
#theme-phone.is-tilt { transform: rotate(2deg) translateY(-4px); }
.note { animation: note-pulse 3.2s ease-in-out infinite; }
@keyframes note-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 128, 61, 0); }
  50% { box-shadow: 0 0 0 6px rgba(23, 128, 61, 0.12); }
}
.switch::after { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.switch.is-off::after { transform: translateX(-16px); }
.offer-num { animation: offer-glow 3.4s ease-in-out infinite; }
@keyframes offer-glow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 18px rgba(20, 48, 28, 0.28); }
}

@media (max-width: 980px) {
  .sim-controls { grid-template-columns: 1fr 1fr; }
  .sim-run { grid-column: 1 / -1; }
  .sim-board {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0 4px;
  }
  .sim-board svg { position: relative; inset: auto; width: min(420px, 100%); height: 64px; order: 2; }
  .sim-node, .sim-card { position: relative; left: auto; right: auto; top: auto; width: min(320px, 100%); }
  .sim-card { order: 3; transform: none; }
  .sim-card.is-tilt { transform: rotate(-6deg); }
  .sim-node.left { order: 1; }
  .sim-node.right { order: 4; }
  .integrate-card { min-height: 0; padding: 28px 16px 0; }
  .usecase-panel { padding: 28px 18px; }
  .usecase-panel h3 { font-size: 28px; }
  .pills { width: 100%; flex-wrap: wrap; justify-content: center; border-radius: 18px; overflow: visible; }
  .section-nav a { padding: 8px 10px; font-size: 12.5px; }
}

@media (max-width: 720px) {
  :root { --header-h: 168px; }
  .container { width: min(1160px, calc(100% - 32px)); }
  .nav { height: auto; min-height: 60px; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .burger { order: 2; }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
  .horizon-copy { padding: 0 16px; bottom: calc(var(--cap) + 2rem); }
  .horizon-stage { --cap: clamp(7.5rem, 30%, 14rem); }
  .sim { padding: 16px 12px 12px; border-radius: 20px; }
  .sim-controls { grid-template-columns: 1fr; }
  .sim-amount { font-size: 28px; }
  .offer { width: min(640px, calc(100% - 32px)); padding: 16px; }
  .offer-num { font-size: 34px; }
  .faq-item button.q { font-size: 16px; overflow-wrap: anywhere; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie .actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .horizon-streaks span { animation: none; }
  .horizon-streaks { display: none; }
  .drawer { transition: none; }
  .horizon-edge, .halo-fill, .rim-clip, .horizon-eyebrow, .horizon-title, .horizon-actions { opacity: 1; filter: none; clip-path: none; }
  .halo-fill, .horizon-copy { transform: none; }
  .rim-filter { filter: none; }
  .spark-line, .rail-dash, .offer-num, .note, .horizon-lines, .horizon-drift, .orb-rim-soft, .orb-rim-sharp, .horizon-halo, .horizon-title { animation: none; }
  .horizon-drift, .orb-sweep, .horizon-spot { display: none; }
  .spark-line { stroke-dashoffset: 0; }
  .sim-card { transition: none; }
  .usecase-panel.is-on, .industry-panel.is-on, .modal.is-on, .backdrop.is-on, .success,
  .horizon-title > span, .nav-links.is-open, .menu.open .menu-panel { animation: none !important; }
  .btn, .horizon-primary, .horizon-secondary, .menu-btn, .pills button, .sim-seg button, .sim-run,
  .menu-panel, .caret, .cover-card, .cover-card::before, .cover-card .ic, .offer,
  .payout-collapse, .payout-body, .faq-item .a, .faq-item .a > div, .faq-item .pm, .faq-item .pm::before, .faq-item .pm::after,
  .section-nav, .toast, .burger span, #theme-phone, #theme-pay { transition: none !important; }
  .btn:active, .horizon-primary:active, .horizon-secondary:active, .sim-run:active, .pills button:active { transform: none; }
  .cover-card:hover, .offer:hover { transform: none; }
}
@media (scripting: none) {
  .horizon-edge, .halo-fill, .rim-clip, .horizon-eyebrow, .horizon-title, .horizon-actions { opacity: 1; filter: none; clip-path: none; }
  .halo-fill, .horizon-copy { transform: none; }
  .rim-filter { filter: none; }
}
/* The Gaming & Casino link sits in the burger menu at the same size as the menu buttons. */
@media (max-width: 980px) {
  .nav-links.is-open > a { width: 100%; height: 48px; font-size: 16px; }
}

/* Honeypot fields: hidden from people, left for spam bots to fill. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Supported assets table in the networks drawer. */
.assets-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.assets-table th, .assets-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.assets-table th:first-child { text-align: left; }
.assets-table thead th { font-size: 12px; font-weight: 650; color: var(--muted); }
.assets-table tbody th { font-weight: 650; }

/* Cookie banner: the three buttons stay on one row and clear the hero on phones. */
.cookie .actions { flex-wrap: nowrap; }
.cookie .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .cookie { padding: 12px; }
  .cookie p { font-size: 12.5px; }
  .cookie .actions .btn { flex: 1; padding-left: 8px; padding-right: 8px; font-size: 13px; }
}

/* Mobile hero: the header no longer reserves a row for the audience toggle. */
@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .horizon-stage { height: max(34rem, calc(100svh - var(--header-h) - 96px)); --cap: clamp(6rem, 24%, 10rem); }
}

/* Legal pages: one readable text column under the shared header and footer. */
.legal-nav .nav-actions { display: flex; margin-left: auto; }
.legal-doc { max-width: 760px; margin: 44px auto 0; color: #c8c8d0; font-size: 15.5px; line-height: 1.7; }
.legal-doc h2 { margin: 40px 0 10px; color: #f4f4f5; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.legal-doc h3 { margin: 26px 0 8px; color: #f4f4f5; font-size: 17px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 20px; }
.legal-doc li { margin: 4px 0; }
.legal-doc a { color: #9ec1ff; }
.legal-doc .table-wrap { overflow-x: auto; margin: 0 0 14px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-doc th, .legal-doc td { padding: 10px 8px; border-bottom: 1px solid #2a2a2e; text-align: left; vertical-align: top; }
.legal-doc th { color: #f4f4f5; font-weight: 650; }

/* Hide the "Powered by Netlify" badge that Netlify injects on free-tier projects. */
#nl-badge-frame, #nl-hud-frame { display: none !important; }
