/* ==========================================================================
   Visuals — original product-style interface mockups (hero, dashboards,
   device frames, flow diagrams, code panels). All data shown is fictional
   sample content for illustration only.
   ========================================================================== */

/* ---- Hero backdrop ---- */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--text-on-dark);
  overflow: clip;
  padding-block: var(--space-xl);
}

.hero--fullscreen {
  --hero-offset: calc(var(--header-height) + 2.1rem);
  --hero-peek: clamp(0.55rem, 1.2svh, 0.9rem);
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--hero-offset) - var(--hero-peek));
  min-height: calc(100svh - var(--hero-offset) - var(--hero-peek));
  padding-block: clamp(2.35rem, 5.6svh, 5rem);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 30% 20%, black 20%, transparent 85%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 46rem; height: 46rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow--cyan { background: var(--color-cyan-500); top: -12rem; right: -8rem; }
.hero__glow--violet { background: var(--color-violet-500); bottom: -18rem; left: -12rem; opacity: 0.28; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-lg);
  align-items: center;
}

.hero--fullscreen .hero__inner {
  width: 100%;
}

@media (max-width: 62rem) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__copy h1 {
  max-width: 16ch;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}
.hero__copy .lede { max-width: 34rem; margin-bottom: var(--space-md); color: var(--text-on-dark-muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: var(--space-md); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
}
.hero__meta li { display: flex; align-items: center; gap: 0.35rem; min-width: 0; }
.hero__meta svg { width: 0.9rem; height: 0.9rem; color: var(--color-cyan-300); flex-shrink: 0; }

.hero__stage { position: relative; min-width: 0; }

/* ---- Device frames ---- */
.device-frame {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-on-dark);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.device-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.03);
}

.device-frame__bar span {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.device-frame__bar .label {
  margin-left: 0.5rem;
  font-size: 0.64rem;
  color: var(--text-on-dark-muted);
  letter-spacing: var(--ls-wide);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-frame__body { padding: clamp(0.9rem, 2.2vw, 1.2rem); }

.device-frame--light {
  background: var(--surface-raised);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
.device-frame--light .device-frame__bar { background: var(--surface-alt); border-color: var(--border-subtle); }
.device-frame--light .device-frame__bar .label { color: var(--text-muted); }

/* ---- Premium software suite section ---- */
.section--software-suite {
  isolation: isolate;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    radial-gradient(58% 74% at 15% 12%, rgba(23, 185, 214, 0.28), transparent 58%),
    radial-gradient(58% 72% at 84% 30%, rgba(124, 92, 240, 0.28), transparent 60%),
    linear-gradient(135deg, #060a16 0%, #0b1630 48%, #11122a 100%);
}

.section--software-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(75% 76% at 50% 44%, black 18%, transparent 86%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

.software-suite__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(127, 230, 242, 0.11), transparent),
    radial-gradient(circle at 50% 100%, rgba(200, 242, 77, 0.1), transparent 32%);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}

.section--software-suite .container {
  position: relative;
}

.software-suite__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.78fr);
  gap: var(--space-lg);
  align-items: end;
}

.software-suite__copy h2 {
  color: var(--color-white);
  max-width: 16ch;
  margin-bottom: var(--space-sm);
}

.software-suite__copy .lede {
  max-width: 40rem;
}

.software-suite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.software-suite__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.software-suite__stats div,
.software-suite__tile {
  min-width: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.032));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.software-suite__stats div {
  padding: 0.9rem;
}

.software-suite__stats span {
  display: block;
  color: var(--color-cyan-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.42rem;
}

.software-suite__stats strong,
.software-suite__tile strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  line-height: 1.2;
}

.software-suite__stats small,
.software-suite__tile small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.74rem;
  line-height: 1.42;
  margin-top: 0.28rem;
  overflow-wrap: anywhere;
}

.software-suite__workspace {
  margin-top: var(--space-lg);
}

.software-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 68% 12%, rgba(127, 230, 242, 0.15), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03));
  box-shadow: 0 30px 76px -38px rgba(5, 9, 20, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.software-window__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

.software-window__bar > span {
  width: 0.58rem;
  height: 0.58rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.software-window__bar strong {
  margin-left: 0.4rem;
  color: var(--color-white);
  font-size: var(--fs-xs);
}

.software-window__bar small {
  margin-left: auto;
  color: var(--text-on-dark-muted);
  font-size: 0.7rem;
}

.software-window__grid {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 15rem;
  gap: 1rem;
  padding: 1rem;
}

.software-window__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.software-window__nav a,
.software-window__rail div,
.software-window__queue div,
.software-window__metrics div {
  min-width: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.software-window__nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.68rem 0.72rem;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.software-window__nav a.is-active,
.software-window__nav a:hover {
  color: var(--color-white);
  border-color: rgba(127, 230, 242, 0.34);
  background: rgba(127, 230, 242, 0.1);
}

.software-window__nav svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-cyan-300);
  flex-shrink: 0;
}

.software-window__main {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(5, 9, 20, 0.36), rgba(255, 255, 255, 0.04));
}

.software-window__headline h3 {
  color: var(--color-white);
  font-size: var(--fs-xl);
  margin-top: 0.55rem;
}

.software-window__headline p {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  margin-top: 0.4rem;
}

.software-window__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.software-window__metrics div {
  padding: 0.72rem;
}

.software-window__metrics span {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.software-window__metrics strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-xl);
  line-height: 1;
  margin-top: 0.28rem;
}

.software-window__metrics small {
  display: block;
  color: var(--color-teal-400);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  margin-top: 0.22rem;
}

.software-window__chart {
  display: block;
  width: 100%;
  height: 9rem;
  margin-top: 1rem;
  padding: 0.2rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.software-window__queue {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.software-window__queue div {
  display: grid;
  grid-template-columns: auto minmax(7rem, 0.7fr) minmax(6rem, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.68rem;
}

.software-window__queue strong {
  color: var(--color-white);
  font-size: var(--fs-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.software-window__queue small {
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.software-window__queue em {
  justify-self: end;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(127, 230, 242, 0.12);
  color: var(--color-cyan-300);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.software-window__rail {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.software-window__rail div {
  padding: 0.82rem;
}

.software-window__rail span {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
  margin-bottom: 0.65rem;
}

.software-window__rail svg {
  width: 1.1rem;
  height: 1.1rem;
}

.software-window__rail strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
}

.software-window__rail small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.74rem;
  line-height: 1.42;
  margin-top: 0.28rem;
}

.software-suite__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: var(--space-md);
}

.software-suite__tile {
  padding: 0.95rem;
}

.software-suite__tile span {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
  margin-bottom: 0.75rem;
}

.software-suite__tile svg {
  width: 1.28rem;
  height: 1.28rem;
}

.section--software-suite .sample-data-note {
  color: var(--text-on-dark-muted);
}

@media (max-width: 78rem) {
  .software-window__grid {
    grid-template-columns: 1fr;
  }

  .software-window__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .software-window__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 62rem) {
  .software-suite__intro {
    grid-template-columns: 1fr;
  }

  .software-suite__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .software-suite__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .software-suite__copy h2 {
    max-width: 18ch;
  }

  .software-suite__actions .btn {
    width: 100%;
  }

  .software-suite__stats,
  .software-suite__tiles,
  .software-window__rail {
    grid-template-columns: 1fr;
  }

  .software-window__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .software-window__bar {
    flex-wrap: wrap;
  }

  .software-window__bar small {
    width: 100%;
    margin-left: 0;
  }

  .software-window__metrics {
    grid-template-columns: 1fr;
  }

  .software-window__chart {
    height: 6.8rem;
  }

  .software-window__queue div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .software-window__queue small,
  .software-window__queue em {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 34rem) {
  .software-window__grid,
  .software-window__main {
    padding: 0.75rem;
  }

  .software-window__nav {
    grid-template-columns: 1fr;
  }

  .software-window__headline h3 {
    font-size: var(--fs-lg);
  }
}

/* ---- Mobile phone shell ---- */
.phone-shell {
  width: min(17rem, 78vw);
  margin-inline: auto;
  border-radius: 1.85rem;
  padding: 0.55rem;
  background: linear-gradient(155deg, #16264d, #071023);
  border: 1px solid var(--border-on-dark);
  box-shadow: 0 24px 50px -24px rgba(5, 9, 20, 0.55), 0 0 0 1px rgba(127, 230, 242, 0.1);
}

.phone-shell--software {
  width: min(18rem, 82vw);
}

.phone-shell__screen {
  background: linear-gradient(180deg, var(--surface-page), var(--surface-alt));
  border-radius: 1.38rem;
  overflow: hidden;
  aspect-ratio: 10 / 15.5;
  display: flex;
  flex-direction: column;
}

.phone-shell__notch {
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-shell__notch::after {
  content: "";
  width: 4.2rem; height: 0.34rem;
  border-radius: var(--radius-pill);
  background: var(--color-mist-200);
}

.phone-shell__content { flex: 1; padding: 0.75rem; overflow: hidden; display: flex; flex-direction: column; gap: 0.48rem; }

.phone-shell__content--software {
  color: var(--text-primary);
}

.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-app-bar strong,
.phone-app-bar small {
  display: block;
  line-height: 1.15;
}

.phone-app-bar strong { font-size: 0.76rem; }
.phone-app-bar small { font-size: 0.62rem; color: var(--text-muted); }

.phone-app-status {
  flex-shrink: 0;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 184, 148, 0.12);
  color: var(--color-teal-500);
  font-size: 0.62rem;
  font-weight: var(--fw-semibold);
}

.phone-hero-card {
  padding: 0.72rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(23, 185, 214, 0.14), rgba(124, 92, 240, 0.12));
  border: 1px solid rgba(23, 185, 214, 0.2);
}

.phone-hero-card span,
.phone-hero-card small {
  display: block;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.phone-hero-card strong {
  display: block;
  margin-block: 0.12rem;
  font-size: 1.24rem;
  line-height: 1.05;
}

.phone-hero-card small {
  color: var(--color-teal-500);
  font-weight: var(--fw-semibold);
}

.phone-chart {
  width: 100%;
  height: 4.65rem;
  padding: 0.45rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.phone-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.phone-metrics span {
  min-width: 0;
  padding: 0.5rem 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.phone-metrics strong,
.phone-metrics small {
  display: block;
  line-height: 1.1;
}

.phone-metrics strong { font-size: 0.94rem; }
.phone-metrics small { margin-top: 0.18rem; font-size: 0.6rem; color: var(--text-muted); }

.phone-task-list {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.phone-task-list div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.55rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.phone-task-list p {
  min-width: 0;
  max-width: none;
}

.phone-task-list strong,
.phone-task-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-task-list strong { font-size: 0.72rem; }
.phone-task-list small { font-size: 0.62rem; color: var(--text-muted); }

/* ---- Dashboard skeleton primitives (used inside frames) ---- */
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-width: 0; }

.mock-pill {
  height: 0.55rem;
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0.14;
}

.mock-kpi {
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.72rem;
  background: rgba(255, 255, 255, 0.03);
}

.device-frame--light .mock-kpi { border-color: var(--border-subtle); background: var(--surface-alt); }

.mock-kpi .kpi-label { display: block; font-size: 0.64rem; color: var(--text-on-dark-muted); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.device-frame--light .mock-kpi .kpi-label { color: var(--text-muted); }
.mock-kpi .kpi-value { font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-top: 0.2rem; }
.mock-kpi .kpi-delta { font-size: 0.7rem; font-weight: var(--fw-semibold); margin-top: 0.15rem; }
.kpi-delta--up { color: var(--color-teal-400); }
.kpi-delta--down { color: var(--color-coral-400); }
.device-frame--light .kpi-delta--up { color: var(--color-teal-500); }
.device-frame--light .kpi-delta--down { color: var(--color-coral-500); }

.mock-chart { width: 100%; height: auto; display: block; }
.mock-chart path.area { opacity: 0.55; }
.mock-chart path.line { fill: none; stroke: var(--color-cyan-400); stroke-width: 2.5; }

.mock-list { display: flex; flex-direction: column; gap: 0.55rem; }

.mock-list-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.03);
}

.device-frame--light .mock-list-item { border-color: var(--border-subtle); background: var(--surface-raised); }

.mock-list-item .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; flex-shrink: 0; }
.dot--cyan { background: var(--color-cyan-400); }
.dot--violet { background: var(--color-violet-400); }
.dot--teal { background: var(--color-teal-400); }
.dot--amber { background: var(--color-amber-400); }

.mock-list-item .meta { flex: 1; min-width: 0; }
.mock-list-item .meta strong {
  display: block;
  color: var(--color-white);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-list-item .meta small { display: block; font-size: 0.68rem; color: var(--text-on-dark-muted); }
.device-frame--light .mock-list-item .meta strong { color: var(--text-primary); }
.device-frame--light .mock-list-item .meta small { color: var(--text-muted); }

.mock-status {
  font-size: 0.62rem;
  font-weight: var(--fw-semibold);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-status--live { background: rgba(31, 184, 148, 0.16); color: var(--color-teal-400); }
.mock-status--pending { background: rgba(247, 154, 18, 0.16); color: var(--color-amber-400); }
.mock-status--review { background: rgba(124, 92, 240, 0.18); color: var(--color-violet-300); }

/* ---- Floating stat card (overlaid on hero visuals) ---- */
.float-card {
  position: absolute;
  background: var(--surface-raised);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-xs);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}

.float-card .icon-tile { width: 2.2rem; height: 2.2rem; }
.float-card strong { display: block; font-size: var(--fs-sm); }
.float-card span { color: var(--text-muted); }

/* ---- Flow diagram (nodes + animated connective paths) ---- */
.flow-diagram { width: 100%; height: auto; display: block; }

.flow-diagram .flow-path {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 6 8;
  animation: dash 18s linear infinite;
}

@keyframes dash { to { stroke-dashoffset: -400; } }

@media (prefers-reduced-motion: reduce) {
  .flow-diagram .flow-path { animation: none; }
}

.flow-diagram .flow-node-bg { fill: var(--surface-raised); stroke: var(--border-subtle); stroke-width: 1.5; }
.flow-diagram .flow-node-bg--dark { fill: var(--color-ink-850); stroke: var(--border-on-dark); }
.flow-diagram .flow-label { font-size: 11px; font-weight: 600; fill: var(--text-primary); }
.flow-diagram .flow-label--on-dark { fill: var(--color-white); }
.flow-diagram .flow-sub { font-size: 9.5px; fill: var(--text-muted); }
.flow-diagram .flow-sub--on-dark { fill: var(--text-on-dark-muted); }

.flow-pulse { animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; r: 3; }
  50% { opacity: 1; r: 5; }
}
@media (prefers-reduced-motion: reduce) { .flow-pulse { animation: none; opacity: 0.85; } }

/* ---- Premium payments and embedded finance section ---- */
.section--payments-suite {
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-xl);
  background:
    radial-gradient(42% 56% at 10% 12%, rgba(23, 185, 214, 0.14), transparent 62%),
    radial-gradient(42% 58% at 88% 18%, rgba(31, 184, 148, 0.12), transparent 60%),
    linear-gradient(180deg, var(--surface-alt) 0%, var(--surface-page) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--payments-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(10, 17, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 17, 40, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(76% 72% at 50% 34%, black 12%, transparent 86%);
  pointer-events: none;
}

.payments-suite__glow {
  position: absolute;
  inset: auto -12rem -16rem auto;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(124, 92, 240, 0.18), transparent 62%),
    radial-gradient(circle at 36% 36%, rgba(23, 185, 214, 0.22), transparent 48%);
  filter: blur(32px);
  pointer-events: none;
}

.section--payments-suite .container {
  position: relative;
}

.payments-suite__head {
  display: grid;
  grid-template-columns: minmax(0, 54rem) auto;
  gap: var(--space-md);
  align-items: start;
  margin-bottom: var(--space-md);
}

.payments-suite__head h2 {
  max-width: 31ch;
  margin-bottom: var(--space-sm);
}

.payments-suite__head .lede {
  max-width: 43rem;
}

.payments-suite__head .btn {
  align-self: start;
  white-space: nowrap;
}

.payments-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: var(--space-md);
  align-items: stretch;
}

.payments-flow-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 34%, rgba(127, 230, 242, 0.2), transparent 36%),
    radial-gradient(circle at 82% 72%, rgba(63, 214, 176, 0.12), transparent 26%),
    linear-gradient(145deg, #081127 0%, #0d1730 54%, #11122a 100%);
  color: var(--text-on-dark);
  box-shadow: 0 28px 70px -34px rgba(5, 9, 20, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.payments-flow-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  min-width: 0;
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.045);
}

.payments-flow-panel__bar > span {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.payments-flow-panel__bar strong {
  margin-left: 0.42rem;
  color: var(--color-white);
  font-size: var(--fs-xs);
  line-height: 1.2;
}

.payments-flow-panel__bar small {
  margin-left: auto;
  color: var(--text-on-dark-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.payments-flow {
  position: relative;
  min-height: 27rem;
  margin: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 230, 242, 0.16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(5, 9, 20, 0.26);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.payments-flow__line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.payments-flow__line--left,
.payments-flow__line--right {
  top: 50%;
  width: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(127, 230, 242, 0.85));
}

.payments-flow__line--left { left: 21%; }
.payments-flow__line--right { right: 21%; transform: rotate(180deg); }

.payments-flow__line--top,
.payments-flow__line--bottom {
  left: 50%;
  width: 2px;
  height: 27%;
  background: linear-gradient(180deg, transparent, rgba(63, 214, 176, 0.78));
}

.payments-flow__line--top { top: 22%; }
.payments-flow__line--bottom { bottom: 22%; transform: rotate(180deg); }

.payments-flow__node,
.payments-flow__hub,
.payments-flow__rail {
  position: absolute;
  z-index: 2;
  min-width: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.072);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.payments-flow__node {
  top: 50%;
  width: min(9.8rem, 25%);
  min-height: 6.5rem;
  padding: 0.9rem;
  transform: translateY(-50%);
}

.payments-flow__node--buyer { left: 6.5%; }
.payments-flow__node--seller { right: 6.5%; }

.payments-flow__hub {
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(12.2rem, 31%);
  min-height: 7.9rem;
  padding: 1rem;
  transform: translate(-50%, -50%);
  border-color: rgba(127, 230, 242, 0.42);
  background:
    radial-gradient(circle at 22% 18%, rgba(127, 230, 242, 0.24), transparent 46%),
    rgba(255, 255, 255, 0.1);
}

.payments-flow__rail {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(13rem, 36%);
  min-height: 3.65rem;
  padding: 0.72rem 0.82rem;
}

.payments-flow__rail--a {
  right: 10.5%;
  top: 11%;
}

.payments-flow__rail--b {
  right: 10.5%;
  bottom: 11%;
}

.payments-flow__rail--reconcile {
  left: 10.5%;
  bottom: 11%;
}

.payments-flow__node span,
.payments-flow__hub span,
.payments-flow__rail span,
.payments-suite__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
}

.payments-flow__node span,
.payments-flow__hub span {
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.7rem;
}

.payments-flow__rail span {
  width: 2.05rem;
  height: 2.05rem;
}

.payments-flow__node svg,
.payments-flow__hub svg,
.payments-flow__rail svg,
.payments-suite__card svg {
  width: 1.12rem;
  height: 1.12rem;
}

.payments-flow__node strong,
.payments-flow__hub strong,
.payments-flow__rail strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  line-height: 1.2;
}

.payments-flow__node small,
.payments-flow__hub small {
  display: block;
  margin-top: 0.28rem;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.payments-flow-panel__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.54rem;
  padding: 0 1rem 1rem;
}

.payments-flow-panel__steps span {
  min-width: 0;
  padding: 0.46rem 0.5rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.payments-flow-panel .sample-data-note {
  padding: 0 1rem 1rem;
  color: var(--text-on-dark-muted);
}

.payments-suite__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.payments-suite__card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.78));
  box-shadow: 0 18px 48px -34px rgba(10, 17, 40, 0.36);
}

.payments-suite__card:nth-child(2n) span {
  background: rgba(31, 184, 148, 0.12);
  color: var(--color-teal-500);
}

.payments-suite__card:nth-child(3n) span {
  background: rgba(124, 92, 240, 0.12);
  color: var(--color-violet-600);
}

.payments-suite__card span {
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.78rem;
}

.payments-suite__card strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  line-height: 1.25;
}

.payments-suite__card small {
  display: block;
  margin-top: 0.34rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.46;
  overflow-wrap: anywhere;
}

@media (max-width: 78rem) {
  .payments-suite__layout {
    grid-template-columns: 1fr;
  }

  .payments-suite__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 62rem) {
  .payments-suite__head {
    grid-template-columns: 1fr;
  }

  .payments-suite__head .btn {
    justify-self: start;
  }
}

@media (max-width: 46rem) {
  .section--payments-suite {
    padding-block: var(--space-lg);
  }

  .payments-suite__glow {
    display: none;
  }

  .payments-suite__head h2 {
    max-width: 20ch;
  }

  .payments-suite__head .btn {
    width: 100%;
    white-space: normal;
  }

  .payments-flow-panel__bar {
    flex-wrap: wrap;
  }

  .payments-flow-panel__bar small {
    width: 100%;
    margin-left: 0;
  }

  .payments-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.72rem;
    min-height: 0;
    margin: 0.8rem;
    padding: 0.8rem;
  }

  .payments-flow__line {
    display: none;
  }

  .payments-flow__node,
  .payments-flow__hub,
  .payments-flow__rail {
    position: static;
    width: 100%;
    min-height: 0;
    transform: none;
  }

  .payments-flow__node,
  .payments-flow__hub {
    padding: 0.86rem;
  }

  .payments-flow__rail {
    align-items: center;
  }

  .payments-flow-panel__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0.8rem;
  }

  .payments-suite__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .payments-flow-panel__steps {
    grid-template-columns: 1fr;
  }
}

/* ---- Code / API panel ---- */
.code-panel {
  background: var(--color-ink-950);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-on-dark);
  overflow: hidden;
  color: var(--color-mist-200);
  font-size: 0.78rem;
  max-width: 100%;
}

.code-panel__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border-on-dark);
}
.code-panel__bar span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(255,255,255,0.16); }
.code-panel__bar .label { margin-left: 0.4rem; font-size: 0.68rem; color: var(--text-on-dark-muted); font-family: var(--font-mono); }

.code-panel pre {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  max-width: 100%;
  font-family: var(--font-mono);
  line-height: 1.7;
}

.code-panel .tok-key { color: var(--color-cyan-300); }
.code-panel .tok-str { color: var(--color-lime-400); }
.code-panel .tok-num { color: var(--color-amber-400); }
.code-panel .tok-punc { color: var(--color-mist-500); }
.code-panel .tok-comment { color: var(--color-mist-500); font-style: italic; }
.code-panel .tok-prop { color: var(--color-violet-300); }

/* ---- Progress / lifecycle tracker ---- */
.tracker { display: flex; flex-direction: column; gap: 0; }

.tracker-step {
  display: flex;
  gap: 0.9rem;
  position: relative;
  padding-bottom: var(--space-md);
}

.tracker-step:last-child { padding-bottom: 0; }

.tracker-step::before {
  content: "";
  position: absolute;
  left: 0.65rem; top: 1.6rem; bottom: -0.2rem;
  width: 2px;
  background: var(--border-subtle);
}

.tracker-step:last-child::before { display: none; }

.tracker-step__dot {
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface-raised);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

.tracker-step.is-complete .tracker-step__dot {
  background: var(--gradient-cta);
  border-color: transparent;
}
.tracker-step.is-complete .tracker-step__dot svg { width: 0.7rem; height: 0.7rem; color: var(--color-white); }
.tracker-step.is-active .tracker-step__dot { border-color: var(--accent-primary); box-shadow: 0 0 0 4px rgba(23,185,214,0.15); }

.tracker-step__body strong { display: block; font-size: var(--fs-sm); }
.tracker-step__body span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---- Document / extraction mock ---- */
.doc-scan {
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem;
}

.doc-scan .doc-line { height: 0.5rem; border-radius: 3px; background: rgba(255,255,255,0.12); margin-bottom: 0.5rem; }
.doc-scan .doc-line.short { width: 55%; }
.doc-scan .doc-line.tag { background: rgba(23, 185, 214, 0.35); position: relative; }
.doc-scan .doc-line.tag::after {
  content: attr(data-tag);
  position: absolute;
  right: -0.2rem; top: -1.15rem;
  font-size: 0.6rem;
  background: var(--color-cyan-500);
  color: var(--color-ink-950);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
  max-width: min(14rem, 70vw);
}

.scan-beam {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan-400), transparent);
  animation: scan 3.2s ease-in-out infinite;
}

@keyframes scan {
  0% { top: 8%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) { .scan-beam { animation: none; opacity: 0; } }

/* ---- Premium AI automation section ---- */
.section--ai-suite {
  isolation: isolate;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    radial-gradient(62% 82% at 12% 18%, rgba(23, 185, 214, 0.24), transparent 60%),
    radial-gradient(58% 76% at 86% 36%, rgba(124, 92, 240, 0.26), transparent 62%),
    radial-gradient(38% 52% at 52% 96%, rgba(31, 184, 148, 0.12), transparent 60%),
    linear-gradient(135deg, #050914 0%, #0b1630 52%, #11122a 100%);
}

.section--ai-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(78% 74% at 50% 42%, black 12%, transparent 86%);
  pointer-events: none;
}

.ai-suite__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(127, 230, 242, 0.1), transparent),
    radial-gradient(circle at 18% 82%, rgba(200, 242, 77, 0.08), transparent 26%);
  opacity: 0.78;
  pointer-events: none;
}

.section--ai-suite .container {
  position: relative;
}

.ai-suite__head {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(20rem, 0.74fr);
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-lg);
}

.ai-suite__copy h2 {
  max-width: 18ch;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.ai-suite__copy .lede {
  max-width: 43rem;
}

.ai-suite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.ai-suite__signals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.ai-suite__signals div,
.ai-suite__card {
  min-width: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.032));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-suite__signals div {
  padding: 0.9rem;
}

.ai-suite__signals span {
  display: block;
  color: var(--color-cyan-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.42rem;
}

.ai-suite__signals strong,
.ai-suite__card strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  line-height: 1.2;
}

.ai-suite__signals small,
.ai-suite__card small {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-on-dark-muted);
  font-size: 0.74rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.ai-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: var(--space-md);
  align-items: stretch;
}

.ai-workbench {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 32% 30%, rgba(127, 230, 242, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 70px -34px rgba(5, 9, 20, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ai-workbench__bar {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  min-width: 0;
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.045);
}

.ai-workbench__bar > span {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.ai-workbench__bar strong {
  margin-left: 0.42rem;
  color: var(--color-white);
  font-size: var(--fs-xs);
  line-height: 1.2;
}

.ai-workbench__bar small {
  margin-left: auto;
  color: var(--text-on-dark-muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.ai-workbench__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  padding: 1rem;
}

.ai-document-panel,
.ai-review-panel {
  min-width: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  background: rgba(5, 9, 20, 0.28);
}

.ai-document-panel {
  padding: 0.9rem;
}

.ai-document-panel__top {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  margin-bottom: 0.85rem;
}

.ai-document-panel__top span,
.ai-review-row > span,
.ai-suite__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
}

.ai-document-panel__top span {
  width: 2.15rem;
  height: 2.15rem;
}

.ai-document-panel__top strong {
  min-width: 0;
  color: var(--color-white);
  font-size: var(--fs-sm);
  line-height: 1.2;
}

.ai-document-panel__top em {
  margin-left: auto;
  padding: 0.2rem 0.52rem;
  border-radius: var(--radius-pill);
  background: rgba(200, 242, 77, 0.12);
  color: var(--color-lime-400);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.ai-document-sheet {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  padding: 1.05rem 0.95rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 30px 30px, 30px 30px, auto;
}

.ai-doc-line {
  position: relative;
  height: 0.55rem;
  margin-bottom: 0.82rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.13);
}

.ai-doc-line--wide { width: 76%; }
.ai-doc-line--short { width: 52%; }

.ai-doc-line--tag {
  width: 48%;
  background: rgba(23, 185, 214, 0.42);
}

.ai-doc-line--tag::after {
  content: attr(data-tag);
  position: absolute;
  left: calc(100% + 0.58rem);
  top: -0.34rem;
  max-width: 8.6rem;
  padding: 0.12rem 0.42rem;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-cyan-300);
  color: var(--color-ink-950);
  font-size: 0.58rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-extract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
  margin-top: 0.75rem;
}

.ai-extract-grid div {
  min-width: 0;
  padding: 0.64rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.ai-extract-grid span {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.ai-extract-grid strong {
  display: block;
  margin-top: 0.24rem;
  color: var(--color-white);
  font-size: var(--fs-lg);
  line-height: 1;
}

.ai-review-panel {
  padding: 1rem;
}

.ai-review-panel h3 {
  margin-top: 0.65rem;
  color: var(--color-white);
  font-size: var(--fs-xl);
}

.ai-review-panel p {
  margin-top: 0.42rem;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.ai-review-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  margin-top: 0.7rem;
  padding: 0.78rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.ai-review-row.is-active {
  border-color: rgba(255, 182, 72, 0.38);
  background: rgba(255, 182, 72, 0.08);
}

.ai-review-row > span {
  width: 2.05rem;
  height: 2.05rem;
}

.ai-review-row.is-active > span {
  background: rgba(255, 182, 72, 0.14);
  color: var(--color-amber-400);
}

.ai-review-row svg,
.ai-document-panel__top svg,
.ai-suite__card svg {
  width: 1.08rem;
  height: 1.08rem;
}

.ai-review-row strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-xs);
  line-height: 1.25;
}

.ai-review-row small {
  display: block;
  margin-top: 0.22rem;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.ai-workbench__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.54rem;
  padding: 0 1rem 1rem;
}

.ai-workbench__steps span {
  min-width: 0;
  padding: 0.46rem 0.5rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.ai-workbench .sample-data-note {
  padding: 0 1rem 1rem;
  color: var(--text-on-dark-muted);
}

.ai-suite__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.ai-suite__card {
  padding: 1rem;
}

.ai-suite__card:nth-child(2n) span {
  background: rgba(31, 184, 148, 0.12);
  color: var(--color-teal-400);
}

.ai-suite__card:nth-child(3n) span {
  background: rgba(124, 92, 240, 0.16);
  color: var(--color-violet-300);
}

.ai-suite__card span {
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.78rem;
}

@media (max-width: 78rem) {
  .ai-suite__layout {
    grid-template-columns: 1fr;
  }

  .ai-suite__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 62rem) {
  .ai-suite__head {
    grid-template-columns: 1fr;
  }

  .ai-suite__signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-workbench__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 46rem) {
  .ai-suite__copy h2 {
    max-width: 20ch;
  }

  .ai-suite__actions .btn {
    width: 100%;
  }

  .ai-suite__signals,
  .ai-suite__cards,
  .ai-extract-grid {
    grid-template-columns: 1fr;
  }

  .ai-workbench__bar,
  .ai-document-panel__top {
    flex-wrap: wrap;
  }

  .ai-workbench__bar small {
    width: 100%;
    margin-left: 0;
  }

  .ai-document-panel__top em {
    margin-left: 0;
  }

  .ai-workbench__body,
  .ai-document-panel,
  .ai-review-panel {
    padding: 0.8rem;
  }

  .ai-document-sheet {
    min-height: 13rem;
  }

  .ai-doc-line--tag {
    width: 56%;
  }

  .ai-doc-line--tag::after {
    left: auto;
    right: 0;
    top: -0.38rem;
    max-width: 7rem;
  }

  .ai-workbench__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0.8rem;
  }
}

@media (max-width: 34rem) {
  .ai-workbench__steps {
    grid-template-columns: 1fr;
  }
}

/* ---- Premium homepage content sections ---- */
.section--tradetech-suite {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 185, 214, 0.11), transparent 36%),
    linear-gradient(225deg, rgba(247, 154, 18, 0.1), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f7 100%);
}

.section--tradetech-suite::before,
.section--delivery-suite::before,
.section--history-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.section--tradetech-suite .container,
.section--compliance-suite .container,
.section--delivery-suite .container,
.section--history-suite .container,
.section--network-suite .container {
  position: relative;
}

.tradetech-suite__head,
.delivery-suite__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.66fr);
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-xl);
}

.tradetech-suite__head h2,
.delivery-suite__head h2,
.history-suite__copy h2,
.network-suite__copy h2 {
  max-width: 17ch;
  margin-bottom: 0;
}

.tradetech-suite__head .lede,
.delivery-suite__head .lede {
  margin-bottom: var(--space-md);
}

.tradetech-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.tradetech-suite__cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.tradetech-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem 0.9rem;
  align-content: start;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px -30px rgba(15, 23, 42, 0.36);
}

.tradetech-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(127, 230, 242, 0.16));
}

.tradetech-card__icon,
.delivery-card__icon,
.history-card__icon,
.network-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: var(--radius-sm);
}

.tradetech-card__icon {
  grid-row: 1 / span 2;
  color: var(--accent-primary-strong);
  background: linear-gradient(155deg, rgba(23, 185, 214, 0.16), rgba(124, 92, 240, 0.12));
}

.tradetech-card__icon svg,
.delivery-card__icon svg,
.history-card__icon svg,
.network-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.tradetech-card h3,
.delivery-card h3,
.history-card h3,
.network-card h3 {
  margin: 0;
  font-size: var(--fs-md);
}

.tradetech-card p,
.delivery-card p,
.history-card p,
.network-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.tradetech-console {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, #07111f, #101b33 58%, #171536);
  color: var(--text-on-dark);
  box-shadow: 0 26px 60px -34px rgba(5, 9, 20, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tradetech-console__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.tradetech-console__top strong {
  min-width: 0;
  color: var(--color-white);
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.tradetech-console__top small {
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.tradetech-console__meter {
  height: 0.42rem;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.tradetech-console__meter span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-lime-400), var(--color-cyan-300));
}

.tradetech-console__timeline {
  display: grid;
  gap: 0.62rem;
}

.tradetech-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.tradetech-stage__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  color: var(--color-mist-500);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
}

.tradetech-stage--complete .tradetech-stage__index {
  color: #03121b;
  background: var(--color-lime-400);
}

.tradetech-stage--active {
  border-color: rgba(127, 230, 242, 0.46);
  background: rgba(127, 230, 242, 0.11);
}

.tradetech-stage--active .tradetech-stage__index {
  color: #03121b;
  background: var(--color-cyan-300);
}

.tradetech-stage__copy strong,
.tradetech-stage__copy small {
  display: block;
  min-width: 0;
}

.tradetech-stage__copy strong {
  color: var(--color-white);
  font-size: var(--fs-sm);
}

.tradetech-stage__copy small {
  margin-top: 0.16rem;
  color: var(--text-on-dark-muted);
  font-size: 0.76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.section--compliance-suite {
  isolation: isolate;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(23, 185, 214, 0.18), transparent 38%),
    linear-gradient(225deg, rgba(200, 242, 77, 0.12), transparent 34%),
    linear-gradient(135deg, #040915 0%, #0b1426 52%, #101827 100%);
}

.section--compliance-suite::before,
.section--network-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(72% 74% at 50% 48%, black 18%, transparent 84%);
  opacity: 0.58;
  pointer-events: none;
  z-index: -1;
}

.compliance-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(22rem, 1.14fr);
  gap: var(--space-xl);
  align-items: center;
}

.compliance-suite__copy h2,
.network-suite__copy h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.compliance-suite__copy .lede,
.network-suite__copy .lede {
  max-width: 39rem;
  margin-bottom: var(--space-md);
}

.compliance-monitor {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 70px -36px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.compliance-monitor__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

.compliance-monitor__bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.compliance-monitor__bar strong {
  min-width: 0;
  margin-left: 0.45rem;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compliance-monitor__body {
  padding: clamp(0.95rem, 2.3vw, 1.35rem);
}

.compliance-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(127, 230, 242, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.08);
  margin-bottom: 0.82rem;
}

.compliance-score span {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
}

.compliance-score strong {
  color: var(--color-lime-400);
  font-size: var(--fs-xl);
  line-height: 1;
  white-space: nowrap;
}

.compliance-review-list {
  display: grid;
  gap: 0.62rem;
}

.compliance-review-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  padding: 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.compliance-review-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  color: var(--color-cyan-300);
  background: rgba(127, 230, 242, 0.12);
}

.compliance-review-row__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.compliance-review-row strong,
.compliance-review-row small {
  display: block;
  min-width: 0;
}

.compliance-review-row strong {
  color: var(--color-white);
  font-size: var(--fs-sm);
}

.compliance-review-row small {
  color: var(--text-on-dark-muted);
  font-size: 0.74rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.compliance-review-row em {
  padding: 0.34rem 0.55rem;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

.compliance-review-row--clear em,
.compliance-review-row--secure em {
  color: #032017;
  background: var(--color-lime-400);
}

.compliance-review-row--review em {
  color: #2b1600;
  background: var(--color-amber-400);
}

.compliance-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: var(--space-lg);
}

.compliance-card {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.compliance-card span {
  display: block;
  color: var(--color-cyan-300);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.48rem;
}

.compliance-card p {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.section--delivery-suite {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(124, 92, 240, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f3f7f9 100%);
}

.delivery-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.delivery-path::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 2.38rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 185, 214, 0.5), rgba(124, 92, 240, 0.42), transparent);
  pointer-events: none;
}

.delivery-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: clamp(1rem, 2.2vw, 1.3rem);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.38);
}

.delivery-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius-sm);
  color: #03121b;
  background: var(--color-lime-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
}

.delivery-card__icon {
  color: var(--accent-primary-strong);
  background: rgba(23, 185, 214, 0.12);
}

.section--history-suite {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 184, 148, 0.1), transparent 34%),
    linear-gradient(225deg, rgba(23, 185, 214, 0.09), transparent 32%),
    var(--surface-alt);
}

.history-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.history-suite__copy .lede {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.history-suite__panel {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.4rem);
  align-items: center;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(127, 230, 242, 0.14)),
    var(--surface-raised);
  box-shadow: 0 24px 58px -38px rgba(15, 23, 42, 0.42);
}

.history-suite__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(7.4rem, 13vw, 10rem);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(23, 185, 214, 0.98), rgba(124, 92, 240, 0.96));
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  font-weight: var(--fw-black);
  line-height: 1;
}

.history-suite__panel strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--fs-xl);
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.history-suite__panel p {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

.history-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: var(--space-lg);
}

.history-card {
  min-width: 0;
  display: grid;
  gap: 0.64rem;
  align-content: start;
  padding: clamp(1rem, 2.2vw, 1.3rem);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px -32px rgba(15, 23, 42, 0.38);
}

.history-card__icon {
  color: var(--color-violet-600);
  background: rgba(124, 92, 240, 0.12);
}

.section--network-suite {
  isolation: isolate;
  overflow: hidden;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(124, 92, 240, 0.2), transparent 36%),
    linear-gradient(225deg, rgba(23, 185, 214, 0.18), transparent 38%),
    linear-gradient(135deg, #050914 0%, #0a1326 48%, #12142d 100%);
}

.network-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
  gap: var(--space-xl);
  align-items: center;
}

.network-map {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, transparent 49%, rgba(127, 230, 242, 0.17) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(182, 168, 255, 0.14) 50%, transparent 51%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.026));
  box-shadow: 0 28px 72px -36px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.network-map::before,
.network-map::after,
.network-map__rings {
  content: "";
  position: absolute;
  inset: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.network-map::after {
  inset: 5.5rem;
  border-color: rgba(127, 230, 242, 0.16);
}

.network-map__rings {
  inset: 8.6rem;
  border-color: rgba(200, 242, 77, 0.13);
}

.network-map__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(11rem, 36%);
  min-height: 7.6rem;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 1rem;
  border-radius: 50%;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(140deg, rgba(16, 129, 149, 0.98), rgba(124, 92, 240, 0.94));
  box-shadow: var(--shadow-glow-cyan), 0 0 0 10px rgba(255, 255, 255, 0.035);
}

.network-map__core span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-lime-400);
}

.network-map__core span svg {
  width: 1.55rem;
  height: 1.55rem;
}

.network-map__core strong {
  font-size: var(--fs-lg);
  line-height: 1;
}

.network-map__core small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  line-height: 1.25;
}

.network-map__node {
  position: absolute;
  z-index: 2;
  min-width: 8.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.network-map__node i {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-cyan-300);
  box-shadow: 0 0 0 4px rgba(127, 230, 242, 0.12);
}

.network-map__node strong {
  min-width: 0;
  font-size: var(--fs-sm);
  overflow-wrap: anywhere;
}

.network-map__node--asia { left: 9%; top: 17%; }
.network-map__node--europe { right: 10%; top: 16%; }
.network-map__node--middle-east { right: 6%; top: 50%; }
.network-map__node--africa { left: 12%; bottom: 17%; }
.network-map__node--americas { right: 14%; bottom: 15%; }

.network-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: var(--space-lg);
}

.network-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.062);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.network-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-cyan-300);
  background: rgba(127, 230, 242, 0.12);
}

.network-card h3 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  margin-bottom: 0.24rem;
}

.network-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

@media (max-width: 78rem) {
  .compliance-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-path,
  .network-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-path::before {
    display: none;
  }
}

@media (max-width: 68rem) {
  .tradetech-suite__head,
  .tradetech-suite__layout,
  .compliance-suite__layout,
  .delivery-suite__head,
  .history-suite__layout,
  .network-suite__layout {
    grid-template-columns: 1fr;
  }

  .tradetech-suite__head,
  .delivery-suite__head {
    align-items: start;
  }

  .tradetech-console,
  .compliance-monitor,
  .network-map {
    width: min(100%, 42rem);
    margin-inline: auto;
  }
}

@media (max-width: 52rem) {
  .tradetech-suite__cards,
  .compliance-card-grid,
  .history-card-grid {
    grid-template-columns: 1fr;
  }

  .tradetech-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 46rem) {
  .tradetech-suite__head h2,
  .delivery-suite__head h2,
  .history-suite__copy h2,
  .network-suite__copy h2 {
    max-width: 20ch;
  }

  .tradetech-console__top,
  .compliance-score,
  .history-suite__panel {
    grid-template-columns: 1fr;
  }

  .tradetech-console__top {
    align-items: start;
  }

  .tradetech-console__top small {
    white-space: normal;
  }

  .compliance-score {
    display: grid;
    align-items: start;
  }

  .compliance-review-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .compliance-review-row em {
    grid-column: 2;
    justify-self: start;
  }

  .delivery-path,
  .network-card-grid {
    grid-template-columns: 1fr;
  }

  .history-suite__year {
    width: min(100%, 12rem);
    aspect-ratio: 2.5 / 1;
    border-radius: var(--radius-sm);
  }

  .network-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    min-height: 0;
    padding: 1rem;
  }

  .network-map::before,
  .network-map::after,
  .network-map__rings {
    display: none;
  }

  .network-map__core,
  .network-map__node {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .network-map__core {
    min-height: 0;
    border-radius: var(--radius-sm);
    padding: 1rem;
  }
}

@media (max-width: 34rem) {
  .tradetech-card,
  .network-card {
    grid-template-columns: 1fr;
  }

  .tradetech-card__icon {
    grid-row: auto;
  }
}

/* ---- Premium ecosystem section ---- */
.section--ecosystem {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(65% 90% at 84% 18%, rgba(124, 92, 240, 0.32), transparent 58%),
    radial-gradient(62% 82% at 16% 82%, rgba(23, 185, 214, 0.24), transparent 60%),
    linear-gradient(135deg, #050914 0%, #0a1128 46%, #11122a 100%);
}

.section--ecosystem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 75% at 50% 50%, black 15%, transparent 84%);
  opacity: 0.42;
  pointer-events: none;
  z-index: -2;
}

.ecosystem__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(127, 230, 242, 0.11), transparent),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.07) 48%, transparent 100%);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

.section--ecosystem .container {
  position: relative;
}

.ecosystem__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: var(--space-xl);
}

.ecosystem__copy h2 {
  color: var(--color-white);
  max-width: 15ch;
  margin-bottom: var(--space-sm);
}

.ecosystem__copy .lede {
  max-width: 38rem;
}

.ecosystem__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: var(--space-md);
}

.ecosystem__signals div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ecosystem__signals span,
.ecosystem-map__core span {
  display: block;
  color: var(--color-cyan-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.45rem;
}

.ecosystem__signals strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  margin-bottom: 0.35rem;
}

.ecosystem__signals small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ecosystem-map {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 230, 242, 0.18), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(200, 242, 77, 0.13), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 70px -34px rgba(5, 9, 20, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.ecosystem-map::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.ecosystem-map__rail {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.ecosystem-map__rail--horizontal {
  left: 13%;
  right: 13%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 230, 242, 0.78), rgba(182, 168, 255, 0.7), transparent);
}

.ecosystem-map__rail--vertical {
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(63, 214, 176, 0.58), rgba(127, 230, 242, 0.75), transparent);
}

.ecosystem-map__rail--diagonal-a,
.ecosystem-map__rail--diagonal-b {
  left: 12%;
  top: 50%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 182, 72, 0.48), rgba(127, 230, 242, 0.58), transparent);
  transform-origin: center;
}

.ecosystem-map__rail--diagonal-a { transform: rotate(32deg); }
.ecosystem-map__rail--diagonal-b { transform: rotate(-32deg); }

.ecosystem-map__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(12.4rem, 34%);
  min-height: 8.7rem;
  padding: 1rem;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(16, 129, 149, 0.95), rgba(124, 92, 240, 0.94));
  box-shadow: var(--shadow-glow-cyan), 0 0 0 10px rgba(255, 255, 255, 0.035);
}

.ecosystem-map__core::after {
  content: "";
  position: absolute;
  inset: -0.7rem;
  border: 1px solid rgba(127, 230, 242, 0.25);
  border-radius: inherit;
  animation: ecosystem-pulse 3.8s ease-in-out infinite;
}

.ecosystem-map__core strong {
  display: block;
  font-size: var(--fs-md);
  line-height: 1.05;
}

.ecosystem-map__core small {
  display: block;
  max-width: 14ch;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  line-height: 1.3;
}

.ecosystem-map__node {
  position: absolute;
  z-index: 2;
  width: clamp(8.4rem, 15vw, 10.6rem);
  min-height: 4.35rem;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.078);
  color: var(--color-white);
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.ecosystem-map__node .icon-tile {
  width: 2rem;
  height: 2rem;
  background: rgba(127, 230, 242, 0.15);
  color: var(--color-cyan-300);
}

.ecosystem-map__node strong {
  min-width: 0;
  font-size: var(--fs-sm);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ecosystem-map__node--portals { left: 8%; top: 12%; }
.ecosystem-map__node--payments { right: 8%; top: 12%; }
.ecosystem-map__node--automation { right: 5%; top: 42%; }
.ecosystem-map__node--compliance { right: 10%; bottom: 12%; }
.ecosystem-map__node--trade { left: 10%; bottom: 12%; }
.ecosystem-map__node--apis { left: 5%; top: 42%; }

.ecosystem-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: var(--space-lg);
}

.ecosystem-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.92rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  color: var(--text-on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}

.ecosystem-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 230, 242, 0.34);
  background: linear-gradient(155deg, rgba(127, 230, 242, 0.12), rgba(182, 168, 255, 0.08));
}

.ecosystem-card__icon,
.ecosystem-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem-card__icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
}

.ecosystem-card__icon svg { width: 1.3rem; height: 1.3rem; }

.ecosystem-card__copy {
  min-width: 0;
  display: block;
}

.ecosystem-card__copy strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  margin-bottom: 0.18rem;
}

.ecosystem-card__copy span {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ecosystem-card__arrow {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--color-cyan-300);
}

.ecosystem-card__arrow svg { width: 1rem; height: 1rem; }

@keyframes ecosystem-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-map__core::after { animation: none; }
  .ecosystem-card:hover { transform: none; }
}

@media (max-width: 68rem) {
  .ecosystem__layout { grid-template-columns: 1fr; }
  .ecosystem__copy h2 { max-width: 19ch; }
}

@media (max-width: 56rem) {
  .ecosystem-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .ecosystem-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    min-height: 0;
    padding: 1rem;
  }

  .ecosystem-map::before,
  .ecosystem-map__rail { display: none; }

  .ecosystem-map__core,
  .ecosystem-map__node {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .ecosystem-map__core {
    grid-column: 1 / -1;
    min-height: 0;
    border-radius: var(--radius-sm);
    padding: 1rem;
  }

  .ecosystem-map__core small { max-width: none; }

  .ecosystem-map__node {
    min-height: 3.65rem;
    padding: 0.65rem;
  }

  .ecosystem__signals { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  .ecosystem-map,
  .ecosystem-card-grid { grid-template-columns: 1fr; }

  .ecosystem-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ecosystem-card__arrow { display: none; }
}

/* ---- Premium interior pages ---- */
.hero--interior {
  padding-block: var(--space-lg) var(--space-2xl);
}

.breadcrumbs--interior {
  position: relative;
  color: var(--text-on-dark-muted);
}

.breadcrumbs--interior a,
.breadcrumbs--interior [aria-current="page"] {
  color: var(--text-on-dark-muted);
}

.breadcrumbs--interior a:hover { color: var(--color-white); }

.hero-interior__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.36fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  min-height: clamp(22rem, 44svh, 34rem);
}

.hero-interior__copy {
  max-width: 54rem;
}

.hero-interior__copy h1 {
  max-width: 20ch;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  overflow-wrap: anywhere;
}

.hero-interior__copy .lede {
  max-width: 42rem;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.hero-interior__panel {
  align-self: stretch;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 18% 20%, rgba(127, 230, 242, 0.22), transparent 42%),
    radial-gradient(circle at 82% 6%, rgba(182, 168, 255, 0.18), transparent 36%);
  box-shadow: var(--shadow-lg);
}

.hero-interior__panel span {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.13);
  color: var(--color-cyan-300);
}

.hero-interior__panel span svg { width: 1.45rem; height: 1.45rem; }
.hero-interior__panel strong { color: var(--color-white); font-size: var(--fs-md); }
.hero-interior__panel small { color: var(--text-on-dark-muted); line-height: var(--lh-normal); }

/* ---- Premium page hero system ---- */
.hero--premium {
  padding-block: var(--space-lg) var(--space-2xl);
  background:
    radial-gradient(circle at 78% 22%, rgba(23, 185, 214, 0.24), transparent 35%),
    radial-gradient(circle at 12% 78%, rgba(22, 163, 132, 0.2), transparent 36%),
    linear-gradient(142deg, #071426 0%, #0a1830 48%, #0b2d33 100%);
}

.hero--software {
  background:
    radial-gradient(circle at 76% 18%, rgba(127, 230, 242, 0.22), transparent 34%),
    radial-gradient(circle at 10% 80%, rgba(110, 120, 255, 0.24), transparent 36%),
    linear-gradient(142deg, #071426 0%, #10183a 50%, #0b2633 100%);
}

.hero--trade-finance,
.hero--about {
  background:
    radial-gradient(circle at 76% 18%, rgba(232, 190, 103, 0.16), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(23, 185, 214, 0.2), transparent 36%),
    linear-gradient(142deg, #091323 0%, #122033 50%, #10212a 100%);
}

.hero--industries,
.hero--insights {
  background:
    radial-gradient(circle at 78% 20%, rgba(23, 185, 214, 0.2), transparent 35%),
    radial-gradient(circle at 15% 80%, rgba(44, 188, 128, 0.22), transparent 36%),
    linear-gradient(142deg, #071426 0%, #102031 48%, #092a2b 100%);
}

.hero--contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(127, 230, 242, 0.24), transparent 34%),
    radial-gradient(circle at 10% 75%, rgba(232, 190, 103, 0.14), transparent 34%),
    linear-gradient(142deg, #071426 0%, #0d1a2f 52%, #082c35 100%);
}

.premium-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(23rem, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  min-height: clamp(30rem, 58svh, 43rem);
}

.premium-hero__copy {
  min-width: 0;
  max-width: 58rem;
}

.premium-hero__copy h1 {
  max-width: 16ch;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  overflow-wrap: anywhere;
}

.premium-hero__copy .lede {
  max-width: 42rem;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-md);
}

.premium-console {
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 18% 18%, rgba(127, 230, 242, 0.18), transparent 42%),
    rgba(5, 14, 28, 0.64);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.premium-console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-on-dark);
}

.premium-console__top span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-weight: 650;
}

.premium-console__top span svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-cyan-300);
  flex-shrink: 0;
}

.premium-console__top strong {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0;
  color: var(--color-cyan-300);
}

.premium-console__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: var(--space-sm);
}

.premium-console__stats div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.premium-console__stats small,
.premium-console__row small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
}

.premium-console__stats strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-lg);
  line-height: 1.05;
  margin-top: 0.28rem;
  overflow-wrap: anywhere;
}

.premium-console__rows {
  display: grid;
  gap: 0.65rem;
}

.premium-console__row {
  display: grid;
  grid-template-columns: auto minmax(0, 0.68fr) minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.premium-console__row span {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.12);
  color: var(--color-cyan-300);
}

.premium-console__row span svg {
  width: 1.05rem;
  height: 1.05rem;
}

.premium-console__row strong {
  min-width: 0;
  color: var(--color-white);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}

.premium-console__row em {
  justify-self: end;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(127, 230, 242, 0.12);
  color: var(--color-cyan-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  white-space: nowrap;
}

.hero--premium .sample-data-note {
  color: var(--text-on-dark-muted);
}

.premium-layer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.15rem);
  align-items: stretch;
}

.premium-layer-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.premium-layer-card {
  min-width: 0;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.3rem);
  border: 1px solid rgba(199, 208, 230, 0.78);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)),
    radial-gradient(circle at 100% 0, rgba(23, 185, 214, 0.1), transparent 42%);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.premium-layer-card:hover {
  border-color: rgba(23, 185, 214, 0.36);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.premium-layer-card span {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(23, 185, 214, 0.11);
  color: var(--accent-primary-strong);
}

.premium-layer-card span svg {
  width: 1.2rem;
  height: 1.2rem;
}

.premium-layer-card strong {
  display: block;
  font-size: var(--fs-md);
  line-height: var(--lh-tight);
}

.premium-layer-card small {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.section--fintech-stack,
.section--insights-editorial {
  background:
    radial-gradient(circle at 8% 16%, rgba(23, 185, 214, 0.08), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(22, 163, 132, 0.08), transparent 34%),
    var(--surface-page);
}

.section--software-catalog,
.section--tradefinance-instruments,
.section--industries-map,
.section--about-principles {
  background:
    linear-gradient(180deg, var(--surface-alt), var(--surface-page)),
    radial-gradient(circle at 88% 12%, rgba(232, 190, 103, 0.08), transparent 32%);
}

.section--ai-lab,
.section--tradefinance-advisory,
.section--about-command,
.section--contact-command {
  background:
    radial-gradient(circle at 10% 12%, rgba(23, 185, 214, 0.07), transparent 35%),
    radial-gradient(circle at 92% 18%, rgba(124, 92, 240, 0.06), transparent 34%),
    var(--surface-page);
}

.section--ai-flow,
.section--software-dashboard,
.section--contact-direct,
.section--insights-library {
  background:
    radial-gradient(circle at 88% 10%, rgba(124, 92, 240, 0.07), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(23, 185, 214, 0.07), transparent 38%),
    var(--surface-page);
}

.section--ai-guardrails,
.section--contact-addresses,
.section--about-expertise {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.94)),
    radial-gradient(circle at 12% 12%, rgba(22, 163, 132, 0.07), transparent 36%);
}

.section--about-expertise {
  padding-block: var(--space-lg);
}

.section--about-expertise .detail-split__layout {
  align-items: start;
}

.section--about-expertise .detail-split__copy h2 {
  max-width: 18ch;
}

.section--about-expertise .detail-split__visual {
  padding-top: 0.2rem;
}

.section--fintech-stack,
.section--ai-lab,
.section--software-catalog,
.section--tradefinance-instruments,
.section--industries-map,
.section--about-command,
.section--contact-command,
.section--insights-editorial,
.section--insights-library {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section--home-trade-instruments {
  padding-block: var(--space-lg);
}

.section--home-trade-instruments .section-head--split {
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

.section--home-trade-instruments .section-head-copy {
  max-width: min(100%, 55rem);
}

.section--home-trade-instruments .section-head--split .btn {
  margin-top: 0.35rem;
}

/* ---- TradeTech page ---- */
.hero--tradetech {
  padding-block: var(--space-lg) var(--space-2xl);
  background:
    radial-gradient(circle at 78% 28%, rgba(23, 185, 214, 0.2), transparent 34%),
    radial-gradient(circle at 18% 72%, rgba(124, 92, 240, 0.28), transparent 38%),
    linear-gradient(140deg, #0b1530 0%, #081021 48%, #062635 100%);
}

.tradetech-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  min-height: clamp(30rem, 58svh, 44rem);
}

.tradetech-hero__copy h1 {
  max-width: 13ch;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.tradetech-hero__copy .lede {
  color: var(--text-on-dark-muted);
  max-width: 39rem;
  margin-bottom: var(--space-md);
}

.tradetech-page-console {
  position: relative;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(127, 230, 242, 0.25);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 0 0, rgba(127, 230, 242, 0.18), transparent 36%),
    rgba(5, 9, 20, 0.78);
  box-shadow: 0 34px 90px -34px rgba(23, 185, 214, 0.42), var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.tradetech-page-console__top,
.tradetech-page-console__stats,
.tradetech-docs div {
  display: grid;
  min-width: 0;
}

.tradetech-page-console__top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-on-dark);
}

.tradetech-page-console__top span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--color-cyan-300);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.tradetech-page-console__top span svg { width: 1rem; height: 1rem; }
.tradetech-page-console__top strong { font-family: var(--font-mono); color: var(--color-white); }

.tradetech-page-console__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.tradetech-page-console__stats div {
  padding: 0.85rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.tradetech-page-console__stats small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  margin-bottom: 0.35rem;
}

.tradetech-page-console__stats strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-xl);
}

.tradetech-lane {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: var(--space-sm);
}

.tradetech-lane span {
  position: relative;
  min-width: 0;
  padding: 0.72rem 0.6rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.74rem;
  line-height: var(--lh-snug);
  text-align: center;
}

.tradetech-lane .is-complete {
  border-color: rgba(63, 214, 176, 0.4);
  color: var(--color-teal-400);
  background: rgba(63, 214, 176, 0.08);
}

.tradetech-lane .is-active {
  border-color: rgba(127, 230, 242, 0.6);
  color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(127, 230, 242, 0.11);
}

.tradetech-docs {
  display: grid;
  gap: 0.65rem;
}

.tradetech-docs div {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.tradetech-docs div > span {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(127, 230, 242, 0.11);
  color: var(--color-cyan-300);
}

.tradetech-docs svg { width: 1rem; height: 1rem; }
.tradetech-docs strong { display: block; color: var(--color-white); font-size: var(--fs-sm); }
.tradetech-docs small { display: block; color: var(--text-on-dark-muted); font-size: var(--fs-xs); }
.tradetech-docs em {
  font-style: normal;
  color: var(--color-cyan-300);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.section--tradetech-layers,
.section--tradetech-milestones {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  background:
    radial-gradient(circle at 8% 10%, rgba(23, 185, 214, 0.08), transparent 32%),
    linear-gradient(180deg, var(--surface-page), var(--surface-alt));
}

.tradetech-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.1rem);
}

.tradetech-layer-card,
.tradetech-control-card,
.tradetech-module-card {
  min-width: 0;
  border-radius: var(--radius-md);
}

.tradetech-layer-card {
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(199, 208, 230, 0.82);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.tradetech-layer-card span,
.tradetech-control-card span,
.tradetech-module-card__icon {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, rgba(23, 185, 214, 0.13), rgba(124, 92, 240, 0.12));
  color: var(--accent-primary-strong);
  margin-bottom: 1rem;
}

.tradetech-layer-card svg,
.tradetech-control-card svg,
.tradetech-module-card__icon svg { width: 1.25rem; height: 1.25rem; }

.tradetech-layer-card h3,
.tradetech-module-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 0.45rem;
}

.tradetech-layer-card p,
.tradetech-module-card p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.section--tradetech-workflow {
  background:
    radial-gradient(circle at 16% 20%, rgba(127, 230, 242, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(182, 168, 255, 0.13), transparent 34%),
    linear-gradient(155deg, var(--color-ink-900), var(--color-ink-950));
}

.tradetech-workflow__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(26rem, 1.06fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.tradetech-workflow__copy h2 {
  max-width: 15ch;
  margin-bottom: var(--space-sm);
}

.tradetech-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.tradetech-control-card {
  padding: 0.95rem;
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
}

.tradetech-control-card span {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 0.7rem;
  color: var(--color-cyan-300);
  background: rgba(127, 230, 242, 0.1);
}

.tradetech-control-card strong {
  display: block;
  color: var(--color-white);
  font-size: var(--fs-sm);
  margin-bottom: 0.25rem;
}

.tradetech-control-card small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
}

.tradetech-workflow__tracker .card {
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border-color: rgba(127, 230, 242, 0.24);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--color-ink-950);
  box-shadow: 0 26px 70px -34px rgba(127, 230, 242, 0.5);
}

.tradetech-milestone-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: var(--space-lg);
  padding: clamp(0.85rem, 1.8vw, 1.1rem);
  border: 1px solid rgba(199, 208, 230, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.tradetech-milestone-flow::before {
  content: "";
  position: absolute;
  top: calc(1.1rem + 2.05rem);
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--gradient-line);
  opacity: 0.55;
}

.tradetech-milestone-flow .milestone-card {
  min-height: 12rem;
  background: var(--surface-raised);
  z-index: 1;
}

.tradetech-milestone-flow .milestone-card:not(:last-child)::after {
  display: none;
}

.section--tradetech-modules {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  background:
    linear-gradient(180deg, var(--surface-alt), var(--surface-page)),
    radial-gradient(circle at 86% 10%, rgba(124, 92, 240, 0.08), transparent 34%);
}

.tradetech-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.2rem);
}

.tradetech-module-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(199, 208, 230, 0.82);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.tradetech-module-card__icon {
  margin-bottom: 0;
}

.tradetech-module-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.tradetech-module-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
}

.tradetech-module-card li svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent-primary-strong);
}

@media (max-width: 78rem) {
  .tradetech-hero__inner,
  .tradetech-workflow__layout {
    grid-template-columns: 1fr;
  }

  .tradetech-layer-grid,
  .tradetech-milestone-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tradetech-milestone-flow::before {
    display: none;
  }
}

@media (max-width: 58rem) {
  .tradetech-module-grid,
  .tradetech-control-grid {
    grid-template-columns: 1fr;
  }

  .tradetech-module-card ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 46rem) {
  .hero--tradetech {
    padding-block: var(--space-md) var(--space-xl);
  }

  .tradetech-hero__inner {
    min-height: 0;
    gap: var(--space-lg);
  }

  .tradetech-hero__copy h1,
  .tradetech-workflow__copy h2 {
    max-width: none;
  }

  .tradetech-module-card {
    grid-template-columns: 1fr;
  }

  .tradetech-page-console {
    padding: 0.95rem;
  }

  .tradetech-page-console__top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .tradetech-page-console__top strong {
    width: fit-content;
  }

  .tradetech-page-console__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .tradetech-page-console__stats div {
    padding: 0.62rem;
  }

  .tradetech-page-console__stats small {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .tradetech-page-console__stats strong {
    font-size: var(--fs-lg);
  }

  .tradetech-lane {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tradetech-layer-grid,
  .tradetech-milestone-flow {
    grid-template-columns: 1fr;
  }

  .tradetech-lane span {
    padding: 0.62rem;
    text-align: left;
  }

  .hero--tradetech .tradetech-docs,
  .hero--tradetech .sample-data-note {
    display: none;
  }

  .hero--tradetech .tradetech-lane {
    margin-bottom: 0;
  }

  .tradetech-docs div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tradetech-docs em {
    grid-column: 2;
    width: fit-content;
  }

  .tradetech-milestone-flow .milestone-card {
    min-height: 0;
  }
}

.section--service-detail {
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0.95), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 12% 8%, rgba(23, 185, 214, 0.09), transparent 34%);
  border-top: 1px solid var(--border-subtle);
}

.section--service-detail-dark {
  background:
    radial-gradient(circle at 80% 16%, rgba(127, 230, 242, 0.14), transparent 32%),
    linear-gradient(155deg, var(--color-ink-900), var(--color-ink-950));
  color: var(--text-on-dark);
  border-top: 1px solid rgba(127, 230, 242, 0.14);
}

.service-detail__layout,
.detail-split__layout,
.contact-form-suite__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.service-detail__copy h2,
.detail-split__copy h2,
.contact-form-suite__copy h2 {
  max-width: 13ch;
  margin-bottom: var(--space-sm);
}

.service-detail__copy .lede,
.detail-split__copy .lede,
.contact-form-suite__copy .lede {
  margin-bottom: 0;
}

.service-detail__panel {
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.section--service-detail-dark .service-detail__panel {
  border-color: var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.service-detail__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.service-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.78rem 0.82rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}

.section--service-detail-dark .service-detail__features li {
  border-color: var(--border-on-dark);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-on-dark-muted);
}

.service-detail__features svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--accent-primary-strong);
}

.section--service-detail-dark .service-detail__features svg {
  color: var(--color-cyan-300);
}

.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-sm);
}

.section--catalog-grid {
  background:
    linear-gradient(180deg, var(--surface-alt), var(--surface-page)),
    radial-gradient(circle at 90% 8%, rgba(124, 92, 240, 0.08), transparent 35%);
}

.section--catalog-grid .grid,
.section--industry-suite .grid,
.section--directory-suite .grid,
.section--related-suite .grid {
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.capability-card,
.service-card,
.industry-card,
.directory-card,
.insight-card,
.instrument-benefit-card,
.contact-card {
  border-color: rgba(199, 208, 230, 0.74);
  box-shadow: var(--shadow-sm);
}

.capability-card:hover,
.service-card:hover,
.industry-card:hover,
.directory-card:hover,
.insight-card:hover,
.contact-card:hover {
  border-color: rgba(23, 185, 214, 0.32);
  box-shadow: var(--shadow-md);
}

.detail-split__visual {
  min-width: 0;
}

.section--detail-split,
.section--advisory-suite,
.section--about-overview,
.section--about-team,
.section--instrument-overview {
  background:
    radial-gradient(circle at 10% 12%, rgba(23, 185, 214, 0.06), transparent 35%),
    var(--surface-page);
}

.section--milestone-suite,
.section--process-suite,
.section--dashboard-suite,
.section--contact-form-suite,
.section--legal-suite,
.section--insights-suite,
.section--article-suite,
.section--redirect-suite {
  background:
    radial-gradient(circle at 88% 10%, rgba(124, 92, 240, 0.07), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(23, 185, 214, 0.07), transparent 38%),
    var(--surface-page);
}

.section--process-suite.section--dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(127, 230, 242, 0.13), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(182, 168, 255, 0.14), transparent 34%),
    linear-gradient(155deg, var(--color-ink-900), var(--color-ink-950));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.2rem);
}

.process-card {
  position: relative;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.section--dark .process-card,
[data-surface="dark"] .process-card {
  border-color: var(--border-on-dark);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.process-card__number {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  margin-bottom: 1.4rem;
}

.section--dark .process-card__number,
[data-surface="dark"] .process-card__number {
  color: var(--text-on-dark-muted);
}

.process-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(23, 185, 214, 0.12);
  color: var(--accent-primary-strong);
  margin-bottom: 0.8rem;
}

.process-card__icon svg { width: 1.15rem; height: 1.15rem; }
.section--dark .process-card__icon,
[data-surface="dark"] .process-card__icon { color: var(--color-cyan-300); background: rgba(127, 230, 242, 0.12); }
.process-card h3 { font-size: var(--fs-md); margin-bottom: 0.45rem; }
.process-card p { color: var(--text-secondary); font-size: var(--fs-sm); }
.section--dark .process-card p,
[data-surface="dark"] .process-card p { color: var(--text-on-dark-muted); }

.milestone-flow,
.reconciliation-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1rem);
  margin-top: var(--space-lg);
}

.milestone-card,
.reconciliation-node {
  position: relative;
  min-width: 0;
  min-height: 10rem;
  padding: clamp(0.9rem, 1.8vw, 1.15rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.milestone-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.15rem;
  right: -0.6rem;
  width: 1rem;
  height: 2px;
  background: var(--gradient-line);
}

.milestone-card > span {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent-primary-strong);
  margin-bottom: 1.6rem;
}

.milestone-card h3,
.reconciliation-node h3 {
  font-size: var(--fs-sm);
  margin-bottom: 0.35rem;
}

.milestone-card p,
.reconciliation-node p {
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
}

.reconciliation-node {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reconciliation-node span {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(23, 185, 214, 0.11);
  color: var(--accent-primary-strong);
  margin-bottom: 1rem;
}

.reconciliation-node span svg { width: 1.15rem; height: 1.15rem; }

.dashboard-suite__frame {
  max-width: 48rem;
  margin-inline: auto;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-dark);
}

.section--technology-band,
.section--why-suite,
.section--network-mini,
.section--contact-consultation,
.section--instrument-role {
  background:
    radial-gradient(circle at 16% 14%, rgba(127, 230, 242, 0.13), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(182, 168, 255, 0.13), transparent 32%),
    linear-gradient(155deg, var(--color-ink-900), var(--color-ink-950));
}

.directory-card {
  padding: var(--space-md);
}

.directory-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-primary);
  margin-bottom: 0.55rem;
}

.directory-link:last-child { margin-bottom: 0; }
.directory-link:hover { border-color: rgba(23, 185, 214, 0.34); background: var(--surface-raised); }
.directory-link strong { display: block; font-size: var(--fs-sm); }
.directory-link small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }

.section--network-mini {
  overflow: hidden;
}

.contact-email__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.contact-email__copy h2 {
  max-width: 12ch;
  margin-bottom: var(--space-sm);
}

.contact-email__copy .lede {
  max-width: 37rem;
  margin-bottom: 0;
}

.contact-email__panel {
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(199, 208, 230, 0.78);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.92)),
    radial-gradient(circle at 100% 0, rgba(23, 185, 214, 0.11), transparent 38%);
  box-shadow: var(--shadow-md);
}

.contact-email__address {
  display: block;
  margin-block: 0.8rem 0.55rem;
  color: var(--text-primary);
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  font-weight: 760;
  line-height: var(--lh-tight);
  overflow-wrap: anywhere;
}

.contact-email__address span {
  display: inline;
}

.contact-email__address:hover {
  color: var(--accent-primary-strong);
}

.contact-email__panel > p {
  max-width: 42rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.contact-email__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-block: var(--space-sm);
}

.contact-email__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-email__point {
  min-width: 0;
  padding: 0.82rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.contact-email__point span {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(23, 185, 214, 0.1);
  color: var(--accent-primary-strong);
  margin-bottom: 0.7rem;
}

.contact-email__point span svg {
  width: 1rem;
  height: 1rem;
}

.contact-email__point strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  margin-bottom: 0.28rem;
}

.contact-email__point small {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
}

.section--contact-form-suite {
  border-bottom: 1px solid var(--border-subtle);
}

.contact-form-suite__layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.contact-form-suite__copy {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
}

.contact-response-list {
  display: grid;
  gap: 0.7rem;
  margin-block: var(--space-md);
}

.contact-response-list div {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}

.contact-response-list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--accent-primary-strong);
  margin-top: 0.1rem;
}

.contact-form-panel {
  min-width: 0;
}

.enquiry-form {
  position: relative;
  padding: clamp(1rem, 2.3vw, 1.6rem);
  border: 1px solid rgba(199, 208, 230, 0.8);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.92)),
    radial-gradient(circle at 100% 0, rgba(23, 185, 214, 0.08), transparent 32%);
  box-shadow: var(--shadow-lg);
}

.enquiry-form .field input,
.enquiry-form .field textarea,
.enquiry-form .field select {
  background: var(--color-white);
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .card__link {
  margin-top: auto;
}

.legal-panel,
.article-prose {
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.section--policy-document {
  padding-block: calc(var(--space-lg) + var(--header-height)) var(--space-2xl);
}

.breadcrumbs--policy {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.breadcrumbs--policy a {
  color: var(--text-secondary);
}

.breadcrumbs--policy a:hover {
  color: var(--accent-primary-strong);
}

.policy-document__header {
  max-width: 54rem;
  margin: 0 auto var(--space-lg);
}

.policy-document__header h1 {
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.policy-document__header p {
  max-width: 42rem;
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
}

.article-prose .archive-banner {
  margin-bottom: var(--space-md);
}

.archive-banner--article {
  width: 100%;
  max-width: none;
  padding-inline: var(--space-sm);
}

.section--redirect-suite {
  min-height: 62svh;
  display: grid;
  align-items: center;
}

@media (max-width: 78rem) {
  .process-grid,
  .milestone-flow,
  .reconciliation-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-layer-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .milestone-card:not(:last-child)::after { display: none; }
}

@media (max-width: 68rem) {
  .premium-hero__inner,
  .hero-interior__inner,
  .service-detail__layout,
  .detail-split__layout,
  .contact-email__layout,
  .contact-form-suite__layout {
    grid-template-columns: 1fr;
  }

  .premium-hero__inner,
  .hero-interior__inner {
    min-height: 0;
    align-items: start;
  }

  .premium-console {
    max-width: 46rem;
  }

  .hero-interior__panel {
    min-height: 10rem;
  }

  .contact-form-suite__copy {
    position: static;
  }
}

@media (max-width: 46rem) {
  .hero--premium,
  .hero--interior {
    padding-block: var(--space-md) var(--space-xl);
  }

  .premium-hero__copy h1,
  .hero-interior__copy h1,
  .service-detail__copy h2,
  .detail-split__copy h2,
  .contact-email__copy h2,
  .contact-form-suite__copy h2 {
    max-width: none;
  }

  .premium-console {
    padding: 0.95rem;
  }

  .premium-console__top {
    align-items: flex-start;
  }

  .premium-console__stats,
  .premium-layer-grid,
  .contact-email__points,
  .premium-layer-grid--5 {
    grid-template-columns: 1fr;
  }

  .hero--premium .premium-console__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .hero--premium .premium-console__stats div {
    padding: 0.62rem 0.55rem;
  }

  .hero--premium .premium-console__stats strong {
    font-size: var(--fs-md);
  }

  .hero--premium .premium-console__rows,
  .hero--premium .sample-data-note {
    display: none;
  }

  .premium-console__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .premium-console__row small {
    grid-column: 2 / -1;
  }

  .premium-layer-card {
    min-height: 0;
  }

  .contact-email__address {
    font-size: clamp(1.05rem, 5vw, 1.2rem);
    line-height: 1.16;
    overflow-wrap: normal;
  }

  .contact-email__address span {
    display: block;
  }

  .contact-email__panel {
    padding: 1rem;
  }

  .hero-interior__panel {
    min-height: 0;
  }

  .service-detail__features,
  .process-grid,
  .milestone-flow,
  .reconciliation-flow {
    grid-template-columns: 1fr;
  }

  .milestone-card,
  .reconciliation-node {
    min-height: 0;
  }

  .contact-response-list div {
    padding: 0.75rem;
  }

  .enquiry-form {
    padding: 0.95rem;
  }
}

/* ---- Section illustration frame (light context) ---- */
.showcase {
  position: relative;
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.2vw, 1.45rem);
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--gradient-panel);
  pointer-events: none;
}

.showcase__content { position: relative; }

/* ---- Sample-data disclosure ---- */
.sample-data-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.device-frame:not(.device-frame--light) .sample-data-note,
.card--dark .sample-data-note,
.showcase .sample-data-note { color: var(--text-on-dark-muted); }

.sample-data-note svg { width: 0.85rem; height: 0.85rem; flex-shrink: 0; }

@media (max-width: 62rem) {
  .hero {
    padding-block: var(--space-lg);
  }
  .hero--fullscreen {
    align-items: start;
    padding-block: var(--space-lg);
  }
  .hero__copy h1 {
    max-width: 18ch;
  }
  .hero__stage {
    width: min(100%, 36rem);
    margin-inline: auto;
  }
}

@media (max-width: 30rem) {
  .hero--fullscreen {
    --hero-offset: var(--header-height);
  }
}

@media (max-width: 46rem) {
  .hero__actions {
    gap: 0.65rem;
  }
  .hero__meta {
    flex-direction: column;
    gap: 0.65rem;
  }
  .mock-list-item {
    align-items: flex-start;
  }
  .mock-status {
    white-space: normal;
    text-align: right;
    max-width: 7rem;
  }
  .float-card {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    animation: none;
  }
  .doc-scan .doc-line.tag::after {
    right: 0;
    top: -1.05rem;
  }
  .sample-data-note {
    display: flex;
    align-items: flex-start;
  }
}

@media (max-width: 34rem) {
  .device-frame__bar .label {
    max-width: 14rem;
  }
  .mock-kpi {
    padding: 0.55rem 0.6rem;
  }
  .mock-kpi .kpi-value {
    font-size: var(--fs-md);
  }
  .mock-list-item .meta strong,
  .mock-list-item .meta small {
    white-space: normal;
  }
}
