/* Nexus command-center shell — aligned with the AegisGrid console pattern.
   One focused workspace view at a time, a sticky operational topbar, and a
   consistent surface hierarchy across the customer and Super Admin consoles. */

:root {
  --cc-bg: #05080d;
  --cc-panel: #0a1118;
  --cc-panel-raised: #0e1821;
  --cc-line: rgba(146, 181, 194, .16);
  --cc-line-strong: rgba(146, 181, 194, .26);
  --cc-muted: #8da4ad;
  --cc-cyan: #43d9ee;
  --cc-mint: #55e6a5;
  --cc-amber: #ffcb70;
  --cc-red: #ff777e;
  --cc-radius: 14px;
  --cc-shadow: 0 18px 48px rgba(0, 0, 0, .26);
}

body.nx-command {
  background:
    radial-gradient(ellipse at 82% -12%, rgba(31, 126, 140, .16), transparent 42rem),
    radial-gradient(ellipse at 0 62%, rgba(33, 92, 78, .07), transparent 36rem),
    var(--cc-bg);
}

body.nx-command .title-period {
  color: var(--cc-cyan);
}

body.nx-command ::selection {
  background: rgba(67, 217, 238, .24);
  color: #f4fbfc;
}

/* ── Super Admin console ──────────────────────────────────────────────── */

#appView.nx-admin-shell {
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100vh;
  background: transparent;
}

#appView.nx-admin-shell > aside {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  padding: 22px 15px 18px;
  border-right: 1px solid var(--cc-line);
  background: linear-gradient(180deg, rgba(7, 16, 22, .99), rgba(5, 11, 16, .97));
}

#appView.nx-admin-shell .brand {
  padding: 0 8px 2px;
  margin-bottom: 18px;
}

#appView.nx-admin-shell .navlabel {
  margin: 18px 10px 8px;
  color: #6e8993;
  font: 9px var(--mono);
  letter-spacing: .18em;
}

#appView.nx-admin-shell .nav {
  gap: 3px;
}

#appView.nx-admin-shell .nav a {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #a6bac2;
  font-size: 12px;
}

#appView.nx-admin-shell .nav a:hover {
  border-color: var(--cc-line);
  background: rgba(255, 255, 255, .025);
  color: #eef8fa;
}

#appView.nx-admin-shell .nav a.active,
#appView.nx-admin-shell .nav a[aria-current="location"] {
  border-color: rgba(67, 217, 238, .18);
  background: linear-gradient(90deg, rgba(67, 217, 238, .1), rgba(67, 217, 238, .02));
  color: #e9fcff;
  box-shadow: inset 2px 0 var(--cc-cyan);
}

#appView.nx-admin-shell .nav a .nx-admin-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

#appView.nx-admin-shell .nav-group-title {
  padding: 16px 10px 5px;
  color: #637f89;
  font: 9px var(--mono);
  letter-spacing: .17em;
}

#appView.nx-admin-shell .nav-filter {
  min-height: 40px;
  border-color: var(--cc-line);
  background: #071017;
  font-size: 12px;
}

#appView.nx-admin-shell .aside-note {
  border-color: var(--cc-line);
  background: rgba(9, 22, 29, .7);
  line-height: 1.65;
}

#appView.nx-admin-shell > .main {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0 clamp(18px, 3vw, 46px) 28px;
}

#appView.nx-admin-shell .top {
  position: sticky;
  top: 0;
  z-index: 24;
  align-items: flex-start;
  gap: 18px;
  margin: 0 clamp(-46px, -3vw, -18px) 22px;
  padding: 20px clamp(18px, 3vw, 46px) 17px;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(5, 10, 15, .9);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

#appView.nx-admin-shell .top h1 {
  margin: 7px 0 5px;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

#appView.nx-admin-shell .top > div:first-child > p {
  max-width: 720px;
  color: var(--cc-muted);
  font-size: 12px;
  line-height: 1.7;
}

#appView.nx-admin-shell .crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #728d96;
  font: 10px var(--mono);
  letter-spacing: .08em;
}

#appView.nx-admin-shell .crumb strong {
  color: #a9c8d0;
  font-weight: 600;
}

#appView.nx-admin-shell .crumb-sep {
  color: #47616a;
}

#appView.nx-admin-shell .top .actions {
  align-items: center;
  justify-content: flex-end;
}

#appView.nx-admin-shell .statuspill {
  border-color: var(--cc-line);
  background: rgba(9, 22, 29, .6);
}

#appView.nx-admin-shell .top .btn {
  min-height: 40px;
  border-color: var(--cc-line-strong);
  background: rgba(12, 27, 35, .72);
}

#appView.nx-admin-shell .top .btn:hover {
  border-color: rgba(67, 217, 238, .5);
  color: #dffcff;
}

.admin-view {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  animation: cc-view-in .2s var(--ease-standard, ease) both;
}

.admin-view[hidden] {
  display: none !important;
}

.admin-view > .card.section,
.admin-view > .section,
.admin-view > .superadmin-home {
  width: 100%;
  margin: 0;
  border-radius: var(--cc-radius);
  border-color: var(--cc-line);
  background: linear-gradient(145deg, rgba(14, 27, 35, .96), rgba(7, 16, 22, .97));
  box-shadow: var(--cc-shadow);
}

.admin-view > .superadmin-home {
  padding: clamp(20px, 2.6vw, 30px);
  background:
    radial-gradient(ellipse at 86% 0%, rgba(46, 177, 192, .16), transparent 34rem),
    linear-gradient(145deg, rgba(14, 31, 39, .98), rgba(7, 16, 22, .98));
}

.admin-view > .section > .section-head,
.admin-view > .card.section > .section-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cc-line);
}

.admin-view > .section > .section-head h2,
.admin-view > .card.section > .section-head h2 {
  font-size: 16px;
  letter-spacing: -.015em;
}

.admin-view > .section > .section-head small,
.admin-view > .card.section > .section-head small {
  color: #7e99a2;
  font: 9px var(--mono);
  letter-spacing: .1em;
  line-height: 1.6;
  text-align: right;
}

.admin-view > .section > p,
.admin-view > .card.section > p {
  max-width: 1000px;
  color: var(--cc-muted);
  font-size: 12px;
  line-height: 1.75;
}

.admin-view .grid {
  gap: 11px;
}

.admin-view .grid .card {
  border-color: var(--cc-line);
  background: rgba(6, 16, 22, .55);
  box-shadow: none;
}

.admin-view .metric {
  color: #effcff;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.05em;
}

.admin-view .metric-label {
  color: #89a3ac;
  letter-spacing: .12em;
}

.admin-view .hint {
  color: #718b94;
  line-height: 1.55;
}

.admin-view .rowitem {
  gap: 18px;
  padding: 13px 0;
  border-bottom-color: var(--cc-line);
}

.admin-view .rowitem:last-child {
  border-bottom: 0;
}

.admin-view .rowitem strong {
  font-size: 12.5px;
}

.admin-view .rowitem small {
  color: #8ba4ad;
  line-height: 1.65;
}

.admin-view .tablewrap {
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  background: rgba(5, 13, 18, .45);
}

.admin-view table {
  min-width: 640px;
}

.admin-view th {
  background: rgba(9, 22, 29, .8);
  color: #89a3ac;
  letter-spacing: .1em;
}

.admin-view td {
  border-bottom-color: var(--cc-line);
}

.admin-view .formline {
  gap: 9px;
}

.admin-view .formline input,
.admin-view .formline select,
.admin-view .formline textarea {
  min-height: 42px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 8px;
  background: #071017;
  color: var(--text);
  padding: 10px 12px;
}

.admin-view .formline input:focus,
.admin-view .formline select:focus,
.admin-view .formline textarea:focus {
  border-color: rgba(67, 217, 238, .62);
  box-shadow: 0 0 0 3px rgba(67, 217, 238, .08);
}

.admin-view .btn {
  min-height: 40px;
  border-color: var(--cc-line-strong);
  background: rgba(12, 27, 35, .72);
}

.admin-view .btn:hover:not(:disabled) {
  border-color: rgba(67, 217, 238, .46);
  color: #e4fdff;
}

.admin-view .btn.primary {
  border-color: rgba(67, 217, 238, .5);
  background: #07323e;
  color: #dffcff;
}

.admin-view .notice {
  border-color: var(--cc-line);
  background: rgba(7, 18, 24, .6);
  line-height: 1.7;
}

.admin-view .empty {
  color: #7d96a0;
  line-height: 1.7;
}

.admin-view .superadmin-welcome {
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cc-line);
}

.admin-view .superadmin-welcome h2 {
  margin: 9px 0 7px;
  font-size: clamp(24px, 2.7vw, 34px);
  letter-spacing: -.045em;
}

.admin-view .superadmin-welcome p {
  max-width: 720px;
  color: var(--cc-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.admin-view .welcome-mark {
  flex-basis: 72px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border-color: rgba(67, 217, 238, .34);
}

.admin-view .admin-snapshot {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-view .admin-snapshot-head {
  margin-bottom: 12px;
}

.admin-view .admin-snapshot-head h3 {
  margin: 5px 0 0;
  font-size: 17px;
  letter-spacing: -.02em;
}

.admin-view .admin-snapshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-view .admin-snapshot-grid .card {
  padding: 15px 16px;
  border-radius: 11px;
  background: rgba(6, 17, 23, .55);
}

.admin-view .admin-priority {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--cc-line);
  border-radius: 13px;
  background: rgba(7, 18, 24, .55);
}

.admin-view .admin-priority-head {
  margin-bottom: 12px;
}

.admin-view .priority-grid {
  gap: 9px;
}

.admin-view .priority-item {
  border-color: var(--cc-line);
  background: rgba(5, 14, 19, .6);
}

.admin-view .admin-shortcuts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.admin-view .admin-shortcut {
  border-color: var(--cc-line);
  background: rgba(5, 15, 20, .5);
}

.admin-view .admin-shortcut:hover {
  border-color: rgba(67, 217, 238, .46);
  background: rgba(15, 39, 47, .72);
}

.admin-view .admin-section-note {
  margin-top: 16px;
  padding-top: 15px;
  border-top-color: var(--cc-line);
}

.admin-view .admin-section-note small {
  color: #7e99a2;
}

.admin-view .investigation-results {
  min-width: 0;
}

.admin-view .investigation-card {
  border-color: var(--cc-line);
  background: rgba(6, 16, 22, .6);
}

.admin-view .foot {
  max-width: 1680px;
  margin: 22px auto 0;
  border-top-color: var(--cc-line);
  color: #647f88;
}

@keyframes cc-view-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Customer workspace ───────────────────────────────────────────────── */

.nx-workspace .app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  min-height: 100vh;
}

.nx-workspace .rail {
  position: sticky;
  top: 0;
  align-self: start;
  width: auto;
  height: 100dvh;
  max-height: 100dvh;
}

.nx-workspace .main-content {
  min-width: 0;
  margin-left: 0;
}

@media (min-width: 701px) {
  .nx-workspace .primary-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
    overflow: visible;
  }
  .nx-workspace .nav-item {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    justify-content: flex-start;
  }
}

.nx-workspace .topbar {
  height: 66px;
  border-bottom-color: var(--cc-line);
  background: rgba(5, 9, 14, .9);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.nx-workspace .content-wrap {
  width: min(1520px, 100%);
  padding-top: 26px;
}

.nx-workspace .page-heading {
  margin-bottom: 18px;
}

.nx-workspace .page-heading h1 {
  font-size: clamp(31px, 3.4vw, 45px);
  letter-spacing: -.05em;
}

.nx-workspace .lifecycle-panel,
.nx-workspace .payment-notice,
.nx-workspace .nexus-insight,
.nx-workspace .orders-panel,
.nx-workspace .intake-panel,
.nx-workspace .business-operations-panel,
.nx-workspace .assurance-strip {
  border-color: var(--cc-line);
  box-shadow: var(--cc-shadow);
}

.nx-workspace .lifecycle-panel {
  background:
    radial-gradient(ellipse at 54% 130%, rgba(67, 217, 238, .06), transparent 52%),
    rgba(9, 20, 27, .75);
}

.nx-workspace .payment-notice {
  background: rgba(12, 25, 31, .72);
}

.nx-workspace .metrics {
  gap: 10px;
}

.nx-workspace .metric-card {
  border-color: var(--cc-line);
  background: linear-gradient(145deg, rgba(14, 27, 35, .92), rgba(7, 16, 22, .94));
  box-shadow: var(--cc-shadow);
}

.nx-workspace .metric-card > strong {
  color: #effcff;
}

.nx-workspace .orders-panel,
.nx-workspace .intake-panel {
  background: linear-gradient(145deg, rgba(13, 26, 34, .94), rgba(7, 16, 22, .96));
}

.nx-workspace .business-operations-panel {
  background: linear-gradient(145deg, rgba(12, 25, 32, .92), rgba(6, 14, 20, .96));
}

.nx-workspace .nexus-insight {
  background: linear-gradient(110deg, rgba(67, 217, 238, .055), rgba(85, 230, 165, .02) 55%, rgba(8, 18, 24, .98));
}

.nx-workspace .panel-heading {
  padding-bottom: 13px;
  border-bottom-color: var(--cc-line);
}

.nx-workspace .filter-tab,
.nx-workspace .sort-control select,
.nx-workspace .search-box {
  border-color: var(--cc-line-strong);
  background: #071017;
}

.nx-workspace .button-secondary {
  border-color: var(--cc-line-strong);
  background: rgba(12, 27, 35, .72);
}

.nx-workspace .button-secondary:hover {
  border-color: rgba(67, 217, 238, .46);
}

.nx-workspace .page-footer {
  border-top-color: var(--cc-line);
}

/* Compact command deck for the business overview. */
.command-deck {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 2.1fr);
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(67, 217, 238, .08), transparent 24rem),
    linear-gradient(145deg, rgba(12, 27, 35, .94), rgba(6, 14, 20, .96));
  box-shadow: var(--cc-shadow);
}

.command-deck-status {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 8px 4px 4px;
  border-right: 1px solid var(--cc-line);
}

.command-deck-kicker {
  color: #7e99a2;
  font: 9px var(--mono);
  letter-spacing: .14em;
}

.command-deck-status strong {
  color: #eefcff;
  font-size: 14px;
  letter-spacing: -.015em;
}

.command-deck-status small {
  color: #8ba4ad;
  font-size: 10.5px;
  line-height: 1.55;
}

.command-deck-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.command-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  background: rgba(5, 14, 19, .55);
  color: #dff4f8;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.command-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 217, 238, .46);
  background: rgba(13, 37, 45, .7);
}

.command-chip > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(67, 217, 238, .24);
  border-radius: 9px;
  background: rgba(67, 217, 238, .07);
  color: var(--cc-cyan);
  font-size: 15px;
}

.command-chip > span:last-child {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  width: auto;
  min-width: 0;
}

.command-chip b {
  font-size: 11px;
  line-height: 1.35;
}

.command-chip small {
  color: #829ca5;
  font-size: 9.5px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .command-deck {
    grid-template-columns: minmax(0, 1fr);
  }
  .command-deck-status {
    border-right: 0;
    border-bottom: 1px solid var(--cc-line);
    padding: 0 0 10px;
  }
  .command-deck-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  #appView.nx-admin-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .admin-view .admin-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-view .admin-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #appView.nx-admin-shell .top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  #appView.nx-admin-shell .top .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .nx-workspace .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-workspace .rail {
    position: relative;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .nx-workspace .main-content {
    margin-left: 0;
  }
  .nx-workspace .rail-shortcuts {
    display: none;
  }
  .nx-workspace .breadcrumb {
    min-width: 0;
    max-width: calc(100vw - 190px);
    overflow: hidden;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  #appView.nx-admin-shell {
    display: block;
  }
  #appView.nx-admin-shell > aside {
    position: sticky;
    height: auto;
    max-height: 100dvh;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--cc-line);
    z-index: 30;
  }
  #appView.nx-admin-shell > .main {
    padding: 0 12px 24px;
  }
  #appView.nx-admin-shell .top {
    margin: 0 -12px 16px;
    padding: 14px 12px 13px;
  }
  #appView.nx-admin-shell .top h1 {
    font-size: 27px;
  }
  #appView.nx-admin-shell .top .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  #appView.nx-admin-shell .top .actions .statuspill {
    grid-column: 1 / -1;
    justify-self: start;
  }
  #appView.nx-admin-shell .top .actions .btn {
    width: 100%;
  }
  .admin-view > .superadmin-home {
    padding: 16px 13px;
  }
  .admin-view .admin-snapshot-grid,
  .admin-view .admin-shortcuts {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-view .superadmin-welcome {
    align-items: flex-start;
  }
  .admin-view .welcome-mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 23px;
  }
  .admin-view > .section > .section-head,
  .admin-view > .card.section > .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .admin-view > .section > .section-head small,
  .admin-view > .card.section > .section-head small {
    text-align: left;
  }
  .admin-view .formline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .admin-view .formline > * {
    width: 100%;
    min-width: 0;
  }
  .admin-view .rowitem {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-view .rowitem > .actions {
    width: 100%;
    justify-content: flex-start;
  }
  .admin-view .rowitem > .actions .btn {
    flex: 1 1 120px;
  }
  .nx-workspace .content-wrap {
    padding-top: 18px;
  }
  .command-deck {
    margin-bottom: 13px;
    padding: 12px;
  }
  .command-deck-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  #appView.nx-admin-shell .top .actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .command-chip {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-view {
    animation: none;
  }
  .command-chip {
    transition: none;
  }
}

/* ── Public homepage command workspace ───────────────────────────────── */

body.nx-home {
  background:
    radial-gradient(ellipse at 80% -12%, rgba(36, 132, 146, .17), transparent 40rem),
    radial-gradient(ellipse at 2% 46%, rgba(40, 101, 82, .06), transparent 34rem),
    #05080d;
}

.nx-home .hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px;
  align-items: center;
  min-height: 0;
  padding: 52px 0 25px;
}

.nx-home .hero h1 {
  max-width: 680px;
  margin: 18px 0 16px;
  font-size: clamp(40px, 4.9vw, 61px);
  line-height: 1.01;
  letter-spacing: -.067em;
}

.nx-home .lead {
  max-width: 620px;
  color: #9eb2bd;
  font-size: 14px;
  line-height: 1.8;
}

.nx-home .actions {
  gap: 9px;
  margin-top: 22px;
}

.nx-home .hero .btn {
  min-height: 42px;
  font-size: 11px;
}

.nx-home .fine {
  margin-top: 16px;
  font-size: 9px;
  line-height: 1.7;
}

.hero-workspace {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(115, 184, 196, .24);
  border-radius: 16px;
  background: linear-gradient(155deg, #0b1721, #060c12 70%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .42);
}

.hero-workspace::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(67, 217, 238, .055), transparent 38%);
}

.hw-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(4, 10, 15, .62);
}

.hw-dots {
  display: flex;
  gap: 4px;
}

.hw-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a414b;
}

.hw-dots i:first-child {
  background: var(--cc-mint);
}

.hw-title {
  color: #79929b;
  font: 8px var(--mono);
  letter-spacing: .13em;
}

.hw-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(85, 230, 165, .24);
  border-radius: 99px;
  color: var(--cc-mint);
  font: 8px var(--mono);
  letter-spacing: .08em;
}

.hw-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cc-mint);
  box-shadow: 0 0 8px rgba(85, 230, 165, .6);
}

.hw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px 13px;
}

.hw-head strong {
  display: block;
  font-size: 15px;
  letter-spacing: -.025em;
}

.hw-head span {
  display: block;
  margin-top: 4px;
  color: #7f97a0;
  font-size: 10px;
  line-height: 1.5;
}

.hw-head b {
  padding: 4px 7px;
  border: 1px solid rgba(255, 203, 112, .26);
  border-radius: 5px;
  color: var(--cc-amber);
  font: 8px var(--mono);
  letter-spacing: .08em;
}

.hw-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--cc-line);
}

.hw-metric {
  padding: 10px 12px;
  background: rgba(255, 255, 255, .012);
}

.hw-metric + .hw-metric {
  border-left: 1px solid var(--cc-line);
}

.hw-metric span {
  display: block;
  color: #6e8892;
  font: 8px var(--mono);
  letter-spacing: .1em;
}

.hw-metric strong {
  display: block;
  margin-top: 4px;
  color: #e8f8fa;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hw-metric small {
  display: block;
  margin-top: 3px;
  color: #758c96;
  font-size: 8px;
  line-height: 1.4;
}

.hw-flow {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
}

.hw-node {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid rgba(146, 181, 194, .12);
  border-radius: 7px;
  background: rgba(10, 20, 28, .62);
}

.hw-node b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(67, 217, 238, .24);
  border-radius: 5px;
  color: var(--cc-cyan);
  font: 8px var(--mono);
}

.hw-node strong {
  display: block;
  font-size: 10px;
}

.hw-node small {
  display: block;
  margin-top: 2px;
  color: #718892;
  font-size: 8px;
  line-height: 1.4;
}

.hw-node em {
  align-self: start;
  margin-top: 1px;
  color: #77919a;
  font: 7px var(--mono);
  font-style: normal;
  letter-spacing: .06em;
}

.hw-node:last-child {
  border-color: rgba(85, 230, 165, .24);
  background: rgba(13, 37, 28, .35);
}

.hw-node:last-child b {
  border-color: rgba(85, 230, 165, .3);
  color: var(--cc-mint);
}

.hw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  border-top: 1px solid var(--cc-line);
  color: #6b838d;
  font: 8px/1.5 var(--mono);
}

.hw-foot a {
  color: var(--cc-cyan);
  text-decoration: none;
}

.nx-home .proofline {
  margin-top: 21px;
  padding: 14px 0;
  border-block: 1px solid var(--cc-line);
  gap: 10px 22px;
  font-size: 9px;
}

.home-workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--cc-line-strong);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(12, 23, 32, .98), rgba(5, 10, 15, .99));
  box-shadow: var(--cc-shadow);
  scroll-margin-top: 96px;
}

.home-rail {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 17px 13px 14px;
  border-right: 1px solid var(--cc-line);
  background: rgba(3, 8, 12, .46);
}

.home-rail-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
}

.home-rail-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid rgba(67, 217, 238, .34);
  border-radius: 8px;
  background: linear-gradient(145deg, #11313a, #09161e);
  color: var(--cc-cyan);
  font: 500 13px var(--mono);
  box-shadow: inset 0 0 16px rgba(67, 217, 238, .07);
}

.home-rail-head span {
  display: block;
  color: #677f88;
  font: 7px var(--mono);
  letter-spacing: .14em;
}

.home-rail-head strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.home-tabs {
  display: grid;
  gap: 3px;
}

.home-tab {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #9fb4bd;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}

.home-tab:hover {
  border-color: rgba(146, 181, 194, .14);
  background: rgba(255, 255, 255, .025);
  color: #d9edf1;
}

.home-tab[aria-pressed="true"] {
  border-color: rgba(67, 217, 238, .28);
  background: linear-gradient(90deg, rgba(67, 217, 238, .12), rgba(67, 217, 238, .02));
  color: #f1feff;
}

.home-tab-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(146, 181, 194, .16);
  border-radius: 7px;
  background: rgba(8, 18, 25, .65);
  color: #82a1ab;
}

.home-tab-icon svg {
  width: 14px;
  height: 14px;
}

.home-tab[aria-pressed="true"] .home-tab-icon {
  border-color: rgba(67, 217, 238, .28);
  background: rgba(67, 217, 238, .09);
  color: var(--cc-cyan);
}

.home-tab-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.home-tab-copy small {
  display: block;
  margin-top: 2px;
  color: #6d848d;
  font-size: 8px;
  line-height: 1.35;
}

.home-tab[aria-pressed="true"] .home-tab-copy small {
  color: #8faeb8;
}

.home-tab-index {
  color: #5f7a83;
  font: 8px var(--mono);
}

.home-tab[aria-pressed="true"] .home-tab-index {
  color: var(--cc-mint);
}

.home-rail-foot {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 13px 4px 0;
  border-top: 1px solid var(--cc-line);
  color: #637b84;
  font: 7px/1.6 var(--mono);
  letter-spacing: .05em;
}

.home-rail-foot a {
  color: var(--cc-cyan);
  font-size: 9px;
  text-decoration: none;
}

.home-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 18%);
}

.home-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(4, 10, 15, .38);
}

.home-kicker {
  color: var(--cc-cyan);
  font: 8px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-topbar h2 {
  margin: 4px 0 3px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.home-topbar p {
  max-width: 660px;
  margin: 0;
  color: #8198a1;
  font-size: 10px;
  line-height: 1.55;
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid rgba(85, 230, 165, .25);
  border-radius: 99px;
  color: var(--cc-mint);
  font: 8px var(--mono);
  letter-spacing: .08em;
  white-space: nowrap;
}

.home-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cc-mint);
  box-shadow: 0 0 9px rgba(85, 230, 165, .6);
}

.home-panels {
  flex: 1;
  padding: 19px 22px 23px;
}

.home-panel[hidden] {
  display: none !important;
}

.home-panel {
  animation: home-panel-in .22s ease both;
}

@keyframes home-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.home-panel .site-finder {
  margin: 0 0 14px;
}

.home-panel .site-finder label {
  min-height: 52px;
}

.home-panel .site-finder input {
  min-height: 48px;
}

.home-panel .path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.home-panel .path-card {
  min-height: 148px;
  padding: 14px;
  border-radius: 9px;
}

.home-panel .path-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  font-size: 14px;
}

.home-panel .path-card strong {
  font-size: 13px;
}

.home-panel .path-card p {
  margin: 6px 0 10px;
  font-size: 10px;
  line-height: 1.6;
}

.home-panel .path-label {
  margin-bottom: 5px;
  font-size: 7px;
}

.home-panel .path-link {
  padding-top: 9px;
  font-size: 9px;
}

.home-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--cc-line);
  color: #738a93;
  font-size: 9px;
  line-height: 1.6;
}

.home-panel-foot a {
  color: var(--cc-cyan);
  text-decoration: none;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.panel-heading h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -.025em;
}

.panel-heading p {
  max-width: 620px;
  margin: 4px 0 0;
  color: #8198a1;
  font-size: 10px;
  line-height: 1.65;
}

.panel-tag {
  flex-shrink: 0;
  padding: 4px 7px;
  border: 1px solid rgba(146, 181, 194, .18);
  border-radius: 5px;
  color: #7f99a3;
  font: 7px var(--mono);
  letter-spacing: .08em;
}

.home-panel .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-panel .product-card {
  min-height: 0;
  padding: 14px;
  border-radius: 9px;
}

.home-panel .product-card:hover {
  transform: none;
}

.home-panel .product-icon {
  width: 31px;
  height: 31px;
  border-radius: 8px;
}

.home-panel .product-icon svg {
  width: 16px;
  height: 16px;
}

.home-panel .product-card h3 {
  margin: 11px 0 5px;
  font-size: 12px;
}

.home-panel .product-card p {
  font-size: 10px;
  line-height: 1.65;
}

.home-panel .product-card .card-meta {
  margin-top: 9px;
  font-size: 7px;
}

.home-panel .execution-map {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--cc-line);
}

.home-panel .execution-map-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 20px;
  margin-bottom: 10px;
}

.home-panel .execution-map-head h3 {
  margin: 5px 0 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.home-panel .execution-map-head > p {
  font-size: 10px;
}

.home-panel .execution-map-flow {
  gap: 5px;
  padding: 8px;
  border-radius: 9px;
}

.home-panel .execution-map-flow > div {
  padding: 8px 7px;
  border-radius: 6px;
}

.home-panel .execution-map-flow strong {
  font-size: 9px;
}

.home-panel .execution-map-flow small {
  font-size: 7px;
}

.home-panel .execution-map-note {
  margin-top: 7px;
  font-size: 8px;
}

.home-panel .intent-band {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
}

.home-panel .intent-band h3 {
  margin: 6px 0 7px;
  font-size: 19px;
  line-height: 1.14;
  letter-spacing: -.04em;
}

.home-panel .intent-band p {
  font-size: 10px;
  line-height: 1.7;
}

.home-panel .intent-example {
  padding: 13px;
}

.home-panel .intent-quote {
  margin: 11px 0;
  font-size: 13px;
  line-height: 1.55;
}

.home-panel .intent-example .btn {
  margin-top: 11px;
  min-height: 38px;
  font-size: 10px;
}

.home-panel .how-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.home-panel .how-copy h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.home-panel .bodycopy {
  font-size: 10px;
  line-height: 1.75;
}

.home-panel .principles {
  margin-top: 15px;
  gap: 0;
}

.home-panel .principle {
  padding: 9px 0;
}

.home-panel .principle strong {
  font-size: 10px;
}

.home-panel .principle p {
  font-size: 9px;
  line-height: 1.6;
}

.home-panel .demo-box {
  padding: 13px;
  border-radius: 10px;
  box-shadow: none;
}

.home-panel .demo-head {
  padding-bottom: 12px;
}

.home-panel .demo-intro {
  margin: 11px 0 10px;
  font-size: 10px;
}

.home-panel .demo-step {
  padding: 9px;
}

.home-panel .demo-foot {
  margin-top: 11px;
  padding-top: 10px;
}

.home-panel .explainer-shell {
  margin: 0;
  border-radius: 10px;
  box-shadow: none;
}

.home-panel .explainer-top {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 0 0 12px;
}

.home-panel .explainer-top h2 {
  margin: 6px 0 6px;
  font-size: 21px;
  line-height: 1.12;
}

.home-panel .explainer-top p {
  font-size: 10px;
  line-height: 1.7;
}

.home-panel .explainer-meta {
  gap: 5px;
  font-size: 8px;
}

.home-panel .explainer-player {
  margin: 0;
  border-radius: 8px;
}

.home-panel .explainer-player video {
  max-height: 420px;
}

.home-panel .explainer-controlbar {
  margin: 8px 0 0;
}

.home-panel .explainer-under {
  padding: 10px 0 0;
  font-size: 8px;
}

.home-panel .explainer-transcript {
  margin: 10px 0 0;
}

.home-panel .architecture-panel {
  padding: 0;
  border: 0;
  background: none;
}

.home-panel .architecture-grid {
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1.15fr);
  gap: 12px;
}

.home-panel .arch-node {
  padding: 15px;
}

.home-panel .arch-node h3 {
  margin: 8px 0 6px;
  font-size: 17px;
}

.home-panel .arch-node p {
  font-size: 10px;
  line-height: 1.7;
}

.home-panel .arch-badge {
  margin-top: 11px;
  padding: 5px 6px;
  font-size: 7px;
}

.home-panel .arch-flow {
  margin-top: 11px;
  padding-top: 10px;
  gap: 4px;
}

.home-panel .arch-flow span {
  padding: 5px 6px;
  font-size: 7px;
}

.home-panel .arch-note {
  margin-top: 11px;
  font-size: 8px;
}

.home-panel .diagram-suite {
  padding: 0;
}

.home-panel .diagram-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-panel .diagram-card {
  padding: 14px;
  border-radius: 9px;
}

.home-panel .diagram-heading {
  margin-bottom: 12px;
}

.home-panel .diagram-heading h3 {
  font-size: 13px;
}

.home-panel .diagram-heading p {
  font-size: 9px;
}

.home-panel .diagram-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.home-panel .diagram-step {
  min-height: 0;
  padding: 9px 7px;
}

.home-panel .diagram-step strong {
  font-size: 9px;
}

.home-panel .diagram-step small {
  font-size: 8px;
  line-height: 1.45;
}

.home-panel .trust-chain {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.home-panel .trust-stage {
  padding: 10px 9px;
}

.home-panel .trust-stage strong {
  margin-top: 6px;
  font-size: 10px;
}

.home-panel .trust-stage p {
  font-size: 8px;
}

.home-panel .control-layer {
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 9px;
}

.home-panel .control-layer strong,
.home-panel .control-layer span {
  font-size: 8px;
}

.home-panel .procurement-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.home-panel .procurement-step {
  padding: 9px 7px;
}

.home-panel .procurement-step strong {
  font-size: 9px;
}

.home-panel .procurement-step small {
  font-size: 8px;
}

.home-panel .security-panel {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 20px;
  padding: 18px;
  border-radius: 10px;
}

.home-panel .security-panel h3 {
  margin: 7px 0 0;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.home-panel .security-panel p {
  font-size: 10px;
  line-height: 1.75;
}

.home-panel .security-points {
  gap: 8px;
  margin-top: 12px;
}

.home-panel .security-point {
  padding: 9px;
}

.home-panel .security-point strong {
  font-size: 9px;
}

.home-panel .security-point span {
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.6;
}

.home-panel .security-panel .actions {
  margin-top: 12px;
}

.home-panel .security-panel .btn {
  min-height: 38px;
  font-size: 9px;
}

.home-faq {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--cc-line);
}

.home-faq .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  gap: 18px;
  margin-bottom: 12px;
}

.home-faq .section-head h3 {
  margin: 5px 0 0;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.home-faq .section-head p {
  font-size: 9px;
  line-height: 1.7;
}

.home-faq .faq-grid {
  gap: 8px;
}

.home-faq .faq-item {
  padding: 12px;
  border-radius: 8px;
}

.home-faq .faq-item h3 {
  margin-bottom: 6px;
  font-size: 10px;
}

.home-faq .faq-item p {
  font-size: 9px;
  line-height: 1.7;
}

.nx-home .home-cta {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 12px;
}

.nx-home .home-cta h2 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 33px);
}

.nx-home .home-cta p {
  font-size: 10px;
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .nx-home .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-top: 43px;
  }
  .nx-home .hero-visual {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 980px) {
  .home-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-rail {
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--cc-line);
  }
  .home-rail-head {
    display: none;
  }
  .home-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .home-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    grid-template-columns: 22px auto;
    gap: 7px;
    padding: 7px 9px;
  }
  .home-tab-icon {
    width: 22px;
    height: 22px;
  }
  .home-tab-copy small,
  .home-tab-index,
  .home-rail-foot {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-topbar {
    flex-direction: column;
    gap: 9px;
    padding: 13px 14px;
  }
  .home-panels {
    padding: 14px;
  }
  .home-panel .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-panel .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-panel .execution-map-head,
  .home-panel .intent-band,
  .home-panel .how-grid,
  .home-panel .security-panel,
  .home-faq .section-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-panel .explainer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-panel .explainer-meta {
    justify-self: start;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    text-align: left;
  }
  .home-panel .architecture-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .home-panel .arch-connector {
    min-height: 44px;
    flex-direction: row;
  }
  .home-panel .arch-connector span {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .home-panel .arch-connector b {
    transform: rotate(90deg);
  }
  .home-panel .diagram-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .nx-home .hero {
    padding-top: 33px;
  }
  .nx-home .hero h1 {
    font-size: clamp(34px, 10vw, 45px);
  }
  .hw-metric {
    padding: 9px 8px;
  }
  .hw-metric strong {
    font-size: 12px;
  }
  .hw-metric small {
    display: none;
  }
  .hw-node {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .hw-node em {
    display: none;
  }
  .home-workspace {
    border-radius: 13px;
  }
  .home-panel .path-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-panel .path-card {
    min-height: 0;
  }
  .home-panel .diagram-flow,
  .home-panel .procurement-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-panel .trust-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-panel .control-layer {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .home-panel .control-layer:nth-child(2),
  .home-panel .control-layer:nth-child(3),
  .home-panel .control-layer:nth-child(4) {
    margin-inline: 0;
  }
  .home-panel .explainer-player video {
    max-height: none;
  }
  .nx-home .home-cta {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-tab,
  .home-panel {
    animation: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .nx-home .proofline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    font-size: 8px;
  }
  .home-panel .path-grid {
    gap: 6px;
  }
  .home-panel .path-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 0 10px;
    min-height: 0;
    padding: 10px 11px;
  }
  .home-panel .path-icon {
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    margin: 0;
  }
  .home-panel .path-label,
  .home-panel .path-card p {
    display: none;
  }
  .home-panel .path-card strong {
    font-size: 12px;
    line-height: 1.3;
  }
  .home-panel .path-link {
    grid-column: 2;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    font-size: 8px;
  }
  .home-panel .path-link b {
    font-size: 10px;
  }
}

/* Shared public, growth, documentation, and auth surfaces. */
body.nx-public,
body.nx-growth,
body.nx-auth,
body.nx-bn {
  --bg: var(--cc-bg);
  --surface: var(--cc-panel);
  --surface2: var(--cc-panel-raised);
  --panel: var(--cc-panel);
  --panel2: var(--cc-panel-raised);
  --line: var(--cc-line);
  --line-bright: var(--cc-line-strong);
  --text: #eef7f9;
  --ink: #eef7f9;
  --muted: var(--cc-muted);
  --dim: #667f89;
  --soft: #667f89;
  --cyan: var(--cc-cyan);
  --green: var(--cc-mint);
  --mint: var(--cc-mint);
  --amber: var(--cc-amber);
  --nx-bg: var(--cc-bg);
  --nx-surface: var(--cc-panel);
  --nx-surface-raised: var(--cc-panel-raised);
  --nx-line: var(--cc-line);
  --nx-line-strong: var(--cc-line-strong);
  --nx-text: #eef7f9;
  --nx-muted: var(--cc-muted);
  --nx-cyan: var(--cc-cyan);
  --nx-green: var(--cc-mint);
  color: var(--text);
  background:
    linear-gradient(rgba(125, 190, 205, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 190, 205, .026) 1px, transparent 1px),
    radial-gradient(ellipse at 82% -8%, rgba(31, 126, 140, .17), transparent 42rem),
    radial-gradient(ellipse at 0 62%, rgba(33, 92, 78, .07), transparent 36rem),
    var(--cc-bg);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

body.nx-public > header,
body.nx-growth > header.topbar,
body.nx-doc > header.nx-doc-header,
body.nx-auth > header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(5, 8, 13, .9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}

body.nx-public > .announcement .wrap,
body.nx-public > header:not(.biz-site-header):not(.bn-top) .wrap,
body.nx-public > .nexus-site-footer .wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

body.nx-wide.nx-public > .announcement .wrap,
body.nx-wide.nx-public > header:not(.biz-site-header):not(.bn-top) .wrap,
body.nx-wide.nx-public > .nexus-site-footer .wrap {
  width: min(1240px, calc(100% - 48px));
}

body.nx-public > header.top {
  padding-inline: max(24px, calc((100% - 1100px) / 2));
}

body.nx-public > header.bn-top {
  max-width: none;
  margin: 0;
  padding-block: 0;
  min-height: 74px;
}

body.nx-public > header.bn-top,
body.nx-doc > header.nx-doc-header {
  padding-inline: max(20px, calc((100vw - 1190px) / 2));
}

body.nx-public .brand,
body.nx-growth .brand,
body.nx-doc .brand,
body.nx-auth .brand,
body.nx-bn .bn-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .2em;
  text-decoration: none;
}

body.nx-public .brand .mark,
body.nx-public .brand .brandmark,
body.nx-growth .brand-symbol,
body.nx-doc .brand .mark,
body.nx-auth .brand .mark,
body.nx-bn .bn-brand .mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #37717d;
  border-radius: 11px;
  background: linear-gradient(145deg, #14323c, #0b1821);
  color: var(--cyan);
  font: 500 19px var(--mono);
  box-shadow: inset 0 0 22px rgba(70, 221, 236, .05);
}

body.nx-public .brand b,
body.nx-doc .brand b {
  font-size: 15px;
  letter-spacing: .22em;
}

body.nx-public .brand small,
body.nx-doc .brand small,
body.nx-auth .brand .tag,
body.nx-bn .bn-brand small {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font: 9px var(--mono);
  letter-spacing: .1em;
}

body.nx-growth .brand > span:last-child {
  font-size: 13px;
  letter-spacing: .18em;
}

body.nx-public .nav a:not(.btn):not(.biz-nav-cta),
body.nx-growth .topbar nav a:not(.nav-cta),
body.nx-doc .nav a:not(.btn),
body.nx-bn .bn-top nav a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: color .16s ease;
}

body.nx-public .nav a:not(.btn):not(.biz-nav-cta):hover,
body.nx-growth .topbar nav a:not(.nav-cta):hover,
body.nx-doc .nav a:not(.btn):hover,
body.nx-bn .bn-top nav a:hover,
body.nx-public .nav a[aria-current="page"]:not(.btn):not(.biz-nav-cta),
body.nx-growth .topbar nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--cyan);
}

body.nx-public .btn,
body.nx-public .biz-nav-cta,
body.nx-growth .button,
body.nx-growth .nav-cta,
body.nx-bn .bn-button,
body.nx-doc .btn,
body.nx-auth button[type="submit"],
body.nx-auth #mfaSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #357987;
  border-radius: 7px;
  background: linear-gradient(115deg, #123943, #102c35);
  color: #effdff;
  font: 650 12px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

body.nx-public .btn:hover,
body.nx-public .biz-nav-cta:hover,
body.nx-growth .button:hover,
body.nx-growth .nav-cta:hover,
body.nx-bn .bn-button:hover,
body.nx-doc .btn:hover,
body.nx-auth button[type="submit"]:hover,
body.nx-auth #mfaSubmit:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  background: #174652;
}

body.nx-public .btn.secondary,
body.nx-growth .button.quiet,
body.nx-bn .bn-button:not(.bn-primary),
body.nx-doc .btn.secondary {
  border-color: #344552;
  background: #0b121a;
  color: #dfeaf0;
}

body.nx-public .btn.secondary:hover,
body.nx-growth .button.quiet:hover,
body.nx-bn .bn-button:not(.bn-primary):hover,
body.nx-doc .btn.secondary:hover {
  background: #131f2a;
}

body.nx-bn .bn-primary {
  border-color: #357987;
  background: linear-gradient(115deg, #123943, #102c35);
  color: #effdff;
}

body.nx-public .pagehero h1,
body.nx-public .platform-hero h1,
body.nx-public .biz-hero h1,
body.nx-growth .hero-copy h1,
body.nx-growth .doc h1,
body.nx-bn .bn-hero h1 {
  letter-spacing: -.06em;
  font-weight: 650;
}

body.nx-public .pagehero .lead,
body.nx-public .platform-hero p,
body.nx-public .biz-hero p,
body.nx-growth .hero-lead,
body.nx-growth .doc p,
body.nx-bn .bn-hero > p:not(.bn-kicker) {
  color: var(--muted);
}

body.nx-public .eyebrow,
body.nx-growth .eyebrow,
body.nx-doc .eyebrow,
body.nx-bn .bn-kicker {
  color: var(--cyan);
  font: 10px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.nx-public :is(.card, .content-card, .platform-card, .platform-note, .template-card, .panel, .biz-card),
body.nx-growth :is(.role-card, .asset-card, .metric-card, .panel, .form-card, .terms-card, .business-panel, .final-cta, .queue-card, .status-section, .dashboard-access, .profile-bar, .reward-state, .studio-code, .consent-card, .founder-card, .founder-form),
body.nx-growth .rules-grid article,
body.nx-doc :is(.panel, .founder-card, .founder-form),
body.nx-bn :is(.bn-panel, .bn-card) {
  border-color: var(--cc-line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(14, 24, 33, .94), rgba(8, 13, 20, .97));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

body.nx-public :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]),
body.nx-growth :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]),
body.nx-doc :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]),
body.nx-bn :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]),
body.nx-auth :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) {
  border-color: #263c48;
  background: #071018;
  color: var(--text);
}

body.nx-public .section-head h2,
body.nx-growth .section-head h2,
body.nx-doc .doc h2,
body.nx-bn .bn-heading h2 {
  letter-spacing: -.05em;
}

body.nx-growth .footer,
body.nx-bn .bn-footer {
  border-top: 1px solid var(--cc-line);
  color: var(--muted);
}

body.nx-growth .footer > a,
body.nx-growth .footer div a {
  color: var(--text);
}

body.nx-growth .footer div a {
  color: var(--muted);
}

body.nx-doc .doc {
  padding-top: 52px;
}

body.nx-auth {
  min-height: 100vh;
}

body.nx-auth .card {
  width: min(100%, 500px);
  border: 1px solid var(--cc-line-strong);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(14, 24, 33, .98), rgba(7, 12, 18, .98));
  box-shadow: 0 28px 100px rgba(0, 0, 0, .42);
}

body.nx-auth .switch {
  background: #060b11;
}

body.nx-auth .switch a.active {
  border-color: #2c6470;
  background: #12343e;
}

body.nx-bn .nexus-site-footer,
body.nx-doc .nexus-site-footer {
  margin-top: clamp(38px, 5vw, 64px);
  padding: 0 0 24px;
  border-top: 1px solid rgba(92, 220, 234, .2);
  background: linear-gradient(180deg, rgba(12, 24, 34, .82), rgba(5, 9, 15, .98));
  color: var(--muted);
  font-family: var(--sans);
}

body.nx-bn .nexus-site-footer .footer-shell,
body.nx-doc .nexus-site-footer .footer-shell {
  padding-top: 28px;
}

body.nx-bn .footer-topline,
body.nx-doc .footer-topline {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

body.nx-bn .footer-brand,
body.nx-doc .footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

body.nx-bn .footer-brandmark,
body.nx-doc .footer-brandmark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #37717d;
  border-radius: 11px;
  background: linear-gradient(145deg, #14323c, #0b1821);
  color: var(--cyan);
  font: 500 20px var(--mono);
}

body.nx-bn .footer-brand strong,
body.nx-doc .footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  letter-spacing: .22em;
}

body.nx-bn .footer-brand small,
body.nx-doc .footer-brand small {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font: 9px var(--mono);
  letter-spacing: .1em;
}

body.nx-bn .footer-topline > p,
body.nx-doc .footer-topline > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

body.nx-bn .footer-lifecycle,
body.nx-doc .footer-lifecycle {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid rgba(83, 203, 220, .17);
  border-radius: 10px;
  background: linear-gradient(100deg, rgba(14, 42, 52, .68), rgba(7, 15, 23, .8));
}

body.nx-bn .footer-lifecycle-label,
body.nx-doc .footer-lifecycle-label {
  display: block;
  margin-bottom: 11px;
  color: var(--dim);
  font: 9px var(--mono);
  letter-spacing: .13em;
}

body.nx-bn .footer-flow,
body.nx-doc .footer-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

body.nx-bn .footer-flow span,
body.nx-doc .footer-flow span {
  color: var(--text);
  font: 10px var(--mono);
  letter-spacing: .045em;
}

body.nx-bn .footer-flow span:nth-of-type(1),
body.nx-doc .footer-flow span:nth-of-type(1),
body.nx-bn .footer-flow span:nth-of-type(3),
body.nx-doc .footer-flow span:nth-of-type(3),
body.nx-bn .footer-flow span:nth-of-type(5),
body.nx-doc .footer-flow span:nth-of-type(5) {
  color: var(--cyan);
}

body.nx-bn .footer-flow span:last-child,
body.nx-doc .footer-flow span:last-child {
  color: var(--mint);
}

body.nx-bn .footer-flow i,
body.nx-doc .footer-flow i {
  color: #4d7885;
  font-style: normal;
}

body.nx-bn .footer-columns,
body.nx-doc .footer-columns {
  display: grid;
  grid-template-columns: .8fr .8fr .8fr 1.6fr;
  gap: 25px;
  padding: 14px 0 26px;
}

body.nx-bn .footer-column,
body.nx-doc .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

body.nx-bn .footer-column h2,
body.nx-doc .footer-column h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: .045em;
}

body.nx-bn .footer-column > a,
body.nx-doc .footer-column > a {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
}

body.nx-bn .footer-column > a:hover,
body.nx-doc .footer-column > a:hover {
  color: var(--cyan);
}

body.nx-bn .footer-note p,
body.nx-doc .footer-note p {
  margin: 0;
  max-width: 350px;
  font-size: 11px;
  line-height: 1.8;
}

body.nx-bn .footer-status,
body.nx-doc .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #8ca2af;
  font: 9px/1.6 var(--mono);
  letter-spacing: .035em;
}

body.nx-bn .footer-status i,
body.nx-doc .footer-status i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(131, 240, 189, .44);
}

body.nx-bn .footer-bottom,
body.nx-doc .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 17px 0 9px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8295a2;
  font: 9px/1.7 var(--mono);
  letter-spacing: .035em;
}

body.nx-bn .footer-bottom i,
body.nx-doc .footer-bottom i {
  color: #42616e;
  font-style: normal;
}

body.nx-doc .nx-doc-header .bar {
  display: flex;
  min-height: 74px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
}

body.nx-bn .nexus-site-footer > .wrap,
body.nx-doc .nexus-site-footer > .wrap {
  width: min(1190px, calc(100% - 48px));
  margin-inline: auto;
}

body.nx-doc .nx-doc-header .nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

body.nx-doc .nx-doc-header .nav .btn {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 11px;
}

@media (max-width: 760px) {
  body.nx-public > .announcement .wrap,
  body.nx-public > header:not(.biz-site-header):not(.bn-top) .wrap,
  body.nx-public > .nexus-site-footer .wrap,
  body.nx-wide.nx-public > .announcement .wrap,
  body.nx-wide.nx-public > header:not(.biz-site-header):not(.bn-top) .wrap,
  body.nx-wide.nx-public > .nexus-site-footer .wrap {
    width: calc(100% - 32px);
  }

  body.nx-bn .nexus-site-footer > .wrap,
  body.nx-doc .nexus-site-footer > .wrap {
    width: calc(100% - 32px);
  }

  body.nx-public > header,
  body.nx-growth > header.topbar,
  body.nx-doc > header.nx-doc-header {
    min-height: 66px;
  }

  body.nx-doc .nx-doc-header .bar {
    height: auto;
    min-height: 66px;
    padding-block: 10px;
  }

  body.nx-doc .nx-doc-header .nav .btn {
    display: none;
  }

  body.nx-bn .footer-topline,
  body.nx-doc .footer-topline {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  body.nx-bn .footer-topline > p,
  body.nx-doc .footer-topline > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.nx-bn .footer-columns,
  body.nx-doc .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 18px;
  }

  body.nx-bn .footer-note,
  body.nx-doc .footer-note {
    grid-column: 1 / -1;
  }

  body.nx-bn .footer-flow,
  body.nx-doc .footer-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 9px;
  }

  body.nx-bn .footer-bottom,
  body.nx-doc .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  body.nx-bn .footer-topline,
  body.nx-doc .footer-topline {
    grid-template-columns: minmax(0, 1fr);
  }

  body.nx-bn .footer-brandmark,
  body.nx-doc .footer-brandmark {
    width: 38px;
    height: 38px;
  }
}

body.nx-doc .provider-form button,
body.nx-doc .founder-form button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #357987;
  border-radius: 7px;
  background: linear-gradient(115deg, #123943, #102c35);
  color: #effdff;
  font: 650 12px/1 var(--sans);
  cursor: pointer;
}

body.nx-doc .provider-form button:hover,
body.nx-doc .founder-form button:hover {
  border-color: var(--cyan);
  background: #174652;
}
