html {
  background: #030b14;
}

body {
  position: relative;
  isolation: isolate;
  background: #030b14 !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 9, 17, .18), rgba(2, 9, 17, .04)),
    url("./background.webp") center right / cover no-repeat;
}

.site-shell {
  backdrop-filter: none;
}

.section {
  --nx-section-light: 8, 152, 174;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(var(--nx-section-light), .13), transparent 58%),
    linear-gradient(100deg, rgba(3, 11, 20, .25), rgba(3, 11, 20, .02));
  border-radius: var(--radius, 22px);
}

.section[id="shield"],
.section[id="legal"] {
  --nx-section-light: 32, 170, 149;
}

.section[id="voice"],
.section[id="live-demo"] {
  --nx-section-light: 40, 175, 214;
}

.section[id="automate"],
.section[id="how-it-works"] {
  --nx-section-light: 101, 124, 214;
}

.section[id="resources"],
.section[id="documentation"],
.section[id="case-studies"] {
  --nx-section-light: 106, 144, 183;
}

.section .card {
  background: linear-gradient(115deg, rgba(6, 17, 29, .88), rgba(6, 17, 29, .62));
  border-color: rgba(159, 199, 219, .18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(3px);
}

.section > .card {
  background: linear-gradient(105deg, rgba(5, 15, 27, .82) 12%, rgba(5, 15, 27, .20));
  backdrop-filter: none;
}

.section .nx3d-card,
.section .nx-price-card,
.section .nx-case-card,
.section .nx-flow-step,
.section .nx-industry-card {
  background: linear-gradient(125deg, rgba(11, 27, 42, .86), rgba(11, 27, 42, .66));
  border-color: rgba(159, 199, 219, .18);
  backdrop-filter: blur(3px);
}

.brand-mark {
  --nx-logo-size: 58px;
  position: relative;
  width: var(--nx-logo-size);
  height: var(--nx-logo-size);
  flex: 0 0 var(--nx-logo-size);
  background: #242a2d;
  border-color: rgba(91, 174, 187, .30);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .20);
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--nx-logo-size) * 3.4);
  height: calc(var(--nx-logo-size) * 3.4);
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -40%);
}

@media (max-width: 768px) {
  body::before {
    background-image:
      linear-gradient(90deg, rgba(2, 9, 17, .32), rgba(2, 9, 17, .10)),
      url("./background-mobile.webp");
    background-position: center, 76% center;
  }

  .brand-mark {
    --nx-logo-size: 50px;
  }

  .section .card {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .section .card,
  .section > .card {
    background: #081521;
  }
}
