/* ============================================================================
   PEYRA — design system
   Structure & motion after the LES Group site (full-bleed alternating
   sections, Space Grotesk / Inter / JetBrains Mono, hand-built animated
   single-line diagrams) — recoloured navy + electric BLUE on white.
   Fonts load via <link> in the page head, with system fallbacks.
   ============================================================================ */

:root {
  /* Navy scale (dark sections / hero) */
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #14284b;
  --navy-600: #1c3a5e;
  --navy-500: #2b466f;
  --navy-line: #22406e;

  /* Electric blue accent (was lime in the reference) */
  --blue:     #2f6bff;
  --blue-600: #1e56e0;
  --blue-700: #1a49bd;
  --blue-400: #5b8bff;
  --blue-300: #8fb4ff;
  --blue-200: #b9d0ff;
  --blue-glow: rgba(47, 107, 255, .28);
  --blue-dim:  rgba(47, 107, 255, .10);

  /* Light UI */
  --white:    #ffffff;
  --tint:     #f2f6ff;
  --tint-2:   #e9f0ff;
  --line:     #e2e8f2;
  --line-2:   #d3dcec;
  --ink:      #14284b;
  --ink-soft: #55617a;
  --muted:    #94a0b6;

  --good:     #17936b;
  --warn:     #d98a1a;
  --danger:   #d64550;

  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --shadow-1:  0 1px 2px rgba(13, 26, 51, .05), 0 6px 18px rgba(13, 26, 51, .06);
  --shadow-2:  0 12px 40px -12px rgba(13, 26, 51, .22);
  --shadow-3:  0 30px 70px -24px rgba(13, 26, 51, .30);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1280px;
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--radius-xs); }

/* ---------- Layout primitives ------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--tint  { background: var(--tint); border-block: 1px solid var(--line); }
.section--navy  { background: var(--navy-700); color: #fff; }
.section--deep  { background: var(--navy-900); color: #fff; overflow: hidden; }
.on-dark { color: #fff; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Typography -------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-600); font-weight: 500;
  display: block; margin-bottom: 14px;
}
.section--navy .eyebrow, .section--deep .eyebrow { color: var(--blue-300); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; font-weight: 600; letter-spacing: -.01em; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--deep h1, .section--deep h2, .section--deep h3, .on-dark h2, .on-dark h3 { color: #fff; }
.h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); font-weight: 700; line-height: 1.04; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.lede { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.6; max-width: 60ch; }
.section--navy .lede, .section--deep .lede, .on-dark .lede { color: #a8b6cf; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-soft); }
.dim { color: var(--muted); }
.accent { color: var(--blue-600); }
.section--deep .accent, .section--navy .accent { color: var(--blue-300); }
.balance { text-wrap: balance; }
.center { text-align: center; }

/* Section header */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head__t { max-width: 640px; }
.link-arrow { color: var(--blue-600); font-weight: 600; font-size: .95rem; border-bottom: 2px solid var(--blue); padding-bottom: 2px; white-space: nowrap; transition: gap .2s; }
.link-arrow:hover { color: var(--blue-700); }

/* ---------- Pills / tags ----------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  border: 1px solid var(--line-2); border-radius: 100px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); background: var(--white);
}
.section--deep .pill, .section--navy .pill { border-color: var(--navy-500); color: var(--blue-300); background: transparent; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulseNode 2s ease-in-out infinite; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
  font-size: .92rem; color: var(--ink); font-weight: 500; transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--blue); transform: translateY(-2px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px;
  border-radius: var(--radius-xs); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-600); }
.btn--on-dark { border-color: var(--navy-500); color: #fff; background: transparent; }
.btn--on-dark:hover { border-color: var(--blue-300); color: var(--blue-300); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / nav ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: .01em; }
.brand__word b { color: var(--blue); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link { color: var(--ink-soft); font-weight: 500; font-size: .98rem; transition: color .15s; }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--blue-600); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__burger { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-xs); }
.nav__burger svg { stroke: var(--ink); }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__burger { display: grid; }
  .mobile-menu {
    position: fixed; inset: 66px 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    padding: 12px var(--gutter) 24px; display: none; flex-direction: column; gap: 2px; z-index: 499;
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { padding: 14px 8px; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-menu a.is-active { color: var(--blue-600); }
  .mobile-menu .btn { margin-top: 16px; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
        padding-block: clamp(48px, 7vw, 96px); background: var(--navy-900); color: #fff; overflow: hidden; }
.hero--short { min-height: 0; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 4vw, 60px); align-items: center; width: 100%; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 4.7vw, 4rem); font-weight: 700; line-height: 1.05; margin: 22px 0 20px; }
.hero__sub { color: #a8b6cf; font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.6; margin-bottom: 12px; max-width: 52ch; }
.hero__mono { font-family: var(--font-mono); font-size: .8rem; color: #6e819f; margin-bottom: 34px; letter-spacing: .02em; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__panel { order: -1; } }

/* ---------- Glass live panel (hero right) ------------------------------ */
.glass {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(3px);
  animation: fadeUp 1.1s var(--ease) both;
}
.glass__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.glass__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--blue-300); }
.glass__status { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .62rem; color: #7fe0a8; }
.glass__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulseNode 1.2s ease-in-out infinite; }
.glass__row { display: flex; align-items: center; gap: 12px; }
.glass__row + .glass__row { margin-top: 12px; }
.glass__row .rk { font-family: var(--font-mono); font-size: .7rem; color: #7e91ae; width: 62px; flex: none; }
.glass__row .rv { font-family: var(--font-mono); font-size: .7rem; color: #dfe7f2; width: 84px; text-align: right; flex: none; }
.glass__bar { flex: 1; height: 6px; background: var(--navy-600); border-radius: 3px; overflow: hidden; }
.glass__bar > span { display: block; height: 100%; background: var(--blue); transform-origin: left; animation: barPulse 3s ease-in-out infinite; }
.glass__foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--navy-600); }
.glass__foot .mono { font-size: .68rem; color: #a8b6cf; }

/* sparkline */
.spark { width: 100%; height: 80px; margin-bottom: 16px; }
.spark .grid-l { stroke: var(--navy-600); stroke-width: 1; }
.spark .line { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
               stroke-dasharray: 400; animation: dashDraw 4.5s ease-in-out infinite; }

/* ---------- Hairline feature grid -------------------------------------- */
.hair-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hair-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hair-cell { background: var(--white); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px; transition: background .3s; }
a.hair-cell:hover { background: var(--tint); }
.hair-cell__icon { height: 74px; display: flex; align-items: center; color: var(--blue); }
.hair-cell h3 { font-size: 1.12rem; margin-bottom: 6px; }
.hair-cell p { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.hair-cell--cta { background: var(--navy-700); justify-content: center; }
.hair-cell--cta .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--blue-300); }
.hair-cell--cta p { color: #c3cee0; }
.hair-cell--cta .go { color: var(--blue-300); font-weight: 600; font-size: .92rem; }
.hair-cell__n { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; }

/* ---------- Cards ------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card--hover:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card__k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .94rem; line-height: 1.6; }
.quote-mark { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 6px; }

/* ---------- Timeline (traveling dot) ----------------------------------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline__rail { position: absolute; top: 11px; left: 0; right: 0; height: 2px; background: var(--line); }
.section--deep .timeline__rail, .section--navy .timeline__rail { background: var(--navy-600); }
.timeline__dot { position: absolute; top: 6px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); animation: travelX 6s linear infinite; }
.timeline__step { padding-right: 28px; }
.timeline__node { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); margin-bottom: 22px; position: relative; z-index: 2; display: grid; place-items: center; }
.section--deep .timeline__node, .section--navy .timeline__node { background: var(--navy-900); }
.timeline__node span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.timeline__n { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.timeline h4 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.section--deep .timeline p { color: #8fa0bd; }

/* ---------- Bus flow (rails / under the hood) -------------------------- */
.busflow { position: relative; }
.busflow__rail { position: absolute; top: 26px; left: 4%; right: 4%; height: 2px; background: var(--navy-600); }
.busflow__dot { position: absolute; top: 22px; left: 4%; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); animation: travelX 5.5s linear infinite; }
.busflow__nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.busnode { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.busnode__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--blue); display: grid; place-items: center; color: var(--blue-300); }
.busnode__t { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: #fff; }
.busnode__d { color: #8fa0bd; font-size: .74rem; line-height: 1.5; }
.coord { margin-top: 44px; position: relative; border: 1px solid var(--navy-500); border-radius: var(--radius-sm); background: var(--blue-dim); padding: 26px 30px; overflow: hidden; }
.coord__flow { position: absolute; top: 0; left: 0; width: 100%; height: 20px; }
.coord__flow line { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 16 26; animation: flowDash 5s linear infinite; }

/* ---------- Metrics band ----------------------------------------------- */
.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.metric { text-align: center; }
.metric__n { font-family: var(--font-head); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; color: var(--blue-300); line-height: 1; }
.metric__l { color: #a8b6cf; font-size: .82rem; margin-top: 10px; line-height: 1.4; }

/* ---------- Ticker ------------------------------------------------------ */
.ticker { overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; gap: 52px; padding: 0 26px; align-items: center; }
.ticker__item { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ---------- Comparison table ------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
table.compare th, table.compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--tint); }
table.compare tbody td:first-child { color: var(--ink-soft); font-weight: 500; }
table.compare tr.is-peyra td { background: var(--blue-dim); color: var(--ink); font-weight: 600; }
table.compare tr.is-peyra td:first-child { color: var(--blue-700); }
table.compare tr:last-child td { border-bottom: 0; }

/* ---------- Pricing ----------------------------------------------------- */
.price { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3vw, 2.6rem); color: var(--ink); line-height: 1; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); font-family: var(--font-mono); }

/* ---------- FAQ --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.faq__q:hover { color: var(--blue-600); }
.faq__icon { flex: none; color: var(--blue); font-family: var(--font-mono); transition: transform .2s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a > div { padding: 0 4px 24px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Forms ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  padding: 13px 15px; font-size: .96rem; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.form-note { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.form-msg { font-family: var(--font-mono); font-size: .82rem; padding: 12px 15px; border-radius: var(--radius-xs); border: 1px solid; margin-top: 4px; }
.form-msg--ok { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); background: color-mix(in srgb, var(--good) 8%, transparent); }
.form-msg--err { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); }
[hidden] { display: none !important; }

/* ============================================================================
   INTERACTIVE DEMO — "send money" phone flow
   ============================================================================ */
.demo { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; justify-items: center; } }

.phone {
  width: 340px; max-width: 100%; background: var(--navy-900); border: 1px solid var(--navy-500);
  border-radius: 34px; padding: 14px; box-shadow: var(--shadow-3); position: relative;
}
.phone__notch { width: 120px; height: 26px; background: var(--navy-900); border-radius: 0 0 16px 16px; margin: -14px auto 0; position: relative; z-index: 3; }
.phone__screen { background: linear-gradient(180deg, #0f2038, #0a1628); border-radius: 24px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; position: relative; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 8px; font-family: var(--font-mono); font-size: .62rem; color: #8fa0bd; }
.phone__bar .live { display: flex; align-items: center; gap: 6px; color: #7fe0a8; }
.phone__bar .live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: pulseNode 1.2s ease-in-out infinite; }
.phone__body { flex: 1; padding: 12px 20px 20px; display: flex; flex-direction: column; }

.demo-screen { display: none; flex-direction: column; flex: 1; animation: fadeUp .4s var(--ease) both; }
.demo-screen.is-active { display: flex; }
.demo-title { color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.demo-sub { color: #8fa0bd; font-size: .8rem; margin-bottom: 18px; }

/* contacts */
.contact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: border-color .2s, background .2s; cursor: pointer; }
.contact:hover, .contact.sel { border-color: var(--blue); background: rgba(47,107,255,.08); }
.contact__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: #fff; flex: none; }
.contact__n { color: #fff; font-size: .92rem; font-weight: 500; }
.contact__h { color: #7e91ae; font-family: var(--font-mono); font-size: .72rem; }

/* amount */
.amount-display { text-align: center; padding: 20px 0 8px; }
.amount-display .big { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: #fff; letter-spacing: -.02em; }
.amount-display .to { color: #8fa0bd; font-size: .82rem; margin-top: 6px; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.key { padding: 15px 0; text-align: center; font-family: var(--font-head); font-size: 1.3rem; color: #fff; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); transition: background .12s; }
.key:hover { background: rgba(255,255,255,.1); }
.key:active { background: var(--blue); }

/* pin */
.pin-dots { display: flex; justify-content: center; gap: 16px; padding: 22px 0 30px; }
.pin-dots span { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--navy-500); transition: background .2s, border-color .2s; }
.pin-dots span.on { background: var(--blue); border-color: var(--blue); }

/* settling / rail inside phone */
.settle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.settle__ring { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--navy-500); border-top-color: var(--blue); animation: rotateSlow .9s linear infinite; }
.settle__label { font-family: var(--font-mono); font-size: .78rem; color: var(--blue-300); letter-spacing: .06em; }
.check { width: 96px; height: 96px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; animation: ringGlow 1.4s ease-out infinite; }
.check svg { stroke: #fff; }
.settled-amt { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; }

.demo-btn { margin-top: 16px; width: 100%; padding: 14px; border-radius: var(--radius-sm); background: var(--blue); color: #fff; font-weight: 600; text-align: center; transition: background .18s, opacity .18s; }
.demo-btn:hover { background: var(--blue-600); }
.demo-btn[disabled] { opacity: .4; pointer-events: none; }

/* demo side rail (the "how it works" beside the phone) */
.demo-steps { display: grid; gap: 4px; }
.demo-step { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; opacity: .5; transition: opacity .3s; }
.demo-step.is-on { opacity: 1; }
.demo-step__n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.demo-step.is-on .demo-step__n { border-color: var(--blue); color: var(--blue-600); background: var(--blue-dim); }
.demo-step h4 { font-size: 1.02rem; margin-bottom: 3px; }
.demo-step p { color: var(--ink-soft); font-size: .9rem; }
.demo-controls { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Utilities --------------------------------------------------- */
.stack > * + * { margin-top: var(--s, 1rem); }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.wrap-flex { flex-wrap: wrap; } .gap-sm { gap: 10px; } .gap-md { gap: 18px; }
.mt-sm { margin-top: .8rem; } .mt-md { margin-top: 1.6rem; } .mt-lg { margin-top: 2.6rem; }
.mb-md { margin-bottom: 1.6rem; } .mb-lg { margin-bottom: 2.6rem; }
.mx-auto { margin-inline: auto; } .maxw-prose { max-width: 62ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 0; }
.foot-link { display: block; color: #a8b6cf; padding: 5px 0; font-size: .94rem; transition: color .15s; }
.foot-link:hover { color: var(--blue-300); }

/* code block */
.code { background: var(--navy-900); border: 1px solid var(--navy-500); border-radius: var(--radius); overflow: hidden; }
.code__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--navy-600); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6e819f; }
.code pre { padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: .84rem; line-height: 1.75; color: #cdd7ea; }
.code .k { color: var(--blue-300); } .code .s { color: #7fe0a8; } .code .c { color: #6e819f; font-style: italic; } .code .n { color: #ffb56b; }

/* ---------- Reveal on scroll ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================================
   KEYFRAMES (shared with the InventorySW / LES motion vocabulary)
   ============================================================================ */
@keyframes rotateSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes flowDash   { to { stroke-dashoffset: -240; } }
@keyframes pulseNode  { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes flicker    { 0%, 100% { opacity: 1; transform: scaleY(1); } 45% { opacity: .55; transform: scaleY(.82); } 70% { opacity: .9; transform: scaleY(1.06); } }
@keyframes drop       { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
@keyframes dashDraw   { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes travelX    { 0% { left: 4%; } 100% { left: 92%; } }
@keyframes floatY     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fadeUp     { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker     { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes barPulse   { 0%, 100% { transform: scaleX(.55); } 50% { transform: scaleX(1); } }
@keyframes ringGlow   { 0% { box-shadow: 0 0 0 0 var(--blue-glow); } 100% { box-shadow: 0 0 0 18px transparent; } }
@keyframes modalIn    { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1040px) {
  .cols-5, .metrics { grid-template-columns: repeat(3, 1fr); }
  .hair-grid { grid-template-columns: repeat(2, 1fr); }
  .busflow__nodes { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .busflow__rail, .busflow__dot { display: none; }
}
@media (max-width: 760px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .timeline__rail, .timeline__dot { display: none; }
  .sec-head { align-items: flex-start; }
  .hair-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cols-5, .cols-4, .cols-3, .metrics, .hair-grid, .busflow__nodes, .timeline { grid-template-columns: 1fr; }
  .metrics { gap: 32px; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta .btn { width: auto; }
  .phone { width: 100%; }
}
