/* =============================================================================
   Linkit - site.css : the whole site (home page, legal pages, 404).
   Floor: Chrome / Edge 109 (Windows 7), Firefox ESR 115. No nesting, no :has(), no color-mix().
   Motion lives at the end: it runs only under html.anim (set by head.js when the visitor has not
   asked for reduced motion). Without it every picture is its finished, readable frame.
   ========================================================================== */

@font-face {
  font-family: "Funnel Display";
  src: url("../fonts/funnel-display-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("../fonts/funnel-sans-var.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ink: #111111;
  --ink-2: #3c414d;
  --muted: #666c7a;
  --line: #e3e6ec;
  --paper: #ffffff;
  --tint: #f4f6fa;
  --blue: #1a4be0;
  --blue-d: #1339b3;
  --blue-soft: #e8eeff;
  --ok: #0b7a40;
  --ok-soft: #e4f4ea;
  --no: #b3261e;
  --warn: #8a5300;
  --warn-soft: #fff1dc;
  --win: #f3f3f3;
  --display: "Funnel Display", "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "Funnel Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "DM Mono", Consolas, "Courier New", monospace;
  --ui: "Segoe UI", "Funnel Sans", system-ui, sans-serif;
  --nav: 64px;
  --ease: cubic-bezier(0.3, 0, 0.2, 1);
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 12px 32px -12px rgba(17, 24, 39, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 34px; line-height: 1.06; }
h2 { font-size: 28px; line-height: 1.12; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1208px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; gap: 24px; height: var(--nav); }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { width: 108px; height: 22px; }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 15.5px; text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { margin-left: auto; display: flex; align-items: center; }
.skip-link { position: absolute; left: 12px; top: 10px; z-index: 30; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 4px; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus, .skip-link:focus-visible { transform: none; outline-offset: 2px; color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pill--soon { background: var(--blue-soft); color: var(--blue-d); }
.pill--soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- buttons, links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font: 500 16.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: #cfd4de; }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s var(--ease); }
.btn:hover .m-arrow { transform: translateX(3px); }
.link { color: var(--blue); font-weight: 500; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 48px; overflow: hidden; }
.hero__text { max-width: 780px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 16px; max-width: 700px; }
.hero .btn-row { margin-top: 24px; }

/* ---------- the demo: sales program -> Linkit -> card terminal ---------- */
.demo { position: relative; margin-top: 36px; padding: 20px 16px 16px; border-radius: 20px; background-color: var(--tint); background-image: radial-gradient(rgba(26, 75, 224, 0.13) 1px, transparent 1.2px); background-size: 22px 22px; }
.demo__label { margin: -2px 44px 22px 4px; font: 400 12.5px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.demo__art { display: flex; flex-direction: column; align-items: stretch; max-width: 400px; margin: 0 auto; }
.dv { position: relative; min-width: 0; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; min-width: 0; }
.swap > .s-a, .swap > .s-b { opacity: 0; }

/* the sales program: deliberately plain, any shop's till software */
.prog { position: relative; z-index: 1; background: #fff; border: 1px solid #cfd4de; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); font-family: var(--ui); }
.prog__bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; background: #e9ecf2; color: var(--ink-2); font-size: 12px; }
.prog__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c3c9d6; }
.prog__bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog__rows { display: none; padding: 8px 14px 4px; font-size: 13px; color: var(--ink-2); }
.prog__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #e3e6ec; }
.prog__rows b { font: 400 13px var(--mono); color: var(--ink); }
.prog__total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.prog__total > b { font: 400 20px var(--mono); white-space: nowrap; }
.prog__state { font-size: 13px; color: var(--muted); }
.prog__state .s-b { color: var(--blue); }
.prog__state .s-c { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.prog__state svg { width: 14px; height: 14px; stroke-width: 2; }
.prog__keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.key { display: flex; align-items: center; justify-content: center; height: 38px; border: 1px solid #cfd4de; border-radius: 4px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.key--card { background: var(--blue); border-color: var(--blue); color: #fff; }
.slip-clip { display: none; position: relative; height: 66px; margin: -1px 28px 0; overflow: hidden; }
.slip { padding: 7px 12px 8px; background: #fff; border: 1px solid #d9dde6; border-top: 0; font: 400 11.5px/1.5 var(--mono); color: var(--ink-2); box-shadow: 0 6px 14px -8px rgba(17, 24, 39, 0.25); }
.slip p { display: flex; justify-content: space-between; }
.slip p:first-child { justify-content: center; letter-spacing: 0.2em; color: var(--muted); }

/* the wires */
.wire { position: relative; display: grid; grid-template-columns: 1fr 2px 1fr; align-items: center; column-gap: 10px; height: 46px; --tx: 0px; --ty: 100%; --cx: 0px; --cy: -10px; }
.wire__line { position: relative; grid-column: 2; grid-row: 1; width: 2px; height: 100%; background: #a9b9ee; }
.wire__run { position: absolute; inset: 0; opacity: 0; }
.wire__run i { position: absolute; left: -4px; top: -5px; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.wire__run--back i { background: var(--ok); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 3px; font: 400 12px/1 var(--mono); white-space: nowrap; }
.chip svg { width: 11px; height: 11px; }
.chip--amt { grid-column: 1; grid-row: 1; justify-self: end; background: #fff; color: var(--blue); border: 1px solid #b9c7f3; }
.chip--amt svg { transform: rotate(90deg); }
.chip--ans { grid-column: 3; grid-row: 1; justify-self: start; background: var(--ok-soft); color: var(--ok); border: 1px solid #bfe2cd; }
.chip--ans svg { transform: rotate(90deg); }

/* the Linkit window: the real program's payment card */
.lk, .app { background: var(--win); border: 1px solid #d5d8de; border-radius: 8px; box-shadow: var(--shadow); font-family: var(--ui); overflow: hidden; }
.lk__bar, .app__bar { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px; font-size: 12.5px; color: var(--ink); }
.lk__bar span, .app__bar span { margin-right: auto; white-space: nowrap; }
.lk__bar svg, .app__bar svg { width: 11px; height: 11px; margin-left: 12px; stroke-width: 1.1; color: var(--ink-2); }
.lk .pay { margin: 0 10px 10px; }
.pay { background: #fff; border: 1px solid #e1e3e8; border-radius: 6px; padding: 14px 16px 16px; font-family: var(--sans); }
.pay__meta { display: flex; justify-content: space-between; gap: 8px; font: 400 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.pay__amt { margin-top: 4px; font: 400 38px/1.15 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.pay__state { margin-top: 6px; }
.pay__s b { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.pay__s b svg { width: 18px; height: 18px; flex: none; }
.pay__s p { margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.pay__s--idle b { color: var(--muted); }
.pay__s--wait b { color: var(--blue); }
.pay__s--ok b { color: var(--ok); }
.pay__s--warn b { color: var(--warn); }
.spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #c9d5fa; border-top-color: var(--blue); }
.pay__bar { display: block; position: relative; height: 2px; margin-top: 10px; background: #e6e8ee; overflow: hidden; }
.pay__bar i { position: absolute; left: 0; top: 0; width: 40%; height: 100%; background: var(--blue); }

/* the card terminal */
.term { position: relative; display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: #1c1f27; box-shadow: var(--shadow); }
.term__scr { flex: 1; min-height: 84px; border-radius: 6px; background: #f6f8fb; color: var(--ink); font-family: var(--sans); text-align: center; }
.term__s { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px; }
.term__s small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.term__s small svg { width: 12px; height: 12px; }
.term__s b { font: 400 20px/1.2 var(--mono); white-space: nowrap; }
.term__s .term__idle { font: 500 15px/1.3 var(--sans); color: var(--muted); }
.term__hint { color: var(--blue) !important; }
.term__s--ok { color: var(--ok); }
.term__s--ok > svg { width: 28px; height: 28px; stroke-width: 1.8; }
.term__s--ok b { font: 600 17px/1.2 var(--sans); }
.term__s--ok small { font-family: var(--mono); color: var(--ink-2); }
.term__keys { display: none; }
.term__keys i { height: 14px; border-radius: 3px; background: #343946; }
.term__keys i:nth-child(10) { background: #8f3a35; }
.term__keys i:nth-child(12) { background: #2f7a50; }
.card { position: absolute; right: -6px; top: -16px; width: 74px; height: 47px; border-radius: 5px; background: linear-gradient(135deg, #2a5cf0, #1339b3); box-shadow: 0 8px 18px -6px rgba(19, 57, 179, 0.55); color: #fff; opacity: 0; }
.card i { position: absolute; left: 9px; top: 14px; width: 13px; height: 10px; border-radius: 2px; background: #f3d28a; }
.card svg { position: absolute; right: 8px; top: 8px; width: 14px; height: 14px; }

/* the four captions */
.demo__label { max-width: 400px; margin-left: auto; margin-right: auto; padding-right: 44px; }
.demo__steps { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 400px; margin: 20px auto 0; counter-reset: st; }
.st { position: relative; padding-left: 36px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); counter-increment: st; }
.st::before { content: counter(st); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid #b9c7f3; color: var(--blue); font: 400 12.5px/22px var(--mono); text-align: center; }
.st b { display: block; color: var(--ink); font-weight: 600; }
.demo__pause { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #cfd4de; border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; }
.demo__pause[hidden] { display: none; }
.demo__pause:hover { color: var(--ink); border-color: var(--ink); }
.demo__pause svg { width: 14px; height: 14px; }
.demo__pause .i-pause { stroke-width: 1.8; }
.demo__pause .i-play { display: none; fill: currentColor; }
.demo__pause[aria-pressed="true"] .i-pause { display: none; }
.demo__pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section__h { max-width: 720px; }

/* why */
.why { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
.why__item h3 { margin-top: 18px; }
.why__item p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.viz { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 166px; padding: 18px; border-radius: 12px; background: var(--tint); }
.sum { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.sum span { flex: 1; font-size: 13.5px; color: var(--muted); }
.sum b { font: 400 16px var(--mono); white-space: nowrap; }
.sum svg { width: 14px; height: 14px; flex: none; stroke-width: 2; }
.sum--bad { color: var(--no); }
.sum--bad b { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, 0.6); }
.sum--bad mark { background: #fbdcd9; color: var(--no); padding: 0 1px; }
.sum--ok { color: var(--ok); border-color: #bfe2cd; }
.sum--ok b { color: var(--ink); }
.viz--key { align-items: center; gap: 12px; }
.bigkey { position: relative; display: flex; align-items: center; justify-content: center; width: 148px; height: 56px; border-radius: 6px; background: var(--blue); color: #fff; font: 600 19px var(--ui); box-shadow: 0 10px 22px -10px rgba(26, 75, 224, 0.7); }
.bigkey i { position: absolute; inset: -7px; border-radius: 11px; border: 2px solid rgba(26, 75, 224, 0.28); }
.viz__note { font: 400 12.5px var(--mono); color: var(--muted); }
.hist { border-radius: 6px; background: #fff; border: 1px solid var(--line); font-family: var(--ui); }
.hist li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; font-size: 13.5px; }
.hist li + li { border-top: 1px solid var(--line); }
.hist time { font: 400 13px var(--mono); color: var(--muted); }
.hist b { flex: 1; font: 400 14px var(--mono); white-space: nowrap; }
.dot { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot--no::before { background: var(--no); }
.dot--wait::before { background: var(--warn); }

/* safety */
.safe { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.safe .lead { margin-top: 16px; }
.ticks { margin-top: 22px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2; }
.ticks b { color: var(--ink); font-weight: 600; }
.app__body { display: flex; }
.app__nav { display: none; flex-direction: column; gap: 2px; width: 172px; flex: none; padding: 6px 8px 14px; font-size: 14px; }
.app__nav > span { position: relative; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 5px; color: var(--ink); }
.app__nav > span svg { width: 18px; height: 18px; stroke-width: 1.2; }
.app__nav > .is-on { background: #e9e9e9; }
.app__nav > .is-on::before { content: ""; position: absolute; left: 0; top: 11px; width: 3px; height: 16px; border-radius: 2px; background: var(--blue); }
.app__nav > .app__status { margin-top: auto; height: auto; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 12.5px; }
.app__status b { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.app__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.app__status small { font-size: 12px; color: var(--muted); }
.app__page { flex: 1; min-width: 0; padding: 4px 12px 14px; }
.app__title { font: 600 24px/1.3 var(--ui); margin-bottom: 12px; }
.pay--app { border-radius: 8px; padding: 18px 20px 20px; }
.pay--app .pay__amt { font-size: 44px; }
.pay--app .pay__s { margin-top: 8px; }
.ask { margin-top: 14px; padding: 14px 16px 16px; background: var(--warn-soft); font-size: 14px; line-height: 1.4; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask__btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid #cfd4de; border-radius: 2px; background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.ask__btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.hist--app { margin-top: 12px; border-radius: 8px; }

/* start */
.start__head { max-width: 820px; }
.start__head .lead { margin-top: 14px; }
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
.step { position: relative; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.step__n { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-d); font: 400 14px var(--mono); }
.step h3 { margin-top: 14px; }
.step p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.launch { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; font-size: 16px; color: var(--ink-2); }
.launch__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.soon-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 20px; border-radius: 6px; border: 1px dashed #b4bccb; background: #fff; color: var(--ink-2); font-weight: 500; font-size: 16.5px; cursor: default; }
.soon-cta--primary { border: 1px dashed #9db2f2; background: var(--blue-soft); color: var(--blue-d); }
.soon-cta .tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 4px; background: var(--tint); font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.soon-cta--primary .tag { background: #fff; color: var(--blue-d); }
.fits { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.fits li { display: flex; gap: 14px; }
.fits svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--blue); stroke-width: 1.3; }
.fits b { display: block; font-weight: 600; }
.fits span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }

/* questions */
.faq { display: grid; grid-template-columns: 1fr; gap: 24px; }
.faq__head p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.faq__list { border-top: 1px solid #d5dae4; }
.faq__list details { border-bottom: 1px solid #d5dae4; }
.faq__list summary { position: relative; display: block; padding: 16px 40px 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.faq__list details p { padding: 0 40px 18px 0; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* ---------- footers (home, legal pages) ---------- */
.foot, .doc-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; line-height: 22px; color: var(--muted); }
.foot .wrap, .doc-foot .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; width: 100%; }
.foot__brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; }
.company span { white-space: nowrap; }
.doc-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.doc-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: #cfd4de; text-underline-offset: 5px; }
.doc-links a:hover, .doc-links a:focus-visible { text-decoration-color: currentColor; }
.doc-links a[aria-current="page"] { text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.anpc { display: inline-block; border-radius: 4px; }
.anpc img { width: 201px; height: 50px; }

/* ---------- legal pages, 404 ---------- */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(34px, 2.3vw + 26px, 52px); }
.doc .draft { margin: 24px 0 32px; padding: 14px 16px; border: 1px solid rgba(138, 83, 0, 0.35); background: #fffaf1; border-radius: 6px; color: #4a3200; }
.doc h2 { font-size: clamp(23px, 0.76vw + 20px, 30px); margin-top: 44px; }
.doc h3 { font-size: 19px; margin-top: 24px; }
.doc p, .doc ul, .doc ol { margin-top: 12px; max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; line-height: 22px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc .table-wrap { overflow-x: auto; }
.doc code { font-family: var(--mono); font-size: 0.92em; }
.nf { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 72px; }
.nf p { margin-top: 20px; max-width: 52ch; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.nf .btn-row { margin-top: 28px; }

/* ---------- answer pages (one question each) ---------- */
.crumb { font: 400 12.5px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); }
.qa h1 { margin-top: 14px; font-size: clamp(30px, 2vw + 22px, 44px); }
.qa .answer { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: var(--blue-soft); }
.qa .answer p { margin-top: 0; max-width: none; font-size: 19px; line-height: 1.5; color: var(--ink); }
.qa .viz, .qa .pay, .qa .hist { margin-top: 28px; max-width: 520px; }
.qa .hist { padding-left: 0; list-style: none; }
.qa .hist li + li { margin-top: 0; }
.qa .hist b { font-family: var(--ui); font-weight: 600; }
.qa .sum, .qa .ask p { margin-top: 0; }
.qa .pay__s p { margin-top: 5px; }
.qa pre { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #14161c; color: #e8ebf2; font: 400 14px/1.6 var(--mono); overflow-x: auto; }
.qa pre code { font-size: inherit; }
.qa code { padding: 1px 4px; border-radius: 3px; background: var(--tint); }
.qa pre code { padding: 0; background: none; }
.qa__end { margin-top: 48px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 12px; }
.qa__end p { margin-top: 0; max-width: none; color: var(--ink-2); }
.qa__end .btn-row { margin-top: 18px; }
.qa__more h2 { font-size: 22px; }
.qa__more ul { padding-left: 0; list-style: none; }
.qa__more a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; }
.guides span { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .wrap { padding: 0 28px; }
  .demo__steps { grid-template-columns: 1fr 1fr; max-width: 560px; gap: 16px 24px; }
  .app__nav { display: flex; }
  .app__page { padding: 4px 16px 16px 8px; }
}
@media (min-width: 760px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .lead { font-size: 19px; }
  .section { padding: 88px 0; }
  .why { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .fits { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .launch { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
  .nav__links { display: flex; }
  .nav__links + .nav__actions { margin-left: 0; }
}
@media (min-width: 1040px) {
  h1 { font-size: 58px; }
  h2 { font-size: 40px; }
  .hero { padding: 40px 0 56px; text-align: center; }
  .hero__text { margin: 0 auto; max-width: 1120px; }
  .hero h1 { text-wrap: nowrap; white-space: nowrap; }
  .hero .lead { margin-left: auto; margin-right: auto; max-width: 790px; }
  .hero .btn-row { justify-content: center; }
  .demo { margin-top: 36px; padding: 32px 32px 26px; text-align: left; }
  .demo__label { display: none; }
  .demo__art { flex-direction: row; align-items: center; max-width: none; }
  .dv--prog { width: 292px; flex: none; }
  .dv--lk { width: 330px; flex: none; }
  .dv--term { width: 168px; flex: none; }
  .prog__rows, .slip-clip { display: block; }
  .wire { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; height: auto; --tx: 100%; --ty: 0px; --cx: -12px; --cy: 0px; }
  .wire__line { width: 100%; height: 2px; }
  .wire__run i { left: -5px; top: -4px; }
  .chip--amt svg, .chip--ans svg { transform: none; }
  .wire--2 .chip, .wire--1 .chip { justify-self: auto; }
  .term { flex-direction: column; gap: 12px; padding: 12px 12px 16px; border-radius: 16px; }
  .term__scr { min-height: 128px; }
  .term__s b { font-size: 21px; }
  .term__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 6px; }
  .card { right: -34px; top: 104px; width: 86px; height: 54px; }
  .demo__steps { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(26, 75, 224, 0.16); }
  .demo__pause { right: 14px; top: 14px; }
  .safe { grid-template-columns: 5fr 6fr; gap: 64px; }
  .faq { grid-template-columns: 4fr 7fr; gap: 64px; }
}

/* ---------- motion (only when the visitor allows it) ---------- */
.anim .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.anim .rv.in, .rv-safe .rv { opacity: 1; transform: none; }
.anim .why__item:nth-child(2), .anim .step:nth-child(2) { transition-delay: 0.08s; }
.anim .why__item:nth-child(3), .anim .step:nth-child(3) { transition-delay: 0.16s; }

.anim .demo__art,
.anim .demo .swap > *,
.anim .demo .key--card,
.anim .demo .slip,
.anim .demo .wire__run,
.anim .demo .chip,
.anim .demo .pay__amt,
.anim .demo .card,
.anim .demo .st::before { animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-fill-mode: both; }
.anim .demo.is-paused *, .anim .demo.is-off *, .anim .demo.is-paused *::before, .anim .demo.is-off *::before { animation-play-state: paused !important; }

.anim .demo__art { animation-name: d-art; }
.anim .prog__state .s-a { animation-name: d-prog-a; }
.anim .prog__state .s-b { animation-name: d-prog-b; }
.anim .prog__state .s-c { animation-name: d-prog-c; }
.anim .demo .key--card { animation-name: d-key; }
.anim .demo .slip { animation-name: d-slip; }
.anim .wire--1 .wire__run--fwd { animation-name: d-w1-fwd; }
.anim .wire--1 .chip--amt { animation-name: d-w1-amt; }
.anim .wire--2 .wire__run--fwd { animation-name: d-w2-fwd; }
.anim .wire--2 .chip--amt { animation-name: d-w2-amt; }
.anim .wire--2 .wire__run--back { animation-name: d-w2-back; }
.anim .wire--2 .chip--ans { animation-name: d-w2-ans; }
.anim .wire--1 .wire__run--back { animation-name: d-w1-back; }
.anim .wire--1 .chip--ans { animation-name: d-w1-ans; }
.anim .demo .pay__amt { animation-name: d-lk-amt; }
.anim .pay__state .s-a { animation-name: d-lk-a; }
.anim .pay__state .s-b { animation-name: d-lk-b; }
.anim .pay__state .s-c { animation-name: d-lk-c; }
.anim .term__scr .s-a { animation-name: d-term-a; }
.anim .term__scr .s-b { animation-name: d-term-b; }
.anim .term__scr .s-c { animation-name: d-term-c; }
.anim .demo .card { animation-name: d-card; }
.anim .st--1::before { animation-name: d-st1; }
.anim .st--2::before { animation-name: d-st2; }
.anim .st--3::before { animation-name: d-st3; }
.anim .st--4::before { animation-name: d-st4; }
.anim .demo .spin { animation: d-spin 0.9s linear infinite; }
.anim .demo .pay__bar i { animation: d-bar 1.5s var(--ease) infinite; }
.anim .bigkey i { animation: d-ring 2.4s var(--ease) infinite; }

/* one payment = 12 s. 0-7 rest · 7-10 "Card" · 10-18 amount to Linkit · 19-27 amount to the terminal ·
   34-49 the card · 51-59 answer to Linkit · 60-68 answer to the program · 70-78 the receipt · hold · 96-100 fade */
@keyframes d-art { 0% { opacity: 0; } 3%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes d-key { 0%, 7% { background-color: #fff; color: #3c414d; border-color: #cfd4de; transform: none; } 8.5% { transform: scale(0.93); } 10%, 100% { background-color: #1a4be0; color: #fff; border-color: #1a4be0; transform: none; } }
@keyframes d-prog-a { 0%, 9% { opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes d-prog-b { 0%, 9% { opacity: 0; } 11%, 67% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes d-prog-c { 0%, 67% { opacity: 0; } 69%, 100% { opacity: 1; } }
@keyframes d-slip { 0%, 70% { transform: translateY(-105%); } 78%, 100% { transform: none; } }
@keyframes d-w1-fwd { 0%, 10% { opacity: 0; transform: translate(0, 0); } 11%, 17% { opacity: 1; } 18% { opacity: 0; transform: translate(var(--tx), var(--ty)); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)); } }
@keyframes d-w1-amt { 0%, 10% { opacity: 0; transform: translate(var(--cx), var(--cy)); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes d-lk-amt { 0%, 17% { opacity: 0; transform: translateY(6px); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes d-lk-a { 0%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes d-lk-b { 0%, 17% { opacity: 0; } 19%, 58% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes d-lk-c { 0%, 58% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes d-w2-fwd { 0%, 19% { opacity: 0; transform: translate(0, 0); } 20%, 26% { opacity: 1; } 27% { opacity: 0; transform: translate(var(--tx), var(--ty)); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)); } }
@keyframes d-w2-amt { 0%, 19% { opacity: 0; transform: translate(var(--cx), var(--cy)); } 25%, 100% { opacity: 1; transform: none; } }
@keyframes d-term-a { 0%, 26% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes d-term-b { 0%, 26% { opacity: 0; } 28%, 47% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes d-term-c { 0%, 47% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes d-card { 0%, 33% { opacity: 0; transform: translate(46px, 34px) rotate(10deg); } 38% { opacity: 1; } 43%, 49% { opacity: 1; transform: none; } 55%, 100% { opacity: 0; transform: translate(46px, 34px) rotate(10deg); } }
@keyframes d-w2-back { 0%, 51% { opacity: 0; transform: translate(var(--tx), var(--ty)); } 52%, 58% { opacity: 1; } 59% { opacity: 0; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes d-w2-ans { 0%, 51% { opacity: 0; transform: translate(calc(var(--cx) * -1), calc(var(--cy) * -1)); } 57%, 100% { opacity: 1; transform: none; } }
@keyframes d-w1-back { 0%, 60% { opacity: 0; transform: translate(var(--tx), var(--ty)); } 61%, 67% { opacity: 1; } 68% { opacity: 0; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes d-w1-ans { 0%, 60% { opacity: 0; transform: translate(calc(var(--cx) * -1), calc(var(--cy) * -1)); } 66%, 100% { opacity: 1; transform: none; } }
@keyframes d-st1 { 0%, 5% { background-color: #fff; color: #1a4be0; } 7%, 17% { background-color: #1a4be0; color: #fff; } 19%, 100% { background-color: #fff; color: #1a4be0; } }
@keyframes d-st2 { 0%, 9% { background-color: #fff; color: #1a4be0; } 11%, 32% { background-color: #1a4be0; color: #fff; } 34%, 100% { background-color: #fff; color: #1a4be0; } }
@keyframes d-st3 { 0%, 32% { background-color: #fff; color: #1a4be0; } 34%, 49% { background-color: #1a4be0; color: #fff; } 51%, 100% { background-color: #fff; color: #1a4be0; } }
@keyframes d-st4 { 0%, 49% { background-color: #fff; color: #1a4be0; } 51%, 94% { background-color: #1a4be0; color: #fff; } 96%, 100% { background-color: #fff; color: #1a4be0; } }
@keyframes d-spin { to { transform: rotate(360deg); } }
@keyframes d-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes d-ring { 0% { opacity: 0; transform: scale(0.92); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .nav { position: static; }
  .demo__pause { display: none; }
}
