.nvr-kx-home {
  width: 100%;
}

.nvr-kx-home h1,
.nvr-kx-home h2,
.nvr-kx-home p {
  margin-top: 0;
}

.nvr-kx-hero {
  min-height: 42rem;
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(24rem,.95fr);
  align-items: center;
  gap: 5rem;
}

.nvr-kx-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.6rem;
  color: rgba(255,255,255,.45);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.nvr-kx-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--nvr-green);
  box-shadow: 0 0 14px rgba(34,229,139,.7);
}

.nvr-kx-hero h1 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: clamp(2.8rem,5vw,5.3rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.nvr-kx-hero h1 span {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--nvr-blue),
    var(--nvr-cyan),
    #9b65ff
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.nvr-kx-lead {
  max-width: 42rem;
  color: rgba(255,255,255,.58);
  font-size: 1rem;
  line-height: 1.85;
}

.nvr-kx-actions {
  margin-top: 2rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.nvr-kx-button {
  min-height: 2.9rem;
  padding: 0 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.025);
  font-size: .72rem;
  font-weight: 650;
  text-decoration: none !important;
}

.nvr-kx-button:hover {
  border-color: rgba(32,230,255,.35);
  color: white !important;
}

.nvr-kx-button--primary {
  border-color: rgba(35,130,255,.45);
  background: linear-gradient(
    135deg,
    rgba(35,130,255,.28),
    rgba(32,230,255,.10)
  );
  box-shadow: 0 16px 40px rgba(35,130,255,.12);
}

.nvr-kx-principles {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.nvr-kx-principles div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.nvr-kx-principles strong,
.nvr-kx-principles span {
  display: block;
}

.nvr-kx-principles strong {
  color: white;
  font-size: .72rem;
}

.nvr-kx-principles span {
  margin-top: .3rem;
  color: rgba(255,255,255,.32);
  font-size: .61rem;
}

.nvr-kx-brain {
  position: relative;
  overflow: hidden;
  min-height: 36rem;
  padding: 1.4rem;
  border: 1px solid rgba(87,139,255,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 30%,rgba(35,130,255,.13),transparent 17rem),
    linear-gradient(160deg,rgba(7,18,35,.95),rgba(3,9,20,.98));
  box-shadow:
    0 35px 90px rgba(0,0,0,.42),
    inset 0 1px rgba(255,255,255,.035);
}

.nvr-kx-brain::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.nvr-kx-brain__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvr-kx-brain__header > div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nvr-kx-brain__label {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32,230,255,.3);
  border-radius: 9px;
  color: var(--nvr-cyan);
  font-size: .62rem;
  font-weight: 800;
}

.nvr-kx-brain__header strong {
  color: rgba(255,255,255,.75);
  font-size: .7rem;
}

.nvr-kx-live {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--nvr-green);
  font-size: .56rem;
  letter-spacing: .12em;
}

.nvr-kx-live i {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--nvr-green);
  box-shadow: 0 0 12px rgba(34,229,139,.7);
  animation: nvr-kx-pulse 1.6s infinite;
}

.nvr-kx-core {
  position: relative;
  height: 20rem;
  display: grid;
  place-items: center;
}

.nvr-kx-core__node {
  position: relative;
  z-index: 4;
  width: 8.5rem;
  height: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(32,230,255,.32);
  border-radius: 50%;
  background:
    radial-gradient(circle,rgba(35,130,255,.28),rgba(5,14,29,.95) 65%);
  box-shadow:
    0 0 35px rgba(35,130,255,.18),
    inset 0 0 30px rgba(32,230,255,.08);
}

.nvr-kx-core__node span {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.nvr-kx-core__node small {
  margin-top: .3rem;
  color: rgba(255,255,255,.36);
  font-size: .5rem;
}

.nvr-kx-core__orbit {
  position: absolute;
  border: 1px solid rgba(77,139,255,.16);
  border-radius: 50%;
}

.orbit-one {
  width: 12rem;
  height: 12rem;
  animation: nvr-kx-spin 18s linear infinite;
}

.orbit-two {
  width: 17rem;
  height: 17rem;
  border-style: dashed;
  animation: nvr-kx-spin 28s linear infinite reverse;
}

.orbit-three {
  width: 21rem;
  height: 9rem;
  transform: rotate(-18deg);
}

.nvr-kx-packet {
  position: absolute;
  z-index: 5;
  padding: .4rem .65rem;
  border: 1px solid rgba(32,230,255,.15);
  border-radius: 7px;
  background: rgba(4,13,28,.9);
  color: rgba(255,255,255,.55);
  font-size: .52rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
}

.packet-one { top: 2.5rem; left: 12%; }
.packet-two { top: 5rem; right: 6%; }
.packet-three { bottom: 3rem; left: 4%; }
.packet-four { bottom: 1.5rem; right: 18%; }

@keyframes nvr-kx-spin {
  to { transform: rotate(360deg); }
}

@keyframes nvr-kx-pulse {
  50% { opacity: .35; }
}

.nvr-kx-stream {
  position: relative;
  z-index: 2;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 14px;
  background: rgba(2,8,18,.72);
}

.nvr-kx-stream__title {
  margin-bottom: .8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.32);
  font-size: .54rem;
}

.nvr-kx-stream__title span:first-child {
  color: rgba(255,255,255,.7);
  font-weight: 650;
}

.nvr-kx-stream__item {
  padding: .58rem 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  border-top: 1px solid rgba(255,255,255,.045);
}

.nvr-kx-stream__item strong,
.nvr-kx-stream__item small {
  display: block;
}

.nvr-kx-stream__item strong {
  color: rgba(255,255,255,.68);
  font-size: .59rem;
}

.nvr-kx-stream__item small {
  margin-top: .18rem;
  color: rgba(255,255,255,.28);
  font-size: .51rem;
}

.nvr-kx-stream__icon {
  color: var(--nvr-green);
  font-size: .66rem;
}

.nvr-kx-stream__pulse {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--nvr-cyan);
  box-shadow: 0 0 12px rgba(32,230,255,.7);
  animation: nvr-kx-pulse 1.2s infinite;
}

.nvr-kx-progress,
.nvr-kx-context__meter {
  height: 3px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.nvr-kx-progress {
  margin-top: .8rem;
}

.nvr-kx-progress span,
.nvr-kx-context__meter span {
  width: 12%;
  height: 100%;
  display: block;
  background: linear-gradient(
    90deg,
    var(--nvr-blue),
    var(--nvr-cyan)
  );
  box-shadow: 0 0 12px rgba(32,230,255,.55);
  transition: width .25s ease;
}

.nvr-kx-status,
.nvr-kx-dashboard,
.nvr-kx-ecosystem {
  margin-top: 6rem;
}

.nvr-kx-section-heading {
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
}

.nvr-kx-section-heading span,
.nvr-kx-panel-title span,
.nvr-kx-ecosystem > div:first-child > span {
  color: var(--nvr-cyan);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.nvr-kx-section-heading h2,
.nvr-kx-panel-title h2,
.nvr-kx-ecosystem h2 {
  margin: .5rem 0 0;
  color: white;
  font-size: 1.55rem;
  letter-spacing: -.025em;
}

.nvr-kx-section-heading p {
  max-width: 33rem;
  margin: 0;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  line-height: 1.75;
}

.nvr-kx-domain-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .8rem;
}

.nvr-kx-domain {
  min-height: 8rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  align-items: start;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 14px;
  background: rgba(5,13,27,.55);
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .18s ease,border-color .18s ease;
}

.nvr-kx-domain:hover {
  transform: translateY(-2px);
  border-color: rgba(32,230,255,.24);
}

.nvr-kx-domain__number {
  color: rgba(255,255,255,.22);
  font-size: .57rem;
}

.nvr-kx-domain strong {
  color: white;
  font-size: .75rem;
}

.nvr-kx-domain p {
  margin: .4rem 0 0;
  color: rgba(255,255,255,.36);
  font-size: .62rem;
  line-height: 1.65;
}

.nvr-kx-domain__state {
  padding: .3rem .48rem;
  border: 1px solid rgba(34,229,139,.16);
  border-radius: 20px;
  color: rgba(34,229,139,.72);
  font-size: .49rem;
}

.nvr-kx-dashboard {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1rem;
}

.nvr-kx-guides,
.nvr-kx-context {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
  background: rgba(5,13,27,.52);
}

.nvr-kx-panel-title {
  margin-bottom: 1.3rem;
}

.nvr-kx-guides > a {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid rgba(255,255,255,.055);
  color: inherit !important;
  text-decoration: none !important;
}

.nvr-kx-guides > a > span {
  color: rgba(255,255,255,.22);
  font-size: .54rem;
}

.nvr-kx-guides strong,
.nvr-kx-guides small {
  display: block;
}

.nvr-kx-guides strong {
  color: rgba(255,255,255,.82);
  font-size: .68rem;
}

.nvr-kx-guides small {
  margin-top: .2rem;
  color: rgba(255,255,255,.3);
  font-size: .55rem;
}

.nvr-kx-guides b {
  color: var(--nvr-cyan);
  font-weight: 400;
}

.nvr-kx-context__row {
  padding: .75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.055);
  font-size: .59rem;
}

.nvr-kx-context__row span {
  color: rgba(255,255,255,.34);
}

.nvr-kx-context__row strong {
  max-width: 55%;
  color: rgba(255,255,255,.75);
  text-align: right;
}

.nvr-kx-context__meter {
  margin-top: 1rem;
}

.nvr-kx-context__message {
  margin-top: 1rem;
  padding: .8rem;
  display: flex;
  align-items: start;
  gap: .55rem;
  border: 1px solid rgba(32,230,255,.1);
  border-radius: 10px;
  background: rgba(32,230,255,.025);
  color: rgba(255,255,255,.4);
  font-size: .54rem;
  line-height: 1.55;
}

.nvr-kx-context__message i {
  width: .38rem;
  height: .38rem;
  margin-top: .2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--nvr-cyan);
  box-shadow: 0 0 10px rgba(32,230,255,.65);
}

.nvr-kx-ecosystem {
  margin-bottom: 4rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 50%,rgba(140,60,255,.09),transparent 22rem),
    rgba(5,13,27,.55);
}

.nvr-kx-ecosystem > div:first-child p {
  max-width: 42rem;
  color: rgba(255,255,255,.4);
  font-size: .68rem;
  line-height: 1.7;
}

.nvr-kx-lifecycle {
  margin-top: 2rem;
  display: flex;
  align-items: center;
}

.nvr-kx-lifecycle a,
.nvr-kx-lifecycle__future {
  min-width: 9rem;
  color: inherit !important;
  text-decoration: none !important;
}

.nvr-kx-lifecycle small,
.nvr-kx-lifecycle strong,
.nvr-kx-lifecycle span {
  display: block;
}

.nvr-kx-lifecycle small {
  color: rgba(255,255,255,.2);
  font-size: .5rem;
}

.nvr-kx-lifecycle strong {
  margin-top: .35rem;
  color: white;
  font-size: .72rem;
}

.nvr-kx-lifecycle span {
  margin-top: .25rem;
  color: rgba(255,255,255,.34);
  font-size: .53rem;
}

.nvr-kx-lifecycle__line {
  height: 1px;
  flex: 1;
  margin: 0 1rem;
  background: linear-gradient(
    90deg,
    rgba(35,130,255,.5),
    rgba(32,230,255,.18)
  );
}

.nvr-kx-lifecycle__future {
  opacity: .45;
}

body:has(.nvr-kx-home) .md-sidebar {
  display: none;
}

body:has(.nvr-kx-home) .md-main__inner {
  max-width: 88rem;
}

body:has(.nvr-kx-home) .md-content {
  max-width: none;
  margin: 0;
}

body:has(.nvr-kx-home) .md-content__inner {
  margin: 0;
}

body:has(.nvr-kx-home) .md-content__inner::before {
  display: none;
}

@media screen and (max-width:960px) {
  .nvr-kx-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nvr-kx-domain-grid,
  .nvr-kx-dashboard {
    grid-template-columns: 1fr;
  }

  .nvr-kx-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .nvr-kx-lifecycle {
    align-items: stretch;
    flex-direction: column;
    gap: .7rem;
  }

  .nvr-kx-lifecycle__line {
    width: 1px;
    height: 1.4rem;
    flex: none;
    margin: 0 0 0 .25rem;
  }
}

@media screen and (max-width:600px) {
  .nvr-kx-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .nvr-kx-hero h1 {
    font-size: 2.65rem;
  }

  .nvr-kx-principles {
    grid-template-columns: 1fr;
  }

  .nvr-kx-brain {
    min-height: 34rem;
    padding: 1rem;
  }

  .nvr-kx-core {
    height: 19rem;
    transform: scale(.88);
  }

  .nvr-kx-domain {
    grid-template-columns: 1.8rem 1fr;
  }

  .nvr-kx-domain__state {
    grid-column: 2;
    justify-self: start;
  }

  .nvr-kx-status,
  .nvr-kx-dashboard,
  .nvr-kx-ecosystem {
    margin-top: 4rem;
  }
}

/* ======================================================
   PXS-001.1 — Living Documentation Hero 2.0
   ====================================================== */

.nvr-kx-hero--v2 {
  grid-template-columns:
    minmax(0, .92fr)
    minmax(31rem, 1.08fr);
  gap: clamp(3rem, 6vw, 7rem);
  min-height: 46rem;
}

.nvr-kx-brain-status {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  background: rgba(5, 14, 29, .46);
}

.nvr-kx-brain-status > div {
  padding: .9rem 1rem;
}

.nvr-kx-brain-status > div + div {
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.nvr-kx-brain-status span,
.nvr-kx-brain-status strong {
  display: block;
}

.nvr-kx-brain-status span {
  margin-bottom: .34rem;
  color: rgba(255, 255, 255, .3);
  font-size: .51rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nvr-kx-brain-status strong {
  color: rgba(255, 255, 255, .82);
  font-size: .64rem;
}

.nvr-kx-brain-status strong i {
  width: .4rem;
  height: .4rem;
  margin-right: .34rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--nvr-green);
  box-shadow: 0 0 12px rgba(34, 229, 139, .68);
  animation: nvr-kx-pulse 1.8s ease-in-out infinite;
}

.nvr-kx-principle--active {
  border-color: rgba(32, 230, 255, .4) !important;
}

.nvr-kx-principle--active strong {
  color: var(--nvr-cyan);
}

.nvr-kx-graph-panel {
  position: relative;
  min-height: 40rem;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(87, 139, 255, .18);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 50% 44%,
      rgba(35, 130, 255, .16),
      transparent 19rem
    ),
    linear-gradient(
      160deg,
      rgba(7, 18, 35, .97),
      rgba(3, 9, 20, .99)
    );
  box-shadow:
    0 38px 100px rgba(0, 0, 0, .46),
    inset 0 1px rgba(255, 255, 255, .035);
}

.nvr-kx-graph-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, .026) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .026) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  mask-image:
    radial-gradient(circle at center, black, transparent 84%);
  pointer-events: none;
}

.nvr-kx-graph-panel__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvr-kx-graph-panel__header > div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nvr-kx-graph-panel__header strong,
.nvr-kx-graph-panel__header small {
  display: block;
}

.nvr-kx-graph-panel__header strong {
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
}

.nvr-kx-graph-panel__header small {
  margin-top: .18rem;
  color: rgba(255, 255, 255, .28);
  font-size: .5rem;
}

.nvr-kx-graph-panel__label {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 230, 255, .3);
  border-radius: 9px;
  color: var(--nvr-cyan);
  font-size: .61rem;
  font-weight: 800;
}

.nvr-kx-graph {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: .55rem;
}

.nvr-kx-graph__svg {
  width: 100%;
  height: auto;
  min-height: 29rem;
  display: block;
  overflow: visible;
}

.nvr-kx-edge {
  fill: none;
  stroke: rgba(93, 137, 205, .22);
  stroke-width: 1.4;
  stroke-linecap: round;
  transition:
    stroke .35s ease,
    stroke-width .35s ease,
    opacity .35s ease;
}

.nvr-kx-edge--active {
  stroke: url("#nvr-kx-edge-gradient");
  stroke-width: 2.1;
  filter: drop-shadow(0 0 5px rgba(32, 230, 255, .5));
}

.nvr-kx-flow circle {
  fill: var(--nvr-cyan);
  filter: drop-shadow(0 0 8px rgba(32, 230, 255, .9));
}

.nvr-kx-graph-node {
  cursor: pointer;
  text-decoration: none;
  outline: none;
}

.nvr-kx-graph-node rect {
  fill: rgba(5, 15, 31, .92);
  stroke: rgba(97, 139, 203, .24);
  stroke-width: 1;
  transition:
    fill .25s ease,
    stroke .25s ease,
    filter .25s ease;
}

.nvr-kx-graph-node circle {
  fill: rgba(91, 139, 219, .65);
  transition:
    fill .25s ease,
    filter .25s ease;
}

.nvr-kx-graph-node text {
  fill: rgba(255, 255, 255, .75);
  font-size: 12px;
  font-weight: 650;
  pointer-events: none;
}

.nvr-kx-graph-node .nvr-kx-graph-node__meta {
  fill: rgba(255, 255, 255, .3);
  font-size: 8px;
  font-weight: 500;
}

.nvr-kx-graph-node:hover rect,
.nvr-kx-graph-node:focus rect,
.nvr-kx-graph-node--active rect {
  fill: rgba(11, 31, 61, .97);
  stroke: rgba(32, 230, 255, .58);
  filter: drop-shadow(0 0 9px rgba(32, 230, 255, .15));
}

.nvr-kx-graph-node:hover circle,
.nvr-kx-graph-node:focus circle,
.nvr-kx-graph-node--active circle {
  fill: var(--nvr-cyan);
  filter: drop-shadow(0 0 7px rgba(32, 230, 255, .9));
}

.nvr-kx-graph-core__halo {
  fill: rgba(35, 130, 255, .04);
  stroke: rgba(35, 130, 255, .12);
  stroke-width: 1;
  animation: nvr-kx-core-halo 4.5s ease-in-out infinite;
}

.nvr-kx-graph-core__orbit {
  fill: none;
  stroke: rgba(32, 230, 255, .24);
  stroke-width: 1;
  stroke-dasharray: 6 7;
  transform-origin: center;
  animation: nvr-kx-svg-spin 24s linear infinite;
}

.nvr-kx-graph-core__body {
  fill: url("#nvr-kx-core-gradient");
  stroke: rgba(32, 230, 255, .55);
  stroke-width: 1.4;
  filter: url("#nvr-kx-core-glow");
  animation: nvr-kx-core-breathe 3.8s ease-in-out infinite;
}

.nvr-kx-graph-core__name {
  fill: white;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 5px;
}

.nvr-kx-graph-core__label {
  fill: rgba(255, 255, 255, .34);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 1.4px;
}

.nvr-kx-graph-stream {
  position: relative;
  z-index: 3;
  min-height: 4rem;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 13px;
  background: rgba(2, 8, 18, .74);
}

.nvr-kx-graph-stream > div {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.nvr-kx-graph-stream strong,
.nvr-kx-graph-stream small {
  display: block;
}

.nvr-kx-graph-stream strong {
  color: rgba(255, 255, 255, .74);
  font-size: .6rem;
}

.nvr-kx-graph-stream small {
  margin-top: .16rem;
  color: rgba(255, 255, 255, .3);
  font-size: .51rem;
}

.nvr-kx-graph-stream > span {
  color: rgba(255, 255, 255, .32);
  font-size: .52rem;
  text-align: right;
}

.nvr-kx-graph-panel .nvr-kx-progress {
  position: relative;
  z-index: 3;
}

@keyframes nvr-kx-svg-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nvr-kx-core-breathe {
  0%,
  100% {
    opacity: .9;
    filter:
      url("#nvr-kx-core-glow")
      drop-shadow(0 0 5px rgba(32, 230, 255, .22));
  }

  50% {
    opacity: 1;
    filter:
      url("#nvr-kx-core-glow")
      drop-shadow(0 0 13px rgba(32, 230, 255, .48));
  }
}

@keyframes nvr-kx-core-halo {
  0%,
  100% {
    opacity: .35;
  }

  50% {
    opacity: .8;
  }
}

@media (max-width: 1100px) {
  .nvr-kx-hero--v2 {
    grid-template-columns: 1fr;
  }

  .nvr-kx-graph-panel {
    min-height: auto;
  }

  .nvr-kx-graph__svg {
    max-height: 35rem;
  }
}

@media (max-width: 640px) {
  .nvr-kx-hero--v2 {
    padding-top: 3rem;
    gap: 3rem;
  }

  .nvr-kx-brain-status {
    grid-template-columns: 1fr;
  }

  .nvr-kx-brain-status > div + div {
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-left: 0;
  }

  .nvr-kx-graph-panel {
    padding: 1rem;
    border-radius: 17px;
  }

  .nvr-kx-graph__svg {
    min-height: 22rem;
  }

  .nvr-kx-graph-stream {
    align-items: flex-start;
    flex-direction: column;
  }

  .nvr-kx-graph-stream > span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvr-kx-graph-core__halo,
  .nvr-kx-graph-core__orbit,
  .nvr-kx-graph-core__body,
  .nvr-kx-flow circle {
    animation: none !important;
  }
}

/* =========================================================
   NIVRON DOCS HOME — LEARNING EXPERIENCE 2.1
   ========================================================= */

.nvr-docs-home {
  --nvr-line: rgba(148, 163, 184, 0.18);
  --nvr-panel: rgba(15, 23, 42, 0.68);
  --nvr-soft: rgba(148, 163, 184, 0.76);
  --nvr-accent: #62e7d8;
  --nvr-accent-soft: rgba(98, 231, 216, 0.12);
  width: 100%;
  margin: 0 auto;
}

.nvr-docs-home *,
.nvr-docs-home *::before,
.nvr-docs-home *::after {
  box-sizing: border-box;
}

.nvr-docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: min(720px, calc(100vh - 110px));
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.nvr-docs-eyebrow,
.nvr-docs-section-heading > span,
.nvr-docs-principle span,
.nvr-learning-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  color: var(--nvr-accent);
}

.nvr-docs-intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.nvr-docs-intro h1 span {
  color: rgba(226, 232, 240, 0.54);
}

.nvr-docs-lead {
  max-width: 660px;
  margin: 1.8rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  color: var(--nvr-soft);
}

.nvr-docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.nvr-docs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--nvr-line);
  border-radius: 0.55rem;
  font-weight: 650;
  text-decoration: none !important;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nvr-docs-button:hover {
  transform: translateY(-2px);
}

.nvr-docs-button--primary {
  border-color: var(--nvr-accent);
  background: var(--nvr-accent);
  color: #071716 !important;
}

.nvr-docs-button--secondary {
  color: inherit !important;
  background: rgba(15, 23, 42, 0.38);
}

.nvr-learning-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nvr-line);
  border-radius: 1rem;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(98, 231, 216, 0.10),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(15, 23, 42, 0.88),
      rgba(8, 14, 27, 0.72)
    );
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
}

.nvr-learning-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--nvr-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--nvr-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: 0.25;
}

.nvr-learning-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-bottom: 1px solid var(--nvr-line);
}

.nvr-learning-header strong {
  display: block;
  font-size: 1rem;
}

.nvr-learning-header .nvr-learning-label {
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
}

.nvr-learning-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--nvr-soft);
}

.nvr-learning-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nvr-accent);
  box-shadow: 0 0 0 5px rgba(98, 231, 216, 0.1);
  animation: nvr-status-pulse 2.2s infinite;
}

.nvr-learning-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 48px 145px;
  align-items: center;
  min-height: 270px;
  padding: 2rem 1.5rem;
}

.nvr-learning-source span,
.nvr-learning-context span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--nvr-soft);
}

.nvr-learning-source strong {
  display: block;
  max-width: 130px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.nvr-learning-flow {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nvr-learning-flow span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nvr-accent);
  animation: nvr-data-flow 1.5s infinite;
}

.nvr-learning-flow span:nth-child(2) {
  animation-delay: 180ms;
}

.nvr-learning-flow span:nth-child(3) {
  animation-delay: 360ms;
}

.nvr-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 145px;
  height: 145px;
}

.nvr-core-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(98, 231, 216, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(98, 231, 216, 0.18),
      rgba(8, 14, 27, 0.96) 70%
    );
  box-shadow:
    0 0 42px rgba(98, 231, 216, 0.13),
    inset 0 0 24px rgba(98, 231, 216, 0.08);
}

.nvr-core-center strong {
  margin: 0.12rem 0;
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  color: var(--nvr-accent);
}

.nvr-core-center small {
  font-size: 0.43rem;
  letter-spacing: 0.18em;
  color: var(--nvr-soft);
}

.nvr-core-orbit {
  position: absolute;
  border: 1px solid rgba(98, 231, 216, 0.22);
  border-radius: 50%;
}

.nvr-core-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nvr-accent);
}

.nvr-core-orbit--one {
  inset: 7px;
  animation: nvr-orbit 12s linear infinite;
}

.nvr-core-orbit--two {
  inset: 19px;
  animation: nvr-orbit 9s linear infinite reverse;
}

.nvr-learning-context {
  position: relative;
  z-index: 1;
  padding: 1.3rem 1.4rem 1.45rem;
  border-top: 1px solid var(--nvr-line);
}

.nvr-learning-context strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.45;
}

.nvr-learning-progress {
  overflow: hidden;
  height: 3px;
  margin: 1rem 0;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.12);
}

.nvr-learning-progress span {
  display: block;
  width: 64%;
  height: 100%;
  margin: 0;
  background: linear-gradient(
    90deg,
    var(--nvr-accent),
    rgba(98, 231, 216, 0.2)
  );
  animation: nvr-progress 4s ease-in-out infinite alternate;
}

.nvr-learning-context p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--nvr-soft);
}

.nvr-docs-start {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  border-top: 1px solid var(--nvr-line);
}

.nvr-docs-section-heading {
  max-width: 680px;
  margin-bottom: 2.2rem;
}

.nvr-docs-section-heading h2,
.nvr-docs-principle h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.nvr-docs-section-heading p,
.nvr-docs-principle p {
  margin: 1rem 0 0;
  line-height: 1.7;
  color: var(--nvr-soft);
}

.nvr-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--nvr-line);
  border-left: 1px solid var(--nvr-line);
}

.nvr-docs-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  min-height: 190px;
  padding: 1.55rem;
  border-right: 1px solid var(--nvr-line);
  border-bottom: 1px solid var(--nvr-line);
  color: inherit !important;
  text-decoration: none !important;
  transition: background 180ms ease;
}

.nvr-docs-path:hover {
  background: var(--nvr-accent-soft);
}

.nvr-docs-path--featured {
  background: rgba(98, 231, 216, 0.045);
}

.nvr-docs-path-number {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--nvr-accent);
}

.nvr-docs-path small {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--nvr-accent);
}

.nvr-docs-path h3 {
  margin: 0;
  font-size: 1.15rem;
}

.nvr-docs-path p {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--nvr-soft);
}

.nvr-docs-path-arrow {
  align-self: end;
  font-size: 1.1rem;
  color: var(--nvr-accent);
  transition: transform 160ms ease;
}

.nvr-docs-path:hover .nvr-docs-path-arrow {
  transform: translateX(4px);
}

.nvr-docs-principle {
  display: grid;
  grid-template-columns: 120px minmax(0, 760px);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  margin: clamp(2rem, 5vw, 5rem) 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--nvr-line);
  border-radius: 1rem;
  background: linear-gradient(
    135deg,
    rgba(98, 231, 216, 0.06),
    rgba(15, 23, 42, 0.2)
  );
}

.nvr-docs-principle-mark {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(98, 231, 216, 0.35);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--nvr-accent);
}

@keyframes nvr-status-pulse {
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 9px rgba(98, 231, 216, 0);
  }
}

@keyframes nvr-data-flow {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-4px);
  }

  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@keyframes nvr-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes nvr-progress {
  from {
    width: 44%;
  }

  to {
    width: 78%;
  }
}

@media (max-width: 960px) {
  .nvr-docs-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }

  .nvr-docs-intro {
    max-width: 720px;
  }

  .nvr-learning-card {
    width: 100%;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .nvr-docs-hero {
    gap: 2rem;
    padding: 2.3rem 0 3rem;
  }

  .nvr-docs-intro h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .nvr-docs-lead {
    margin-top: 1.25rem;
    line-height: 1.62;
  }

  .nvr-docs-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .nvr-docs-button {
    width: 100%;
  }

  .nvr-learning-header {
    padding: 1.1rem;
  }

  .nvr-learning-stage {
    grid-template-columns: minmax(0, 1fr) 32px 112px;
    min-height: 220px;
    padding: 1.3rem 1rem;
  }

  .nvr-learning-source strong {
    max-width: 110px;
    font-size: 0.78rem;
  }

  .nvr-core {
    width: 112px;
    height: 112px;
  }

  .nvr-core-center {
    width: 76px;
    height: 76px;
  }

  .nvr-core-center strong {
    font-size: 1.05rem;
  }

  .nvr-learning-context {
    padding: 1.1rem;
  }

  .nvr-docs-grid {
    grid-template-columns: 1fr;
  }

  .nvr-docs-path {
    min-height: 0;
    padding: 1.3rem 1.1rem;
  }

  .nvr-docs-principle {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.6rem;
  }

  .nvr-docs-principle-mark {
    width: 74px;
    height: 74px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvr-docs-home *,
  .nvr-docs-home *::before,
  .nvr-docs-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* NVR DOCS CHARACTER START */

/*
 * Compact representation of the same NVR character used by nivron.io.
 * Documentation mode: calm, focused and learning.
 */

.nvr-core-center {
  justify-content: center;
  gap: 0.42rem;
}

.nvr-core-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  color: rgba(241, 245, 249, 0.94);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.nvr-core-eyes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 28px;
}

.nvr-core-eyes i {
  display: block;
  width: 7px;
  height: 25px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #54efff 0%,
    #2684ff 58%,
    #3167ff 100%
  );
  box-shadow:
    0 0 7px rgba(84, 239, 255, 0.92),
    0 0 16px rgba(38, 132, 255, 0.64);
  animation: nvr-docs-eye-breathe 2.8s ease-in-out infinite;
}

.nvr-core-eyes i:nth-child(2) {
  animation-delay: 160ms;
}

.nvr-core-mode {
  font-size: 0.39rem !important;
  font-weight: 600;
  letter-spacing: 0.18em !important;
  color: rgba(148, 163, 184, 0.76) !important;
}

@keyframes nvr-docs-eye-breathe {
  0%,
  100% {
    opacity: 0.74;
    transform: scaleY(0.91);
    filter: brightness(0.94);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    filter: brightness(1.12);
  }
}

@media (max-width: 640px) {
  .nvr-core-center {
    gap: 0.32rem;
  }

  .nvr-core-name {
    gap: 0.52rem;
    font-size: 0.46rem;
  }

  .nvr-core-eyes {
    gap: 0.68rem;
    min-height: 21px;
  }

  .nvr-core-eyes i {
    width: 5px;
    height: 19px;
  }

  .nvr-core-mode {
    font-size: 0.33rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvr-core-eyes i {
    animation: none;
  }
}

/* NVR DOCS CHARACTER END */
