/* ==========================================================================
   momentPay — enterprise design system
   Brand colours taken from uploads/logo.png:
     amber #F3A922 · blue #0F75BF · green #0F9D58 · red #DB4437
   ========================================================================== */

:root {
  --mp-amber: #f3a922;
  --mp-amber-dark: #cf8c0f;
  --mp-amber-wash: #fdf5e6;
  --mp-blue: #0f75bf;
  --mp-blue-dark: #0b5892;
  --mp-blue-deep: #073d68;
  --mp-blue-wash: #ecf4fb;
  --mp-green: #0f9d58;
  --mp-red: #db4437;

  --mp-navy: #052540;
  --mp-navy-700: #063254;
  --mp-navy-800: #07304f;

  --mp-ink: #0b2033;
  --mp-body: #45596b;
  --mp-muted: #6d8293;
  --mp-line: #dbe4ec;
  --mp-line-soft: #eaf0f5;
  --mp-surface: #f4f7fa;
  --mp-white: #ffffff;

  --mp-radius: 10px;
  --mp-radius-lg: 16px;
  --mp-shadow-sm: 0 1px 2px rgba(11, 32, 51, 0.06);
  --mp-shadow: 0 4px 16px -4px rgba(11, 32, 51, 0.1);
  --mp-shadow-lg: 0 18px 48px -18px rgba(7, 48, 79, 0.28);

  --mp-container: 1200px;
  --mp-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --mp-font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--mp-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--mp-body);
  background: var(--mp-white);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mp-blue);
  text-decoration: none;
}

a:hover {
  color: var(--mp-blue-dark);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--mp-font-display);
  color: var(--mp-ink);
  margin: 0 0 0.6em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.4rem;
}

::selection {
  background: var(--mp-blue);
  color: #fff;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--mp-container);
  margin: 0 auto;
  padding-inline: 24px;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-sm {
  padding-block: clamp(40px, 5vw, 64px);
}

.section-surface {
  background: var(--mp-surface);
}

.section-navy {
  background: var(--mp-navy);
  color: rgba(255, 255, 255, 0.78);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: #fff;
}

.section-line {
  border-top: 1px solid var(--mp-line);
}

.grid {
  display: grid;
  gap: 24px;
}

.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));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.stack-sm > * + * {
  margin-top: 12px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.measure {
  max-width: 62ch;
}

.measure-center {
  max-width: 62ch;
  margin-inline: auto;
}

/* ---------- Brand motif: the four-quadrant bar from the logo ring ---------- */

.quadbar {
  display: flex;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quadbar span {
  flex: 1;
}

.quadbar span:nth-child(1) {
  background: var(--mp-blue);
}

.quadbar span:nth-child(2) {
  background: var(--mp-red);
}

.quadbar span:nth-child(3) {
  background: var(--mp-amber);
}

.quadbar span:nth-child(4) {
  background: var(--mp-green);
}

.quadbar-center {
  margin-inline: auto;
}

.quadrule {
  height: 3px;
  display: flex;
  width: 100%;
}

.quadrule span {
  flex: 1;
}

.quadrule span:nth-child(1) {
  background: var(--mp-blue);
}

.quadrule span:nth-child(2) {
  background: var(--mp-red);
}

.quadrule span:nth-child(3) {
  background: var(--mp-amber);
}

.quadrule span:nth-child(4) {
  background: var(--mp-green);
}

/* ---------- Eyebrow ---------- */

.eyebrow {
  font-family: var(--mp-font-display);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-blue);
  margin-bottom: 14px;
  display: block;
}

.section-navy .eyebrow {
  color: var(--mp-amber);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mp-body);
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.72);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--mp-radius);
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--mp-blue);
  border-color: var(--mp-blue);
  color: #fff;
  box-shadow: var(--mp-shadow-sm);
}

.btn-primary:hover {
  background: var(--mp-blue-dark);
  border-color: var(--mp-blue-dark);
  color: #fff;
}

.btn-amber {
  background: var(--mp-amber);
  border-color: var(--mp-amber);
  color: #33260a;
}

.btn-amber:hover {
  background: var(--mp-amber-dark);
  border-color: var(--mp-amber-dark);
  color: #2b1f06;
}

.btn-outline {
  background: transparent;
  border-color: var(--mp-line);
  color: var(--mp-ink);
}

.btn-outline:hover {
  border-color: var(--mp-blue);
  color: var(--mp-blue);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row-center {
  justify-content: center;
}

.link-arrow {
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mp-blue);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.18s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-family: var(--mp-font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--mp-ink);
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--mp-blue);
  background: var(--mp-blue-wash);
}

.nav-link.is-active {
  color: var(--mp-blue);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--mp-amber);
  border-radius: 2px;
}

.nav-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.18s ease;
  opacity: 0.6;
}

.nav-item.is-open .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 330px;
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  box-shadow: var(--mp-shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--mp-ink);
}

.dropdown-link:hover {
  background: var(--mp-blue-wash);
}

.dropdown-link strong {
  display: block;
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 1px;
}

.dropdown-link span {
  display: block;
  font-size: 0.82rem;
  color: var(--mp-muted);
  line-height: 1.45;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--mp-line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--mp-ink);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--mp-line);
  background: #fff;
  padding: 16px 0 24px;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-family: var(--mp-font-display);
  font-weight: 600;
  color: var(--mp-ink);
  border-bottom: 1px solid var(--mp-line-soft);
}

.mobile-nav .mobile-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-muted);
  padding-top: 18px;
  padding-bottom: 4px;
  font-family: var(--mp-font-display);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 20px;
}

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

.hero {
  position: relative;
  background: linear-gradient(150deg, #052540 0%, #073d68 58%, #0b5892 100%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  max-width: 17ch;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.76);
  max-width: 56ch;
  font-size: 1.175rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mp-font-display);
  margin-bottom: 22px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mp-amber);
  margin-left: 6px;
}

/* Page hero (inner pages) */

.page-hero {
  background: var(--mp-navy);
  color: rgba(255, 255, 255, 0.76);
  padding-block: clamp(44px, 5.5vw, 72px);
  position: relative;
  overflow-x: hidden;
}

.page-hero h1 {
  color: #fff;
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 64ch;
  margin-bottom: 0;
}

.page-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero-screenshot {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--mp-shadow-lg);
  overflow: hidden;
}

@media (min-width: 1080px) {
  .page-hero-wide .container {
    max-width: 1440px;
  }
  .page-hero-wide .hero-split {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* Shield animated flow diagram */

.shield-flow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.shield-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-line {
  fill: none;
  stroke: rgba(120, 190, 245, 0.32);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.flow-line-accent {
  stroke: rgba(243, 169, 34, 0.5);
}

.flow-dot {
  fill: #8fd1ff;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(120, 190, 245, 0.9));
}

.flow-dot-accent {
  fill: #ffd98a;
  filter: drop-shadow(0 0 6px rgba(243, 169, 34, 0.95));
}

.flow-hub {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(15, 117, 191, 0.4), rgba(15, 117, 191, 0.1));
  border: 1px solid rgba(120, 190, 245, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #9ed2f7;
  animation: shieldPulse 2.6s ease-in-out infinite;
}

.flow-hub svg {
  width: 22%;
  height: 22%;
}

.flow-hub strong {
  font-family: var(--mp-font-display);
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.25;
}

@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(15, 117, 191, 0.08), 0 0 40px -6px rgba(56, 161, 255, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(15, 117, 191, 0.14), 0 0 55px -4px rgba(56, 161, 255, 0.75); }
}

.flow-node-group {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.flow-icon-badge {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(120, 190, 245, 0.14);
  border: 1px solid rgba(120, 190, 245, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ed2f7;
}

.flow-icon-badge svg {
  width: 24px;
  height: 24px;
}

.flow-node {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 7px 12px;
  font-family: var(--mp-font-display);
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  white-space: normal;
  max-width: 118px;
  line-height: 1.25;
  text-align: center;
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.5);
}

.flow-decision {
  position: absolute;
  left: 50%;
  bottom: 1%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(5, 20, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  white-space: nowrap;
}

.flow-chip {
  font-family: var(--mp-font-display);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.flow-chip-approve {
  background: rgba(34, 197, 94, 0.18);
  color: #7de8ac;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.flow-chip-review {
  background: rgba(243, 169, 34, 0.18);
  color: #ffcf6e;
  border: 1px solid rgba(243, 169, 34, 0.4);
}

.flow-chip-decline {
  background: rgba(239, 68, 68, 0.18);
  color: #ff9b9b;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.flow-time {
  font-family: var(--mp-font-display);
  font-size: 0.66rem;
  font-weight: 800;
  color: #8fd1ff;
  margin-left: 2px;
}

@media (max-width: 600px) {
  .shield-flow {
    aspect-ratio: 4 / 4.4;
  }
  .flow-icon-badge {
    width: 36px;
    height: 36px;
  }
  .flow-icon-badge svg {
    width: 18px;
    height: 18px;
  }
  .flow-node-group {
    gap: 4px;
  }
  .flow-node {
    font-size: 0.56rem;
    padding: 5px 9px;
    max-width: 100px;
  }
  .flow-hub strong {
    font-size: 0.58rem;
  }
  .flow-chip {
    font-size: 0.52rem;
    padding: 3px 7px;
  }
  .flow-time {
    font-size: 0.56rem;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  background: #fff;
  overflow: hidden;
}

.stat-band .stat {
  padding: 26px 24px;
  border-right: 1px solid var(--mp-line);
}

.stat-band .stat:last-child {
  border-right: 0;
}

.stat-value {
  font-family: var(--mp-font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--mp-ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mp-muted);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--mp-muted);
  margin-top: 6px;
}

.section-pull {
  padding-top: 0;
}

.stat-band-float {
  margin-top: -52px;
  position: relative;
  z-index: 5;
  box-shadow: var(--mp-shadow-lg);
}

/* ---------- Cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card-hover:hover {
  border-color: #c3d6e6;
  box-shadow: var(--mp-shadow);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--mp-blue-wash);
  color: var(--mp-blue);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card-icon-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 20px;
}

.card-illustration {
  width: 100%;
  max-width: 168px;
  height: 150px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 20px;
}

.card-icon.amber {
  background: var(--mp-amber-wash);
  color: var(--mp-amber-dark);
}

.card-icon.green {
  background: #e9f7ef;
  color: var(--mp-green);
}

.card-icon.red {
  background: #fdeeed;
  color: var(--mp-red);
}

.card-dark {
  background: var(--mp-navy-800);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.card-dark h3 {
  color: #fff;
}

.card-num {
  font-family: var(--mp-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--mp-amber-dark);
  margin-bottom: 10px;
  display: block;
}

/* Product card (home) */

.product-card {
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  box-shadow: var(--mp-shadow-lg);
  transform: translateY(-4px);
  border-color: #c3d6e6;
}

.product-card-media {
  background: var(--mp-navy);
  border-bottom: 1px solid var(--mp-line);
}

.product-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body > .btn,
.product-card-body > .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Feature list ---------- */

.ticklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.ticklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  line-height: 1.6;
}

.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--mp-blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f75bf' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.section-navy .ticklist li::before {
  background-color: rgba(243, 169, 34, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3a922' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* ---------- Data table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  background: #fff;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  min-width: 520px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--mp-line-soft);
  vertical-align: top;
}

table.data thead th {
  background: var(--mp-surface);
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mp-ink);
  border-bottom: 1px solid var(--mp-line);
  white-space: nowrap;
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

table.data tbody tr:hover {
  background: #fbfdfe;
}

table.data td strong {
  color: var(--mp-ink);
  font-weight: 600;
}

/* ---------- Status chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--mp-font-display);
  white-space: nowrap;
}

.chip-live {
  background: #e9f7ef;
  color: #0a7a43;
}

.chip-dev {
  background: var(--mp-amber-wash);
  color: #9a6a05;
}

.chip-road {
  background: var(--mp-blue-wash);
  color: var(--mp-blue-dark);
}

.chip-neutral {
  background: var(--mp-surface);
  color: var(--mp-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--mp-font-display);
  color: var(--mp-ink);
  background: #fff;
}

.section-navy .tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Flow / phases ---------- */

.phase-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: phase;
}

.phase {
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius);
  padding: 22px 20px;
  background: #fff;
  position: relative;
}

.phase::before {
  counter-increment: phase;
  content: "0" counter(phase);
  font-family: var(--mp-font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--mp-amber-dark);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.phase h4 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.phase p {
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--mp-muted);
}

.phase .dur {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mp-blue);
  font-family: var(--mp-font-display);
}

/* ---------- Accordion ---------- */

.accordion {
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  overflow: hidden;
  background: #fff;
}

.acc-item + .acc-item {
  border-top: 1px solid var(--mp-line-soft);
}

.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--mp-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.acc-trigger:hover {
  background: #fbfdfe;
  color: var(--mp-blue);
}

.acc-trigger .acc-sign {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.acc-trigger .acc-sign::before,
.acc-trigger .acc-sign::after {
  content: "";
  position: absolute;
  background: var(--mp-blue);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.acc-trigger .acc-sign::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.acc-trigger .acc-sign::after {
  left: 9px;
  top: 2px;
  width: 2px;
  height: 16px;
}

.acc-item.is-open .acc-sign::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc-panel {
  padding: 0 24px 22px;
  color: var(--mp-body);
  max-width: 78ch;
}

.acc-panel p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--mp-navy) 0%, var(--mp-blue-deep) 100%);
  border-radius: var(--mp-radius-lg);
  padding: clamp(34px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
  max-width: 22ch;
}

.cta-band p {
  max-width: 58ch;
}

.cta-band .quadrule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* ---------- Logo / trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}

.trust-strip .label {
  font-size: 0.82rem;
  color: var(--mp-muted);
  font-weight: 600;
}

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

.site-footer {
  background: var(--mp-navy);
  color: rgba(255, 255, 255, 0.62);
  padding-top: 64px;
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 32px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 18px;
  /* logo artwork is dark-text safe: white ring reads on navy */
}

.footer h4,
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mp-font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mp-ink);
}

.field label .req {
  color: var(--mp-red);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--mp-ink);
  padding: 11px 14px;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius);
  background: #fff;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mp-blue);
  box-shadow: 0 0 0 3px rgba(15, 117, 191, 0.15);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--mp-muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Utilities ---------- */

.mb-0 {
  margin-bottom: 0;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-48 {
  margin-top: 48px;
}

.small {
  font-size: 0.875rem;
}

.muted {
  color: var(--mp-muted);
}

.section-navy .muted {
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .phase-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav,
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-split,
  .split {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-band .stat:nth-child(2) {
    border-right: 0;
  }
  .stat-band .stat:nth-child(1),
  .stat-band .stat:nth-child(2) {
    border-bottom: 1px solid var(--mp-line);
  }
  .stat-band-float {
    margin-top: -36px;
  }
}

@media (max-width: 760px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .phase-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 20px;
  }
  .grid-4,
  .stat-band,
  .phase-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-band .stat {
    border-right: 0;
    border-bottom: 1px solid var(--mp-line);
  }
  .stat-band .stat:last-child {
    border-bottom: 0;
  }
  .card,
  .product-card-body {
    padding: 22px;
  }
  .btn {
    width: 100%;
  }
  .btn-row .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Diagram & product visuals
   ========================================================================== */

/* Hero transaction-path panel */

.viz {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--mp-radius-lg);
  padding: 24px;
  backdrop-filter: blur(4px);
}

.viz-label {
  font-family: var(--mp-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.viz-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}

.viz-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--mp-radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.viz-node-core {
  background: rgba(243, 169, 34, 0.12);
  border-color: rgba(243, 169, 34, 0.42);
}

.viz-node strong {
  color: #fff;
  font-family: var(--mp-font-display);
  font-size: 0.95rem;
  line-height: 1.3;
}

.viz-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.viz-tag {
  align-self: flex-start;
  font-family: var(--mp-font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 3px;
  white-space: nowrap;
}

.tag-blue {
  background: rgba(120, 190, 245, 0.2);
  color: #9ed2f7;
}

.tag-amber {
  background: rgba(243, 169, 34, 0.22);
  color: #f6c469;
}

.tag-green {
  background: rgba(15, 157, 88, 0.24);
  color: #6fd3a3;
}

.viz-arrow {
  align-self: center;
  width: 16px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='1.5'%3E%3Cpath d='M0 4h13M10 1l3 3-3 3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.viz-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* Product card header band */

.product-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  color: #fff;
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-head svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.head-blue {
  background: linear-gradient(120deg, var(--mp-blue-deep), var(--mp-blue));
}

.head-amber {
  background: linear-gradient(120deg, #b8790a, var(--mp-amber));
  color: #2b1f06;
}

.head-green {
  background: linear-gradient(120deg, #0a6c3c, var(--mp-green));
}

/* Mirror-role diagram */

.mirror-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mirror-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mirror-head {
  font-family: var(--mp-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 8px;
  text-align: center;
}

.head-blue-soft {
  background: var(--mp-blue-wash);
  color: var(--mp-blue-dark);
}

.head-green-soft {
  background: #e9f7ef;
  color: #0a7a43;
}

.mirror-item {
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.mirror-item strong {
  font-family: var(--mp-font-display);
  font-size: 0.9rem;
  color: var(--mp-ink);
  line-height: 1.35;
}

.mirror-item span {
  font-size: 0.8rem;
  color: var(--mp-muted);
  line-height: 1.45;
}

.mirror-base {
  margin-top: 16px;
  background: var(--mp-navy);
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--mp-radius);
  padding: 16px 20px;
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: center;
}

.mirror-base strong {
  color: #fff;
  font-family: var(--mp-font-display);
}

/* Audience card as a link */

.audience-link {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.audience-link h3 {
  font-size: 1.1rem;
}

.audience-link p {
  font-size: 0.9rem;
  flex: 1;
}

.audience-link .link-arrow {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .viz-rail {
    grid-template-columns: 1fr;
  }
  .viz-arrow {
    transform: rotate(90deg);
    justify-self: center;
    margin-block: 2px;
  }
}

@media (max-width: 520px) {
  .mirror-grid {
    grid-template-columns: 1fr;
  }
  .cta-band .btn-row {
    justify-content: flex-start !important;
  }
}

/* Anchor targets clear the sticky header */
.anchor-target,
[id]:target {
  scroll-margin-top: 92px;
}

/* Form submit should not stretch to the field width */
.field > .btn {
  align-self: flex-start;
}

@media (max-width: 520px) {
  .field > .btn {
    align-self: stretch;
  }
}

/* Grid/flex children default to min-width:auto, so a wide child (a data table
   inside .table-wrap) stops the track from shrinking and pushes the whole grid
   past the viewport. Allow tracks to shrink and let the scroll container work. */
.split > *,
.grid > *,
.hero-split > * {
  min-width: 0;
}

/* .mobile-nav is display:none by default so it never shows on desktop; it needs
   an explicit visible display below the nav breakpoint. The [hidden] rule above
   still keeps it closed until the toggle opens it. */
@media (max-width: 960px) {
  .mobile-nav {
    display: block;
  }
}

/* Shield: product header band + ordered scoring pipeline */

.head-red {
  background: linear-gradient(120deg, #9e2e24, var(--mp-red));
}

.pipeline {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.pipeline li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 58px;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius);
  background: #fff;
  margin-bottom: 10px;
}

.pipeline li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--mp-blue-wash);
  color: var(--mp-blue-dark);
  font-family: var(--mp-font-display);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline li::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -10px;
  width: 2px;
  height: 10px;
  background: var(--mp-line);
}

.pipeline li:last-child {
  margin-bottom: 0;
}

.pipeline li:last-child::after {
  display: none;
}

.pipeline strong {
  display: block;
  font-family: var(--mp-font-display);
  font-size: 0.95rem;
  color: var(--mp-ink);
  line-height: 1.35;
}

.pipeline span {
  display: block;
  font-size: 0.82rem;
  color: var(--mp-muted);
  line-height: 1.45;
  margin-top: 2px;
}

/* ==========================================================================
   Collect & Reconcile
   ========================================================================== */

/* Product header bands for the two edge products. The four brand colours are
   taken by the core platforms, so these two use depth rather than hue. */
.head-navy {
  background: linear-gradient(120deg, #03192c, #0a4a78);
}

.head-slate {
  background: linear-gradient(120deg, #263542, #51687a);
}

/* Featured card — used for the AI screen-floater differentiator */
.card-featured {
  border-color: var(--mp-blue);
  box-shadow: 0 0 0 1px var(--mp-blue), var(--mp-shadow);
  position: relative;
}

.card-featured .card-flag {
  position: absolute;
  top: -11px;
  left: 28px;
  background: var(--mp-blue);
  color: #fff;
  font-family: var(--mp-font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 5px;
}

/* Grouped, two-column products dropdown */
.dropdown-wide {
  min-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  padding: 16px;
}

.dropdown-group-label {
  grid-column: span 1;
  font-family: var(--mp-font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-muted);
  padding: 4px 14px 6px;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
}

/* Outcome figures */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.outcome {
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-lg);
  padding: 24px;
  background: #fff;
  text-align: center;
}

.outcome .val {
  font-family: var(--mp-font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mp-blue);
  line-height: 1.1;
}

.outcome .lbl {
  font-size: 0.85rem;
  color: var(--mp-muted);
  margin-top: 8px;
}

.section-navy .outcome {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.section-navy .outcome .val {
  color: var(--mp-amber);
}

.section-navy .outcome .lbl {
  color: rgba(255, 255, 255, 0.6);
}

/* Vertical band rows (industry solutions) */
.vertical-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--mp-line-soft);
}

.vertical-row:last-child {
  border-bottom: 0;
}

.vertical-label {
  font-family: var(--mp-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mp-blue);
  padding-top: 3px;
}

.vertical-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.vertical-items h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.vertical-items p {
  font-size: 0.82rem;
  color: var(--mp-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .dropdown-wide {
    min-width: 420px;
    grid-template-columns: 1fr;
  }
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vertical-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form: result message and anti-spam field */
.form-result {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--mp-radius);
  font-size: 0.925rem;
  line-height: 1.5;
}

.form-result.is-success {
  background: #e9f7ef;
  color: #0a6b3b;
  border: 1px solid #bfe6cf;
}

.form-result.is-error {
  background: #fdeeed;
  color: #9e2e24;
  border: 1px solid #f4c7c3;
}

/* Hidden from people; bots that fill every field reveal themselves */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field > .btn:disabled {
  opacity: 0.7;
  cursor: progress;
}
