/* Orbita Pay — shared styles (home + developers) */

:root {
  --bg: #f8f9ff;
  --bg-2: #f0f2fc;
  --surface: #ffffff;
  --ink: #0a0f2e;
  --ink-2: #2a3058;
  --muted: #5a6185;
  --faint: #8a90b0;
  --line: rgba(10, 15, 46, .08);
  --line-2: rgba(10, 15, 46, .14);
  --violet: #6c3cff;
  --indigo: #4b4cf6;
  --blue: #1f6fff;
  --cyan: #18b4f0;
  --grad: linear-gradient(115deg, #7b3dff 0%, #4b4cf6 50%, #1f86ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(123, 61, 255, .12), rgba(31, 134, 255, .12));
  --ok: #08936a;
  --ok-bg: #e2f6ee;
  --warn: #a8690a;
  --warn-bg: #fff2d6;
  --bad: #d4334a;
  --bad-bg: #fdeaec;
  --route-bg: #efeaff;
  --navy: #070b26;
  --navy-2: #0d1338;
  --sh-1: 0 1px 2px rgba(10, 15, 46, .05), 0 1px 1px rgba(10, 15, 46, .03);
  --sh-2: 0 1px 2px rgba(10, 15, 46, .04), 0 12px 32px -14px rgba(28, 36, 110, .2);
  --sh-3: 0 2px 4px rgba(10, 15, 46, .04), 0 30px 64px -24px rgba(28, 36, 110, .3);
  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hdr-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }

::selection { background: rgba(108, 60, 255, .18); }

:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }
.dark :focus-visible, .cta__copy :focus-visible, .calc__out :focus-visible, .plan--ent :focus-visible, .code :focus-visible { outline-color: #a9b4ff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; padding: clamp(76px, 7.4vw, 112px) 0; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font: 600 13px/1 var(--f-text);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow__orb {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  margin: 0 5px;
}
.eyebrow__orb::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(108, 60, 255, .45);
  transform: rotate(-24deg);
}
.eyebrow--dark { color: #b4a6ff; }
.eyebrow--dark .eyebrow__orb::after { border-color: rgba(180, 166, 255, .55); }

.h2 {
  font: 600 clamp(2rem, 1.25rem + 2.4vw, 3.3rem)/1.06 var(--f-display);
  letter-spacing: -.038em;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}
.sh { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sh--center { margin-left: auto; margin-right: auto; text-align: center; }
.sh--center .lead { margin: 0 auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--indigo);
  text-decoration: none;
}
.more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover .ic { transform: translateX(3px); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.ticks .ic { width: 18px; height: 18px; color: var(--indigo); stroke-width: 2.2; margin-top: 1px; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--f-text);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 24px -10px rgba(76, 60, 255, .7), 0 2px 4px rgba(40, 30, 140, .18);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 32px -12px rgba(76, 60, 255, .75), 0 2px 4px rgba(40, 30, 140, .18); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1);
}
.btn--ghost:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(10, 15, 46, .22), var(--sh-2); }

.btn--light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.btn--light:hover { transform: translateY(-1px); background: #f1f0ff; }

.btn--outline-light { color: #fff; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }

.btn--text { height: 44px; padding: 0 12px; color: var(--indigo); background: none; }
.btn--text:hover { color: var(--ink); }

/* ---------- Header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hdr-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 255, .78);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  opacity: 0;
  transition: opacity .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-scrolled::before, .hdr.is-menu::before { opacity: 1; }
.hdr.is-menu { border-bottom-color: transparent; }

.hdr__in { position: relative; display: flex; align-items: center; gap: 28px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__word { font: 700 21px/1 var(--f-display); letter-spacing: -.04em; }
.logo__word span { font-weight: 500; color: var(--muted); margin-left: 3px; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink-2);
  font: 500 15px/1 var(--f-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); background: rgba(10, 15, 46, .05); }
.nav__link[aria-current="page"] { color: var(--ink); background: rgba(75, 76, 246, .08); }
.ic--chev { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.nav__ddbtn[aria-expanded="true"] .ic--chev { transform: rotate(180deg); }

.nav__item--dd { position: relative; }
.dd {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  width: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -24px rgba(28, 36, 110, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--dd.is-open .dd,
html.no-js .nav__item--dd:hover .dd,
html.no-js .nav__item--dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__grid { display: grid; gap: 2px; }
.dd__link { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.dd__link:hover { background: var(--bg); }
.dd__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad-soft); color: var(--indigo); flex: none; }
.dd__link b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.dd__link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dd__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(123, 61, 255, .55), transparent 60%), linear-gradient(160deg, #161b4d, #070b26);
}
.dd__feature::before {
  content: "";
  position: absolute;
  right: -60px; top: -20px;
  width: 220px; height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  transform: rotate(-24deg);
}
.dd__feature-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #c3b6ff; font-weight: 600; }
.dd__feature b { font: 600 16px/1.3 var(--f-display); letter-spacing: -.01em; }
.dd__feature-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.dd__feature-more .ic { width: 14px; height: 14px; }

.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr__signin {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.hdr__signin:hover { color: var(--ink); background: rgba(10, 15, 46, .05); }

.burger {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(10, 15, 46, .05);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  padding: calc(var(--hdr-h) + 12px) 0 28px;
  background: rgba(248, 249, 255, .97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__in { display: flex; flex-direction: column; min-height: 100%; width: 100%; max-width: 600px; margin: 0 auto; padding: 0 20px; }
.mnav__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  font: 600 28px/1.1 var(--f-display);
  letter-spacing: -.035em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mnav__nav a .ic { width: 22px; height: 22px; color: var(--faint); }
.mnav.is-open .mnav__nav a { opacity: 1; transform: none; }
.mnav.is-open .mnav__nav a:nth-child(2) { transition-delay: .04s; }
.mnav.is-open .mnav__nav a:nth-child(3) { transition-delay: .08s; }
.mnav.is-open .mnav__nav a:nth-child(4) { transition-delay: .12s; }
.mnav.is-open .mnav__nav a:nth-child(5) { transition-delay: .16s; }
.mnav__actions { display: grid; gap: 10px; margin-top: 28px; opacity: 0; transition: opacity .45s .2s; }
.mnav.is-open .mnav__actions { opacity: 1; }
.mnav__status { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 28px; font-size: 13.5px; color: var(--muted); }

.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #12b886; flex: none; }
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(18, 184, 134, .45);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */

.rv { transition: opacity .8s var(--ease) var(--rvd, 0s), translate .8s var(--ease) var(--rvd, 0s); }
html.rv-on .rv:not(.is-in) { opacity: 0; translate: 0 26px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-top: calc(var(--hdr-h) * -1);
  padding: calc(var(--hdr-h) + 64px) 0 72px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 46% at 80% 26%, rgba(139, 77, 255, .24), transparent 70%),
    radial-gradient(34% 44% at 98% 66%, rgba(31, 134, 255, .22), transparent 70%),
    radial-gradient(30% 36% at 60% 88%, rgba(24, 180, 240, .14), transparent 70%),
    radial-gradient(28% 30% at 6% 8%, rgba(139, 77, 255, .08), transparent 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 15, 46, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 15, 46, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 72% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 64% at 72% 40%, #000 0%, transparent 78%);
}
.hero__orbits { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 58%); mask-image: linear-gradient(90deg, transparent 22%, #000 58%); }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(rgba(248, 249, 255, 0), var(--bg));
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 590px);
  gap: 40px;
  align-items: center;
}
.hero__copy { max-width: 600px; }

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 30px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: box-shadow .25s;
  animation: fadeUp .8s var(--ease) both;
}
.announce:hover { box-shadow: inset 0 0 0 1px rgba(75, 76, 246, .4), var(--sh-2); }
.announce__tag { padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.announce__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.announce .ic { width: 15px; height: 15px; color: var(--indigo); transition: transform .25s var(--ease); }
.announce:hover .ic { transform: translateX(3px); }

.hero__title {
  margin: 0 0 24px;
  font: 600 clamp(2.6rem, 1.5rem + 3.3vw, 4.6rem)/1.01 var(--f-display);
  letter-spacing: -.048em;
  text-wrap: balance;
  animation: fadeUp .8s .06s var(--ease) both;
}
.hero__lead {
  max-width: 540px;
  margin: 0 0 36px;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem);
  color: var(--muted);
  text-wrap: pretty;
  animation: fadeUp .8s .12s var(--ease) both;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; animation: fadeUp .8s .18s var(--ease) both; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  animation: fadeUp .8s .24s var(--ease) both;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); stroke-width: 3; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero visual */
.hero__visual { position: relative; height: 600px; }
.hv {
  position: absolute;
  translate: calc(var(--mx, 0) * var(--d, 0) * 1px) calc(var(--my, 0) * var(--d, 0) * 1px);
  transition: translate .9s var(--ease), opacity .9s var(--ease) var(--hvd, 0s), transform 1s var(--ease) var(--hvd, 0s);
}
html.js:not(.hv-go) .hv { opacity: 0; transform: translateY(30px) scale(.97); }
.hv--gauge { top: 0; right: 8px; width: 232px; z-index: 3; --hvd: .4s; }
.hv--cashier { top: 44px; left: 0; width: 296px; z-index: 2; --hvd: .2s; }
.hv--feed { top: 222px; right: 0; width: 310px; z-index: 4; --hvd: .5s; }
.hv--toast { left: 176px; bottom: 0; z-index: 5; --hvd: .75s; }

.ui-card, .cashier, .feed, .gauge {
  background: rgba(255, 255, 255, .97);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(10, 15, 46, .06), 0 2px 4px rgba(10, 15, 46, .04), 0 28px 56px -20px rgba(32, 40, 120, .3);
}

.cashier { padding: 18px; }
.cashier__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cashier__brand { display: flex; align-items: center; gap: 10px; }
.cashier__logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #20265e, #0a0f2e);
  color: #fff;
  font: 700 16px/1 var(--f-display);
}
.cashier__brand b { display: block; font-size: 14px; line-height: 1.2; }
.cashier__brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.cashier__secure { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 11.5px; font-weight: 600; }
.cashier__secure .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.cashier__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-bottom: 14px; border-radius: 11px; background: var(--bg-2); font-size: 13px; font-weight: 600; text-align: center; }
.cashier__tabs span { padding: 7px 0; border-radius: 9px; color: var(--muted); }
.cashier__tabs .is-on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.cashier__amount { padding: 12px 14px 14px; margin-bottom: 12px; border-radius: 15px; background: linear-gradient(180deg, #f5f6ff, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.cashier__lbl { font-size: 12px; font-weight: 500; color: var(--muted); }
.cashier__val { margin: 2px 0 12px; font: 600 34px/1.1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cashier__val small { font-size: 20px; color: var(--faint); }
.cashier__chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cashier__chips span {
  padding: 6px 0;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  transition: box-shadow .3s, color .3s, background-color .3s;
}
.cashier__chips .is-on { background: #f3f1ff; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.cashier__methods { display: grid; gap: 6px; margin-bottom: 14px; }
.pm { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 13px; box-shadow: inset 0 0 0 1px var(--line); }
.pm.is-on { background: #f7f6ff; box-shadow: inset 0 0 0 1.5px var(--indigo); }
.pm__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; }
.pm__ic .ic { width: 17px; height: 17px; }
.pm__ic--bank { background: #e6f0ff; color: var(--blue); }
.pm__ic--card { background: #efe9ff; color: var(--violet); }
.pm__ic--coin { background: var(--ok-bg); color: var(--ok); }
.pm__txt { min-width: 0; }
.pm__txt b { display: block; font-size: 13px; line-height: 1.25; }
.pm__txt small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm__radio { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(10, 15, 46, .2); flex: none; }
.pm.is-on .pm__radio { box-shadow: inset 0 0 0 5px var(--indigo); }
.cashier__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(76, 60, 255, .8);
}
.cashier__cta .ic { width: 16px; height: 16px; }
.cashier__cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: translateX(-120%);
  animation: shine 4.5s 2s ease-in-out infinite;
}
@keyframes shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(240%); } }
.cashier__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.cashier__foot .ic { width: 13px; height: 13px; color: var(--ok); }

.feed { padding: 16px 16px 4px; }
.feed__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.feed__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.feed__rate { font-size: 12px; color: var(--muted); }
.feed__rate b { color: var(--ink); font-variant-numeric: tabular-nums; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #12b886; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(18, 184, 134, .45); animation: ping 1.8s var(--ease) infinite; }
.feed__viewport {
  position: relative;
  height: 260px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.feed__list { margin: 0; padding: 0; list-style: none; will-change: transform; }
.tx { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 52px; border-top: 1px solid var(--line); }
.tx:first-child { border-top-color: transparent; }
.tx__main { min-width: 0; }
.tx__main b { display: block; font: 600 14px/1.25 var(--f-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx__main small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.tx.is-new { animation: txIn .7s var(--ease) both; }
@keyframes txIn { from { opacity: 0; } to { opacity: 1; } }
.tx.is-new .st { animation: stPop .6s .15s var(--ease) both; }
@keyframes stPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

.cc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #eef0fb);
  box-shadow: inset 0 0 0 1px rgba(10, 15, 46, .11), 0 1px 1px rgba(10, 15, 46, .04);
  color: var(--ink-2);
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: .06em;
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--ok); background: var(--ok-bg); }
.st--pend { color: var(--warn); background: var(--warn-bg); }
.st--bad { color: var(--bad); background: var(--bad-bg); }
.st--route { color: var(--violet); background: var(--route-bg); }

.gauge { padding: 16px 18px 14px; }
.gauge__head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; }
.gauge__tag { padding: 3px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 11px; font-weight: 500; }
.gauge__dial { position: relative; width: 176px; margin: 10px auto 0; }
.gauge__dial svg { width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: #eceefa; stroke-width: 12; stroke-linecap: round; }
.gauge__bar { fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray 1.2s var(--ease); }
.gauge__ticks path { fill: none; stroke: #fff; stroke-width: 2; }
.gauge__num { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font: 600 34px/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge__num b { font-weight: inherit; }
.gauge__num span { font-size: 18px; color: var(--muted); margin-left: 1px; }
.gauge__foot { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.gauge__up { display: inline-flex; align-items: center; gap: 2px; color: var(--ok); font-weight: 600; }
.gauge__up .ic { width: 12px; height: 12px; stroke-width: 2.6; transform: rotate(-90deg); }

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(10, 15, 46, .94);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 24px 48px -16px rgba(10, 15, 46, .55);
  transition: opacity .4s, transform .4s var(--ease);
}
.toast.is-swap { opacity: 0; transform: translateY(8px); }
.toast__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); flex: none; }
.toast__ic .ic { width: 18px; height: 18px; }
.toast__txt b { display: block; font-size: 13.5px; line-height: 1.3; white-space: nowrap; }
.toast__txt small { display: block; font-size: 12px; color: rgba(255, 255, 255, .65); white-space: nowrap; }

/* ---------- Logos ---------- */

.logos { position: relative; padding: 4px 0 64px; }
.logos__title { margin: 0 0 28px; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.logos__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.logos__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.logos__marquee:hover .logos__track { animation-play-state: paused; }
.logos__list { display: flex; align-items: center; gap: 64px; margin: 0; padding: 0 64px 0 0; list-style: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.brand { display: inline-flex; align-items: center; gap: 9px; color: #6c7296; white-space: nowrap; transition: color .2s; }
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 22px; fill: currentColor; }
.brand--velora span { font: 700 17px/1 var(--f-display); letter-spacing: .24em; }
.brand--kestrel span { font: 700 21px/1 var(--f-display); letter-spacing: -.04em; }
.brand--kestrel em { font-style: normal; font-weight: 500; opacity: .7; margin-left: 2px; }
.brand--nordvik span { font: italic 600 22px/1 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.brand--lumio span { font: 700 23px/1 var(--f-display); letter-spacing: -.06em; }
.brand--sable span { font: italic 700 20px/1 var(--f-text); letter-spacing: -.03em; }
.brand--quantor span { font: 500 16px/1 var(--f-mono); letter-spacing: .14em; }
.brand--halvane span { font: 500 21px/1 var(--f-text); letter-spacing: .01em; }
.brand--bright span { font: 600 20px/1 var(--f-display); letter-spacing: -.025em; }

/* ---------- Metrics ---------- */

.metrics { position: relative; padding: 8px 0 16px; }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
}
.metric { padding: 32px 28px 30px; background: #fff; }
.metric p { margin: 0; }
.metric__num {
  margin-bottom: 14px !important;
  font: 600 clamp(2.3rem, 1.7rem + 1.5vw, 3.25rem)/1 var(--f-display);
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.metric__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__lbl { font-size: 15px; font-weight: 600; }
.metric__sub { margin-top: 2px !important; font-size: 13.5px; color: var(--muted); }

/* ---------- Products bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bcard {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease) var(--rvd, 0s), translate .8s var(--ease) var(--rvd, 0s);
}
.bcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(75, 76, 246, .18), var(--sh-3); }
.bcard--cashier { grid-column: span 7; flex-direction: row; }
.bcard--payouts { grid-column: span 5; }
.bcard__copy { position: relative; z-index: 1; padding: 32px 32px 8px; }
.bcard--cashier .bcard__copy { width: 44%; flex: none; padding: 36px 8px 36px 36px; display: flex; flex-direction: column; }
.bcard--cashier .ticks { margin-top: auto; }
.bcard__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 13px; background: var(--grad-soft); color: var(--indigo); }
.bcard__title { margin: 0 0 10px; font: 600 23px/1.2 var(--f-display); letter-spacing: -.025em; }
.bcard__text { margin: 0 0 18px; font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.bcard__art { position: relative; margin-top: auto; }

.art-cashier {
  flex: 1;
  min-height: 400px;
  margin: 0;
  background:
    radial-gradient(circle at 60% 50%, rgba(123, 61, 255, .14), transparent 60%),
    radial-gradient(rgba(10, 15, 46, .09) 1px, transparent 1.2px) 0 0 / 16px 16px;
}
.mc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(28, 36, 110, .35);
  transition: transform .6s var(--ease);
}
.mc--1 { z-index: 3; transform: translate(-46%, -50%); }
.mc--2 { z-index: 2; transform: translate(-82%, -56%) rotate(-8deg) scale(.92); }
.mc--3 { z-index: 1; transform: translate(-6%, -62%) rotate(7deg) scale(.88); }
.bcard--cashier:hover .mc--2 { transform: translate(-90%, -57%) rotate(-11deg) scale(.92); }
.bcard--cashier:hover .mc--3 { transform: translate(2%, -64%) rotate(10deg) scale(.88); }
.mc__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.mc__head small { margin-left: auto; font: 600 10.5px/1 var(--f-mono); color: var(--muted); letter-spacing: .05em; }
.mc__amt { margin-bottom: 10px; font: 600 24px/1.1 var(--f-display); letter-spacing: -.03em; }
.mc__row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 7px 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.mc__row.is-on { background: #f7f6ff; box-shadow: inset 0 0 0 1.5px var(--indigo); }
.mc__row em { margin-left: auto; font-size: 10px; font-style: normal; font-weight: 600; color: var(--ok); }
.mc__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-2); color: var(--indigo); flex: none; }
.mc__ic .ic { width: 13px; height: 13px; }
.mc__btn { display: grid; place-items: center; height: 36px; margin-top: 10px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 600; }

.art-payout { display: flex; flex-direction: column; gap: 16px; padding: 4px 32px 32px; }
.po { padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, #fff, #fbfbff); box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.po__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13.5px; }
.po__head small { display: block; font-size: 12px; color: var(--muted); }
.po__amt { font: 600 19px/1.2 var(--f-display); letter-spacing: -.02em; }
.po__steps { position: relative; margin: 0; padding: 0; list-style: none; }
.po__steps li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.po__steps li::before { content: ""; position: absolute; left: 7px; top: 50%; height: 100%; width: 2px; background: linear-gradient(var(--ok), rgba(8, 147, 106, .25)); }
.po__steps li.is-last::before { display: none; }
.po__steps time { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.po__steps li.is-last time { color: var(--ok); font-weight: 600; }
.po__dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4.5px var(--ok); }
.po__steps li.is-last .po__dot { box-shadow: inset 0 0 0 8px var(--ok), 0 0 0 4px var(--ok-bg); }
.po__stat { display: flex; align-items: baseline; gap: 12px; }
.po__stat b { font: 600 38px/1 var(--f-display); letter-spacing: -.045em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.po__stat span { font-size: 14px; color: var(--muted); }

.bcard--routing .more { margin-bottom: 4px; }
.art-route { padding: 8px 24px 26px; }
.art-route svg { width: 100%; height: auto; overflow: visible; }
.ar__wire { fill: none; stroke: #d6daf2; stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; animation: dash 1.1s linear infinite; }
.ar__wire--hot { stroke: #5b4cff; stroke-width: 2.5; }
@keyframes dash { to { stroke-dashoffset: -9; } }
.ar__node rect { fill: #fff; stroke: rgba(10, 15, 46, .13); }
.ar__node--hot rect { stroke: #5b4cff; stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(75, 76, 246, .25)); }
.ar__node text { font: 600 12.5px var(--f-text); fill: var(--ink); }
.ar__node .ar__pct { font: 600 12px var(--f-mono); fill: var(--ok); }

.art-fraud { display: grid; gap: 12px; padding: 4px 32px 32px; }
.risk { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.risk__ring { position: relative; width: 64px; height: 64px; flex: none; }
.risk__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.risk__track { fill: none; stroke: #eceefa; stroke-width: 7; }
.risk__val { fill: none; stroke: #12b886; stroke-width: 7; stroke-linecap: round; }
.risk__num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 20px; }
.risk__num b { font: 600 20px/1 var(--f-display); letter-spacing: -.03em; }
.risk__num small { font-size: 10px; color: var(--muted); }
.risk__meta b { display: block; font-size: 15px; color: var(--ok); }
.risk__meta small { font-size: 13px; color: var(--muted); }
.signals { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.signals li { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.signals em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.sig { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.sig .ic { width: 12px; height: 12px; stroke-width: 3; }
.sig--ok { background: var(--ok-bg); color: var(--ok); }
.sig--warn { background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 700; }

.art-recon { padding: 4px 32px 32px; }
.rec { padding: 6px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.rec__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rec__id { font: 500 11.5px/1 var(--f-mono); color: var(--muted); }
.rec__amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rec__bar { height: 6px; margin: 16px 0 10px; overflow: hidden; border-radius: 99px; background: var(--bg-2); }
.rec__bar span { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--w, 1)); transform-origin: left; }
.rec__foot { font-size: 12.5px; color: var(--muted); }
.rec__foot b { color: var(--ink); }

/* ---------- Routing ---------- */

.routing { background: linear-gradient(180deg, var(--bg), #eff1fc 40%, #eff1fc 60%, var(--bg)); }
.routing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }

.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0 24px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1);
}
.seg__pill {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform .5s var(--ease), background-color .3s;
}
.seg[data-mode="on"] .seg__pill { transform: translateX(100%); background: var(--indigo); background-image: var(--grad); }
.seg__btn {
  position: relative;
  z-index: 1;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 14.5px/1 var(--f-text);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s;
}
.seg__btn.is-on { color: #fff; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.kpi--main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 16px; padding: 20px 22px; }
.kpi--main .kpi__lbl { grid-column: 1 / -1; }
.kpi__lbl { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.kpi__val { display: block; font: 600 54px/1.05 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.kpi__val b { font-weight: inherit; }
.kpi__val--sm { margin-top: 4px; font-size: 28px; letter-spacing: -.035em; }
.kpi__delta { margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s; }
.kpi__delta.is-bad { background: var(--bad-bg); color: var(--bad); }

.routing__stage {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 30px;
  background:
    radial-gradient(rgba(10, 15, 46, .07) 1px, transparent 1.2px) 0 0 / 18px 18px,
    #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-3);
}
.rt {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(28px, .7fr) auto minmax(44px, 1fr) minmax(0, 236px);
  align-items: center;
  min-height: 350px;
}
.rt__col--src { grid-column: 1; }
.rt__col--hub { grid-column: 3; }
.rt__col--dst { grid-column: 5; }
.rt__wires { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.rt__col { position: relative; z-index: 1; display: flex; justify-content: center; }
.rt__col--src { justify-content: flex-start; }
.rt__col--dst { flex-direction: column; align-items: stretch; gap: 10px; }
.rt-src { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.rt-src__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); color: var(--indigo); flex: none; }
.rt-src__ic .ic { width: 18px; height: 18px; }
.rt-src b { display: block; font-size: 13.5px; line-height: 1.25; }
.rt-src small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.rt-hub { position: relative; display: grid; place-items: center; width: 128px; height: 128px; }
.rt-hub__core { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 34px -8px rgba(75, 76, 246, .5); }
.rt-hub__core svg { width: 48px; height: 48px; }
.rt-hub__ring { position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(75, 76, 246, .35); animation: spin 22s linear infinite; }
.rt-hub::before { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 61, 255, .25), transparent 70%); animation: breathe 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.35); opacity: .6; } }
.rt-hub__lbl { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: -4px; text-align: center; white-space: nowrap; font-size: 13px; font-weight: 600; }
.rt-hub__lbl small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.rt-dst {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), var(--sh-1);
  text-align: left;
  cursor: pointer;
  transition: box-shadow .25s, transform .3s var(--ease), opacity .4s;
}
.rt-dst:hover, .rt-dst.is-active { box-shadow: 0 0 0 1.5px var(--indigo), 0 12px 26px -12px rgba(75, 76, 246, .6); transform: translateX(-3px); }
.rt-dst__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); flex: none; transition: background-color .3s, color .3s; }
.rt-dst__ic .ic { width: 17px; height: 17px; }
.rt-dst.is-active .rt-dst__ic, .rt-dst:hover .rt-dst__ic { background: var(--grad-soft); color: var(--indigo); }
.rt-dst__txt { min-width: 0; }
.rt-dst__txt b { display: block; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-dst__txt small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-dst__share { font: 600 13px/1 var(--f-mono); color: var(--indigo); font-variant-numeric: tabular-nums; }
.rt[data-mode="off"] .rt-dst.is-idle { opacity: .42; }
.rt[data-mode="off"] .rt-dst.is-idle .rt-dst__share { color: var(--faint); }

.rt-wire { fill: none; stroke: #dfe2f3; stroke-linecap: round; transition: stroke .4s, stroke-width .6s var(--ease), opacity .4s; }
.rt-wire--in { stroke: #c9c4fb; }
.rt-wire.is-live { stroke: #b5b0fa; }
.rt-wire.is-hot { stroke: var(--indigo); }
.rt-wire.is-idle { stroke: #e7e9f5; stroke-dasharray: 4 6; }
.rt-pkt { fill: var(--indigo); }
.rt-pkt--ok { fill: #12b886; }
.rt-pkt--bad { fill: var(--bad); }

.rt-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rt-info__name { min-width: 0; }
.rt-info__k { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rt-info__name b { display: block; font: 600 17px/1.3 var(--f-display); letter-spacing: -.015em; }
.rt-info__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; margin: 0; }
.rt-info__stats dt { font-size: 12px; color: var(--muted); }
.rt-info__stats dd { margin: 0; font: 600 17px/1.3 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Coverage ---------- */

.coverage__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.coverage__side { position: sticky; top: calc(var(--hdr-h) + 32px); }
.rtabs { display: grid; gap: 8px; margin-top: 36px; }
.rtab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 15px 20px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .3s, box-shadow .3s;
}
.rtab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); transform: scaleY(0); transition: transform .35s var(--ease); }
.rtab:hover { background: rgba(255, 255, 255, .7); }
.rtab.is-on { background: #fff; box-shadow: 0 0 0 1px rgba(75, 76, 246, .35), var(--sh-2); }
.rtab.is-on::before { transform: none; }
.rtab__name { font: 600 17px/1.2 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
.rtab__meta { font-size: 13px; color: var(--muted); white-space: nowrap; }

.card { border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.map { padding: 22px 22px 16px; }
.map__svg { width: 100%; height: auto; overflow: hidden; }
.map__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.map__legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 8px; height: 8px; border-radius: 50%; background: #d0d4ea; }
.lg--on { background: var(--indigo); }
.lg--hub { background: #fff; box-shadow: 0 0 0 2px var(--violet); }

.map-dots { fill: none; stroke: #c6cbe4; stroke-linecap: round; }
.map-dots--na { stroke: #d4d8ec; }
.map-on { fill: none; stroke-linecap: round; opacity: 0; transition: opacity .6s var(--ease); }
.map-on.is-on { opacity: 1; }
.map-arc { fill: none; stroke: url(#mapArc); stroke-width: 2.4; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.map-arc.is-on { opacity: 1; animation: arcDraw 1.4s var(--ease) both; }
@keyframes arcDraw { from { stroke-dashoffset: var(--len, 600); } to { stroke-dashoffset: 0; } }
.map-hub { opacity: 0; transition: opacity .4s; }
.map-hub.is-on { opacity: 1; }
.map-hub__dot { fill: #fff; stroke: var(--violet); }
.map-hub__pulse { fill: rgba(108, 60, 255, .2); transform-box: fill-box; transform-origin: center; animation: hubPulse 2.4s var(--ease) infinite; }
.map-hub__lbl { font-family: var(--f-text); font-weight: 600; font-size: var(--lbl, 24px); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
@keyframes hubPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.map-hq__dot { fill: var(--ink); }
.map-hq__ring { fill: none; stroke: var(--ink); }

.rpanels { margin-top: 20px; }
.rpanel { display: none; padding: 26px 26px 24px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.rpanel.is-on { display: block; animation: fadeUp .5s var(--ease) both; }
html.no-js .rpanel { display: block; margin-bottom: 16px; }
.rpanel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.rpanel__title { margin: 0; font: 600 18px/1.3 var(--f-display); letter-spacing: -.015em; }
.rpanel__settle { margin: 0; font-size: 13.5px; color: var(--muted); }
.mix { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; margin: 0 0 20px; padding: 0; list-style: none; }
.mix li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 72px 36px; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; font-weight: 500; }
.mix__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-2); color: var(--indigo); }
.mix__ic .ic { width: 16px; height: 16px; }
.mix__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mix__bar { height: 6px; overflow: hidden; border-radius: 99px; background: var(--bg-2); }
.mix__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform: scaleX(calc(var(--w) * 2)); transform-origin: left; }
.rpanel.is-on .mix__bar i { animation: barIn .9s .1s var(--ease) both; }
@keyframes barIn { from { transform: scaleX(0); } }
.mix__pct { font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); text-align: right; }
.ccs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.ccs__more { margin-left: 4px; font-size: 12.5px; color: var(--muted); }

/* ---------- Developers teaser (dark) ---------- */

.dark { color: #e7e9ff; background: var(--navy); }
.dark .h2 { color: #fff; }
.dark .lead { color: rgba(231, 233, 255, .7); }
.dev { overflow: hidden; }
.dev__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 10% 0%, rgba(123, 61, 255, .32), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(31, 134, 255, .24), transparent 70%);
}
.dev__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000, transparent 80%);
}
.dev__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.dev__list { display: grid; gap: 18px; margin: 34px 0 38px; padding: 0; list-style: none; }
.dev__list li { display: flex; gap: 14px; }
.dev__list b { display: block; margin-bottom: 2px; color: #fff; font-size: 15.5px; font-weight: 600; }
.dev__list span { font-size: 15px; color: rgba(231, 233, 255, .66); }
.dev__ic { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: rgba(139, 77, 255, .2); color: #c2b4ff; flex: none; }
.dev__ic .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.dev__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.dev__sdks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; color: rgba(231, 233, 255, .55); }
.dev__sdks span { padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(231, 233, 255, .85); }

.code {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f1540, #0a0f2e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(123, 61, 255, .35);
  color: #e6e9ff;
}
.code__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code__tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.code__tabs::-webkit-scrollbar { display: none; }
.code__tab {
  position: relative;
  flex: none;
  padding: 11px 12px 13px;
  border: 0;
  background: none;
  color: rgba(231, 233, 255, .55);
  font: 500 13.5px/1 var(--f-text);
  cursor: pointer;
  transition: color .2s;
}
.code__tab:hover { color: rgba(231, 233, 255, .85); }
.code__tab.is-on { color: #fff; }
.code__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.code__tab.is-on::after { transform: none; }
.code__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 32px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  color: rgba(231, 233, 255, .82);
  font: 500 12.5px/1 var(--f-text);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.code__copy:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.code__copy .ic { width: 15px; height: 15px; }
.code__copy.is-copied { color: #8ee6bf; background: rgba(126, 224, 181, .12); }
.code__file { padding: 14px 20px 0; font: 500 12.5px/1 var(--f-mono); color: rgba(231, 233, 255, .62); }
.code__method { margin-right: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(126, 224, 181, .12); color: #8ee6bf; font-weight: 600; }
.code__panel pre, .code pre {
  margin: 0;
  padding: 14px 20px 22px;
  overflow-x: auto;
  font: 400 13px/1.72 var(--f-mono);
  color: #e6e9ff;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .15) transparent;
}
.code__panel[hidden] { display: none; }
.code__panel:focus-visible { outline-offset: -3px; }
.code__resp { padding: 14px 20px 16px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
.code__resp pre { padding: 10px 0 0; font-size: 12.5px; white-space: pre-wrap; word-break: break-word; }
.code__resp-head { display: flex; align-items: center; justify-content: space-between; }
.code__resp-time { display: inline-flex; align-items: center; gap: 5px; font: 500 12px/1 var(--f-mono); color: rgba(231, 233, 255, .55); }
.code__resp-time .ic { width: 13px; height: 13px; }
.http { padding: 4px 8px; border-radius: 6px; font: 600 12px/1 var(--f-mono); }
.http--ok { color: #8ee6bf; background: rgba(126, 224, 181, .12); }

/* syntax tokens */
.t-k { color: #c9a8ff; }
.t-s { color: #8fe3bd; }
.t-n { color: #ffc27a; }
.t-c { color: #6f78a6; font-style: italic; }
.t-f { color: #84c8ff; }
.t-p { color: #aebcff; }
.t-o { color: #8e96c2; }
.t-v { color: #ffa3c7; }
.t-fl { color: #ffa3c7; }
.t-b { color: #ffc27a; }

/* ---------- Pricing ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-3);
}
.calc__inputs { display: grid; align-content: start; gap: 30px; padding: 44px; }
.calc__title { font: 600 20px/1.2 var(--f-display); letter-spacing: -.02em; }
.frange__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.frange__top label, .fselect label { font-size: 15px; font-weight: 600; }
.frange__top output { font: 600 24px/1 var(--f-display); letter-spacing: -.03em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.frange__scale { position: relative; display: flex; justify-content: space-between; margin-top: 6px; font: 500 11.5px/1 var(--f-mono); color: var(--muted); }

.range {
  --p: 50%;
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #7b3dff, #1f86ff) 0 0 / var(--p) 100% no-repeat, #e7e9f6;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--indigo) 0 5px, #fff 5.5px);
  box-shadow: 0 0 0 1px rgba(10, 15, 46, .12), 0 4px 12px rgba(30, 40, 120, .28);
  transition: box-shadow .2s, transform .2s;
}
.range:hover::-webkit-slider-thumb { transform: scale(1.06); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(75, 76, 246, .25), 0 4px 12px rgba(30, 40, 120, .28); }
.range::-moz-range-track { height: 8px; border-radius: 99px; background: #e7e9f6; }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #7b3dff, #1f86ff); }
.range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--indigo) 0 5px, #fff 5.5px);
  box-shadow: 0 0 0 1px rgba(10, 15, 46, .12), 0 4px 12px rgba(30, 40, 120, .28);
}
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(75, 76, 246, .25); }

.fselect label { display: block; margin-bottom: 10px; }
.select { position: relative; }
.select select {
  width: 100%;
  height: 50px;
  padding: 0 44px 0 16px;
  border: 0;
  border-radius: 13px;
  background: #fbfbff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow .2s;
}
.select select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--indigo), 0 0 0 4px rgba(75, 76, 246, .15); }
.select .ic { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.calc__fine { margin: 0; font-size: 13px; color: var(--muted); }

.calc__out {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 44px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(70% 60% at 100% 0%, rgba(123, 61, 255, .45), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(31, 134, 255, .3), transparent 70%), var(--navy);
}
.calc__out::before {
  content: "";
  position: absolute;
  right: -120px; top: -60px;
  z-index: -1;
  width: 420px; height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  transform: rotate(-24deg);
}
.calc__k { display: block; margin-bottom: 8px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.calc__fee { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.calc__fee .calc__k { flex-basis: 100%; }
.calc__big { font: 600 76px/1 var(--f-display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.calc__big b { font-weight: inherit; }
.calc__big span { margin-left: 2px; font-size: 36px; color: rgba(255, 255, 255, .55); letter-spacing: -.02em; }
.calc__plan { padding: 6px 12px; border-radius: 999px; background: rgba(139, 77, 255, .22); color: #d2c6ff; font-size: 13px; font-weight: 600; }
.calc__cmp { display: grid; gap: 16px; }
.cmp__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.cmp__top span { color: rgba(255, 255, 255, .7); }
.cmp__top b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp__bar { height: 10px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.cmp__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform: scaleX(var(--w, 1)); transform-origin: left; transition: transform .7s var(--ease); }
.cmp--typ .cmp__bar i { background: rgba(255, 255, 255, .32); }
.calc__save { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(126, 224, 181, .08); box-shadow: inset 0 0 0 1px rgba(126, 224, 181, .2); }
.calc__save p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.calc__save b { color: #8fe3bd; font-variant-numeric: tabular-nums; }
.calc__save-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(126, 224, 181, .14); color: #8fe3bd; flex: none; }
.calc__pct { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(126, 224, 181, .16); color: #8fe3bd; font-size: 12px; font-weight: 600; vertical-align: 2px; }
.calc__yr { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.calc__yr b { color: #fff; }
.calc__cta { align-self: flex-start; margin-top: auto; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-2);
  transition: box-shadow .4s var(--ease), opacity .8s var(--ease) var(--rvd, 0s), translate .8s var(--ease) var(--rvd, 0s);
}
.plan.is-rec { box-shadow: 0 0 0 2px var(--indigo), var(--sh-3); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font: 600 25px/1.2 var(--f-display); letter-spacing: -.025em; }
.plan__badge { padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s var(--ease); }
.plan.is-rec .plan__badge { opacity: 1; transform: none; }
.plan__for { margin: 6px 0 24px; color: var(--muted); }
.plan__price { margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--muted); }
.plan__price b { margin-right: 6px; font: 600 46px/1 var(--f-display); letter-spacing: -.045em; color: var(--ink); }
.plan__price span { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 400; }
.ticks--plan { margin-bottom: 34px; gap: 12px; }
.ticks--plan li { font-size: 15px; }
.plan__cta { margin-top: auto; width: 100%; }
.plan--ent { color: #fff; background: radial-gradient(70% 50% at 100% 0%, rgba(123, 61, 255, .4), transparent 70%), linear-gradient(170deg, #121845, #070b26); }
.plan--ent.is-rec { box-shadow: 0 0 0 2px #8b5bff, var(--sh-3); }
.plan--ent .plan__for, .plan--ent .plan__price { color: rgba(255, 255, 255, .64); }
.plan--ent .plan__price { border-bottom-color: rgba(255, 255, 255, .12); }
.plan--ent .plan__price b { color: #fff; }
.plan--ent .ticks li { color: rgba(255, 255, 255, .86); }
.plan--ent .ticks .ic { color: #b4a6ff; }
.plan--ent .plan__badge { background: #fff; color: var(--indigo); }

/* ---------- Security ---------- */

.security__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.vault { display: grid; gap: 10px; max-width: 440px; margin-top: 36px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.vault__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 13px; background: var(--bg-2); }
.vault__k { font-size: 12.5px; color: var(--muted); }
.vault code { font: 500 14px/1 var(--f-mono); color: var(--ink); white-space: nowrap; }
.vault__row--tok { background: linear-gradient(90deg, rgba(123, 61, 255, .1), rgba(31, 134, 255, .1)); box-shadow: inset 0 0 0 1px rgba(75, 76, 246, .18); }
.vault__row--tok code { color: var(--violet); }
.vault__arrow { justify-self: center; color: var(--faint); transform: rotate(90deg); }
.vault__arrow .ic { width: 16px; height: 16px; }
.vault__note { display: flex; align-items: center; gap: 8px; margin: 4px 2px 0; font-size: 13px; color: var(--muted); }
.vault__note .ic { width: 15px; height: 15px; color: var(--ok); }

.seals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seal {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease) var(--rvd, 0s), translate .8s var(--ease) var(--rvd, 0s);
}
.seal:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(75, 76, 246, .18), var(--sh-2); }
.seal h3 { margin: 18px 0 6px; font: 600 17.5px/1.3 var(--f-display); letter-spacing: -.015em; }
.seal p { margin: 0; font-size: 14.5px; color: var(--muted); }
.seal__badge { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 8px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #efebff); box-shadow: inset 0 0 0 1px rgba(108, 60, 255, .25), 0 6px 14px -6px rgba(108, 60, 255, .35); color: var(--violet); }
.seal__badge::before { content: ""; position: absolute; left: -9px; right: -9px; top: 50%; height: 22px; margin-top: -11px; border-radius: 50%; border: 1.5px solid rgba(108, 60, 255, .3); transform: rotate(-24deg); }
.seal__badge .ic { width: 22px; height: 22px; }
.seal--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.seal--wide h3 { margin-top: 0; }
.seal__live { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.seal__live-txt { display: inline-flex; align-items: center; gap: 8px; }
.seal__spark { width: 120px; height: 28px; }
.seal__spark path { fill: none; stroke: #12b886; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Company + testimonials ---------- */

.company { padding-top: clamp(40px, 5vw, 72px); }
.company__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.company__top .sh { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border-radius: 22px; background: var(--line); box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 20px 22px; background: #fff; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0 0 4px; font: 600 30px/1.1 var(--f-display); letter-spacing: -.04em; }

.tcar { position: relative; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-3); }
.tcar__viewport { overflow: hidden; touch-action: pan-y; }
.tcar__track { display: flex; transition: transform .7s var(--ease); }
.tcar__track.is-dragging { transition: none; }
.tslide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; margin: 0; }
.tslide__main { padding: 56px 56px 44px; }
.tslide__quote { position: relative; margin: 0 0 34px; }
.tslide__quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 34px;
  margin-bottom: 22px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M11.2 2.4C5.7 4.6 2.6 8.7 2.6 14.4V22h8.6v-8.6H6.9c.2-3.4 1.8-5.9 5.4-7.6zm14 0c-5.5 2.2-8.6 6.3-8.6 12V22h8.6v-8.6h-4.3c.2-3.4 1.8-5.9 5.4-7.6z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M11.2 2.4C5.7 4.6 2.6 8.7 2.6 14.4V22h8.6v-8.6H6.9c.2-3.4 1.8-5.9 5.4-7.6zm14 0c-5.5 2.2-8.6 6.3-8.6 12V22h8.6v-8.6h-4.3c.2-3.4 1.8-5.9 5.4-7.6z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.tslide__quote p { margin: 0; font: 500 clamp(1.3rem, 1rem + .95vw, 1.8rem)/1.42 var(--f-display); letter-spacing: -.022em; color: var(--ink); text-wrap: pretty; }
.tslide__who { display: flex; align-items: center; gap: 14px; }
.tslide__who b { display: block; font-size: 16px; }
.tslide__who small { display: block; font-size: 14px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--h1), var(--h2)); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); color: #fff; font: 600 16px/1 var(--f-display); letter-spacing: .02em; flex: none; }
.avatar--sm { width: 42px; height: 42px; font-size: 14px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.tslide__metric { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 44px 36px; border-left: 1px solid var(--line); background: radial-gradient(80% 60% at 100% 0%, rgba(123, 61, 255, .12), transparent 70%), linear-gradient(170deg, #f6f4ff, #eef4ff); }
.tslide__metric > b { font: 600 56px/1 var(--f-display); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tslide__metric > span:last-child { font-size: 15px; color: var(--muted); }
.tslide__brand { margin-bottom: 22px; color: var(--ink-2); }
.tcar__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px 16px 44px; border-top: 1px solid var(--line); }
.tcar__dots { display: flex; gap: 4px; }
.tcar__dot { position: relative; width: 40px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.tcar__dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px; background: var(--line-2); transition: background-color .3s; }
.tcar__dot::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.tcar__dot.is-on::after { transform: none; transition: transform .5s var(--ease); }
.tcar.is-auto .tcar__dot.is-on::after { animation: dotFill 7s linear both; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: none; } }
.tcar__count { margin: 0 auto 0 8px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.tcar__count b { color: var(--ink); font-weight: 600; }
.tcar__btns { display: flex; gap: 8px; }
.tcar__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tcar__btn:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- FAQ ---------- */

.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__side .more { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__h { margin: 0; font: inherit; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  text-align: left;
  font: 600 19px/1.4 var(--f-display);
  letter-spacing: -.015em;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s;
}
.faq__q:hover { color: var(--indigo); }
.faq__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); flex: none; transition: background-color .3s, color .3s, box-shadow .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--ink); color: #fff; box-shadow: none; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 1fr; }
html.js .faq__a { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
html.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__inner { min-height: 0; overflow: hidden; }
html.js .faq__inner { visibility: hidden; transition: visibility 0s .45s; }
html.js .faq__item.is-open .faq__inner { visibility: visible; transition-delay: 0s; }
.faq__inner p { margin: 0; padding: 0 64px 26px 0; font-size: 16px; color: var(--muted); }
html.js .faq__inner p { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
html.js .faq__item.is-open .faq__inner p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- CTA / form ---------- */

.cta { padding: 24px 0 120px; }
.cta__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 56px;
  padding: 64px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 34px;
  background: var(--navy);
  color: #fff;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 70% at 0% 0%, rgba(123, 61, 255, .5), transparent 65%),
    radial-gradient(50% 60% at 100% 100%, rgba(31, 134, 255, .38), transparent 65%);
}
.cta__bg::before, .cta__bg::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 40%;
  width: 90%;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  transform: rotate(-18deg);
}
.cta__bg::after { left: -20%; top: 30%; width: 120%; height: 420px; border-style: dashed; border-color: rgba(255, 255, 255, .07); }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(231, 233, 255, .74); }
.cta__copy { display: flex; flex-direction: column; }
.cta__list { display: grid; gap: 12px; margin: 30px 0 34px; padding: 0; list-style: none; }
.cta__list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .9); }
.cta__list .ic { margin-top: 2px; color: #8fe3bd; stroke-width: 2.4; }
.cta__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cta__person b { display: block; font-size: 15px; }
.cta__person small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }

.cta__formwrap { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field__opt { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 0;
  border-radius: 13px;
  background: #fbfbff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 15px;
  color: var(--ink);
  transition: box-shadow .2s, background-color .2s;
}
.field textarea { height: auto; min-height: 96px; padding: 13px 15px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0bd; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--indigo), 0 0 0 4px rgba(75, 76, 246, .15); }
.field.is-invalid input, .field.is-invalid select { box-shadow: inset 0 0 0 1.5px var(--bad); background: #fffafb; }
.field.is-invalid input:focus, .field.is-invalid select:focus { box-shadow: inset 0 0 0 1.5px var(--bad), 0 0 0 4px rgba(212, 51, 74, .14); }
.field__err { display: none; margin: 7px 0 0; font-size: 13px; color: var(--bad); }
.field.is-invalid .field__err { display: block; animation: fadeUp .3s var(--ease) both; }
.form__submit { width: 100%; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.form__submit.is-loading { pointer-events: none; }
.form__submit.is-loading .spinner { display: inline-block; }
.form__submit.is-loading .arr { display: none; }
.form__note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--ink-2); }
.form-done { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 36px 8px; text-align: center; animation: fadeUp .6s var(--ease) both; }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done__check { width: 76px; height: 76px; margin-bottom: 22px; }
.form-done__check circle { fill: var(--ok-bg); stroke: #12b886; stroke-width: 2; }
.form-done__check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done__title { margin: 0 0 10px; font: 600 26px/1.2 var(--f-display); letter-spacing: -.03em; }
.form-done__text { max-width: 380px; margin: 0 0 26px; color: var(--muted); }
.form-done__next { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- Footer ---------- */

.ftr { padding: 72px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.ftr__brand p { max-width: 330px; margin: 18px 0 20px; font-size: 14.5px; color: var(--muted); }
.ftr__status { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 7px 13px; border-radius: 999px; background: var(--ok-bg); color: var(--ok) !important; font-size: 13px !important; font-weight: 600; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr__h { margin: 0 0 16px; font: 600 14px/1.3 var(--f-text); color: var(--ink); }
.ftr__col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ftr__col a { font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.ftr__col a:hover { color: var(--ink); }
.ftr__tag { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--route-bg); color: var(--violet); font-size: 11px; font-weight: 600; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 13px; color: var(--muted); }
.ftr__bottom p { margin: 0; }
.ftr__small { max-width: 640px; }
.ftr__made a { color: var(--ink-2); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.ftr__made a:hover { color: var(--indigo); border-color: currentColor; }

/* ---------- Responsive (home + shared) ---------- */

@media (max-width: 1180px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); }
  .hv--cashier { width: 272px; }
  .hv--feed { width: 280px; }
  .hv--gauge { width: 216px; }
  .hv--toast { left: 120px; }
  .nav__link { padding: 0 10px; }
  .hdr__in { gap: 20px; }
}

@media (max-width: 1080px) {
  .metrics__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .metric { grid-column: span 2; }
  .metric:nth-child(4), .metric:nth-child(5) { grid-column: span 3; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard, .bcard--payouts { grid-column: span 1; }
  .bcard--cashier { grid-column: 1 / -1; }
  .routing__grid, .dev__grid, .security__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .routing__copy, .dev__copy, .security__copy { max-width: 680px; }
  .coverage__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .coverage__side { position: static; }
  .rtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix li { grid-template-columns: 30px minmax(0, 1fr) 56px 36px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__side { position: static; }
  .company__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta__box { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 52px; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 980px) {
  :root { --hdr-h: 64px; }
  .nav, .hdr__signin { display: none; }
  .burger { display: block; }
  .hero { padding-top: calc(var(--hdr-h) + 48px); }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero__copy { max-width: 680px; }
  .hero__visual { width: 100%; max-width: 600px; margin: 0 auto; }
  .tslide { grid-template-columns: minmax(0, 1fr); }
  .tslide__metric { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 24px 56px; border-left: 0; border-top: 1px solid var(--line); }
  .tslide__brand { margin: 0 12px 0 0; }
  .tslide__metric > b { font-size: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bcard--cashier { flex-direction: column; }
  .bcard--cashier .bcard__copy { width: auto; padding: 30px 26px 8px; }
  .bcard--cashier .ticks { margin-top: 0; }
  .art-cashier { min-height: 340px; }
  .bcard__copy { padding: 30px 26px 8px; }
  .art-payout, .art-fraud, .art-recon { padding: 4px 26px 26px; }
  .rtabs { display: flex; gap: 8px; margin: 28px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .rtabs::-webkit-scrollbar { display: none; }
  .rtab { flex: none; padding: 12px 16px; scroll-snap-align: start; }
  .rtab::before { left: 14px; right: 14px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; transform: scaleX(0); }
  .rtab.is-on::before { transform: none; }
  .map { padding: 12px 10px 12px; border-radius: 20px; }
  .map__legend { padding: 0 6px; }
  .mix { grid-template-columns: minmax(0, 1fr); }
  .rpanel { padding: 22px 18px 18px; border-radius: 20px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .seals { grid-template-columns: minmax(0, 1fr); }
  .seal--wide { grid-template-columns: auto minmax(0, 1fr); }
  .seal__live { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .calc__inputs, .calc__out { padding: 30px 24px; }
  .calc__big { font-size: 64px; }
  .tslide__main { padding: 36px 28px 30px; }
  .tslide__metric { padding: 22px 28px; }
  .tcar__ctrl { padding: 12px 16px 12px 22px; }
  .cta { padding-bottom: 80px; }
  .cta__box { padding: 36px 22px 22px; border-radius: 28px; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .cta__formwrap { padding: 24px 20px; border-radius: 22px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .rt-info { flex-direction: column; align-items: stretch; gap: 12px; }
  .rt-info__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .rt-info__stats dd { font-size: 15px; }
  .faq__q { font-size: 17px; padding: 22px 0; gap: 16px; }
  .faq__inner p { padding-right: 0; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--hdr-h) + 36px); padding-bottom: 48px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__in { gap: 44px; }
  .hero__visual { height: 424px; max-width: 440px; }
  .hv--cashier { display: none; }
  .hv--gauge { top: 0; right: 0; width: 200px; }
  .hv--feed { top: 104px; left: 0; right: 0; width: auto; z-index: 2; }
  .hv--toast { left: 12px; bottom: 0; }
  .feed__rate { display: none; }
  .feed__head { height: 44px; align-items: flex-start; }
  .gauge { padding: 12px 12px 10px; }
  .gauge__dial { width: 132px; margin-top: 6px; }
  .gauge__num { font-size: 26px; }
  .gauge__num span { font-size: 14px; }
  .gauge__foot { font-size: 11px; margin-top: 6px; }
  .gauge__head { font-size: 12px; }
  .gauge__tag { display: none; }
  .cashier { padding: 14px; border-radius: 20px; }
  .cashier__val { font-size: 28px; }
  .cashier__chips span { font-size: 11.5px; }
  .pm { gap: 8px; padding: 7px 8px 7px 7px; }
  .pm__ic { width: 28px; height: 28px; }
  .feed { padding: 14px 12px 2px; }
  .feed__viewport { height: 230px; }
  .tx { height: 46px; gap: 10px; }
  .toast { padding: 10px 14px 10px 10px; }
  .toast__ic { width: 34px; height: 34px; }
  .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric, .metric:nth-child(4) { grid-column: span 1; padding: 24px 20px; }
  .metric:nth-child(5) { grid-column: 1 / -1; }
  .logos__list { gap: 44px; padding-right: 44px; }
  .seg { display: grid; width: 100%; }
  .seg__btn { padding: 0 10px; font-size: 14px; }
  .kpi__val { font-size: 46px; }
  .kpi--main { grid-template-columns: minmax(0, 1fr); }
  .kpi__delta { justify-self: start; margin: 4px 0 0; }
  .routing__stage { padding: 18px 14px 14px; border-radius: 24px; margin: 0 calc(var(--gutter) * -1 + 8px); }
  .rt { grid-template-columns: auto minmax(12px, .6fr) auto minmax(20px, 1fr) minmax(0, 168px); min-height: 320px; }
  .rt-src { gap: 6px; padding: 8px 9px; border-radius: 13px; }
  .rt-src__ic { width: 28px; height: 28px; }
  .rt-src b { font-size: 12px; }
  .rt-src small { font-size: 11px; }
  .rt-hub { width: 76px; height: 76px; }
  .rt-hub__core { width: 50px; height: 50px; }
  .rt-hub__core svg { width: 32px; height: 32px; }
  .rt-hub__lbl { font-size: 11px; }
  .rt-hub__lbl small { display: none; }
  .rt__col--dst { gap: 8px; }
  .rt-dst { gap: 8px; padding: 7px 9px 7px 7px; border-radius: 12px; }
  .rt-dst__ic { width: 26px; height: 26px; border-radius: 8px; }
  .rt-dst__ic .ic { width: 14px; height: 14px; }
  .rt-dst__txt b { font-size: 12px; }
  .rt-dst__txt small { font-size: 10.5px; }
  .rt-dst__share { font-size: 11.5px; }
  .rt-info { margin-top: 18px; padding: 14px; }
  .rt-info__stats dd { font-size: 14px; }
  .rt-info__stats dt { font-size: 11px; }
  .mix li { grid-template-columns: 30px minmax(0, 1fr) 56px 34px; gap: 10px; }
  .dev__code { margin: 0 calc(var(--gutter) * -1 + 8px); }
  .code { border-radius: 18px; }
  .code__panel pre, .code pre { padding-left: 16px; padding-right: 16px; font-size: 12px; }
  .code__resp { padding: 12px 16px 14px; }
  .code__file { padding-left: 16px; }
  .code__copy span { display: none; }
  .code__copy { width: 34px; padding: 0; justify-content: center; }
  .calc { border-radius: 24px; margin-left: calc(var(--gutter) * -1 + 8px); margin-right: calc(var(--gutter) * -1 + 8px); }
  .calc__big { font-size: 56px; }
  .plan { padding: 28px 24px; border-radius: 24px; }
  .plan__price b { font-size: 40px; }
  .facts dd { font-size: 26px; }
  .tslide__quote::before { width: 32px; height: 28px; margin-bottom: 16px; }
  .tcar { border-radius: 24px; }
  .tcar__count { display: none; }
  .tcar__dot { width: 30px; }
  .seal { padding: 22px; }
  .seal--wide { gap: 16px 18px; }
  .vault code { font-size: 12.5px; }
  .ftr { padding-top: 56px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .hdr__cta { padding: 0 14px; }
  .logo__word { font-size: 19px; }
  .logo__mark { width: 30px; height: 30px; }
  .hero__title { font-size: 2.45rem; }
  .hero__trust { gap: 8px 16px; }
  .hv--gauge { width: 184px; }
  .toast__txt small { font-size: 11px; }
  .announce { font-size: 13px; }
  .rt { grid-template-columns: auto minmax(10px, .6fr) auto minmax(16px, 1fr) minmax(0, 150px); }
  .rt-hub { width: 64px; height: 64px; }
  .rt-hub__core { width: 44px; height: 44px; }
  .rt-hub__core svg { width: 28px; height: 28px; }
  .rt-dst__ic { display: none; }
  .rt-dst { grid-template-columns: minmax(0, 1fr) auto; padding-left: 10px; }
  .kpi__val--sm { font-size: 24px; }
}

/* ---------- Developers (docs page) ---------- */

.docs-hero { position: relative; padding: 52px 0 44px; overflow: hidden; border-bottom: 1px solid var(--line); }
.docs-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 130% at 88% 0%, rgba(139, 77, 255, .17), transparent 70%),
    radial-gradient(30% 110% at 100% 100%, rgba(31, 134, 255, .13), transparent 70%);
}
.docs-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 15, 46, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 15, 46, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}
.docs-hero__in { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 14px; height: 14px; color: var(--faint); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.docs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.docs-hero__title { margin: 0 0 14px; font: 600 clamp(2.2rem, 1.6rem + 2vw, 3.3rem)/1.04 var(--f-display); letter-spacing: -.045em; }
.docs-hero__lead { max-width: 620px; margin: 0; font-size: 1.1rem; color: var(--muted); text-wrap: pretty; }
.docs-hero__meta { display: grid; justify-items: end; gap: 12px; }
.baseurl { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); }
.baseurl__k { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.baseurl code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13.5px/1 var(--f-mono); color: var(--ink); }
.copy-mini { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.copy-mini:hover { background: var(--route-bg); color: var(--indigo); }
.copy-mini.is-copied { background: var(--ok-bg); color: var(--ok); }
.copy-mini .ic { width: 15px; height: 15px; }
.docs-hero__chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.chip--ok { background: var(--ok-bg); box-shadow: none; color: var(--ok); font-weight: 600; }

.docs-mnav { display: none; }

body[data-page="docs"] .container { max-width: calc(1300px + var(--gutter) * 2); }
.docs { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 96px; }
.docs__side {
  position: sticky;
  top: calc(var(--hdr-h) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--hdr-h) - 48px);
  overflow-y: auto;
  padding: 2px 4px 16px 2px;
  scrollbar-width: thin;
}
.docs-filter { position: relative; margin-bottom: 14px; }
.docs-filter .ic { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--muted); pointer-events: none; }
.docs-filter input {
  width: 100%;
  height: 40px;
  padding: 0 36px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14px;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow .2s;
}
.docs-filter input::placeholder { color: #8f95b3; }
.docs-filter input::-webkit-search-cancel-button { -webkit-appearance: none; }
.docs-filter input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--indigo), 0 0 0 4px rgba(75, 76, 246, .14); }
.docs-filter kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 3px 7px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 -1px 0 var(--line-2); font: 500 11px/1 var(--f-mono); color: var(--muted); }
.docs-progress { height: 3px; margin: 0 0 4px; overflow: hidden; border-radius: 99px; background: var(--bg-2); }
.docs-progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--p, .14)); transform-origin: left; transition: transform .45s var(--ease); }
.docs-nav__title { margin: 22px 0 8px; font: 600 11.5px/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.docs-nav ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-2); }
.docs-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-left: -1px;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 9px 9px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s;
}
.docs-nav a:hover { color: var(--ink); background: rgba(10, 15, 46, .035); }
.docs-nav a.is-active { border-left-color: var(--indigo); background: linear-gradient(90deg, rgba(75, 76, 246, .09), rgba(75, 76, 246, 0)); color: var(--indigo); font-weight: 600; }
.mpill { padding: 3px 5px; border-radius: 5px; font: 600 9.5px/1 var(--f-mono); letter-spacing: .04em; }
.mpill--post { background: var(--ok-bg); color: var(--ok); }
.docs-nav__empty { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.docs-help { margin-top: 28px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.docs-help b { display: block; font-size: 14.5px; }
.docs-help p { margin: 4px 0 10px; font-size: 13.5px; color: var(--muted); }
.docs-help .more { font-size: 14px; }

.docs__main { min-width: 0; }
.dsec { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.dsec:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.dsec__k { margin: 0 0 12px !important; font: 600 12px/1 var(--f-text) !important; letter-spacing: .09em; text-transform: uppercase; color: var(--indigo) !important; }
.dsec h2 { margin: 0 0 16px; font: 600 clamp(1.8rem, 1.45rem + 1vw, 2.35rem)/1.15 var(--f-display); letter-spacing: -.035em; }
.dsec h3 { margin: 36px 0 14px; font: 600 18px/1.3 var(--f-display); letter-spacing: -.015em; }
.dsec > p, .dsplit > div > p { max-width: 760px; margin: 0 0 16px; font-size: 16px; line-height: 1.72; color: var(--ink-2); }
.dsec p a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.c { padding: 2px 6px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font: 500 .86em/1.4 var(--f-mono); color: var(--ink); white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 8px; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.steps b { display: block; margin-bottom: 4px; font: 600 15.5px/1.35 var(--f-display); }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.steps__n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--grad); color: #fff; font: 600 13px/1 var(--f-display); }

.dtable-wrap { margin: 0 0 20px; overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dtable th { padding: 11px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg); text-align: left; font: 600 11.5px/1.2 var(--f-text); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dtable td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.dtable tbody tr:first-child td { border-top: 0; }
.dtable tbody tr { transition: background-color .2s; }
.dtable tbody tr:hover { background: #fbfbff; }
.dtable--compact td { padding: 10px 16px; }
.dtable--codes td b { color: var(--ink); font-weight: 600; }
.env { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.env--test { background: var(--warn-bg); color: var(--warn); }
.env--live { background: var(--ok-bg); color: var(--ok); }
.code-pill { display: inline-block; min-width: 46px; padding: 5px 8px; border-radius: 8px; text-align: center; font: 600 12.5px/1 var(--f-mono); }
.code-pill--ok { background: var(--ok-bg); color: var(--ok); }
.code-pill--warn { background: var(--warn-bg); color: var(--warn); }
.code-pill--bad { background: var(--bad-bg); color: var(--bad); }
.dtype { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dtype--soft { background: var(--route-bg); color: var(--violet); }
.dtype--hard { background: var(--bad-bg); color: var(--bad); }

.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin: 26px 0 0; padding: 18px 20px; border-radius: 16px; background: #f1f2ff; box-shadow: inset 0 0 0 1px rgba(75, 76, 246, .2); }
.callout__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(75, 76, 246, .22); color: var(--indigo); }
.callout__ic .ic { width: 18px; height: 18px; }
.callout b { display: block; margin: 5px 0 4px; font: 600 15.5px/1.3 var(--f-display); }
.callout p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.callout--warn { background: #fff7e8; box-shadow: inset 0 0 0 1px rgba(168, 105, 10, .26); }
.callout--warn .callout__ic { color: var(--warn); box-shadow: 0 0 0 1px rgba(168, 105, 10, .26); }

.dsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: start; }
.dsplit__code { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; min-width: 0; }
.dsplit > div > h3:first-child { margin-top: 6px; }

.endpoint { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 0 18px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); }
.endpoint code { min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 500 15px/1 var(--f-mono); color: var(--ink); }
.endpoint--sm { margin: 22px 0 0; padding-right: 14px; }
.endpoint__note { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.method { padding: 7px 10px; border-radius: 9px; font: 700 12px/1 var(--f-mono); letter-spacing: .04em; color: #fff; }
.method--post { background: linear-gradient(135deg, #12b886, #08936a); }
.method--get { background: linear-gradient(135deg, #3b82ff, #1f6fff); }

.params { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.params li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.params p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.params__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.params__name { font: 600 14px/1.3 var(--f-mono); color: var(--ink); }
.params__type { font: 500 12.5px/1.3 var(--f-mono); color: var(--muted); }
.params__req { padding: 2px 7px; border-radius: 999px; background: var(--bad-bg); color: var(--bad); font-size: 11px; font-weight: 600; }

.code--doc { border-radius: 18px; box-shadow: 0 0 0 1px rgba(10, 15, 46, .1), 0 24px 48px -26px rgba(10, 15, 46, .5); }
.code--doc pre { padding: 16px 18px 18px; font-size: 12.75px; }
.code__title { display: flex; align-items: center; gap: 10px; padding: 10px 2px 14px; font: 500 13px/1 var(--f-text); color: rgba(231, 233, 255, .75); }
.code--resp pre { max-height: 440px; }
.http--bad { color: #ff9fb0; background: rgba(255, 120, 140, .13); }
.code--wide { margin: 20px 0 0; }

.statuses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.statuses li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.statuses p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.statuses .st { font-family: var(--f-mono); font-weight: 500; }

.sigline { display: flex; align-items: center; gap: 12px; padding: 12px 16px; overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.sigline__k { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sigline code { font: 500 13px/1.4 var(--f-mono); color: var(--ink); white-space: nowrap; }

.sdks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 36px; }
.sdk { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; }
.sdk:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(75, 76, 246, .2), var(--sh-2); }
.sdk__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font: 700 13px/1 var(--f-mono); }
.sdk__logo .ic { width: 20px; height: 20px; }
.sdk__logo--node { background: linear-gradient(135deg, #16b383, #0b7d5d); }
.sdk__logo--py { background: linear-gradient(135deg, #3d7be0, #6c3cff); }
.sdk__logo--php { background: linear-gradient(135deg, #7c7ff0, #4b4cf6); }
.sdk__logo--go { background: linear-gradient(135deg, #18b4f0, #1f6fff); }
.sdk__logo--java { background: linear-gradient(135deg, #f59f4c, #e5484d); }
.sdk__logo--mobile { background: var(--grad); }
.sdk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sdk__head b { font: 600 16px/1.2 var(--f-display); }
.sdk__head span { font: 500 12px/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.sdk__cmd { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 6px 6px 6px 12px; border-radius: 11px; background: var(--navy); }
.sdk__cmd code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px/1.4 var(--f-mono); color: #cfd6ff; }
.sdk__cmd .copy-mini { width: 30px; height: 30px; background: rgba(255, 255, 255, .08); color: #cfd6ff; }
.sdk__cmd .copy-mini:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.sdk__cmd .copy-mini.is-copied { background: rgba(126, 224, 181, .16); color: #8fe3bd; }
.sdk--feature { background: radial-gradient(80% 60% at 100% 0%, rgba(123, 61, 255, .45), transparent 70%), linear-gradient(160deg, #161b4d, #070b26); color: #fff; }
.sdk--feature .sdk__head span { color: rgba(255, 255, 255, .6); }
.sdk--feature p { margin: auto 0 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }

.fb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fb__q { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.fb__btns { display: flex; gap: 8px; }
.fb__btn { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.fb__btn:hover { background: var(--route-bg); color: var(--indigo); }
.fb__thanks { margin: 0; font-size: 14px; font-weight: 500; color: var(--ok); }
.fb.is-done .fb__btns, .fb:not(.is-done) .fb__thanks { display: none; }

.docs-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.docs-next__card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 56px 20px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); color: var(--ink); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.docs-next__card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(75, 76, 246, .25), var(--sh-2); }
.docs-next__card span { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.docs-next__card b { font: 600 16px/1.35 var(--f-display); }
.docs-next__card .ic { position: absolute; right: 20px; top: 50%; margin-top: -10px; color: var(--indigo); transition: transform .25s var(--ease); }
.docs-next__card:hover .ic { transform: translateX(3px); }

@media (max-width: 1240px) {
  .docs { grid-template-columns: 216px minmax(0, 1fr); gap: 44px; }
  .dsplit { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .dsplit__code { position: static; }
}

@media (max-width: 980px) {
  .docs-hero { padding: 36px 0 32px; }
  .docs-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .docs-hero__meta { justify-items: start; }
  .docs-hero__chips { justify-content: flex-start; }
  .docs-mnav { position: sticky; top: var(--hdr-h); z-index: 40; display: block; border-bottom: 1px solid var(--line); background: rgba(248, 249, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
  .docs-mnav__in { display: flex; align-items: center; gap: 12px; height: 60px; }
  .docs-mnav label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
  .select--sm { flex: 1; min-width: 0; }
  .select--sm select { height: 42px; font-size: 14.5px; font-weight: 600; }
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 72px; }
  .docs__side { display: none; }
  .dsec { scroll-margin-top: 64px; }
  .sdks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .docs-hero { padding: 28px 0 26px; }
  .docs-hero__lead { font-size: 1.02rem; }
  .baseurl { padding-left: 12px; }
  .baseurl code { font-size: 12.5px; }
  .dsec { padding-bottom: 44px; margin-bottom: 44px; }
  .steps, .statuses, .docs-next, .sdks { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 16px; }
  .dtable { font-size: 14px; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .dtable tbody tr:first-child { border-top: 0; }
  .dtable td, .dtable--compact td { padding: 0; border: 0; }
  .dtable td + td { margin-top: 6px; }
  .dtable td:first-child { font-weight: 600; }
  .dtable--codes tr { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .dtable--codes td + td { margin-top: 0; }
  .endpoint code { font-size: 14px; }
  .code--doc pre { font-size: 12px; padding: 14px 14px 16px; }
  .callout { padding: 16px; gap: 12px; }
  .sigline code { font-size: 12px; }
  .fb { padding: 14px 16px; }
}

/* ---------- Compact phones (keeps the page short and scannable) ---------- */

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .sh { margin-bottom: 32px; }
  .h2 { margin-bottom: 14px; }
  .eyebrow { margin-bottom: 14px; }
  .metric, .metric:nth-child(4) { padding: 20px 18px; }
  .metric__num { margin-bottom: 10px !important; font-size: 2.1rem; }
  .metric__sub { display: none; }
  .bento { gap: 14px; }
  .bcard { border-radius: 22px; }
  .bcard__copy, .bcard--cashier .bcard__copy { padding: 24px 22px 4px; }
  .bcard__ic { width: 38px; height: 38px; margin-bottom: 14px; border-radius: 11px; }
  .bcard__title { font-size: 21px; margin-bottom: 6px; }
  .bcard__text { font-size: 15px; margin-bottom: 14px; }
  .bcard--cashier .ticks { gap: 4px; }
  .art-cashier { min-height: 270px; }
  .mc { width: 236px; padding: 12px; }
  .mc--1 { transform: translate(-50%, -50%) scale(.94); }
  .mc--2 { transform: translate(-88%, -54%) rotate(-8deg) scale(.84); }
  .mc--3 { transform: translate(-4%, -58%) rotate(7deg) scale(.8); }
  .art-payout, .art-fraud, .art-recon { padding: 4px 22px 22px; }
  .art-payout { gap: 10px; }
  .po { padding: 14px; }
  .po__steps li { padding: 4px 0; }
  .po__stat b { font-size: 30px; }
  .signals li:nth-child(3) { display: none; }
  .rec__row { padding: 8px 0; }
  .rec__row:nth-child(3) { display: none; }
  .art-route { padding: 0 18px 18px; }
  .seg { margin: 24px 0 18px; }
  .kpi--main { padding: 16px 18px; }
  .kpi { padding: 14px 16px; }
  .rtabs { margin-top: 22px; }
  .mix li { padding: 4px 0; }
  .mix { margin-bottom: 14px; }
  .ccs { padding-top: 14px; }
  .rpanel__head { margin-bottom: 10px; }
  .dev__list { gap: 14px; margin: 24px 0 28px; }
  .dev__list span { font-size: 14.5px; }
  .dev__grid { gap: 36px; }
  .dev__sdks { font-size: 12.5px; gap: 6px; }
  .calc__inputs { gap: 22px; }
  .calc__out { gap: 20px; }
  .calc__title { display: none; }
  .plans { gap: 14px; }
  .plan__for { margin-bottom: 16px; }
  .plan__price { margin-bottom: 18px; padding-bottom: 18px; }
  .ticks--plan { gap: 8px; margin-bottom: 24px; }
  .ticks--plan li { font-size: 14.5px; }
  .security__grid { gap: 32px; }
  .vault { margin-top: 24px; padding: 14px; }
  .seals { gap: 10px; }
  .seal, .seal--wide { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 18px; padding: 18px 18px 18px 14px; }
  .seal__badge { grid-row: span 2; width: 44px; height: 44px; margin: 2px 6px 0; }
  .seal__badge::before { left: -8px; right: -8px; height: 18px; margin-top: -9px; }
  .seal__badge .ic { width: 19px; height: 19px; }
  .seal h3 { margin: 0; font-size: 16.5px; }
  .seal p { font-size: 14px; }
  .seal--wide > div:nth-child(2) { display: contents; }
  .seal__live { grid-column: 2; margin-top: 8px; justify-content: flex-start; gap: 14px; }
  .seal__spark { width: 90px; }
  .company__top { gap: 24px; margin-bottom: 28px; }
  .facts div { padding: 16px 18px; }
  .facts dd { font-size: 24px; }
  .tslide__main { padding: 28px 22px 24px; }
  .tslide__quote { margin-bottom: 24px; }
  .tslide__quote p { font-size: 1.2rem; }
  .tslide__metric { padding: 18px 22px; gap: 4px 14px; }
  .tslide__metric > b { font-size: 32px; }
  .tslide__brand { display: none; }
  .avatar { width: 44px; height: 44px; font-size: 15px; }
  .faq__grid { gap: 28px; }
  .faq__side .more { margin-top: 18px; }
  .faq__q { padding: 18px 0; }
  .faq__icon { width: 30px; height: 30px; }
  .cta { padding: 0 0 60px; }
  .cta__list { margin: 22px 0 6px; gap: 8px; }
  .cta__person { display: none; }
  .cta__box { gap: 26px; }
  .form { gap: 14px; }
  .field label { margin-bottom: 6px; }
  .field textarea { min-height: 76px; }
  .ftr { padding: 44px 0 28px; }
  .ftr__top { gap: 30px; padding-bottom: 30px; }
  .ftr__brand p { margin: 14px 0 16px; }
  .ftr__cols { gap: 24px 16px; }
  .ftr__col ul { gap: 8px; }
  .ftr__h { margin-bottom: 10px; }
  .ftr__bottom { padding-top: 20px; }
  .bcard--routing .bcard__art { display: none; }
  .bcard--routing .more { margin-bottom: 22px; }
  .calc__fine { display: none; }
  .ticks--plan li:nth-child(5) { display: none; }
  .plan__price span { margin-top: 6px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts div { padding: 14px 10px; }
  .facts dd { font-size: 20px; letter-spacing: -.03em; }
  .facts dt { font-size: 11.5px; line-height: 1.3; }
  .dev__sdks { display: none; }
  .hero { padding-bottom: 36px; }
  .logos { padding-bottom: 44px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.rv-on .rv:not(.is-in) { opacity: 1; translate: none; }
  html.js:not(.hv-go) .hv { opacity: 1; transform: none; }
  .logos__track { animation: none !important; flex-wrap: wrap; width: 100%; justify-content: center; }
  .logos__list { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0 var(--gutter); }
  .logos__list[aria-hidden="true"] { display: none; }
  .logos__marquee { -webkit-mask-image: none; mask-image: none; }
  .cashier__cta::after, .status-dot::after, .live-dot::after { display: none; }
}
