/* Homepage foundation: a quiet canvas behind bold metrics and readable layers. */
.nx-home .nx-foundation-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 74% 54% at 50% 103%, #dce7ffb3, transparent 85%),
    linear-gradient(180deg, #fff 0%, #fafcff 50%, #f2f7ff 100%);
}

.nx-home .nx-foundation-section > .foundation-wave-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .9;
  pointer-events: none;
}

.nx-home .nx-foundation-section > .wrap {
  position: relative;
  z-index: 1;
}

.nx-home .nx-foundation-section .nx-foundation-stats {
  align-items: start;
  column-gap: 22px;
  margin-bottom: 42px;
}

.nx-home .nx-foundation-section .nx-foundation-stats > div {
  min-width: 0;
}

.nx-home .nx-foundation-section .nx-foundation-stats strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  background: none;
  color: #5067e9;
  font-size: clamp(62px, 5.1vw, 78px);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1.12;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.nx-home .nx-foundation-section .nx-foundation-stats strong > small {
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 0;
  color: #6274ce;
  font-size: .29em;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.nx-home .nx-foundation-section .nx-foundation-stats > div > span {
  margin-top: 13px;
  color: #53627a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .025em;
}

/* Reset the site's general stats-span rule before building each digit reel. */
.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-number,
.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-digit,
.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-reel,
.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-glyph {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1em;
  letter-spacing: inherit;
  text-align: center;
}

.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  height: 1em;
  vertical-align: baseline;
}

.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-digit {
  position: relative;
  display: inline-block;
  flex: 0 0 .62em;
  width: .62em;
  height: 1em;
  overflow: hidden;
  contain: paint;
}

.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-reel {
  display: block;
  width: 100%;
  transform: translateY(0);
}

.nx-home .nx-foundation-section .nx-foundation-stats strong[data-foundation-count-state="rolling"] .foundation-count-reel {
  will-change: transform;
}

.nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-glyph {
  display: block;
  width: 100%;
  height: 1em;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-glyph {
    background: linear-gradient(145deg, #2878f0 5%, #635ce5 65%, #9669e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.nx-home .nx-foundation-section .nx-foundation-stage {
  max-width: 1120px;
  padding-top: 16px;
}

.nx-home .nx-foundation-section .nx-foundation-dots {
  opacity: .12;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture {
  padding: 22px 30px 23px;
  border: 1px solid #cddcf280;
  border-radius: 24px;
  background: #ffffffed;
  box-shadow: 0 24px 70px #4a76b515, 0 4px 14px #527baf06;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div {
  --foundation-row-ink: #2b62b9;
  --foundation-row-accent: #4c89eb;
  --foundation-row-tint: #f0f5ff;
  --foundation-row-edge: #dfeaff;
  display: flex;
  align-items: stretch;
  gap: 22px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid #e9eef6;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(2) {
  --foundation-row-ink: #7251ad;
  --foundation-row-accent: #9870dd;
  --foundation-row-tint: #f5f1fc;
  --foundation-row-edge: #eae1f8;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(3) {
  --foundation-row-ink: #167d77;
  --foundation-row-accent: #3ca99b;
  --foundation-row-tint: #edf9f5;
  --foundation-row-edge: #d9efe7;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(4) {
  --foundation-row-ink: #a37023;
  --foundation-row-accent: #d3a54c;
  --foundation-row-tint: #fcf7eb;
  --foundation-row-edge: #f2e7ca;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > b {
  position: relative;
  display: flex;
  flex: 0 0 100px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding-left: 15px;
  color: var(--foundation-row-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > b::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 23px;
  border-radius: 3px;
  background: var(--foundation-row-accent);
  content: "";
  transform: translateY(-50%);
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > section {
  display: grid;
  flex: 1 1 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(2) > section {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > section > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 13px 9px;
  border: 1px solid var(--foundation-row-edge);
  border-radius: 8px;
  background: var(--foundation-row-tint);
  color: var(--foundation-row-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > aside {
  margin-top: 22px;
  color: #77859a;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .035em;
}

.nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > aside > i {
  padding: 0 12px;
  color: #a8b6ca;
}

@media (max-width: 1000px) {
  .nx-home .nx-foundation-section .nx-foundation-stats strong {
    font-size: 64px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture {
    padding: 18px 24px 22px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div {
    gap: 18px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > b {
    flex-basis: 98px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > section,
  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(2) > section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nx-home .nx-foundation-section > .foundation-wave-canvas {
    opacity: .7;
  }

  .nx-home .nx-foundation-section .nx-foundation-stats {
    gap: 29px 16px;
    margin-bottom: 32px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stats strong {
    font-size: 59px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stats strong > small {
    margin-left: 4px;
    font-size: .285em;
  }

  .nx-home .nx-foundation-section .nx-foundation-stats > div > span {
    margin-top: 8px;
    font-size: 14px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage {
    padding-top: 8px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture {
    padding: 4px 17px 18px;
    border-radius: 19px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div {
    display: block;
    padding: 19px 0;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > b {
    margin-bottom: 13px;
    padding-left: 13px;
    font-size: 16px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > b::before {
    height: 19px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > section,
  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div:nth-child(2) > section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > div > section > span {
    padding: 11px 7px;
    font-size: 14px;
    line-height: 1.6;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > aside {
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 2;
  }

  .nx-home .nx-foundation-section .nx-foundation-stage .nx-architecture > aside > i {
    padding: 0 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-home .nx-foundation-section .foundation-count-reel {
    transition: none;
  }

  .nx-home .nx-foundation-section > .foundation-wave-canvas {
    opacity: .55;
  }
}

@media (forced-colors: active) {
  .nx-home .nx-foundation-section .nx-foundation-stats span.foundation-count-glyph {
    background: none;
    color: CanvasText;
  }

  .nx-home .nx-foundation-section > .foundation-wave-canvas {
    display: none;
  }
}

@media print {
  .nx-home .nx-foundation-section > .foundation-wave-canvas,
  .nx-home .nx-foundation-section .nx-foundation-dots {
    display: none;
  }
}
