/* PaySec website v3.0
   Layout: centred single column (max 1120px). Light pages with one navy band per page, ledger-rule texture behind the hero,
   pill buttons, Manrope headings, Public Sans text, IBM Plex Mono for amounts and references. Fonts are self-hosted (CSP font-src 'self').
   Every class used by v2 pages is kept, so inner pages only need the new stylesheet. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --navy: #071931;
  --navy-2: #0d2447;
  --navy-line: rgba(163, 179, 203, .18);
  --blue: #0963fd;
  --blue-dark: #0a4fc2;
  --blue-soft: #eaf1ff;
  --ink: #0b1626;
  --text: #34465e;
  --muted: #4d5c71;
  --line: #e1e7f0;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --on-navy: #e9eff9;
  --on-navy-muted: #a3b3cb;
  --accent-on-navy: #7fb0ff;
  --ok: #0f7b5f;
  --ok-bg: #e3f4ee;
  --wait: #9a5b00;
  --wait-bg: #fdf0da;
  --error: #c62828;
  --success: #0f7b4a;
  --rule: rgba(7, 25, 49, .06);
  --shadow: 0 1px 2px rgba(7, 25, 49, .06), 0 14px 34px -14px rgba(7, 25, 49, .2);

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
h3 { letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(7, 25, 49, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: block; width: 180px; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--blue); }
.main-nav a:not(.btn) { position: relative; }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--blue); }
.main-nav .btn { margin-left: 6px; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(9, 99, 253, .6); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--blue); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(9, 99, 253, .6); }
.btn-dark:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #9aabc2; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); }
.btn-small { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: 96px; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: var(--on-navy-muted); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--on-navy); }
.eyebrow { font: 600 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--accent-on-navy); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: var(--on-navy-muted); }
.section-head .eyebrow, .page-head .eyebrow { font-size: 12px; margin-top: 0; }

/* ------------------------------------------------------------------ home: hero */
.hero { position: relative; overflow: hidden; padding-block: 80px 64px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, var(--rule) 0 1px, transparent 1px 64px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%); }
.hero .container { position: relative; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--muted); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
/* "Agree. Deliver. Get paid." badge: rotating gradient border, a light sweep, and each word lighting up in turn. CSS only. */
@property --chip-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.chip-flash { position: relative; overflow: hidden; gap: 6px; padding: 8px 16px 8px 11px; font: 700 14px/1.2 var(--font-display); letter-spacing: -.005em; color: var(--ink); border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--chip-angle), #0963fd, #7fb0ff, #19b388, #0963fd) border-box;
  box-shadow: 0 8px 24px -10px rgba(9, 99, 253, .45); }
.chip-flash::before { background: #19b388; box-shadow: 0 0 0 4px rgba(25, 179, 136, .18); }
.chip-flash::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-18deg); pointer-events: none; }
.chip-flash .w { display: inline-block; }
.chip-flash .w3 { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .chip-flash { animation: chip-spin 5s linear infinite; }
  .chip-flash::before { animation: chip-pulse 1.8s ease-out infinite; }
  .chip-flash::after { animation: chip-sweep 3.6s ease-in-out infinite; }
  .chip-flash .w { animation: chip-word 3.6s ease-in-out infinite; }
  .chip-flash .w2 { animation-delay: 1.2s; }
  .chip-flash .w3 { animation-name: chip-word-last; animation-delay: 2.4s; }
  @keyframes chip-spin { to { --chip-angle: 360deg; } }
  @keyframes chip-pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 179, 136, .55); } 100% { box-shadow: 0 0 0 9px rgba(25, 179, 136, 0); } }
  @keyframes chip-sweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
  @keyframes chip-word { 0%, 30%, 100% { color: var(--ink); transform: none; } 8%, 22% { color: var(--blue); transform: translateY(-2px); } }
  @keyframes chip-word-last { 0%, 30%, 100% { color: var(--blue); transform: none; } 8%, 22% { color: #0f9a72; transform: translateY(-2px) scale(1.06); } }
}
.hero h1 { margin: 22px auto 0; max-width: 16ch; font-size: clamp(40px, 6vw, 66px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 span { color: var(--blue); }
.hero-lead { margin: 22px auto 0; font-size: 19px; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 16px; height: 9px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translate(2px, -2px); flex-shrink: 0; }
.status { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ home: solutions strip (where a logo wall would sit) */
.strip { padding-block: 8px 72px; }
.strip-label { text-align: center; font-size: 14px; color: var(--muted); }
.strip-row { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip-row a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 14px; border-radius: 12px; color: var(--muted); text-decoration: none; font: 700 15px/1.25 var(--font-display); letter-spacing: -.01em; transition: color .15s, background .15s; }
.strip-row a:hover { color: var(--ink); background: var(--bg-soft); }
.strip-row svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ------------------------------------------------------------------ home: deal record inside the navy band */
.orbit { position: relative; margin: 8px auto 0; max-width: 600px; padding-block: 40px; }
.orbit::before, .orbit::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--navy-line); transform: translate(-50%, -50%); pointer-events: none; }
.orbit::before { width: 120%; aspect-ratio: 1; }
.orbit::after { width: 152%; aspect-ratio: 1; border-style: dashed; }
.orbit-glow { position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .3), transparent 65%); pointer-events: none; }
.party { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; padding: 8px 14px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--navy-line); font: 600 13px/1 var(--font-body); color: var(--on-navy); white-space: nowrap; }
.party-buyer { right: calc(100% + 18px); }
.party-supplier { left: calc(100% + 18px); }
.party-bank { top: 0; left: 50%; transform: translate(-50%, -50%); }
.record { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); overflow: hidden; text-align: left; }
.record-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.record-title, .section-dark .record-title { font: 700 16px/1.3 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.record-title small { display: block; font: 400 13px/1.4 var(--font-body); color: var(--muted); margin-top: 2px; }
.mono { font-family: var(--font-data); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }
.record ol { list-style: none; margin: 0; padding: 6px 20px 8px; }
.record li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.record li:last-child { border-bottom: 0; }
.record .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--font-data); border: 1px solid var(--line); color: var(--muted); }
.record .what { min-width: 0; font-size: 15px; font-weight: 600; }
.record .amt { font: 500 13.5px/1 var(--font-data); text-align: right; white-space: nowrap; }
.record-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--bg-soft); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.record-foot b { color: var(--ink); font-family: var(--font-data); font-weight: 500; }
.pill { display: inline-block; margin-top: 4px; padding: 4px 9px; border-radius: 999px; font: 600 11.5px/1 var(--font-body); letter-spacing: .02em; white-space: nowrap; }
.pill-done { color: var(--ok); background: var(--ok-bg); }
.pill-active { color: var(--wait); background: var(--wait-bg); }
.pill-wait { color: var(--muted); background: var(--bg-soft); }
.record-note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--on-navy-muted); }

/* ------------------------------------------------------------------ feature list (navy band on home, light elsewhere) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.section-dark .features { margin-top: 72px; }
.feature { display: grid; gap: 8px; align-content: start; min-width: 0; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }
.feature-ico svg { width: 20px; height: 20px; }
.section-dark .feature p { color: var(--on-navy-muted); }
.section-dark .feature-ico { background: var(--navy-2); border: 1px solid var(--navy-line); color: var(--accent-on-navy); }

/* ------------------------------------------------------------------ steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 500 13px/1 var(--font-data); color: var(--blue); border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; background: #fff; }
.steps li::after { content: ""; position: absolute; top: 16px; left: 54px; right: -12px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }
.section-dark .steps li::before { background: var(--navy-2); border-color: var(--navy-line); color: var(--accent-on-navy); }
.section-dark .steps li::after { background: var(--navy-line); }
.section-dark .steps p { color: var(--on-navy-muted); }
.callout { margin-top: 40px; padding: 18px 22px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); font-size: 15px; }
.callout strong { color: var(--ink); }
.section-dark .callout { background: var(--navy-2); border-color: var(--navy-line); color: var(--on-navy-muted); }
.section-dark .callout strong { color: var(--on-navy); }
.link-light { color: var(--accent-on-navy); }

/* ------------------------------------------------------------------ home: funds statement (where a testimonial would sit) */
.statement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.statement blockquote { margin: 0; font: 800 clamp(28px, 3.2vw, 40px)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.statement blockquote span { color: var(--blue); }
.statement .lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.checks { margin: 28px 0 0; list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.flow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.flow-node { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; }
.flow-who { font: 700 12.5px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); padding-top: 3px; }
.flow-node p { font-size: 15px; color: var(--muted); }
.flow-arrow { margin: 10px 0 10px 40px; min-height: 28px; border-left: 2px dotted #c5d1e2; padding-left: 14px; font-size: 13px; color: var(--muted); display: flex; align-items: center; }

/* ------------------------------------------------------------------ cards and grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .tag { display: inline-block; font: 600 12px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.card-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: #b9c8de; box-shadow: var(--shadow); }
.card-link .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--blue-dark); }

/* ------------------------------------------------------------------ FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 17px/1.4 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 66ch; }
.faq-group h2 { font-size: 24px; margin: 48px 0 12px; }
.faq-group:first-child h2 { margin-top: 0; }

/* ------------------------------------------------------------------ closing call to action (navy panel on every page) */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); border-radius: 22px; padding: 52px 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, var(--navy-line) 0 1px, transparent 1px 64px); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); opacity: .7; }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--on-navy); font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.cta-band p { color: var(--on-navy-muted); margin-top: 10px; max-width: 56ch; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; margin-top: 96px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-grid .brand { width: 180px; margin-bottom: 14px; }
.footer-grid p { max-width: 40ch; }
.footer-grid h2 { font: 700 14px/1 var(--font-display); letter-spacing: 0; margin-bottom: 14px; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: var(--muted); }

/* ------------------------------------------------------------------ inner page header: same ledger texture as the hero */
.page-head { position: relative; overflow: hidden; padding-block: 64px 44px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, var(--rule) 0 1px, transparent 1px 64px); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 90%); mask-image: linear-gradient(90deg, transparent 30%, #000 90%); }
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 22ch; }
.page-head p { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 680px; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aabc2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.answer { margin-top: 22px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 17px; color: var(--ink); max-width: 820px; box-shadow: var(--shadow); }
.page-head .answer { color: var(--ink); font-size: 17px; }
.answer strong { color: var(--ink); }
.meta-line { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ article pages */
.page-body { padding-block: 56px 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.two-col > * { min-width: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 8px; }
.prose .source { font-size: 14px; color: var(--muted); }
.prose .faq { margin-top: 8px; }
.prose table, .data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td, .data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.prose th, .data-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.side-card { position: sticky; top: 96px; background: var(--navy); color: var(--on-navy-muted); border-radius: 16px; padding: 24px; }
.side-card h2 { font-size: 18px; margin-bottom: 10px; color: var(--on-navy); }
.side-card p { color: var(--on-navy-muted); font-size: 15px; margin-bottom: 16px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 15px; }
.side-card a:not(.btn) { text-decoration: none; color: var(--on-navy); }
.side-card a:not(.btn):hover { color: var(--accent-on-navy); }
.key-facts { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; max-width: 820px; background: #fff; }
.key-facts dt, .key-facts dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.key-facts dt { background: var(--bg-soft); font-weight: 600; }
.key-facts dt:last-of-type, .key-facts dd:last-of-type { border-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.stat strong { display: block; font: 800 40px/1 var(--font-display); color: var(--blue); letter-spacing: -0.02em; margin-bottom: 10px; }
.stat p { color: var(--muted); font-size: 15px; }
.stat a { font-size: 13px; }
.glossary { margin: 0; max-width: 860px; }
.glossary dt { font: 700 20px/1.3 var(--font-display); margin-top: 32px; scroll-margin-top: 100px; }
.glossary dd { margin: 8px 0 0; color: var(--text); font-size: 17px; }
.az { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.az a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 14px; background: #fff; }
.legal { max-width: 800px; padding-block: 48px 0; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--bg-soft); }

/* ------------------------------------------------------------------ contact form (contact.js adds the state classes) */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding-block: 56px 0; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-aside h2 { font-size: 22px; margin-bottom: 12px; }
.contact-aside p { color: var(--muted); }
.contact-aside dl { margin: 24px 0 0; }
.contact-aside dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.contact-aside dd { margin: 4px 0 0; font-weight: 600; }
.contact-aside ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.contact-aside li + li { margin-top: 6px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .hint-top { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field label .req { color: var(--error); }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c9d5e6; border-radius: 10px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #cfe0ff; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.error-text { color: var(--error); font-size: 13px; margin-top: 6px; }
.error-text:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field .consent { display: grid; font-weight: 400; margin: 0; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.field .consent input { min-height: 0; padding: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.form-status.is-error { background: #fdecec; color: var(--error); }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }
.success { text-align: left; }
.success .tick { width: 52px; height: 52px; border-radius: 50%; background: #e3f6ec; color: var(--success); display: grid; place-items: center; font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.success h2 { margin-bottom: 10px; }
.success p { color: var(--muted); }
.success .ref { margin-top: 16px; font-weight: 700; color: var(--ink); font-family: var(--font-data); }

/* ------------------------------------------------------------------ careers form (careers.js) */
.field textarea { width: 100%; min-height: 110px; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; border: 1px solid #c9d5e6; border-radius: 10px; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #cfe0ff; }
.field input[type="file"] { min-height: 0; padding: 10px; background: var(--bg-soft); border-style: dashed; cursor: pointer; font-size: 15px; }
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font-body); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { border-color: var(--blue); color: var(--blue); }
.field label .optional { font-weight: 400; color: var(--muted); font-size: 14px; }
.form-card .hint-top .req { color: var(--error); }
.turnstile-box { margin: 4px 0 8px; min-height: 65px; }
.careers-aside h2 + ul, .careers-aside h2 + ol { margin-top: 12px; }
.roles-empty { margin-top: 12px; padding: 16px 18px; border: 1px dashed #c5d1e2; border-radius: 12px; background: var(--bg-soft); }
.roles-empty p { color: var(--muted); font-size: 15px; }
.roles-empty p + p { margin-top: 4px; }
.roles-empty strong { color: var(--ink); }
.next-steps { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.next-steps li + li { margin-top: 8px; }
.fraud-note { margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--wait-bg); color: var(--text); font-size: 14px; }
.fraud-note strong { color: var(--ink); }

.delete-wrap { max-width: 720px; padding-block: 56px 0; }
.btn-danger { background: var(--error); color: #fff; box-shadow: 0 6px 16px -6px rgba(198, 40, 40, .5); }
.btn-danger:hover { background: #a61f1f; }
.btn-danger:disabled, .btn-primary:disabled { opacity: .65; cursor: wait; }
.mono-ref { font-family: var(--font-data); font-size: .8em; letter-spacing: .02em; white-space: nowrap; }
.form-status.is-ok { background: var(--ok-bg); color: var(--ok); }
.form-card > div > h2 + .hint-top { margin-top: 8px; }
#link-problem { margin: 0 0 20px; }

/* ------------------------------------------------------------------ mobile menu */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { border-color: var(--blue); color: var(--blue); }
.mobile-menu nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(7, 25, 49, .15); padding: 10px; display: grid; }
.mobile-menu nav a { padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-menu nav a:hover { background: var(--bg-soft); color: var(--blue); }

/* ------------------------------------------------------------------ animated header logo (home page) */
.brand-anim { width: 160px; }
.brand-anim video, .brand-anim img { display: block; width: 100%; height: auto; }
.brand-anim .brand-static { display: none; }

/* ------------------------------------------------------------------ utilities */
.sr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .main-nav a:not(.btn) { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .steps li::after { display: none; }
  .statement, .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-grid, .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side-card { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .party-buyer { right: auto; left: 0; top: 0; transform: none; }
  .party-supplier { left: auto; right: 0; top: auto; bottom: 0; transform: none; }
  .party-bank { top: 0; left: auto; right: 0; transform: none; }
  .orbit { padding-block: 52px; }
}
@media (max-width: 760px) {
  .brand { width: 160px; }
  .brand-anim { width: 140px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 52px 48px; }
  .hero-lead { font-size: 17px; }
  .strip { padding-bottom: 48px; }
  .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-row a { justify-content: flex-start; }
  .grid-2, .grid-3, .grid-4, .features, .stat-row { grid-template-columns: minmax(0, 1fr); }
  .orbit::before, .orbit::after { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 18px; }
  .site-footer { margin-top: 64px; }
  .key-facts { grid-template-columns: 1fr; }
  .key-facts dt { border-bottom: 0; padding-bottom: 4px; }
  .key-facts dd { padding-top: 4px; }
  .prose p, .prose li { font-size: 16px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .record li { grid-template-columns: 26px minmax(0, 1fr); }
  .record .amt { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card-link, .faq summary::after { transition: none; }
  .brand-anim .brand-video { display: none; }
  .brand-anim .brand-static { display: block; }
}

/* Log in link to the PaySec platform, next to Contact us in the header */
.main-nav .nav-login { color: var(--ink); margin-right: -16px; }
.main-nav .nav-login:hover { color: var(--ink); }
@media (max-width: 600px) { .main-nav .nav-login { display: none; } }

/* Contact number: country code picker + number. The native select sits invisibly over the code box. */
.phone-group { position: relative; display: flex; gap: 8px; }
.phone-group .phone-code { position: relative; flex: none; width: 118px; min-height: 50px; display: flex; align-items: center; padding: 0 30px 0 14px; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c9d5e6; border-radius: 10px; white-space: nowrap; }
.phone-group .phone-code::after { content: ""; position: absolute; right: 14px; top: 20px; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.field .phone-group select { position: absolute; left: 0; top: 0; width: 118px; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.phone-group:has(select:focus) .phone-code { border-color: var(--blue); box-shadow: 0 0 0 3px #cfe0ff; }
.field .phone-group input { flex: 1; min-width: 0; }

/* Keep the full demo action in the menu on narrow screens. */
@media (max-width: 600px) { .main-nav .nav-demo { display: none; } }

/* Social link: visible icon with a comfortable touch target. */
.footer-grid .footer-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 10px; }
.footer-linkedin img { width: 24px; height: 24px; }
