:root {
  /* V6 visual system: ink, fog white, cobalt and violet-blue. */
  --ink: #0a0b10;
  --ink-soft: #0a0b10;
  --paper: #ffffff;
  --paper-2: #e7e8f1;
  --white: #ffffff;
  --accent: #1a2ffb;
  --accent-hover: #5364ff;
  --accent-ink: #0a0b10;
  --wine: #111a65; /* legacy variable name, now W3C dark blue */
  --wine-bright: #4b58c6; /* legacy variable name, now W3C brand blue */
  --muted: #a9acb7;
  --plum: #4b58c6; /* legacy variable name, now W3C brand blue */
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(0, 0, 0, 0.16);
  --max: 1220px;
  --radius: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.section {
  padding: 110px 0;
}
.section-sm {
  padding: 72px 0;
}
.paper {
  background: var(--paper);
  color: var(--ink);
}
.paper-2 {
  background: var(--paper-2);
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: inherit;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(26, 47, 251, 0.16);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 {
  font-size: clamp(3.6rem, 8.1vw, 7.8rem);
  max-width: 980px;
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  max-width: 960px;
  margin-bottom: 24px;
}
h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.05;
}

.lede {
  max-width: 760px;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: #ffffff;
}
.paper .lede,
.paper-2 .lede {
  color: #353535;
}
.muted {
  color: var(--muted);
}
.paper .muted,
.paper-2 .muted {
  color: #535667;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(120deg, var(--paper), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  background-size: 180% 180%;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 38px rgba(26, 47, 251, 0.3);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--white);
}
.paper .btn-ghost,
.paper-2 .btn-ghost {
  border-color: rgba(0, 0, 0, 0.25);
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}
.btn span {
  transition: transform 0.22s ease;
}
.btn:hover span {
  transform: translate(2px, -2px);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    var(--paper),
    var(--accent) 55%,
    var(--wine)
  );
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(26, 47, 251, 0.24);
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  transform: rotate(-3deg);
}
.brand-text {
  line-height: 1;
}
.brand-text small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 27px;
}
.nav-links a {
  color: #d9e1e3;
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--white);
}
.mobile-menu {
  display: none;
}
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 96px 0 48px;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 84% 28%,
      rgba(26, 47, 251, 0.22),
      transparent 24%
    ),
    radial-gradient(circle at 68% 88%, rgba(26, 47, 251, 0.3), transparent 34%),
    linear-gradient(135deg, #0a0b10 0%, #11121a 48%, #111a65 112%, #4b58c6 165%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: 8%;
  right: -130px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 38%,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.26) 38%,
    rgba(26, 47, 251, 0.09) 65%,
    transparent 72%
  );
  filter: blur(8px);
  opacity: 0.42;
  animation: moonDrift 13s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--pointer-x, 68%) var(--pointer-y, 36%),
    rgba(26, 47, 251, 0.22),
    transparent 62%
  );
  transition: opacity 0.35s ease;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.7fr);
  gap: 64px;
  align-items: end;
}
.hero h1 .accent-word {
  color: transparent;
  background: linear-gradient(
    110deg,
    var(--paper) 8%,
    var(--accent) 48%,
    var(--plum) 84%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
  background-size: 180% auto;
  animation: textSheen 8s ease-in-out infinite;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 24px;
}
.proof-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9acb7;
  font-size: 0.86rem;
}
.proof-avatars {
  display: flex;
}
.proof-avatars span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-left: -7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.59rem;
  font-weight: 900;
}
.proof-avatars span:first-child {
  margin-left: 0;
}

.hero-system {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.11),
    rgba(26, 47, 251, 0.24)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.system-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.system-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 47, 251, 0.18);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
}
.system-stack {
  display: grid;
  gap: 10px;
  animation: cardBreathe 7s ease-in-out infinite;
}
.hero-system {
  transform-style: preserve-3d;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.hero-system:hover {
  border-color: rgba(26, 47, 251, 0.44);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.44);
}
.system-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #11121a;
}
.system-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #252a60;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.75rem;
}
.system-row strong {
  display: block;
  font-size: 0.88rem;
}
.system-row small {
  color: #a9acb7;
  font-size: 0.72rem;
}
.status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 5px rgba(26, 47, 251, 0.14);
  animation: statusPulse 2.4s ease-in-out infinite;
}
.system-row:nth-child(2) .status {
  animation-delay: 0.25s;
}
.system-row:nth-child(3) .status {
  animation-delay: 0.5s;
}
.system-row:nth-child(4) .status {
  animation-delay: 0.75s;
}
.system-row:nth-child(5) .status {
  animation-delay: 1s;
}
.system-foot {
  margin: 18px 0 0;
  color: #a9acb7;
  font-size: 0.72rem;
}

.logo-strip {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.logo-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(5, 1fr);
  align-items: center;
  min-height: 116px;
}
.logo-label {
  max-width: 190px;
  color: #a9acb7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-item {
  display: grid;
  place-items: center;
  height: 100%;
  border-left: 1px solid var(--line-dark);
  color: #a9acb7;
  font-weight: 900;
  letter-spacing: -0.03em;
  filter: grayscale(1);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head > :last-child {
  max-width: 520px;
  justify-self: end;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.metric {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metric-value {
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.metric strong {
  display: block;
  margin-bottom: 6px;
}
.metric small {
  color: #6b6e7c;
}
.verify-tag {
  display: inline-flex;
  width: max-content;
  margin-top: 16px;
  padding: 5px 8px;
  border: 1px solid #979baa;
  border-radius: 999px;
  color: #676a79;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.service-card {
  position: relative;
  min-height: 410px;
  padding: 38px 38px 32px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}
.service-card:nth-child(2n) {
  border-right: 0;
}
.service-card:hover {
  background: #161c57;
  transform: translateY(-5px);
  border-color: rgba(26, 47, 251, 0.35);
}
.service-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 90px;
  color: #9194a2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
}
.service-card h3 {
  max-width: 430px;
  margin-bottom: 18px;
}
.service-card p {
  max-width: 540px;
  color: #a9acb7;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.87rem;
}
.text-link span {
  transition: transform 0.2s ease;
}
.text-link:hover span {
  transform: translateX(4px);
}

.cases {
  display: grid;
  gap: 18px;
}
.case-card {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  min-height: 410px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f7fc;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(26, 47, 251, 0.13);
}
.case-visual {
  position: relative;
  padding: 30px;
  color: var(--white);
  background: var(--ink-soft);
  overflow: hidden;
}
.case-visual.alt {
  background: linear-gradient(
    145deg,
    #0a0b10 0%,
    #111a65 55%,
    #4b58c6 112%,
    #1a2ffb 165%
  );
  background-size: 170% 170%;
  animation: gradientDrift 12s ease-in-out infinite;
}
.case-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(26, 47, 251, 0.06),
    0 0 0 110px rgba(26, 47, 251, 0.04);
}
.case-kicker {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dadce6;
}
.case-brand {
  position: absolute;
  left: 30px;
  bottom: 28px;
  z-index: 1;
}
.case-brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.case-brand small {
  color: #a9acb7;
}
.case-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
}
.case-body h3 {
  max-width: 620px;
  margin-bottom: 18px;
}
.case-body > div > p {
  max-width: 620px;
  color: #505363;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.case-stat {
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.case-stat strong {
  display: block;
  font-size: 1.08rem;
}
.case-stat small {
  color: #6d7080;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 50px;
}
.principle {
  padding: 26px;
  min-height: 260px;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.principle:hover {
  transform: translateY(-6px);
  background: rgba(26, 47, 251, 0.13);
  border-color: rgba(26, 47, 251, 0.36);
}
.principle span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}
.principle h3 {
  margin: 44px 0 16px;
  font-size: 1.65rem;
}
.principle p {
  color: #b8c4c8;
  font-size: 0.9rem;
}

.compare {
  margin-top: 70px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}
.compare-row > div {
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.82rem;
}
.compare-row > div:last-child {
  border-right: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 47, 251, 0.18),
    rgba(26, 47, 251, 0.1)
  );
}
.compare-row:last-child > div {
  border-bottom: 0;
}
.compare-head > div {
  color: #a9acb7;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-head > div:last-child {
  color: var(--white);
}
.yes {
  color: var(--white);
  font-weight: 900;
}
.partial {
  color: #bfcbd0;
}
.no {
  color: #82969c;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 60px;
}
.process-step {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: #f4f7f8;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(26, 47, 251, 0.12);
}
.step-num {
  display: flex;
  justify-content: space-between;
  color: #6f7282;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.process-step h3 {
  margin: 78px 0 16px;
}
.process-step p {
  color: #5d6e75;
}
.process-step ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.process-step li {
  padding: 9px 0;
  border-top: 1px solid var(--line-light);
  color: #6d7080;
  font-size: 0.78rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 60px;
}
.ecosystem-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.eco-copy {
  padding: 36px;
}
.eco-copy p {
  color: #a9acb7;
}
.eco-map {
  min-height: 540px;
  display: grid;
  place-items: center;
  background: #07080d;
  position: relative;
  overflow: hidden;
}
.orbit {
  position: relative;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  animation: orbitBreathe 8s ease-in-out infinite;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 55px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: ringSpin 26s linear infinite;
}
.orbit::after {
  inset: 120px;
  border-style: solid;
  border-color: rgba(26, 47, 251, 0.38);
  animation-direction: reverse;
  animation-duration: 18s;
}
.orbit-core {
  position: absolute;
  inset: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--paper), var(--accent));
  color: var(--ink);
  font-weight: 950;
  transform: rotate(-4deg);
  box-shadow: 0 22px 55px rgba(26, 47, 251, 0.3);
}
.orbit-node {
  position: absolute;
  padding: 10px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: #15192f;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  animation: nodeFloat 5.5s ease-in-out infinite;
}
.node-2,
.node-5 {
  animation-delay: -1.2s;
}
.node-3,
.node-6 {
  animation-delay: -2.7s;
}
.node-1 {
  top: 4%;
  left: 39%;
}
.node-2 {
  top: 25%;
  right: -2%;
}
.node-3 {
  bottom: 20%;
  right: 5%;
}
.node-4 {
  bottom: 1%;
  left: 35%;
}
.node-5 {
  bottom: 23%;
  left: -5%;
}
.node-6 {
  top: 21%;
  left: -4%;
}
.tnb-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  padding: 36px;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #7b87ff 32%,
    #1a2ffb 62%,
    #111a65 145%
  );
  background-size: 180% 180%;
  animation: gradientDrift 14s ease-in-out infinite;
  color: var(--ink);
}
.tnb-logo {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tnb-card h3 {
  max-width: 490px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}
.tnb-card p {
  max-width: 500px;
  color: #111a65;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 55px;
}
.team-card {
  border: 1px solid var(--line-light);
  border-radius: 16px;
  overflow: hidden;
  background: #f7f7fc;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(26, 47, 251, 0.12);
}

.team-image {
  /* position: relative; */
  height: 320px;
  overflow: hidden;
  background: #d7d9e8;
}

.team-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.team-body {
  padding: 24px;
}
.team-body h3 {
  margin-bottom: 7px;
  font-size: 1.7rem;
}
.team-role {
  margin-bottom: 15px;
  color: #626575;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-body p {
  color: #5c5f6e;
  font-size: 0.88rem;
}
.social-links {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 0.71rem;
  font-weight: 900;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 55px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 25px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.insight-card:hover {
  transform: translateY(-6px);
  background: rgba(26, 47, 251, 0.12);
  border-color: rgba(26, 47, 251, 0.36);
}
.insight-meta {
  display: flex;
  justify-content: space-between;
  color: #a9acb7;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card h3 {
  margin: auto 0 16px;
  font-size: 2rem;
}
.insight-card p {
  color: #c3c5d0;
  font-size: 0.87rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-copy {
  position: sticky;
  top: 110px;
}
.contact-copy h2 {
  font-size: clamp(3rem, 5vw, 5.7rem);
}
.contact-copy p {
  max-width: 470px;
  color: #505363;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #fbfbfe;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #bec0cd;
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-note {
  grid-column: 1/-1;
  color: #6f7282;
  font-size: 0.73rem;
}
.form-status {
  grid-column: 1/-1;
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e4e6f2;
  color: #111a65;
  font-weight: 700;
}

footer {
  border-top: 1px solid var(--line-dark);
  padding: 58px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.footer-title {
  max-width: 650px;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 4.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  color: #a9acb7;
  font-size: 0.84rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #9194a2;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  filter: blur(7px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Original W3C-inspired electric-blue contour accents */
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
}
.hero .container::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 560px;
  height: 700px;
  top: -46px;
  right: -250px;
  pointer-events: none;
  opacity: 0.28;
  border-radius: 46% 54% 50% 50%;
  background: repeating-radial-gradient(
    ellipse at 48% 50%,
    transparent 0 24px,
    rgba(26, 47, 251, 0.42) 25px 26px,
    transparent 27px 51px
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 22%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 22%,
    #000 78%,
    transparent 100%
  );
  transform: rotate(-10deg);
  animation: contourDrift 17s ease-in-out infinite;
}
.tnb-card {
  position: relative;
  overflow: hidden;
}
.tnb-card > * {
  position: relative;
  z-index: 2;
}
.tnb-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 520px;
  height: 520px;
  right: -250px;
  bottom: -250px;
  opacity: 0.22;
  pointer-events: none;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 22px,
    rgba(5, 18, 22, 0.52) 23px 24px,
    transparent 25px 46px
  );
  animation: contourDrift 19s ease-in-out infinite reverse;
}
@keyframes contourDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-10deg) scale(1);
  }
  50% {
    transform: translate3d(-18px, 14px, 0) rotate(-7deg) scale(1.025);
  }
}

@keyframes moonDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-28px, 20px, 0) scale(1.06);
  }
}
@keyframes textSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes cardBreathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes statusPulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.68;
    box-shadow: 0 0 0 4px rgba(26, 47, 251, 0.1);
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(26, 47, 251, 0.02);
  }
}
@keyframes gradientDrift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes orbitBreathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}
@keyframes nodeFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@media (max-width: 1240px) {
  .hero .container::after {
    right: -330px;
    opacity: 0.22;
  }
}

@media (max-width: 1020px) {
  .nav-links,
  .nav .btn {
    display: none;
  }
  .mobile-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .mobile-menu {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 22px max(20px, calc((100vw - var(--max)) / 2));
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
  }
  .mobile-menu.open {
    display: grid;
  }
  .mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-weight: 800;
  }
  .mobile-menu .btn {
    margin-top: 18px;
  }
  .hero-grid,
  .section-head,
  .ecosystem-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-system {
    max-width: 620px;
  }
  .section-head > :last-child {
    justify-self: start;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .principles,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare {
    overflow-x: auto;
  }
  .compare-row {
    min-width: 900px;
  }
  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero .container::after {
    width: 390px;
    height: 480px;
    right: -285px;
    top: 80px;
    opacity: 0.16;
  }
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 82px 0;
  }
  .section-sm {
    padding: 52px 0;
  }
  h1 {
    font-size: clamp(3.15rem, 15vw, 5.3rem);
  }
  h2 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }
  .hero {
    padding-top: 70px;
  }
  .hero-grid {
    gap: 44px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-label {
    grid-column: 1/-1;
    max-width: none;
    padding: 24px 0;
  }
  .logo-item {
    min-height: 70px;
    border-top: 1px solid var(--line-dark);
  }
  .logo-item:nth-child(2n) {
    border-left: 0;
  }
  .metric-grid,
  .services-grid,
  .principles,
  .process-grid,
  .team-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 350px;
    border-right: 0;
  }
  .service-number {
    margin-bottom: 65px;
  }
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-visual {
    min-height: 260px;
  }
  .case-stats {
    grid-template-columns: 1fr;
  }
  .orbit {
    width: 310px;
    height: 310px;
  }
  .eco-map {
    min-height: 450px;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-top,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
  .footer-top .btn {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* V6: Lusion-inspired editorial shell, adapted to W3C */
:root {
  --ink: #0a0b10;
  --ink-soft: #14151b;
  --paper: #f0f1fa;
  --paper-2: #e4e6f1;
  --white: #ffffff;
  --accent: #1a2ffb;
  --accent-hover: #5364ff;
  --accent-ink: #ffffff;
  --wine: #111a65;
  --wine-bright: #4b58c6;
  --plum: #727cff;
  --muted: #a9acb7;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(10, 11, 16, 0.16);
  --radius: 16px;
}

body {
  background: var(--ink);
}
h1,
h2,
h3,
.metric-value,
.case-brand strong,
.footer-title {
  font-family: Arial, Helvetica, ui-sans-serif, sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}
h1 {
  line-height: 0.9;
}
h2 {
  line-height: 0.94;
}
.paper,
.lusion-hero {
  background: var(--paper);
  color: var(--ink);
}
.paper-2 {
  background: var(--paper-2);
  color: var(--ink);
}
.paper .lede,
.paper-2 .lede,
.lusion-hero .lede {
  color: #41434f;
}
.eyebrow::before {
  background: var(--accent);
  box-shadow: none;
  border-radius: 0;
  width: 11px;
  height: 2px;
}

.nav-wrap {
  background: rgba(240, 241, 250, 0.88);
  border-bottom-color: rgba(10, 11, 16, 0.14);
  color: var(--ink);
}
.nav {
  min-height: 80px;
}
.brand {
  gap: 11px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(10, 11, 16, 0.12);
}
.brand-text small {
  color: #656875;
}
.nav-links a {
  color: #3f414b;
}
.nav-links a:hover {
  color: var(--accent);
}
.mobile-toggle {
  color: var(--ink);
  border-color: rgba(10, 11, 16, 0.22);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 38px rgba(26, 47, 251, 0.22);
}
.lusion-hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(10, 11, 16, 0.26);
}
.lusion-hero .btn-ghost:hover {
  border-color: var(--ink);
}
.btn-dark {
  background: var(--ink);
}

.lusion-hero {
  min-height: calc(100vh - 80px);
  padding: 36px 0 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 87% 12%,
      rgba(26, 47, 251, 0.075),
      transparent 24%
    ),
    var(--paper);
}
.lusion-hero::before,
.lusion-hero::after,
.lusion-hero .container::after,
.hero-glow {
  display: none;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: 24px;
  min-height: calc(100vh - 154px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 28px 14px 26px 0;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.hero-meta .eyebrow {
  margin-bottom: 0;
}
.hero-index {
  color: #6c6f7b;
  font:
    700 0.67rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
}
.lusion-hero h1 {
  max-width: 840px;
  margin: auto 0;
  font-size: clamp(4.6rem, 7.3vw, 8.7rem);
}
.lusion-hero h1 .accent-word {
  display: block;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-style: normal;
  animation: none;
}
.hero-copy-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(290px, 1fr);
  gap: 38px;
  align-items: end;
}
.lusion-hero .lede {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  line-height: 1.48;
}
.hero-actions {
  margin: 0 0 18px;
}
.proof-line {
  color: #646773;
}
.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(26, 47, 251, 0.1);
  flex: 0 0 auto;
}

.network-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 15px;
  color: white;
  background:
    radial-gradient(
      circle at 72% 32%,
      rgba(26, 47, 251, 0.25),
      transparent 26%
    ),
    radial-gradient(
      circle at 23% 73%,
      rgba(83, 100, 255, 0.14),
      transparent 30%
    ),
    #090a0f;
  box-shadow: 0 24px 80px rgba(10, 11, 16, 0.16);
  cursor: crosshair;
}
.network-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.stage-top {
  position: absolute;
  z-index: 3;
  top: 23px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font:
    700 0.66rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
}
.stage-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stage-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d88ff;
  animation: stagePulse 1.8s ease-in-out infinite;
}
.stage-center-copy {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 11%;
  pointer-events: none;
}
.stage-center-copy strong {
  display: block;
  font-size: clamp(2.3rem, 4.4vw, 5.2rem);
  line-height: 0.85;
  letter-spacing: -0.075em;
  opacity: 0.92;
}
.stage-center-copy small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font:
    600 0.68rem/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stage-legend {
  position: absolute;
  z-index: 3;
  left: 25px;
  right: 25px;
  bottom: 24px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stage-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stage-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  overflow: hidden;
  white-space: nowrap;
  color: #777a86;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.hero-rail strong {
  color: var(--accent);
}

.logo-strip {
  background: var(--ink);
}
.service-card:hover {
  background: #121633;
  border-color: rgba(83, 100, 255, 0.55);
}
.text-link {
  color: #6875ff;
}
.case-card:hover,
.team-card:hover {
  box-shadow: 0 28px 70px rgba(26, 47, 251, 0.12);
}
.case-visual.alt {
  background: linear-gradient(145deg, #0a0b10 0%, #111a65 58%, #1a2ffb 140%);
}
.orbit-core {
  background: var(--accent);
  color: white;
  box-shadow: 0 22px 55px rgba(26, 47, 251, 0.28);
}
.tnb-card {
  background: linear-gradient(
    145deg,
    #f0f1fa 0%,
    #aeb5ff 38%,
    #5364ff 72%,
    #1a2ffb 125%
  );
  color: var(--ink);
}
.tnb-card p {
  color: #111a65;
}
.insight-card:hover {
  background: rgba(26, 47, 251, 0.12);
  border-color: rgba(83, 100, 255, 0.5);
}
.form-status {
  color: #111a65;
}
footer .btn-primary {
  background: white;
  color: var(--ink);
}
footer .btn-primary:hover {
  background: #d9dcff;
}

@keyframes stagePulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@media (max-width: 1120px) {
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    min-height: 670px;
    padding-right: 0;
  }
  .network-stage {
    min-height: 650px;
  }
}
@media (max-width: 1020px) {
  .mobile-menu {
    background: rgba(240, 241, 250, 0.98);
    border-bottom-color: rgba(10, 11, 16, 0.16);
    color: var(--ink);
  }
  .mobile-menu a {
    border-bottom-color: rgba(10, 11, 16, 0.14);
  }
  .mobile-menu .btn {
    color: white;
  }
}
@media (max-width: 760px) {
  .lusion-hero {
    padding-top: 22px;
  }
  .hero-copy {
    min-height: auto;
    padding: 16px 0 34px;
  }
  .lusion-hero h1 {
    margin: 46px 0 34px;
    font-size: clamp(3.55rem, 15.8vw, 5rem);
  }
  .hero-copy-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-actions {
    margin-bottom: 12px;
  }
  .proof-line {
    display: none;
  }
  .network-stage {
    min-height: 500px;
    border-radius: 12px;
  }
  .stage-center-copy {
    bottom: 15%;
  }
  .stage-legend {
    justify-content: flex-start;
    max-width: 280px;
  }
  .hero-rail {
    justify-content: flex-start;
    gap: 18px;
  }
  .hero-rail span:nth-of-type(n + 6),
  .hero-rail strong {
    display: none;
  }
  .brand-text {
    display: none;
  }
}

/* Production contact form helpers */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-success {
  background: #e7e9ff;
  color: #111a65;
  border: 1px solid rgba(26, 47, 251, 0.22);
}
.form-status.is-error {
  background: #fff0f0;
  color: #8e1b1b;
  border: 1px solid rgba(142, 27, 27, 0.2);
}
.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* V6.01: signal-system visuals + mesh, keeping the V6 cobalt identity */
:root {
  --mesh-line-dark: rgba(255, 255, 255, 0.055);
  --mesh-line-light: rgba(10, 11, 16, 0.055);
  --signal-blue: #2940ff;
  --signal-pale: #9ca8ff;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--mesh-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
}

h1,
h2,
h3,
.metric-value,
.case-brand strong,
.footer-title {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  font-weight: 500;
  letter-spacing: -0.06em;
}

/* Floating glass navigation inspired by modern operator sites, but W3C-specific. */
.nav-wrap {
  top: 14px;
  width: min(calc(100% - 32px), 1220px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 11, 16, 0.76);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}
.nav {
  min-height: 66px;
}
.nav-links a,
.brand-text small {
  color: rgba(255, 255, 255, 0.62);
}
.nav-links a:hover {
  color: #fff;
}
.mobile-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.brand-logo {
  box-shadow: none;
}
.nav-wrap .btn-primary {
  background: rgba(26, 47, 251, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Darker V6 landing with a mesh that merges with the network animation. */
.lusion-hero {
  margin-top: -80px;
  padding-top: 126px;
  color: #fff;
  background-color: #0a0b10;
  background-image:
    radial-gradient(circle at 77% 26%, rgba(26, 47, 251, 0.2), transparent 28%),
    radial-gradient(
      circle at 38% 75%,
      rgba(83, 100, 255, 0.08),
      transparent 35%
    ),
    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:
    auto,
    auto,
    56px 56px,
    56px 56px;
}
.lusion-hero .lede {
  color: rgba(255, 255, 255, 0.66);
}
.lusion-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.lusion-hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.lusion-hero h1 {
  color: #fff;
}
.lusion-hero h1 .accent-word {
  color: #a8b0ff;
  text-shadow: 0 0 46px rgba(26, 47, 251, 0.22);
}
.hero-index,
.proof-line {
  color: rgba(255, 255, 255, 0.5);
}
.hero-rail {
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-rail strong {
  color: #a8b0ff;
}
.network-stage {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(
      circle at 72% 32%,
      rgba(26, 47, 251, 0.28),
      transparent 26%
    ),
    radial-gradient(
      circle at 23% 73%,
      rgba(83, 100, 255, 0.12),
      transparent 30%
    ),
    rgba(5, 6, 11, 0.78);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.mesh-light {
  color: var(--ink);
  background-color: #f7f8fc;
  background-image:
    linear-gradient(rgba(10, 11, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 11, 16, 0.055) 1px, transparent 1px),
    radial-gradient(
      circle at 80% 20%,
      rgba(26, 47, 251, 0.065),
      transparent 25%
    );
  background-size:
    56px 56px,
    56px 56px,
    auto;
}
.mesh-light .lede {
  color: #51545d;
}

/* Interactive service systems */
.service-systems {
  padding-bottom: 128px;
}
.service-console {
  border: 1px solid rgba(10, 11, 16, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 95px rgba(22, 31, 70, 0.08);
  overflow: hidden;
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid rgba(10, 11, 16, 0.16);
  background: rgba(255, 255, 255, 0.82);
}
.service-tab {
  position: relative;
  min-height: 84px;
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid rgba(10, 11, 16, 0.13);
  background: transparent;
  color: #6a6d77;
  font-weight: 600;
  line-height: 1.2;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.service-tab:last-child {
  border-right: 0;
}
.service-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
}
.service-tab:hover {
  background: rgba(26, 47, 251, 0.035);
  color: var(--ink);
}
.service-tab.is-active {
  color: var(--ink);
  background: #fff;
}
.service-tab.is-active::before {
  background: var(--accent);
}
.service-tab:focus-visible {
  outline-offset: -4px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
  min-height: 650px;
}
.service-panel[hidden] {
  display: none !important;
}
.service-panel-copy {
  padding: 58px 48px 48px;
  border-right: 1px solid rgba(10, 11, 16, 0.13);
  background: rgba(255, 255, 255, 0.84);
}
.console-label {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(10, 11, 16, 0.2);
  color: #656872;
  font:
    700 0.69rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.11em;
}
.service-count {
  margin: 28px 0 8px;
  color: var(--accent);
  font:
    700 0.72rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
}
.service-panel-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4vw, 4.4rem);
}
.service-panel-copy > p:not(.service-count) {
  max-width: 590px;
  color: #646772;
  font-size: 1.08rem;
}
.system-steps {
  list-style: none;
  margin: 36px 0 32px;
  padding: 0;
}
.system-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 61px;
  padding: 9px 0;
}
.system-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 45px;
  height: 33px;
  border-left: 1px solid rgba(26, 47, 251, 0.27);
}
.system-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(10, 11, 16, 0.15);
  border-radius: 50%;
  background: #fff;
  font-size: 0.72rem;
  box-shadow: 0 7px 18px rgba(10, 11, 16, 0.08);
}
.system-steps strong {
  display: block;
  font-size: 0.9rem;
}
.system-steps small {
  display: block;
  color: #777a83;
  font-size: 0.76rem;
}

.system-diagram {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background-color: #fbfbfd;
  background-image:
    linear-gradient(rgba(10, 11, 16, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 11, 16, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.diagram-lines path {
  fill: none;
  stroke: rgba(26, 47, 251, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
  animation: dashFlow 7s linear infinite;
}
.diagram-source,
.diagram-output {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 116px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(10, 11, 16, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #444751;
  font:
    700 0.64rem/1.2 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.07em;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 11, 16, 0.05);
}
.diagram-source::after,
.diagram-output::before {
  content: "";
  position: absolute;
  z-index: 5;
  width: 6px;
  height: 6px;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(26, 47, 251, 0.08);
  pointer-events: none;
}
/* JS writes --port-x / --port-y on each node from the exact SVG endpoint. */
.diagram-source::after {
  left: var(--port-x, calc(100% + 1px));
  top: var(--port-y, 50%);
}
.diagram-output::before {
  left: var(--port-x, -1px);
  top: var(--port-y, 50%);
}
.source-a {
  left: 7%;
  top: 14%;
}
.source-b {
  left: 7%;
  top: 34%;
}
.source-c {
  left: 7%;
  top: 56%;
}
.source-d {
  left: 7%;
  top: 76%;
}
.output-a {
  right: 5%;
  top: 19%;
}
.output-b {
  right: 5%;
  top: 45%;
}
.output-c {
  right: 5%;
  top: 70%;
}
.diagram-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: center;
  box-shadow:
    0 0 0 7px rgba(26, 47, 251, 0.06),
    0 24px 50px rgba(26, 47, 251, 0.12);
}
.diagram-core::before,
.diagram-core::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(26, 47, 251, 0.4);
  pointer-events: none;
}
.diagram-core::after {
  inset: 14px;
  border-color: rgba(26, 47, 251, 0.18);
}
.diagram-core i {
  width: 10px;
  height: 10px;
  margin-bottom: -20px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(26, 47, 251, 0.5);
  animation: corePulse 2.1s ease-in-out infinite;
}
.diagram-core strong {
  position: relative;
  z-index: 2;
  font-size: 0.88rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.diagram-core small {
  position: relative;
  z-index: 2;
  color: #777a83;
  font:
    700 0.55rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

/* Dark engagement strategy console */
.strategy-system {
  color: #fff;
  background-color: #0a0b10;
  background-image:
    radial-gradient(
      circle at 52% 45%,
      rgba(26, 47, 251, 0.16),
      transparent 28%
    ),
    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:
    auto,
    56px 56px,
    56px 56px;
}
.strategy-system .lede {
  color: rgba(255, 255, 255, 0.6);
}
.strategy-console {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 560px;
  padding: 70px 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.56);
  overflow: hidden;
}
.strategy-column,
.strategy-core {
  position: relative;
  z-index: 3;
}
.console-head {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.48);
  font:
    700 0.68rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
}
.strategy-column article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 100px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}
.strategy-column article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(156, 168, 255, 0.7);
  border-radius: 50%;
  color: #aab3ff;
  font-size: 0.73rem;
}
.strategy-column strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}
.strategy-column small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  line-height: 1.45;
}
.strategy-core {
  min-height: 365px;
  padding: 24px;
  border: 1px solid rgba(83, 100, 255, 0.85);
  background: linear-gradient(
    180deg,
    rgba(26, 47, 251, 0.13),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: 0 0 70px rgba(26, 47, 251, 0.18);
}
.strategy-core::before,
.strategy-core::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(83, 100, 255, 0.3);
  pointer-events: none;
}
.strategy-core::after {
  inset: 14px;
  border-color: rgba(83, 100, 255, 0.12);
}
.core-signal {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font:
    700 0.64rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.1em;
}
.core-logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 105px;
  margin: 20px -10px 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  color: #aab3ff;
  font-size: 2.25rem;
  font-weight: 700;
  text-shadow: 0 0 28px rgba(26, 47, 251, 0.55);
}
.core-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font:
    600 0.72rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.core-row span:last-child {
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
}
.core-row strong {
  color: #6e7cff;
}
.core-row-accent {
  margin: 0 -24px -24px;
  padding: 0 24px;
  background: linear-gradient(
    90deg,
    rgba(26, 47, 251, 0.2),
    rgba(83, 100, 255, 0.1)
  );
  border-bottom: 0;
  color: #fff;
}
.strategy-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.strategy-lines path {
  fill: none;
  stroke: rgba(83, 100, 255, 0.54);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
  animation: dashFlow 8s linear infinite reverse;
}
.process-grid-compact {
  margin-top: 22px;
}
.strategy-system .process-step {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
.strategy-system .process-step:hover {
  background: rgba(26, 47, 251, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}
.strategy-system .process-step p,
.strategy-system .process-step li {
  color: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.1);
}
.strategy-system .step-num {
  color: rgba(255, 255, 255, 0.55);
}
.strategy-system .step-num span:first-child {
  color: #aab3ff;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -44;
  }
}
@keyframes corePulse {
  0%,
  100% {
    transform: scale(0.75);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .service-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-tab:nth-child(3) {
    border-right: 0;
  }
  .service-panel {
    grid-template-columns: 1fr;
  }
  .service-panel-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 11, 16, 0.13);
  }
  .system-diagram {
    min-height: 570px;
  }
  .strategy-console {
    gap: 32px;
    padding-inline: 34px;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 14px;
  }
  .lusion-hero {
    margin-top: -74px;
    padding-top: 108px;
  }
  .service-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .service-tab {
    flex: 0 0 185px;
    min-height: 70px;
    scroll-snap-align: start;
  }
  .service-panel-copy {
    padding: 38px 24px 30px;
  }
  .service-panel-copy h3 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }
  .system-diagram {
    min-height: 470px;
  }
  .diagram-source,
  .diagram-output {
    min-width: 86px;
    min-height: 38px;
    padding: 6px;
    font-size: 0.52rem;
  }
  .source-a,
  .source-b,
  .source-c,
  .source-d {
    left: 3%;
  }
  .output-a,
  .output-b,
  .output-c {
    right: 3%;
  }
  .diagram-core {
    width: 112px;
    height: 112px;
  }
  .strategy-console {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 20px;
    gap: 18px;
  }
  .strategy-lines {
    display: none;
  }
  .strategy-core {
    order: 2;
    min-height: 330px;
  }
  .strategy-inputs {
    order: 1;
  }
  .strategy-outputs {
    order: 3;
  }
}

@media (max-width: 1020px) {
  .mobile-menu {
    background: rgba(10, 11, 16, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .mobile-menu a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .mobile-menu .btn {
    color: #fff;
  }
}

/* =========================================================
   V6.01 QA FIX PASS — responsive hero, exact service routes,
   and opaque information surfaces over the mesh background.
   ========================================================= */

section[id] {
  scroll-margin-top: 112px;
}

/* 1) Hero: prevent viewport-height clipping and column overlap. */
.lusion-hero {
  min-height: auto;
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 28px;
}
.hero-shell {
  min-height: 0;
  align-items: stretch;
}
.hero-copy {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 0;
  container-type: inline-size;
}
.lusion-hero h1 {
  align-self: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(4.05rem, min(6.35vw, 10.4vh), 8.1rem);
  line-height: 0.88;
  text-wrap: pretty;
}
.lusion-hero h1 .accent-word {
  max-width: 100%;
}
.network-stage {
  min-height: clamp(480px, calc(100svh - 235px), 650px);
}
.stage-center-copy {
  max-width: 82%;
}
.stage-center-copy strong {
  font-size: clamp(2.2rem, min(4.1vw, 7.2vh), 4.8rem);
}

/* 2) Service flow: align numbered sequence and preserve hierarchy. */
.service-console,
.service-tabs,
.service-panel-copy {
  background: #ffffff;
}
.system-steps {
  display: grid;
  gap: 0;
}
.system-steps li {
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  min-height: 68px;
  padding: 8px 0;
}
.system-steps li > span {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}
.system-steps strong {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  line-height: 1.2;
}
.system-steps small {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  line-height: 1.35;
}
.system-steps li:not(:last-child)::after {
  left: 18.5px;
  top: calc(50% + 19px);
  height: 30px;
  border-left: 1px solid rgba(26, 47, 251, 0.32);
}

/* Service visuals remain diagrammatic, but all text nodes are plain surfaces. */
.system-diagram {
  min-width: 0;
  background-color: #f8f9fc;
}
.diagram-source,
.diagram-output,
.diagram-core {
  background: #ffffff;
}
.diagram-source,
.diagram-output {
  max-width: 160px;
  line-height: 1.35;
}
.diagram-lines path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 3) Mesh readability: every information-bearing floating surface is opaque. */
.principle,
.insight-card,
.strategy-system .process-step,
.strategy-column article {
  background: #111218;
}
.principle:hover,
.insight-card:hover,
.strategy-system .process-step:hover,
.strategy-column article:hover {
  background: #151826;
}
.compare {
  background: #0f1016;
}
.compare-row > div {
  background: #0f1016;
}
.compare-row > div:last-child {
  background: #11183a;
}
.strategy-console {
  background: #08090d;
}
.strategy-core {
  background: #0d1020;
}

/* Keep text crisp against opaque dark blocks. */
.principle p,
.insight-card p,
.strategy-system .process-step p,
.strategy-system .process-step li,
.strategy-column small {
  color: rgba(255, 255, 255, 0.64);
}

/* Tables should scroll rather than crush on narrower screens. */
.compare {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.compare-row {
  min-width: 900px;
}

/* Medium desktop/laptop heights: fit the entire landing composition cleanly. */
@media (min-width: 1121px) and (max-height: 940px) {
  .lusion-hero {
    padding-top: 118px;
  }
  .hero-shell {
    gap: 28px;
  }
  .hero-copy {
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 18px;
  }
  .lusion-hero h1 {
    font-size: clamp(4rem, min(5.85vw, 9.35vh), 6.9rem);
    line-height: 0.87;
  }
  .hero-copy-bottom {
    gap: 28px;
  }
  .lusion-hero .lede {
    font-size: 1rem;
  }
  .network-stage {
    min-height: clamp(500px, calc(100svh - 230px), 610px);
  }
  .stage-center-copy {
    bottom: 12%;
  }
  .stage-center-copy strong {
    font-size: clamp(2.15rem, min(3.7vw, 6.5vh), 4rem);
  }
}

@media (max-width: 1120px) {
  .hero-shell {
    gap: 34px;
  }
  .hero-copy {
    min-height: 0;
    grid-template-rows: auto auto auto;
    gap: 30px;
    padding-bottom: 0;
  }
  .lusion-hero h1 {
    font-size: clamp(4.2rem, 10vw, 7.2rem);
    max-width: 900px;
  }
  .network-stage {
    min-height: clamp(520px, 70vw, 650px);
  }
  .service-panel {
    min-height: auto;
  }
  .service-panel-copy {
    padding-bottom: 42px;
  }
}

@media (max-width: 760px) {
  .lusion-hero {
    padding-bottom: 22px;
  }
  .hero-copy {
    gap: 22px;
  }
  .lusion-hero h1 {
    margin: 24px 0 8px;
    font-size: clamp(3.25rem, 15vw, 4.85rem);
    line-height: 0.9;
  }
  .hero-meta {
    gap: 12px;
  }
  .hero-index {
    display: none;
  }
  .hero-actions {
    align-items: stretch;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .network-stage {
    min-height: clamp(430px, 122vw, 520px);
  }
  .stage-top {
    top: 18px;
    left: 18px;
    right: 18px;
  }
  .stage-center-copy {
    left: 6%;
    bottom: 16%;
    max-width: 88%;
  }
  .stage-center-copy strong {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }
  .stage-legend {
    left: 18px;
    right: 18px;
    bottom: 17px;
    gap: 9px 13px;
  }

  .system-steps li {
    min-height: 64px;
  }
  .system-steps li:not(:last-child)::after {
    height: 26px;
  }
  .compare {
    border-radius: 14px;
  }
}

/* Mobile service diagram becomes a vertical network instead of a squeezed desktop hub. */
@media (max-width: 560px) {
  .system-diagram {
    min-height: 610px;
  }
  .diagram-source,
  .diagram-output {
    min-width: 0;
    width: 29%;
    max-width: 112px;
    min-height: 42px;
    padding: 6px 5px;
    font-size: 0.48rem;
  }
  .source-a {
    left: 5%;
    top: 7%;
  }
  .source-b {
    left: auto;
    right: 5%;
    top: 7%;
  }
  .source-c {
    left: 5%;
    top: 23%;
  }
  .source-d {
    left: auto;
    right: 5%;
    top: 23%;
  }
  .diagram-core {
    left: 50%;
    top: 51%;
    width: 124px;
    height: 124px;
  }
  .output-a {
    left: 3%;
    right: auto;
    top: auto;
    bottom: 8%;
  }
  .output-b {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 8%;
    transform: translateX(-50%);
  }
  .output-c {
    left: auto;
    right: 3%;
    top: auto;
    bottom: 8%;
  }
}

/* V6.01 — case-study logo slots */
.case-logo-slot {
  position: absolute;
  z-index: 2;
  top: 66px;
  left: 30px;
  width: min(220px, calc(100% - 60px));
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.case-logo-slot img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}
/* When a real logo replaces the placeholder SVG, transparent PNG/SVG assets sit cleanly on the dark visual. */
.case-logo-slot img:not([src*="logo-placeholder"]) {
  width: auto;
  max-width: 210px;
  max-height: 72px;
  filter: none;
}
@media (max-width: 720px) {
  .case-logo-slot {
    top: 62px;
    left: 24px;
    width: min(200px, calc(100% - 48px));
  }
  .case-logo-slot img {
    max-width: 200px;
    height: 76px;
  }
}

/* V6.02 — supplied 3D mesh replaces only the landing-page network visual. */
.network-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
  background: repeating-linear-gradient(
    180deg,
    rgba(120, 160, 255, 0.035) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%);
  mask: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%);
}

#network-canvas {
  display: block;
}

.stage-top {
  z-index: 5;
}

.mesh-label {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  color: #dfe5ff;
  font:
    600 0.68rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.14em;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 12px rgba(43, 82, 255, 0.6);
}

.mesh-label-hub {
  color: #fff;
  font-size: 0.72rem;
}

.mesh-corner {
  position: absolute;
  z-index: 4;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 1px solid rgba(120, 160, 255, 0.55);
}

.mesh-corner-tl {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.mesh-corner-tr {
  top: 8px;
  right: 8px;
  border-left: 0;
  border-bottom: 0;
}

.mesh-corner-bl {
  bottom: 8px;
  left: 8px;
  border-right: 0;
  border-top: 0;
}

.mesh-corner-br {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

.mesh-hud-tag,
.mesh-clock {
  position: absolute;
  z-index: 4;
  color: rgba(159, 183, 255, 0.7);
  font:
    600 0.56rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.mesh-hud-tag {
  top: 50px;
  left: 25px;
}

.mesh-clock {
  right: 25px;
  bottom: 15px;
}

@media (max-width: 760px) {
  .mesh-label {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .mesh-label-hub {
    font-size: 0.62rem;
  }

  .mesh-hud-tag,
  .mesh-clock {
    display: none;
  }
}
