@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --bg: #0c1016;
  --bg-2: #0f1319;
  --panel: #13171d;
  --panel-2: #1a1e24;
  --line: rgba(150, 176, 202, 0.16);
  --line-strong: rgba(43, 217, 164, 0.35);
  --text: #f3f7fb;
  --muted: #93a4b6;
  --muted-2: #6f8194;
  --teal: #2bd9a4;
  --green: #1fb488;
  --blue: #5aa9ff;
  --amber: #f0b861;
  --red: #ff6f7d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(43, 217, 164, 0.12), transparent 32rem),
    radial-gradient(circle at 86% 16%, rgba(31, 180, 136, 0.11), transparent 30rem),
    linear-gradient(180deg, #0c1016 0%, #0f1319 46%, #0c1016 100%);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 20, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 40px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: 126px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 680;
  font-size: 14px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn.primary {
  border-color: rgba(43, 217, 164, 0.48);
  color: #0a0e14;
  background: linear-gradient(135deg, #3fe7b3, #1fb488);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  border-color: rgba(122, 240, 207, 0.72);
  background: linear-gradient(135deg, #7af0cf, #2bd9a4);
  box-shadow: 0 14px 34px rgba(43, 217, 164, 0.22);
  color: #080c12;
}

.btn.nav-login {
  min-width: 74px;
  color: #d9e7ee;
  background: rgba(255, 255, 255, 0.025);
}

.btn.subtle {
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.section.tight {
  padding: 56px 0;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 20px rgba(43, 217, 164, 0.7);
}

.eyebrow-subline {
  margin: -8px 0 22px 16px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: 1.04;
  font-weight: 790;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 780;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
}

.lead {
  max-width: 720px;
  color: #b7c4d0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.56;
}

.copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.trust-line {
  color: var(--muted-2);
  font-size: 14px;
}

.infra-canvas {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(43, 217, 164, 0.18), transparent 18rem),
    rgba(13, 17, 23, 0.92);
  background-size: 40px 40px, 40px 40px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.route-svg path {
  fill: none;
  stroke: rgba(43, 217, 164, 0.34);
  stroke-width: 1.3;
  stroke-dasharray: 6 10;
  animation: routeDash 7s linear infinite;
}

.route-svg .route-flow {
  stroke: rgba(90, 169, 255, 0.34);
}

.route-svg circle {
  fill: var(--teal);
  filter: drop-shadow(0 0 8px rgba(43, 217, 164, 0.9));
}

.infra-canvas::before,
.infra-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.infra-canvas::before {
  background: linear-gradient(120deg, transparent 20%, rgba(43, 217, 164, 0.08), transparent 40%);
  transform: translateX(-80%);
  animation: sweep 7s linear infinite;
}

.infra-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 42.5%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border: 1px solid rgba(43, 217, 164, 0.48);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 760;
  background: rgba(20, 24, 30, 0.92);
  box-shadow: 0 0 0 1px rgba(43, 217, 164, 0.12), 0 0 80px rgba(43, 217, 164, 0.18);
}

.infra-node {
  position: absolute;
  z-index: 2;
  width: 132px;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(20, 24, 30, 0.94);
  color: var(--text);
  font-size: 13px;
  font-weight: 710;
}

.infra-node span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 560;
}

.node-product { left: 38px; top: 42px; }
.node-accounts { right: 38px; top: 42px; }
.node-payments { right: 46px; top: 222px; }
.node-compliance { left: 46px; top: 222px; }
.node-ledger { left: 64px; bottom: 176px; }
.node-providers { right: 64px; bottom: 176px; }

.route {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(43, 217, 164, 0.7), transparent);
  opacity: 0.7;
}

.route::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 20px rgba(43, 217, 164, 0.9);
  animation: travel 3.2s ease-in-out infinite;
}

.r1 { width: 230px; left: 154px; top: 112px; transform: rotate(23deg); }
.r2 { width: 205px; left: 338px; top: 188px; transform: rotate(-24deg); animation-delay: .2s; }
.r3 { width: 220px; left: 360px; top: 288px; transform: rotate(12deg); }
.r4 { width: 210px; left: 158px; top: 290px; transform: rotate(-10deg); }
.r5 { width: 220px; left: 174px; bottom: 126px; transform: rotate(-28deg); }
.r6 { width: 220px; right: 168px; bottom: 126px; transform: rotate(205deg); }

.status-stack {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  width: min(calc(100% - 72px), 470px);
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.72);
  color: var(--muted);
  font-size: 12px;
}

.status-row strong {
  color: var(--teal);
}

.hero-signal {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(43, 217, 164, 0.18), transparent 18rem),
    rgba(12, 16, 22, 0.94);
  background-size: 48px 48px, 48px 48px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(43, 217, 164, 0.08), transparent 36%);
  transform: translateX(-80%);
  animation: sweep 8s linear infinite;
}

.signal-top,
.signal-body,
.signal-checks {
  position: relative;
  z-index: 1;
}

.signal-top {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.52);
}

.signal-top span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.signal-top i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(43, 217, 164, 0.9);
}

.signal-top strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(43, 217, 164, 0.28);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(43, 217, 164, 0.08);
  font-size: 12px;
}

.signal-status i {
  margin-right: 6px;
  animation: statusPulse 1.8s ease-in-out infinite;
}

.signal-body {
  min-height: 282px;
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(190px, 1.35fr) minmax(112px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 38px 34px 24px;
}

.signal-body::before,
.signal-body::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 160px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 217, 164, 0.74), transparent);
  background-size: 32px 1px;
  animation: flowPulse 3.8s linear infinite;
}

.signal-body::before {
  left: 62px;
}

.signal-body::after {
  right: 62px;
}

.signal-node,
.signal-core {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(19, 23, 29, 0.9);
}

.signal-node {
  min-width: 0;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.signal-node span,
.signal-core span,
.signal-checks span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 650;
}

.signal-node strong {
  font-size: 16px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.signal-core {
  min-width: 0;
  min-height: 184px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
  border-color: rgba(43, 217, 164, 0.36);
  background: rgba(17, 21, 27, 0.92);
  box-shadow: 0 0 70px rgba(43, 217, 164, 0.13);
}

.signal-core-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.signal-core img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.signal-core-head div {
  display: grid;
  gap: 2px;
}

.signal-core strong {
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.module-grid span {
  min-width: 0;
  border: 1px solid rgba(43, 217, 164, 0.22);
  border-radius: 8px;
  padding: 8px 9px;
  color: #d8f7f2;
  background: rgba(19, 23, 29, 0.82);
  font-size: 11px;
  font-weight: 720;
  text-align: center;
}

.signal-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.signal-checks div {
  min-width: 0;
  min-height: 68px;
  display: grid;
  gap: 7px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(8, 12, 18, 0.66);
}

.signal-checks strong {
  color: var(--teal);
  font-size: 15px;
}

.orchestration-console {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 26%, rgba(43, 217, 164, 0.18), transparent 18rem),
    radial-gradient(circle at 85% 78%, rgba(90, 169, 255, 0.12), transparent 18rem),
    rgba(13, 17, 23, 0.94);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orchestration-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, rgba(43, 217, 164, 0.08), transparent 42%);
  transform: translateX(-90%);
  animation: sweep 8s linear infinite;
  pointer-events: none;
}

.console-top,
.console-grid,
.console-footer {
  position: relative;
  z-index: 1;
}

.console-top {
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 19, 0.54);
}

.console-top span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.console-top i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(43, 217, 164, 0.9);
}

.console-top strong,
.route-header em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(43, 217, 164, 0.22);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(43, 217, 164, 0.08);
  font-size: 12px;
  font-style: normal;
}

.console-grid {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 16px;
  padding: 18px;
}

.console-rail {
  min-height: 348px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: rgba(6, 10, 16, 0.54);
}

.rail-item {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.rail-item.active {
  color: var(--text);
  background: rgba(43, 217, 164, 0.1);
  box-shadow: inset 0 0 0 1px rgba(43, 217, 164, 0.22);
}

.console-main {
  display: grid;
  gap: 14px;
}

.route-header {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(20, 24, 30, 0.84);
}

.route-header span,
.decision-card span,
.console-footer span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 650;
}

.route-header strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.route-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.route-pipeline::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(43, 217, 164, 0.4), rgba(90, 169, 255, 0.32));
}

.pipeline-step {
  position: relative;
  min-height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 13px;
  background: rgba(12, 16, 22, 0.82);
}

.pipeline-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 760;
}

.pipeline-step.done span,
.pipeline-step.active span {
  color: #0a0e14;
  background: var(--teal);
  box-shadow: 0 0 22px rgba(43, 217, 164, 0.28);
}

.pipeline-step.active {
  border-color: rgba(43, 217, 164, 0.36);
}

.pipeline-step strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}

.pipeline-step small,
.decision-card small {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.decision-card {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 15px;
  background: rgba(20, 24, 30, 0.78);
}

.decision-card strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--teal);
  font-size: 17px;
}

.console-footer {
  margin: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.console-footer div {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(6, 10, 16, 0.72);
}

.console-footer strong {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 13px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(21, 25, 31, 0.78);
}

.card:hover {
  border-color: rgba(43, 217, 164, 0.28);
}

.card-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(43, 217, 164, 0.26);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--teal);
  background: rgba(43, 217, 164, 0.08);
}

.card-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card ul,
.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.card li,
.feature-list li {
  display: flex;
  gap: 9px;
}

.card li::before,
.feature-list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--teal);
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.workflow-step {
  position: relative;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(14, 18, 24, 0.84);
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--line-strong);
}

.step-num {
  color: var(--teal);
  font-weight: 760;
  font-size: 13px;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.product-ui {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 21, 27, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ui-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(43, 217, 164, 0.24);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(43, 217, 164, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.ui-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

.ledger-row strong {
  color: var(--text);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.metric b {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.code {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  max-width: 100%;
  overflow-x: auto;
  background: #080c12;
  color: #bdebdc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.code code {
  white-space: pre;
}

.page-hero {
  padding: 104px 0 56px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.05;
}

.page-hero .lead {
  max-width: 860px;
}

.notice {
  margin: 0;
  border: 1px solid rgba(240, 184, 97, 0.26);
  border-radius: 8px;
  padding: 16px;
  background: rgba(240, 184, 97, 0.08);
  color: #e8d2ad;
  font-size: 14px;
  line-height: 1.65;
}

.products-page .notice {
  margin-top: 24px;
}

.products-page .feature-list + .notice {
  margin-top: 28px;
}

.company-page #compliance .grid {
  align-items: center;
}

.company-page #compliance .notice {
  align-self: center;
  justify-self: start;
  max-width: 720px;
  padding: 20px 24px;
  margin: 0;
}

.legal-document {
  max-width: 860px;
  display: grid;
  gap: 18px;
}

.legal-document h2 {
  margin-top: 20px;
  font-size: 28px;
}

.legal-document ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-panel {
  border: 1px solid rgba(43, 217, 164, 0.28);
  border-radius: 8px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(43, 217, 164, 0.12), rgba(31, 180, 136, 0.08)),
    rgba(19, 23, 29, 0.9);
}

.resource-grid {
  align-items: stretch;
}

.resource-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(19, 23, 29, 0.78);
  transition: border-color 160ms ease, background 160ms ease;
}

.resource-card:hover {
  border-color: rgba(43, 217, 164, 0.34);
  background: rgba(26, 30, 36, 0.88);
}

.resource-tag {
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.resource-card h3 {
  margin-bottom: 2px;
  font-size: 18px;
}

.resource-card h2 {
  margin-bottom: 2px;
  font-size: 24px;
}

.resource-card .copy {
  margin-bottom: 0;
}

.resource-card .notice {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
}

.resource-card a {
  margin-top: 4px;
  color: var(--teal);
  font-weight: 720;
  font-size: 14px;
}

.resource-card a::after {
  content: " ->";
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.center-cta .btn::after {
  content: " ->";
}

.faq-wrap {
  max-width: 760px;
}

.section-head.compact {
  margin-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 23, 29, 0.78);
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-item.open {
  border-color: rgba(43, 217, 164, 0.35);
  background: rgba(26, 30, 36, 0.88);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 0 18px;
  color: var(--text);
  background: transparent;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease, color 160ms ease;
}

.faq-item.open .faq-chevron {
  color: var(--teal);
  transform: rotate(225deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0c1016;
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, 1fr);
  gap: 24px;
}

.footer-copy {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--text);
  transform: translateX(3px);
}

.footer-disclosure {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.legal-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.legal-links a,
.social-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--text);
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 760;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--text);
  border-color: rgba(43, 217, 164, 0.5);
  background: rgba(43, 217, 164, 0.12);
  box-shadow: 0 12px 28px rgba(43, 217, 164, 0.12);
  transform: translateY(-2px);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form {
  display: grid;
  gap: 12px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

@keyframes sweep {
  to { transform: translateX(80%); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes flowPulse {
  0% { opacity: 0.24; transform: translateX(-8px); }
  50% { opacity: 0.88; }
  100% { opacity: 0.24; transform: translateX(8px); }
}

@keyframes travel {
  0% { left: 0; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

@keyframes routeDash {
  to { stroke-dashoffset: -80; }
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .infra-canvas {
    min-height: 500px;
  }

  .hero-signal {
    min-height: auto;
  }

  .signal-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 22px 18px;
  }

  .signal-body::before,
  .signal-body::after {
    display: none;
  }

  .signal-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-grid,
  .route-pipeline,
  .decision-grid,
  .console-footer {
    grid-template-columns: 1fr;
  }

  .console-rail {
    min-height: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .route-pipeline::before {
    display: none;
  }

  .grid.cols-3,
  .grid.cols-2,
  .workflow,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav.open {
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav.open .nav-links,
  .nav.open .nav-actions {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 11, 17, 0.98);
  }

  .nav.open .nav-actions {
    top: 314px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  .section {
    padding: 64px 0;
  }

  .infra-canvas {
    min-height: 560px;
  }

  .orchestration-console {
    min-height: auto;
  }

  .brand-wordmark {
    width: 112px;
  }

  .signal-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .signal-core {
    min-height: 0;
  }

  .signal-checks {
    grid-template-columns: 1fr;
    padding: 0 18px 18px;
  }

  .console-top,
  .route-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-grid {
    padding: 14px;
  }

  .console-rail {
    grid-template-columns: 1fr 1fr;
  }

  .console-footer {
    margin: 0 14px 14px;
  }

  .infra-node {
    width: 116px;
  }

  .node-product { left: 16px; top: 28px; }
  .node-accounts { right: 16px; top: 28px; }
  .node-payments { right: 16px; top: 184px; }
  .node-compliance { left: 16px; top: 184px; }
  .node-ledger { left: 16px; bottom: 176px; }
  .node-providers { right: 16px; bottom: 176px; }
  .infra-core { width: 132px; height: 132px; }
  .route { display: none; }
  .route-svg { display: none; }
  .metric-row,
  .ledger-row {
    grid-template-columns: 1fr;
  }

  .code {
    white-space: pre-wrap;
  }

  .code code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .cta-panel {
    padding: 28px;
  }
}


/* === Prototype design system: typography, canvas, mega-menu (Space Grotesk + IBM Plex on blue-slate) === */
body {
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    linear-gradient(rgba(150, 176, 202, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 176, 202, 0.05) 1px, transparent 1px),
    radial-gradient(640px 440px at 84% 4%, rgba(43, 217, 164, 0.10), transparent 70%),
    radial-gradient(560px 420px at 97% 38%, rgba(90, 169, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #0a0e12 0%, #0c1117 52%, #0a0e12 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  background-attachment: fixed;
}
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; }
h1 { letter-spacing: -0.032em; }
.eyebrow, .eyebrow-subline, .section-marker, .resource-tag, .footer-col h4,
.signal-checks span, .module-grid span, .pill, .code, .code code, .step-num {
  font-family: var(--mono);
}
.btn, .nav-parent, .nav-menu a { font-family: var(--body); }

/* scrolled header */
.site-header { transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled {
  border-bottom-color: rgba(150, 176, 202, 0.22);
  background: rgba(7, 10, 16, 0.95);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

/* mega-menu */
.nav-links { gap: 2px; }
.nav-group { position: relative; }
.nav-parent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color 160ms ease, background 160ms ease;
}
.nav-parent i {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  opacity: 0.7; transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-group:hover .nav-parent, .nav-group:focus-within .nav-parent {
  color: var(--text); background: rgba(255, 255, 255, 0.06);
}
.nav-group:hover .nav-parent i, .nav-group:focus-within .nav-parent i {
  opacity: 1; transform: rotate(225deg) translate(-1px, -1px);
}
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 50;
  width: 320px; padding: 8px;
  border: 1px solid rgba(150, 176, 202, 0.18); border-radius: 12px;
  background: rgba(12, 17, 23, 0.98);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.46);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-menu a {
  display: grid; gap: 3px; padding: 10px 11px; border-radius: 8px;
  color: var(--text); font-size: 14px; line-height: 1.25;
  transition: color 140ms ease, background 140ms ease;
}
.nav-menu a span { color: var(--muted-2); font-size: 12px; font-weight: 400; }
.nav-menu a:hover, .nav-menu a:focus-visible {
  background: rgba(43, 217, 164, 0.09); outline: none;
}
.nav-menu a:hover span { color: var(--muted); }

/* contact page elements */
.form select {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 14px; color: var(--text); background: rgba(255, 255, 255, 0.04); font: inherit; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.form select:focus-visible, .form input:focus-visible, .form textarea:focus-visible {
  outline: none; border-color: rgba(43, 217, 164, 0.5); background: rgba(43, 217, 164, 0.05);
}
.form-consent { margin: 2px 0 0; color: var(--muted-2); font-size: 13px; line-height: 1.5; }
.form-consent a { color: var(--teal); }
.contact-email { display: inline-block; margin-top: 6px; color: var(--teal); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.contact-email:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .nav.open { display: grid; grid-template-columns: 1fr auto; align-items: start; row-gap: 14px; padding: 18px 0; }
  .nav.open .brand { grid-column: 1; }
  .nav.open .mobile-toggle { grid-column: 2; }
  .nav.open .nav-links, .nav.open .nav-actions {
    position: static; grid-column: 1 / -1; width: 100%; left: auto; right: auto; top: auto;
    display: grid; gap: 8px; padding: 14px;
    border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 12, 18, 0.98);
  }
  .nav.open .nav-actions { display: grid; grid-template-columns: 1fr; }
  .nav.open .nav-actions .btn { width: 100%; }
  .nav-menu {
    position: static; width: 100%; margin-top: 6px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.035); box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .nav-menu::before { display: none; }
  .nav-parent { width: 100%; justify-content: space-between; }
}

/* === Prototype hero console: animated route + lifecycle (signature element) === */
.hero .accent { color: #2BD9A4; }
.btn-arrow { width: 15px; height: 15px; margin-left: 6px; }

.hero-grid .console { justify-self: end; width: 100%; max-width: 600px; }

.console {
  background: linear-gradient(180deg, #111923, #0C1117);
  border: 1px solid #22303E;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.015) inset;
}
.console__head { display:flex; align-items:center; justify-content:space-between; padding:6px 8px 16px; border-bottom:1px solid #1A2530; margin-bottom:16px; }
.console__title { display:flex; align-items:center; gap:10px; font-size:13.5px; color:#93A1AD; font-weight:500; }
.console__title .live { width:8px; height:8px; border-radius:50%; background:#2BD9A4; box-shadow:0 0 0 0 rgba(43,217,164,.5); animation:beacon 2.6s ease-out infinite; }
@keyframes beacon{0%{box-shadow:0 0 0 0 rgba(43,217,164,.5)}70%,100%{box-shadow:0 0 0 9px rgba(43,217,164,0)}}
.console .tag { font-family:var(--mono); font-size:10.5px; letter-spacing:.08em; color:#5C6873; border:1px solid #1A2530; border-radius:6px; padding:4px 8px; text-transform:uppercase; }

.flow{ width:100%; height:auto; display:block }
.flow .lbl{ font-family:var(--mono); font-size:11px; letter-spacing:.04em; fill:#93A1AD }
.flow .lbl--mut{ fill:#5C6873 }
.flow .lbl--w{ fill:#EEF3F6; font-family:var(--display); font-weight:600; font-size:13px; letter-spacing:.02em }
.flow .node{ fill:#16202B; stroke:#22303E; stroke-width:1 }
.flow .core{ fill:#12202b; stroke:#2BD9A4; stroke-width:1.2 }
.flow .wire{ stroke:#22303E; stroke-width:1.4; fill:none }
.flow .endpt{ fill:#16202B; stroke:#1A2530; stroke-width:1 }
.flow .dot{ fill:#2BD9A4 }
.flow .dot--blue{ fill:#5AA9FF }
.flow .pulse{ stroke:#2BD9A4; stroke-width:2; fill:none; stroke-dasharray:7 93; stroke-dashoffset:100; filter:drop-shadow(0 0 4px rgba(43,217,164,.7)); animation:flow 2.6s linear infinite; }
.flow .pulse.b{ stroke:#5AA9FF; filter:drop-shadow(0 0 4px rgba(90,169,255,.7)) }
@keyframes flow{ to{ stroke-dashoffset:0 } }
.flow .ring{ fill:none; stroke:#2BD9A4; stroke-width:1.2; opacity:0; transform-origin:center; animation:ring 2.6s ease-out infinite }
@keyframes ring{ 0%{ opacity:.5; r:22px } 60%,100%{ opacity:0; r:40px } }

.rail{ margin-top:6px; padding:14px 10px 6px }
.rail__head{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:#5C6873; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:8px; position:relative }
.step{ border:1px solid #1A2530; border-radius:10px; padding:11px 10px 12px; background:rgba(255,255,255,.012); position:relative; overflow:hidden; transition:border-color .35s, background .35s; }
.step__top{ display:flex; align-items:center; gap:7px; margin-bottom:9px }
.step__dot{ width:9px; height:9px; border-radius:50%; background:#5C6873; transition:background .35s, box-shadow .35s; flex:none }
.step__name{ font-family:var(--mono); font-size:10.5px; letter-spacing:.04em; color:#93A1AD; text-transform:uppercase }
.step__status{ font-size:12.5px; font-weight:600; color:#5C6873; transition:color .35s }
.step__bar{ position:absolute; left:0; bottom:0; height:2px; width:0; background:#2BD9A4; transition:width .5s ease }
.step__status::after{ content:"Queued" }
.step.is-active{ border-color:rgba(245,181,68,.45); background:rgba(245,181,68,.05) }
.step.is-active .step__dot{ background:#F5B544; box-shadow:0 0 0 3px rgba(245,181,68,.18) }
.step.is-active .step__status{ color:#F5B544 }
.step.is-active .step__status::after{ content:"Pending" }
.step.is-done{ border-color:rgba(43,217,164,.4); background:rgba(43,217,164,.045) }
.step.is-done .step__dot{ background:#2BD9A4; box-shadow:0 0 0 3px rgba(43,217,164,.18) }
.step.is-done .step__status{ color:#2BD9A4 }
.step.is-done .step__bar{ width:100% }
.step.is-done .step__status::after{ content:attr(data-done) }
.legend{ display:flex; gap:16px; margin-top:16px; padding:0 2px; flex-wrap:wrap }
.legend span{ font-family:var(--mono); font-size:10.5px; letter-spacing:.04em; color:#5C6873; display:flex; align-items:center; gap:6px }
.legend i{ width:8px; height:8px; border-radius:50%; display:inline-block }

@media (max-width: 980px){
  .hero-grid .console{ max-width:none; justify-self:stretch }
}
@media (max-width: 520px){
  .steps{ grid-template-columns:repeat(2,1fr) }
}
@media (prefers-reduced-motion: reduce){
  .flow .pulse, .flow .ring, .console__title .live{ animation:none }
  .flow .pulse{ stroke-dashoffset:0; stroke-dasharray:none; opacity:.6 }
}

/* lifecycle step label: allow wrap so long names never clip */
.step__name { white-space: normal; word-break: break-word; line-height: 1.2; font-size: 9.5px; }
.step__top { align-items: flex-start; }

/* ============================================================
   Full-site prototype-grade refinement
   (spacing rhythm, depth, illustrative section motifs)
   ============================================================ */

/* — spacing & breathing — */
.section { padding: 112px 0; }
.section.tight { padding: 80px 0; }
.section-head { max-width: 820px; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 18px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.06; }
.section-head .copy, .split .copy { font-size: 17px; line-height: 1.75; }
.lead { line-height: 1.7; }
.grid { gap: 20px; }
.split { gap: 64px; align-items: center; }
.hero-actions { gap: 14px; }

/* — eyebrow as prototype section marker (dot + mono) — */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  color: var(--teal); font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(43, 217, 164, 0.14);
}
.eyebrow-subline { color: #8aa0b2; letter-spacing: 0.1em; }

/* — cards: deeper surface, refined border/shadow/hover — */
.card {
  padding: 28px; border-radius: 14px;
  border: 1px solid #22303e;
  background: linear-gradient(180deg, #131b26, #0d141b);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 26px 60px -44px rgba(0, 0, 0, 0.85);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 217, 164, 0.4);
  background: linear-gradient(180deg, #16202d, #0e1620);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 34px 70px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(43, 217, 164, 0.08);
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card .copy { font-size: 15px; line-height: 1.65; }
.card ul { margin-top: 20px; gap: 12px; }
.card-icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 20px;
  border: 1px solid rgba(43, 217, 164, 0.3); color: var(--teal);
  background: radial-gradient(circle at 50% 0%, rgba(43, 217, 164, 0.16), transparent 70%), rgba(43, 217, 164, 0.06);
}
.card-icon svg { width: 22px; height: 22px; }

/* — Solutions plain cards: add a top accent rule for rhythm — */
.grid.cols-2 .card { position: relative; }
.grid.cols-2 .card::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(90, 169, 255, 0.5), transparent);
  border-radius: 0 0 2px 2px; opacity: 0.65;
}

/* — Compliance: process rail (illustrative) — */
.workflow { grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.workflow-step {
  position: relative; padding: 24px 20px; border-radius: 14px;
  border: 1px solid #22303e; background: linear-gradient(180deg, #131b26, #0d141b);
  box-shadow: 0 24px 56px -44px rgba(0, 0, 0, 0.85);
}
.workflow-step .step-num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px;
  border-radius: 50%; border: 1px solid rgba(43, 217, 164, 0.42);
  color: var(--teal); background: rgba(43, 217, 164, 0.08);
  font-family: var(--mono); font-size: 12px; font-weight: 500;
}
.workflow-step h3 { font-size: 16px; margin-bottom: 8px; }
.workflow-step .copy { font-size: 13.5px; line-height: 1.55; }
.workflow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 39px; width: 16px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, rgba(43, 217, 164, 0.7), rgba(90, 169, 255, 0.35));
}

/* — Developers: frame code as a console — */
.split .code {
  position: relative; margin: 0; padding: 48px 22px 24px;
  border: 1px solid #22303e; border-radius: 16px; background: #0b1118;
  box-shadow: 0 40px 80px -46px rgba(0, 0, 0, 0.85);
  font-size: 13.5px; line-height: 1.75;
}
.split .code::before {
  content: "POST  /v1/payments"; position: absolute; top: 0; left: 0; right: 0; height: 40px;
  display: flex; align-items: center; padding: 0 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: #8aa0b2;
  border-bottom: 1px solid #1a2530; background: rgba(255, 255, 255, 0.02);
}
.split .code::after {
  content: ""; position: absolute; top: 16px; right: 18px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(43, 217, 164, 0.14);
}

/* — Platform Model ledger panel — */
.product-ui {
  border: 1px solid #22303e; border-radius: 16px; overflow: hidden;
  box-shadow: 0 44px 90px -50px rgba(0, 0, 0, 0.85);
}
.ui-top { min-height: 58px; padding: 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.ledger-row { padding: 16px; border-radius: 10px; }

/* — Resources — */
.resource-card {
  padding: 28px; border-radius: 14px; gap: 14px;
  border: 1px solid #22303e; background: linear-gradient(180deg, #131b26, #0d141b);
  box-shadow: 0 24px 56px -44px rgba(0, 0, 0, 0.82);
}
.resource-card:hover { transform: translateY(-3px); border-color: rgba(43, 217, 164, 0.4); }
.resource-tag { font-family: var(--mono); letter-spacing: 0.12em; }
.resource-card h3 { font-size: 19px; line-height: 1.3; }
.resource-card a { color: var(--teal); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* — FAQ — */
.faq-list { gap: 12px; }
.faq-item { border: 1px solid #22303e; border-radius: 12px; }
.faq-question { min-height: 64px; padding: 0 22px; font-size: 16px; }
.faq-answer p { padding: 0 22px 22px; font-size: 15px; line-height: 1.7; }

/* — CTA panel — */
.cta-panel {
  padding: 56px; border-radius: 18px; border: 1px solid rgba(43, 217, 164, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(43, 217, 164, 0.12), transparent 17rem),
    radial-gradient(circle at 92% 100%, rgba(90, 169, 255, 0.08), transparent 16rem),
    linear-gradient(180deg, #111c24, #0b1117);
  box-shadow: 0 44px 96px -52px rgba(0, 0, 0, 0.85);
}
.cta-panel .split { gap: 48px; }
.form input, .form textarea, .form select {
  border-radius: 9px; border: 1px solid #22303e; background: rgba(255, 255, 255, 0.03);
}

/* — band sections: a touch more separation — */
.band { border-top: 1px solid #1a2530; border-bottom: 1px solid #1a2530; }

/* — page-hero (inner pages) breathing — */
.page-hero { padding: 132px 0 84px; }
.page-hero h1 { line-height: 1.04; }
.legal-document { gap: 20px; }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow-step:not(:last-child)::after { display: none; }
  .split { gap: 40px; }
  .cta-panel { padding: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid.cols-2, .grid.cols-3, .workflow { grid-template-columns: 1fr; }
  .cta-panel { padding: 26px; }
}

/* ============================================================
   Prototype-fidelity fixes (hero proportions, font weights,
   lifecycle alignment, nav dropdown width)
   ============================================================ */

/* 1. Hero proportions: left-narrow / right-wide like the prototype; bigger console */
.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.08fr);
  gap: clamp(40px, 4.5vw, 72px);
  align-items: center;
}
.hero-grid .console { justify-self: stretch; width: 100%; max-width: none; }

/* 3. Font weights matched to prototype (Space Grotesk caps at 700 — avoid faux-bold) */
h1, h2, h3, h4 { font-weight: 700; }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16em;
}
.btn { font-weight: 600; }
.eyebrow { font-weight: 500; }
.brand-wordmark { width: 122px; }

/* 2. Event lifecycle: fix alignment — fixed top row so status sits on one baseline */
.step__top { min-height: 34px; align-items: flex-start; }
.step__name { white-space: normal; word-break: normal; line-height: 1.25; font-size: 10px; letter-spacing: .03em; }
.step__status { margin-top: 2px; }
.steps { gap: 8px; }

/* 4. Nav dropdown width — was too wide */
.nav-menu { width: 264px; padding: 7px; }
.nav-menu a { padding: 9px 10px; font-size: 13.5px; }
.nav-menu a span { font-size: 11.5px; }

/* lifecycle: fixed-height name row -> no clip, statuses stay aligned */
.step { overflow: visible; }
.step__top { min-height: 42px; align-items: flex-start; }
.step__name { white-space: normal; overflow-wrap: anywhere; word-break: normal; font-size: 9.5px; line-height: 1.22; }

/* ============================================================
   Match prototype exactly: compact lifecycle cards + text colors
   ============================================================ */
:root { --text: #EEF3F6; }

/* lifecycle: compact like prototype (name then status, no tall gap) */
.step { padding: 11px 10px 12px; overflow: hidden; }
.step__top { min-height: 0; align-items: center; margin-bottom: 9px; }
.step__name { white-space: nowrap; overflow: hidden; text-overflow: clip; font-size: 9.5px; letter-spacing: .02em; line-height: 1; }
.step__status { margin-top: 0; font-size: 12.5px; }

/* text colors tuned to prototype (cooler, dimmer) */
.hero .lead, .sub { color: #93A1AD; }
.eyebrow-subline { color: #5C6873; }
.lead { color: #9aa7b4; }

/* ============================================================
   Motion layer: scroll-reveal + ambient drift + new netmap section
   ============================================================ */
.fx-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-orbs::before, .fx-orbs::after {
  content: ""; position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.fx-orbs::before { background: radial-gradient(circle, rgba(43,217,164,0.10), transparent 70%); top: -12vw; right: -6vw; animation: orbA 28s ease-in-out infinite; }
.fx-orbs::after { background: radial-gradient(circle, rgba(90,169,255,0.08), transparent 70%); top: 34vh; right: -14vw; animation: orbB 34s ease-in-out infinite; }
@keyframes orbA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-6vw, 8vh); } }
@keyframes orbB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-11vw,-6vh); } }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* netmap section */
.netmap-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.net-stats { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.net-stat {
  flex: 1 1 0; min-width: 120px; padding: 16px 18px; border: 1px solid #22303e; border-radius: 12px;
  background: linear-gradient(180deg, #131b26, #0d141b);
}
.net-stat b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; color: #eef3f6; letter-spacing: -0.02em; }
.net-stat span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #5c6873; }
.netmap {
  background: linear-gradient(180deg, #111923, #0c1117); border: 1px solid #22303e; border-radius: 18px; padding: 18px;
  box-shadow: 0 40px 80px -42px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.015) inset;
}
.netmap__head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; border-bottom: 1px solid #1a2530; margin-bottom: 12px; font-size: 13.5px; color: #93a1ad; font-weight: 500; }
.netmap__head .live { width: 8px; height: 8px; border-radius: 50%; background: #2bd9a4; box-shadow: 0 0 0 0 rgba(43,217,164,.5); animation: beacon 2.6s ease-out infinite; }
.netmap__head .tag { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: #5c6873; border: 1px solid #1a2530; border-radius: 6px; padding: 4px 8px; text-transform: uppercase; }

@media (max-width: 980px) { .netmap-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Generated imagery: resource covers, company banner, media
   ============================================================ */
.resource-media {
  margin: 0 0 4px; border-radius: 11px; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid #22303e; background: #0c1117;
}
.resource-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.resource-card:hover .resource-media img { transform: scale(1.04); }

.media-feature {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #22303e;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.85);
}
.media-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,14,18,.55));
}

/* image framing: avoid awkward crops / distortion (object-fit, no stretch) */
.resource-media { aspect-ratio: 3 / 2; }
.resource-media img { object-fit: cover; object-position: center; }
.media-feature { aspect-ratio: 16 / 10; }
.media-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* routing-network feature image (homepage global settlement) */
.netmap-media { aspect-ratio: 1.9 / 1; }

/* capability status pill (roadmap / on approval) */
.status-pill { margin-left: 9px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(245,181,68,.42); color: #f0b861; background: rgba(245,181,68,.08); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.status-pill.neutral { border-color: rgba(150,176,202,.32); color: #9aa7b4; background: rgba(255,255,255,.03); }

/* hero proportions: restore the prototype's spacious height (block layout only —
   keep .wrap's own max-width + centering intact so the hero aligns with the rest
   of the page). min-height adds presence on tall screens and grows with content
   on short laptops (no forced 100vh), so the CTAs are never clipped. */
.hero { min-height: min(80vh, 780px); padding-top: clamp(44px, 4.6vw, 84px); padding-bottom: clamp(44px, 4.2vw, 76px); }
.hero .lead { font-size: clamp(15px, 1.05vw, 18px); line-height: 1.58; max-width: 30em; }

/* hero h1 sized to the prototype scale (bigger / wider headline presence) */
.hero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.022em; max-width: 15.5em; }

/* inner-page hero: tighter so it isn't overly tall / empty, and content (notice) isn't clipped */
.page-hero { padding: clamp(80px, 7.5vw, 104px) 0 clamp(44px, 4.5vw, 60px); }
.page-hero h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.028em; }
.page-hero .lead { font-size: clamp(15px, 1.05vw, 18px); line-height: 1.6; }
.page-hero .split { align-items: start; }
.page-hero .notice { margin-top: 20px; }

/* mobile: force hero to stack (a later 2-col rule was overriding the breakpoint) */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .console, .console.axora-control { max-width: 100%; justify-self: stretch; }
}
@media (max-width: 560px) {
  .eyebrow-subline { line-height: 1.7; }
}

/* card consistency: remove the 2-col-only top accent bar so all cards match */
.grid.cols-2 .card::after { display: none; }

/* article header image (resource guides) */
.article-media { width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 10px; background: #0d141b; }
.article-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Interaction polish: clearer button hover + illustration motion
   ============================================================ */
/* secondary buttons (Login, Book a Call, Explore Products) — clearer fill + text on hover */
.btn:hover { background: rgba(255, 255, 255, 0.09); }
.btn.subtle:hover { color: var(--text); }
.btn.nav-login:hover { color: #ffffff; background: rgba(255, 255, 255, 0.07); }
/* re-assert primary's gradient so the generic rule above can't flatten it */
.btn.primary:hover, .btn.primary:focus-visible { background: linear-gradient(135deg, #7af0cf, #2bd9a4); }

/* feature illustrations: subtle zoom + teal glow on hover, matching the cards/article images */
.media-feature { transition: border-color .4s ease, box-shadow .4s ease; }
.media-feature img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.media-feature:hover { border-color: rgba(43, 217, 164, 0.42); box-shadow: 0 40px 90px -50px rgba(0,0,0,.85), 0 0 0 1px rgba(43,217,164,.14); }
.media-feature:hover img { transform: scale(1.045); }

/* ============================================================
   Resources: featured first card (full-width) + balanced 2x3 grid
   ============================================================ */
.resource-grid .resource-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
}
.resource-card.featured .resource-media { aspect-ratio: 16 / 10; height: 100%; margin: 0; }
.resource-card.featured .rc-body { display: grid; align-content: center; gap: 12px; }
.resource-card.featured h2 { font-size: 28px; line-height: 1.12; }
@media (max-width: 760px) {
  .resource-grid .resource-card.featured { grid-template-columns: 1fr; }
}
