/* Paymantic marketing site.
   Colours are sampled from the logo: the navy wordmark (#00103c), an electric blue for
   actions, and the turquoise of the P mark for highlights. White page, pale blue alternate
   sections, one dark panel per illustration. One type family, Plus Jakarta Sans, served
   from this site. Change colours through the :root custom properties only.
   All URLs are relative, so the same files work at / and in a preview folder. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  /* brand */
  --navy: #00103c;
  --navy-2: #0b1d4f;
  --blue: #0b5cff;
  --blue-deep: #0047d1;
  --turq: #14cfd6;
  --turq-deep: #0a9fb8;

  /* text and surfaces */
  --ink: #13213f;
  --muted: #56627a;
  --subtle: #66728a;
  --bg: #ffffff;
  --pale: #f4f8fe;
  --pale-2: #eaf2ff;
  --line: #e3e9f3;
  --line-strong: #cfdaea;
  --connector: #b7c8ec;

  /* states, each pair at least 4.5:1 */
  --ok: #0b7a3f;
  --ok-bg: #e6f6ed;
  --warn: #9a4f00;
  --warn-bg: #fff3df;
  --bad: #b42d28;
  --bad-bg: #fdeceb;

  /* the text gradient ends dark enough for 3:1 on white at heading sizes */
  --grad-text: linear-gradient(90deg, #0b5cff 0%, #0786e0 55%, #089fbd 100%);
  /* white button text stays at 4.5:1 or more where the words sit */
  --grad-btn: linear-gradient(100deg, #0b5cff 0%, #0866ee 60%, #0890cf 100%);
  --grad-dark: linear-gradient(160deg, #0b1d4f 0%, #00103c 100%);

  --shadow-sm: 0 1px 2px rgba(0, 16, 60, 0.06);
  --shadow: 0 1px 2px rgba(0, 16, 60, 0.05), 0 8px 24px rgba(0, 16, 60, 0.07);
  --shadow-lg: 0 2px 6px rgba(0, 16, 60, 0.06), 0 18px 44px rgba(0, 16, 60, 0.11);

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%237d98d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

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

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

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(11, 92, 255, 0.55); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- small labels ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--pale-2);
  border: 1px solid #cddcff;
  border-radius: 8px;
  padding: 6px 12px;
}

.kicker {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--subtle);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}

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

@media (forced-colors: active) {
  .grad-text { color: CanvasText; background: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 6px 16px rgba(11, 92, 255, 0.24);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11, 92, 255, 0.32); }

.btn-secondary { color: var(--navy); background: #fff; border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--pale); border-color: #b9c8df; }

.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }

.text-link {
  color: var(--blue-deep); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { height: 34px; width: auto; }

.main-nav { margin: 0 auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }

/* keeps the menu open while the pointer crosses the gap below the link */
.nav-item::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 12px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--navy);
}
.nav-link .i { width: 16px; height: 16px; stroke-width: 2; color: var(--subtle); transition: transform 0.15s ease; }
.nav-link:hover { background: var(--pale); color: var(--blue-deep); }

.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px;
  width: 320px; padding: 8px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.nav-menu-right { left: auto; right: -8px; }

@media (hover: hover) {
  .nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-item:hover .nav-link .i { transform: rotate(180deg); }
}
.nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* Escape closes a menu that keyboard focus still sits in (site.js sets the class). */
.nav-item.is-closed .nav-menu { opacity: 0; visibility: hidden; }

.nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--pale); }
.nm-title { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.nm-text { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }

.header-cta { flex: none; }

.mobile-nav { display: none; }

.menu-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--navy);
  cursor: pointer; list-style: none;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn::marker { content: ""; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-shut, .mobile-nav[open] .menu-btn .i-open { display: none; }
.mobile-nav[open] .menu-btn .i-shut { display: block; }

.mobile-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 16, 60, 0.14);
  padding: 4px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mp-group { padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.mp-head {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--subtle); margin-bottom: 4px;
}
.mp-group a { display: block; padding: 9px 0; font-size: 16px; font-weight: 600; color: var(--navy); }
.mp-actions { display: grid; gap: 10px; padding-top: 18px; }

@media (max-width: 999px) {
  :root { --header-h: 64px; }
  .main-nav, .header-cta { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .brand img { height: 30px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.7) 52% 66%, transparent 66%),
    radial-gradient(520px 300px at 88% 8%, rgba(20, 207, 214, 0.12), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}

.hero .eyebrow { margin-bottom: 22px; }

/* sized so "Accept card payments." stays on one line in the two-column layout */
.hero h1 {
  font-size: clamp(2.5rem, 3.95vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 34rem; margin-bottom: 30px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* payment marks: full-colour logos on white badges (owner's choice, 2026-10-12) */
.pay-logos-wrap { margin-top: 30px; }
.pay-logos-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.pay-logos { display: grid; grid-template-columns: repeat(4, 84px); gap: 10px; }

.pay-logos li, .logo-chips li, .j-logos li {
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
}
.pay-logos li { height: 44px; box-shadow: var(--shadow-sm); }
.pay-logos img, .logo-chips img { width: auto; }
.logo-visa { height: 15px; }
.logo-mc { height: 24px; }
.logo-applepay { height: 21px; }
.logo-gpay { height: 20px; }

/* card-in, crypto-out journey */
.journey {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 22px;
}
.journey-title {
  font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 22px;
}
.journey-title span { color: var(--blue-deep); }

.j-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.j-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.j-step:not(:last-child)::after {
  content: ""; position: absolute; top: 25px; right: -15px;
  width: 14px; height: 14px;
  background: var(--arrow) center / contain no-repeat;
}

.j-tile {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--pale-2); color: var(--blue);
  margin-bottom: 12px;
}
.j-tile .i { width: 28px; height: 28px; stroke-width: 1.9; }
.j-tile-dark { background: var(--grad-dark); }
.j-tile-dark img { width: 34px; height: 34px; }
.j-tile-usdc { background: #e8f1fb; }
.j-tile-usdc img { width: 38px; height: 38px; }

.j-label { font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.j-sub { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 4px; }

.j-logos { display: grid; grid-template-columns: repeat(2, 46px); gap: 4px; margin-top: 8px; }
.j-logos li { height: 24px; border-radius: 6px; }
.j-logos img { width: auto; }
.j-logos li:nth-child(1) img { height: 8px; }
.j-logos li:nth-child(2) img { height: 13px; }
.j-logos li:nth-child(3) img { height: 11px; }
.j-logos li:nth-child(4) img { height: 11px; }

.journey-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.journey-note .i { width: 18px; height: 18px; color: var(--subtle); margin-top: 1px; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-pale { background: var(--pale); border-block: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: 48px; }
.section h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
.section-intro { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 16px; max-width: 40rem; }

.split-head {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
}
.split-head .section-intro { margin-top: 0; }

.icon-tile {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  background: var(--pale-2); color: var(--blue);
}
.icon-tile .i { width: 24px; height: 24px; stroke-width: 2; }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-tile.sm .i { width: 20px; height: 20px; }

.fine-print {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 24px;
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
}
.fine-print .i { width: 18px; height: 18px; color: var(--subtle); margin-top: 1px; }

/* ---------- platform: one integration ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.platform-copy .section-intro + .section-intro { margin-top: 14px; }

/* routing diagram */
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.flow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 12px 6px 6px; box-shadow: var(--shadow-sm);
}
.flow-badge .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.8; }

.flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.08fr) 30px minmax(0, 1fr);
  align-items: center;
}

.ui-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }

.flow-checkout { padding: 14px; }
.ui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.ui-label { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.co-item {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.co-thumb {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--pale-2); color: var(--navy);
}
.co-thumb .i { width: 22px; height: 22px; }
.co-name { min-width: 0; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.co-name small { display: block; font-size: 11.5px; font-weight: 500; color: var(--subtle); }
.co-price { font-size: 14px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }

.co-methods { display: grid; gap: 6px; }
.co-methods li {
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; font-weight: 600; color: var(--ink);
}
.co-methods .i { width: 15px; height: 15px; }
.co-methods li.is-selected { background: var(--blue); border-color: var(--blue); color: #fff; }

.flow-link { position: relative; height: 0; border-top: 2px dashed #9fb7ef; margin: 0 4px; }
.flow-link::after {
  content: ""; position: absolute; right: -3px; top: -7px;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 7px solid #6f93ea;
}

.flow-engine {
  background: var(--grad-dark); color: #dce6ff;
  border-radius: 16px; padding: 16px;
  box-shadow: 0 14px 34px rgba(0, 16, 60, 0.28);
}
.eng-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.eng-head img { width: 30px; height: 30px; }
.eng-head strong { display: block; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.25; }
.eng-head small { display: block; font-size: 12px; font-weight: 600; color: #9fb2da; }
.eng-list { display: grid; gap: 7px; }
.eng-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #e6edff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px; padding: 7px 9px;
}
.eng-list .i { width: 15px; height: 15px; color: var(--turq); stroke-width: 2.4; }

.flow-branch { height: 2px; background: var(--connector); }

.flow-providers { position: relative; display: grid; gap: 12px; margin-left: 14px; }
/* the spine runs from the middle of the first card to the middle of the last (cards are 60 px) */
.flow-providers::before {
  content: ""; position: absolute; left: -14px; top: 30px; bottom: 30px;
  border-left: 2px solid var(--connector);
}
.prov {
  position: relative;
  height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.prov::before {
  content: ""; position: absolute; left: -15px; top: 50%;
  width: 14px; border-top: 2px solid var(--connector); transform: translateY(-1px);
}
.prov-icon { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.prov-icon .i { width: 17px; height: 17px; stroke-width: 2.3; }
.prov-text { min-width: 0; }
.prov-text strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.prov-text span { display: block; font-size: 12px; font-weight: 700; }
.prov.is-declined .prov-icon { background: var(--warn-bg); color: var(--warn); }
.prov.is-declined .prov-text span { color: var(--warn); }
.prov.is-approved { border-color: #bfe5cf; box-shadow: 0 0 0 3px rgba(11, 122, 63, 0.08), var(--shadow); }
.prov.is-approved .prov-icon { background: var(--ok); color: #fff; }
.prov.is-approved .prov-text span { color: var(--ok); }
.prov.is-standby .prov-icon { background: #eef1f6; color: var(--subtle); }
.prov.is-standby .prov-text span { color: var(--subtle); }

.flow-note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* three highlights */
.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px; border-top: 1px solid var(--line);
}
.feature { display: flex; align-items: flex-start; gap: 16px; padding: 28px 28px 0; border-radius: 0; }
.feature:first-child { padding-left: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-text { min-width: 0; }
.feature-text strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--navy); margin-bottom: 4px; }
.feature-text span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.feature:hover strong { color: var(--blue-deep); }
.feature-chev { display: none; }

/* ---------- crypto settlement ---------- */

.crypto { position: relative; overflow: hidden; }
.crypto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 320px at 92% 12%, rgba(20, 207, 214, 0.10), transparent 70%);
}

.crypto-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}

.check-list { display: grid; gap: 14px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.check-icon {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--pale-2); color: var(--blue);
}
.check-icon .i { width: 17px; height: 17px; stroke-width: 2.4; }
.check-list strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.check-list li span:not(.check-icon) { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 2px; }

.check-list.compact { margin-top: 26px; gap: 10px; }
.check-list.compact li { padding: 14px 16px; }

.note-box {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 18px 0 26px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--turq-deep); border-radius: 12px;
  font-size: 14px; line-height: 1.55; color: var(--muted);
}
.note-box .i { width: 18px; height: 18px; color: var(--turq-deep); margin-top: 1px; }

.txn {
  background: #fff;
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.txn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.txn-title { font-size: 16px; font-weight: 800; color: var(--navy); }

.txn-steps { display: grid; }
.txn-step {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px; align-items: center;
  padding: 16px 0;
}
.txn-step + .txn-step { border-top: 1px dashed var(--line-strong); }

.txn-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.txn-ico .i { width: 22px; height: 22px; stroke-width: 2; }
.txn-ico.is-card { background: var(--pale-2); color: var(--blue); }
.txn-ico.is-convert { background: var(--grad-dark); color: var(--turq); }
.txn-ico.is-usdc { background: #e8f1fb; }
.txn-ico.is-usdc img { width: 30px; height: 30px; }

.txn-body { min-width: 0; }
.txn-name { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.txn-meta { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.txn-meta .ok { color: var(--ok); font-weight: 700; }

.txn-amount { text-align: right; font-size: 16px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.txn-amount small { display: block; font-size: 11.5px; font-weight: 600; color: var(--subtle); }

.txn-status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px; padding: 12px 14px;
  background: var(--ok-bg); border: 1px solid #c7ead5; border-radius: 12px;
}
.status-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; color: var(--ok); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(11, 122, 63, 0.15); }
.wallet { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 12.5px; color: var(--ink); }
.txn-foot { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- products ---------- */

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.product {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.product h3 { font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; }
.product > p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }

.preview { margin-top: auto; background: #f8fafe; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pv-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
}
.pv-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }

.pv-rules { display: grid; gap: 6px; }
.pv-rules li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 8px; font-size: 12px;
}
.pv-rules .cond { min-width: 0; font-weight: 600; color: var(--ink); }
.pv-rules .i { width: 13px; height: 13px; color: var(--subtle); }
.pv-prov {
  font-size: 11px; font-weight: 700; color: var(--blue-deep); white-space: nowrap;
  background: var(--pale-2); border-radius: 6px; padding: 2px 6px;
}

.pv-steps { display: grid; gap: 10px; }
.pv-steps li {
  position: relative;
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center;
  font-size: 12.5px;
}
.pv-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 10px; top: 24px; bottom: -10px;
  border-left: 2px solid var(--line-strong);
}
.pv-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.pv-dot .i { width: 13px; height: 13px; stroke-width: 2.6; }
.pv-steps strong { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.pv-steps .sub { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.pv-time { font-size: 11.5px; color: var(--subtle); font-variant-numeric: tabular-nums; white-space: nowrap; }
.is-warn .pv-dot { background: var(--warn-bg); color: var(--warn); }
.is-warn .sub { color: var(--warn); }
.is-info .pv-dot { background: var(--pale-2); color: var(--blue-deep); }
.is-info .sub { color: var(--blue-deep); }
.is-ok .pv-dot { background: var(--ok); color: #fff; }
.is-ok .sub { color: var(--ok); }
.is-bad .pv-dot { background: var(--bad-bg); color: var(--bad); }
.is-bad .sub { color: var(--bad); }
.is-wait .pv-dot { background: #eef1f6; color: var(--subtle); }
.is-wait .sub { color: var(--subtle); }

.pv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pv-table th {
  text-align: left; padding: 0 0 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle);
}
.pv-table th:last-child, .pv-table td:last-child { text-align: right; }
.pv-table td { padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pv-table tfoot td { border-top: 2px solid var(--line-strong); font-weight: 800; color: var(--navy); }
.pv-sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 7px; vertical-align: 1px; }
.sw-a { background: var(--blue); }
.sw-b { background: var(--turq-deep); }
.sw-c { background: var(--navy); }
.pv-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 11.5px; font-weight: 700; color: var(--ok);
  background: var(--ok-bg); border-radius: 6px; padding: 4px 8px;
}
.pv-badge .i { width: 13px; height: 13px; stroke-width: 2.6; }

/* ---------- developers ---------- */

.dev-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.dev-list { display: grid; gap: 18px; margin-top: 30px; }
.dev-list li { display: flex; gap: 14px; align-items: flex-start; }
.dev-list strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.dev-list div span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 2px; }

.code-card { background: #061234; color: #cfdaf5; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.code-top {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.code-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8ea2cf; }
.code-card pre {
  margin: 0; padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px; line-height: 1.7;
  overflow-x: auto; white-space: pre;
}
.c-k { color: #7fd7ff; font-weight: 700; }
.c-s { color: #8ef0c9; }
.c-n { color: #ffd38a; }
.c-m { color: #9fb2da; }
.c-v { color: #ffffff; font-weight: 700; }
.code-events { display: grid; gap: 8px; padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.code-event { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; }
.code-event .ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #8ef0c9; }
.code-event .ok .i { width: 15px; height: 15px; stroke-width: 2.6; }

/* ---------- merchant accounts and onboarding ---------- */

.solutions-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
  margin-bottom: 72px;
}

.onboarding {
  background: linear-gradient(180deg, #f6f9ff 0%, #eef5ff 100%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 36px;
}
.onboarding-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.onboarding h3 { font-size: 24px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--blue-deep);
  font-size: 15px; font-weight: 800;
  margin-bottom: 14px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 50px; right: -16px;
  border-top: 2px dashed #a9bfee;
}
.step-body strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--navy); margin-bottom: 6px; }
.step-body span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- payment methods ---------- */

.methods-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.method-group { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.mg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mg-head h3 { font-size: 17px; letter-spacing: -0.01em; }

.logo-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-chips li { width: 84px; height: 44px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  background: var(--pale); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px;
}
.chips small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }

/* ---------- about ---------- */

.company-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: start;
}
.company-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 16px; max-width: 36rem; }
.company-copy h2 + p { margin-top: 20px; }

/* ---------- contact ---------- */

.cta-section { padding-top: 0; }
.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px; align-items: center;
  padding: 48px;
  background: linear-gradient(120deg, #eef4ff 0%, #e6f8fb 100%);
  border: 1px solid #d6e3fb; border-radius: 24px;
}
.cta-panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 14px; max-width: 36rem; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.cta-mail .i { width: 18px; height: 18px; }
.cta-mail a { color: var(--blue-deep); font-weight: 700; }

/* ---------- footer ---------- */

.site-footer { background: var(--pale); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand .brand img { height: 30px; }
.footer-brand p { max-width: 30ch; margin: 14px 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.footer-mail { font-size: 14.5px; font-weight: 700; color: var(--blue-deep); }
.footer-col h2 {
  margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--subtle);
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.footer-col a:hover, .footer-mail:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1179px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .methods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-group-wide { grid-column: 1 / -1; }
}

@media (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .journey { max-width: 640px; }
  .platform-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow { max-width: 760px; }
  .crypto-grid, .dev-grid, .solutions-grid, .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .txn, .code-card { max-width: 600px; }
  .solutions-grid { margin-bottom: 56px; }
}

@media (max-width: 899px) {
  .section { padding: 72px 0; }
  .split-head { grid-template-columns: 1fr; gap: 14px; }
  .split-head .section-intro { margin-top: 0; }
  .features { grid-template-columns: 1fr; margin-top: 44px; }
  .feature { padding: 18px 0; align-items: center; }
  .feature:first-child { padding-left: 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature-chev { display: block; margin-left: auto; color: var(--subtle); }
  .feature-text span { font-size: 14px; }
  .icon-tile { width: 44px; height: 44px; }
  .onboarding { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding-bottom: 22px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { margin-bottom: 0; }
  .step:not(:last-child)::after { top: 44px; bottom: 4px; left: 19px; right: auto; border-top: 0; border-left: 2px dashed #a9bfee; }
  .cta-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px 24px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  /* routing diagram stacks top to bottom */
  .flow-diagram { grid-template-columns: 1fr; justify-items: center; }
  .flow-checkout, .flow-engine { width: min(100%, 300px); }
  .co-methods { display: none; }
  .co-item { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .flow-link { width: 0; height: 28px; margin: 0; border-top: 0; border-left: 2px dashed #9fb7ef; }
  .flow-link::after {
    right: auto; top: auto; left: -6px; bottom: -5px;
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 7px solid #6f93ea; border-bottom: 0;
  }
  .flow-engine { padding: 12px 14px; }
  .eng-head { justify-content: center; padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .eng-list { display: none; }
  .flow-branch { width: 2px; height: 18px; }
  .flow-providers {
    width: 100%; margin: 0; padding-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  }
  .flow-providers::before {
    left: calc((100% - 16px) / 6); right: calc((100% - 16px) / 6);
    top: 0; bottom: auto;
    border-left: 0; border-top: 2px solid var(--connector);
  }
  .prov { height: auto; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .prov::before {
    left: 50%; top: -19px; width: 0; height: 18px;
    border-top: 0; border-left: 2px solid var(--connector);
    transform: translateX(-1px);
  }
  .flow-top { flex-wrap: wrap; }
}

@media (max-width: 599px) {
  :root { --gutter: 20px; }
  .hero { padding: 20px 0 44px; }
  .hero .eyebrow { margin-bottom: 14px; padding: 5px 10px; font-size: 11px; letter-spacing: 0.1em; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); margin-bottom: 14px; }
  .lead { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
  .hero .actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hero .actions .btn { width: 100%; padding: 0 12px; }
  .btn-lg { height: 50px; }
  .pay-logos-wrap { margin-top: 20px; }
  .pay-logos-label { margin-bottom: 8px; }
  .pay-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
  .pay-logos li { height: 42px; }

  .journey { padding: 18px 16px 16px; border-radius: 16px; }
  .journey-title { font-size: 16px; margin-bottom: 16px; }
  .j-steps { grid-template-columns: 1fr; gap: 14px; }
  .j-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; text-align: left; }
  .j-tile { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 14px; margin: 0; }
  .j-tile .i { width: 24px; height: 24px; }
  .j-tile-dark img { width: 28px; height: 28px; }
  .j-tile-usdc img { width: 32px; height: 32px; }
  .j-label { grid-column: 2; grid-row: 1; align-self: end; }
  .j-sub, .j-logos { grid-column: 2; grid-row: 2; align-self: start; margin-top: 3px; }
  .j-logos { grid-template-columns: repeat(4, 42px); }
  .j-step:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 19px; transform: rotate(90deg); }

  .section { padding: 56px 0; }
  .section h2 { font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .section-intro, .company-copy p, .cta-copy p { font-size: 16px; }
  .section-head { margin-bottom: 32px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product { padding: 18px; }
  .methods-grid { grid-template-columns: 1fr; }
  .crypto .actions, .cta-actions { display: grid; grid-template-columns: 1fr; }
  .crypto .actions .btn { width: 100%; }
  .txn { padding: 18px 16px; }
  .txn-step { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .txn-ico { width: 40px; height: 40px; }
  .code-card pre { font-size: 12px; padding: 16px; }
  .code-events { padding: 12px 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
