:root {
  color-scheme: dark;
  --bg: #04070b;
  --bg-deep: #010306;
  --panel: rgba(7, 14, 20, 0.86);
  --panel-strong: rgba(5, 11, 16, 0.94);
  --line: rgba(116, 255, 220, 0.14);
  --line-strong: rgba(116, 255, 220, 0.34);
  --ink: #e8fff7;
  --muted: rgba(232, 255, 247, 0.72);
  --cyan: #7eeeff;
  --green: #74ffc5;
  --amber: #f7ca72;
  --rose: #ff8fa6;
  --shadow: rgba(0, 0, 0, 0.42);
  --display-font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --command-font: "Bahnschrift SemiCondensed", "Avenir Next Condensed", "DIN Alternate", "Arial Narrow", sans-serif;
  --mono-font: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--display-font);
  background:
    radial-gradient(circle at 15% 20%, rgba(116, 255, 197, 0.13), transparent 22rem),
    radial-gradient(circle at 85% 18%, rgba(126, 238, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 50% 120%, rgba(247, 202, 114, 0.09), transparent 26rem),
    linear-gradient(180deg, #051018 0%, #04080d 48%, var(--bg-deep) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 5.8rem,
      rgba(126, 238, 255, 0.035) 5.8rem,
      rgba(126, 238, 255, 0.035) 5.88rem
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 5.8rem,
      rgba(116, 255, 197, 0.03) 5.8rem,
      rgba(116, 255, 197, 0.03) 5.88rem
    );
  opacity: 0.65;
}

body::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    transparent 12%,
    transparent 88%,
    rgba(255, 255, 255, 0.04)
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 11, 16, 0.96);
  color: var(--ink);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2.4rem;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(116, 255, 197, 0.08), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(126, 238, 255, 0.08), transparent 22rem);
  opacity: 0.85;
}

.deck-head,
.hero,
.deck-readout,
.status-board,
.panel,
.deck-footer {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 720ms cubic-bezier(0.2, 1, 0.36, 1) forwards;
}

.hero {
  animation-delay: 80ms;
}

.status-board {
  animation-delay: 160ms;
}

.deck-readout {
  animation-delay: 120ms;
}

.panel--nodes {
  animation-delay: 240ms;
}

.panel--signal {
  animation-delay: 320ms;
}

.deck-footer {
  animation-delay: 400ms;
}

.deck-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand__glyph {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.12), rgba(116, 255, 197, 0.05)),
    rgba(5, 11, 16, 0.88);
  box-shadow:
    0 0 0 1px rgba(126, 238, 255, 0.05),
    0 1rem 3rem rgba(0, 0, 0, 0.32);
  color: var(--green);
  font-family: var(--mono-font);
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
}

.brand__meta {
  display: grid;
  gap: 0.12rem;
}

.brand__meta strong {
  font-family: var(--command-font);
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.deck-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.deck-nav a,
.button,
.node-note,
.node-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.deck-nav a {
  padding: 0.68rem 0.92rem;
  background: rgba(5, 11, 16, 0.68);
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.88rem;
}

.deck-nav a:hover,
.deck-nav a:focus-visible,
.button:hover,
.button:focus-visible,
.node-link:hover,
.node-link:focus-visible,
.node-note:hover,
.node-note:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(126, 238, 255, 0.08);
}

.hero,
.status-card,
.panel,
.terminal,
.readout-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow:
    0 1.25rem 3rem var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero,
.panel {
  border-radius: 1.7rem;
}

.readout-card,
.status-card,
.node-card,
.hero-panel {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 238, 255, 0.1), transparent 24rem),
    linear-gradient(135deg, rgba(116, 255, 197, 0.05), transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 238, 255, 0.95), transparent);
  box-shadow:
    0 0 18px rgba(126, 238, 255, 0.32),
    0 0 42px rgba(116, 255, 197, 0.16);
  opacity: 0.75;
  pointer-events: none;
  animation: deck-sweep 8s linear infinite;
}

.hero__copy,
.terminal {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-head__eyebrow,
.status-card__label,
.node-card__code {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  line-height: 0.96;
  text-wrap: balance;
  font-family: var(--command-font);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10.6ch;
  font-size: clamp(2.65rem, 6.6vw, 5.45rem);
  letter-spacing: 0.015em;
  line-height: 0.91;
  text-shadow:
    0 0 24px rgba(126, 238, 255, 0.08),
    0 0 48px rgba(116, 255, 197, 0.06);
}

.lead,
.section-head__body,
.signal-copy p,
.node-card p,
.status-card p,
.principles li {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.72;
}

.lead {
  max-width: 43rem;
  margin: 1.2rem 0 0;
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__signals li {
  display: inline-grid;
  gap: 0.12rem;
  flex: 1 1 11rem;
  min-width: 10rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(126, 238, 255, 0.12);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.05), transparent),
    rgba(6, 13, 19, 0.78);
}

.hero__signal-key,
.hero__signal-value,
.status-card__note,
.node-tags li {
  font-family: var(--mono-font);
}

.hero__signal-key {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__signal-value {
  color: var(--ink);
  font-size: 0.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button,
.node-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.75rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.08), rgba(116, 255, 197, 0.04)),
    rgba(5, 11, 16, 0.8);
  color: var(--ink);
  font-family: var(--command-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions .button {
  flex: 1 1 13rem;
}

.button--ghost {
  background: rgba(8, 16, 22, 0.72);
  color: var(--muted);
}

.deck-readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.deck-update {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.panel--updates {
  gap: 1rem;
}

.update-head {
  display: grid;
  gap: 0.42rem;
}

.update-head h2 {
  margin: 0;
  max-width: 16ch;
}

.panel--updates .section-head__eyebrow {
  margin-bottom: 0.1rem;
}

.update-head__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 56rem;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.update-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.instrument-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.readout-card {
  position: relative;
  min-height: 100%;
  padding: 0.95rem 1rem 1rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.12), transparent 8rem),
    rgba(7, 14, 20, 0.86);
}

.readout-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.88), rgba(116, 255, 197, 0.14));
}

.readout-card--live::before {
  background: linear-gradient(90deg, rgba(116, 255, 197, 0.95), rgba(126, 238, 255, 0.16));
}

.readout-card--quiet::before {
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.95), rgba(126, 238, 255, 0.14));
}

.readout-card--archive::before {
  background: linear-gradient(90deg, rgba(255, 143, 166, 0.95), rgba(126, 238, 255, 0.1));
}

.readout-card--internal::before {
  background: linear-gradient(90deg, rgba(169, 149, 255, 0.95), rgba(126, 238, 255, 0.12));
}

.readout-card--direction::before {
  background: linear-gradient(90deg, rgba(247, 202, 114, 0.95), rgba(116, 255, 197, 0.14));
}

.readout-card__label,
.readout-card__note {
  margin: 0;
  font-family: var(--mono-font);
  text-transform: uppercase;
}

.readout-card__label {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.readout-card__value {
  margin: 0.7rem 0 0;
  color: var(--ink);
  font-family: var(--command-font);
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.readout-card--live .readout-card__value {
  color: var(--green);
}

.readout-card--quiet .readout-card__value {
  color: var(--cyan);
}

.readout-card--archive .readout-card__value {
  color: var(--rose);
}

.readout-card--internal .readout-card__value {
  color: #b9a5ff;
}

.readout-card--direction .readout-card__value {
  color: var(--amber);
}

.readout-card__note {
  margin-top: 0.62rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.update-card {
  position: relative;
  min-height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(126, 238, 255, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(7, 14, 20, 0.74);
  box-shadow:
    0 1.2rem 2.6rem rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.update-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.18rem;
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.9), rgba(116, 255, 197, 0.12));
}

.update-card__label,
.update-card__note {
  margin: 0;
  font-family: var(--mono-font);
  text-transform: uppercase;
}

.update-card__label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.update-card__value {
  margin: 0.68rem 0 0;
  color: var(--ink);
  font-family: var(--command-font);
  font-size: clamp(1.02rem, 1.55vw, 1.26rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}

.update-card__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.update-card--games::before {
  background: linear-gradient(90deg, rgba(116, 255, 197, 0.94), rgba(126, 238, 255, 0.16));
}

.update-card--quiet::before {
  background: linear-gradient(90deg, rgba(247, 202, 114, 0.94), rgba(126, 238, 255, 0.16));
}

.update-card--sandbox::before {
  background: linear-gradient(90deg, rgba(169, 149, 255, 0.94), rgba(126, 238, 255, 0.16));
}

.instrument-card {
  position: relative;
  min-height: 100%;
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.08), transparent 8rem),
    rgba(6, 13, 19, 0.86);
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.instrument-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.9), rgba(116, 255, 197, 0.12));
}

.instrument-card__label,
.instrument-card__note {
  margin: 0;
  font-family: var(--mono-font);
  text-transform: uppercase;
}

.instrument-card__label {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.instrument-card__value {
  margin: 0.68rem 0 0;
  color: var(--ink);
  font-family: var(--command-font);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-transform: uppercase;
}

.instrument-card__note {
  margin-top: 0.62rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.instrument-card--network::before {
  background: linear-gradient(90deg, rgba(116, 255, 197, 0.94), rgba(126, 238, 255, 0.16));
}

.instrument-card--motion::before {
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.94), rgba(126, 238, 255, 0.12));
}

.instrument-card--locale::before {
  background: linear-gradient(90deg, rgba(255, 143, 166, 0.94), rgba(126, 238, 255, 0.12));
}

.instrument-card--hardware::before {
  background: linear-gradient(90deg, rgba(247, 202, 114, 0.94), rgba(126, 238, 255, 0.12));
}

.terminal {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.04), transparent 30%),
    var(--panel-strong);
}

.terminal::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(126, 238, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(126, 238, 255, 0.24) calc(50% - 0.5px), rgba(126, 238, 255, 0.24) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent calc(50% - 0.5px), rgba(126, 238, 255, 0.24) calc(50% - 0.5px), rgba(126, 238, 255, 0.24) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    radial-gradient(circle, rgba(126, 238, 255, 0.08), transparent 64%);
  box-shadow:
    0 0 24px rgba(126, 238, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  opacity: 0.46;
  pointer-events: none;
  z-index: 0;
}

.terminal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-right: 4.8rem;
}

.terminal__title,
.terminal__meta dt,
.terminal__meta dd,
.terminal__lines li {
  font-family: var(--mono-font);
}

.terminal__title {
  color: var(--cyan);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(116, 255, 197, 0.8);
  animation: pulse 2.1s ease-in-out infinite;
}

.terminal__lines {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terminal__scope {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.9rem 0.75rem 0.7rem;
  border-top: 1px solid rgba(126, 238, 255, 0.08);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.05), transparent 55%),
    rgba(5, 11, 16, 0.52);
  overflow: hidden;
}

.terminal__scope::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 4.2rem,
      rgba(126, 238, 255, 0.045) 4.2rem,
      rgba(126, 238, 255, 0.045) 4.28rem
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 38%);
  pointer-events: none;
}

.terminal__scope::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.02), rgba(126, 238, 255, 0.18), rgba(116, 255, 197, 0.03));
  mix-blend-mode: screen;
  pointer-events: none;
  animation: scope-sweep 5.6s linear infinite;
}

.terminal__scope-block {
  display: grid;
  gap: 0.55rem;
  padding: 0.78rem 0.8rem 0.85rem;
  border: 1px solid rgba(126, 238, 255, 0.08);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.03), transparent 48%),
    rgba(4, 10, 15, 0.44);
}

.terminal__scope-head {
  display: grid;
  gap: 0.28rem;
}

.terminal__scope-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal__scope-summary {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono-font);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.scope-channel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.34rem;
}

.scope-channel__key,
.scope-channel__value {
  font-family: var(--mono-font);
  text-transform: uppercase;
}

.scope-channel__key {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.scope-channel__track {
  position: relative;
  display: block;
  height: 6.1rem;
  border: 1px solid rgba(126, 238, 255, 0.12);
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 1rem,
      rgba(126, 238, 255, 0.04) 1rem,
      rgba(126, 238, 255, 0.04) 1.08rem
    ),
    rgba(6, 13, 19, 0.84);
  overflow: hidden;
}

.scope-channel__track::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgba(126, 238, 255, 0.12);
  pointer-events: none;
}

.scope-channel__fill {
  position: absolute;
  inset: auto 0 0;
  display: block;
  height: 18%;
  border-radius: 0.75rem 0.75rem 0.7rem 0.7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(126, 238, 255, 0.18) 22%, rgba(126, 238, 255, 0.88)),
    rgba(126, 238, 255, 0.88);
  box-shadow:
    0 0 24px rgba(126, 238, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: height 260ms ease;
}

.scope-channel__fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 45%);
  mix-blend-mode: screen;
}

.scope-channel__value {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.scope-channel--live .scope-channel__value {
  color: var(--green);
}

.scope-channel--hold .scope-channel__value {
  color: #b9a5ff;
}

.scope-channel--archive .scope-channel__value {
  color: var(--rose);
}

.scope-channel--local .scope-channel__value {
  color: var(--amber);
}

.scope-channel--utc .scope-channel__value {
  color: #7ff5f1;
}

.scope-channel--view .scope-channel__value {
  color: #86d9ff;
}

.scope-channel--live .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(116, 255, 197, 0.18) 22%, rgba(116, 255, 197, 0.94)),
    rgba(116, 255, 197, 0.94);
  box-shadow:
    0 0 24px rgba(116, 255, 197, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scope-channel--hold .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(185, 165, 255, 0.2) 22%, rgba(185, 165, 255, 0.95)),
    rgba(185, 165, 255, 0.95);
  box-shadow:
    0 0 24px rgba(185, 165, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scope-channel--archive .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 143, 166, 0.18) 22%, rgba(255, 143, 166, 0.92)),
    rgba(255, 143, 166, 0.92);
  box-shadow:
    0 0 24px rgba(255, 143, 166, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scope-channel--local .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(247, 202, 114, 0.18) 22%, rgba(247, 202, 114, 0.94)),
    rgba(247, 202, 114, 0.94);
  box-shadow:
    0 0 24px rgba(247, 202, 114, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scope-channel--utc .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(127, 245, 241, 0.18) 22%, rgba(127, 245, 241, 0.95)),
    rgba(127, 245, 241, 0.95);
  box-shadow:
    0 0 24px rgba(127, 245, 241, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scope-channel--view .scope-channel__fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(134, 217, 255, 0.18) 22%, rgba(134, 217, 255, 0.95)),
    rgba(134, 217, 255, 0.95);
  box-shadow:
    0 0 24px rgba(134, 217, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.terminal__lines li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.terminal__line-copy {
  flex: 1 1 auto;
  padding-top: 0.28rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.2rem 0.55rem;
  min-width: 6.3rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tag--live {
  color: var(--green);
}

.tag--queue {
  color: var(--amber);
}

.tag--hold {
  color: var(--cyan);
}

.tag--archive {
  color: var(--rose);
}

.terminal__meta-note {
  margin: 0;
  padding-top: 0.1rem;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0.85rem 0.8rem 0;
  border-top: 1px solid rgba(126, 238, 255, 0.08);
}

.terminal__meta div {
  min-width: 0;
}

.terminal__meta dt {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal__meta dd {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.42;
  color: var(--ink);
}

.status-board,
.panel {
  margin-top: 1rem;
}

.status-board {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background:
    linear-gradient(180deg, rgba(126, 238, 255, 0.03), transparent 28%),
    rgba(6, 13, 19, 0.82);
  box-shadow:
    0 1.25rem 3rem var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.status-board::before,
.status-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.status-board::before {
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.18rem;
  background: linear-gradient(90deg, rgba(255, 143, 166, 0.3), rgba(247, 202, 114, 0.36), rgba(126, 238, 255, 0.16));
}

.status-board::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) 1rem 1rem / 1.1rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) 1rem 1rem / 1px 1.1rem no-repeat,
    linear-gradient(90deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) calc(100% - 2.1rem) 1rem / 1.1rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) calc(100% - 1rem) 1rem / 1px 1.1rem no-repeat,
    linear-gradient(90deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) 1rem calc(100% - 1rem) / 1.1rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) 1rem calc(100% - 2.1rem) / 1px 1.1rem no-repeat,
    linear-gradient(90deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) calc(100% - 2.1rem) calc(100% - 1rem) / 1.1rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.12), rgba(126, 238, 255, 0.12)) calc(100% - 1rem) calc(100% - 2.1rem) / 1px 1.1rem no-repeat;
  opacity: 0.92;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}

.section-head__body {
  max-width: 44rem;
  margin: 0.75rem 0 0;
}

.status-grid,
.node-grid,
.signal-grid {
  display: grid;
  gap: 1rem;
}

.status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-card {
  position: relative;
  min-height: 100%;
  padding: 1rem 1rem 1.1rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.08), transparent 9rem),
    rgba(7, 14, 20, 0.86);
}

.status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 238, 255, 0.1), rgba(126, 238, 255, 0.1)) 0.9rem 0.9rem / 0.7rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.1), rgba(126, 238, 255, 0.1)) 0.9rem 0.9rem / 1px 0.7rem no-repeat,
    linear-gradient(90deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) calc(100% - 1.6rem) calc(100% - 0.9rem) / 0.7rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) calc(100% - 0.9rem) calc(100% - 1.6rem) / 1px 0.7rem no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.status-card h3,
.node-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--command-font);
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.22rem;
  background: rgba(126, 238, 255, 0.18);
}

.status-card p,
.node-card p,
.signal-copy p,
.principles {
  margin: 0;
}

.status-card__note {
  display: inline-flex;
  margin-top: 0.9rem;
  padding: 0.45rem 0.64rem;
  border: 1px dashed rgba(126, 238, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-grid {
  position: relative;
}

.status-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(20% - 0.5px),
      rgba(126, 238, 255, 0.035) calc(20% - 0.5px),
      rgba(126, 238, 255, 0.035) 20%
    );
  pointer-events: none;
  opacity: 0.6;
}

.status-card--live {
  border-color: rgba(116, 255, 197, 0.22);
}

.status-card--live::before {
  background: linear-gradient(90deg, rgba(116, 255, 197, 0.9), rgba(126, 238, 255, 0.18));
}

.status-card--queue {
  border-color: rgba(247, 202, 114, 0.22);
}

.status-card--queue::before {
  background: linear-gradient(90deg, rgba(247, 202, 114, 0.88), rgba(126, 238, 255, 0.12));
}

.status-card--hold {
  border-color: rgba(126, 238, 255, 0.22);
}

.status-card--hold::before {
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.88), rgba(126, 238, 255, 0.12));
}

.status-card--archive {
  border-color: rgba(255, 143, 166, 0.22);
}

.status-card--archive::before {
  background: linear-gradient(90deg, rgba(255, 143, 166, 0.92), rgba(126, 238, 255, 0.1));
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.18rem;
  background: linear-gradient(90deg, rgba(126, 238, 255, 0.34), rgba(116, 255, 197, 0.08));
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) 1rem 1rem / 0.9rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) 1rem 1rem / 1px 0.9rem no-repeat,
    linear-gradient(90deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) calc(100% - 1.9rem) calc(100% - 1rem) / 0.9rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) calc(100% - 1rem) calc(100% - 1.9rem) / 1px 0.9rem no-repeat;
  pointer-events: none;
}

.node-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.node-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.08), transparent 8rem),
    rgba(4, 9, 14, 0.7);
  overflow: hidden;
}

.node-card::before {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 238, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.node-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) 0.9rem 0.9rem / 0.55rem 1px no-repeat,
    linear-gradient(180deg, rgba(126, 238, 255, 0.08), rgba(126, 238, 255, 0.08)) 0.9rem 0.9rem / 1px 0.55rem no-repeat;
  pointer-events: none;
}

.node-card--live {
  border-color: rgba(116, 255, 197, 0.22);
}

.node-card--queue {
  border-color: rgba(247, 202, 114, 0.22);
}

.node-card--hold {
  border-color: rgba(126, 238, 255, 0.2);
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.node-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(126, 238, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(7, 14, 20, 0.76);
}

.node-link {
  width: fit-content;
  margin-top: auto;
}

.node-note {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 0.55rem 0.72rem;
  border: 1px dashed rgba(126, 238, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.84rem;
  background: rgba(6, 13, 19, 0.62);
}

.readout-card:hover,
.readout-card:focus-within,
.update-card:hover,
.update-card:focus-within,
.instrument-card:hover,
.instrument-card:focus-within,
.status-card:hover,
.status-card:focus-within,
.node-card:hover,
.node-card:focus-within,
.hero-panel:hover,
.hero-panel:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow:
    0 1.4rem 3.2rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(126, 238, 255, 0.08);
}

.signal-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.signal-copy {
  display: grid;
  gap: 0.85rem;
}

.principles {
  padding-left: 1.2rem;
}

.principles li + li {
  margin-top: 0.65rem;
}

.deck-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0 0.3rem;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.88rem;
}

.deck-footer p {
  margin: 0;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes scope-wave {
  0%,
  100% {
    transform: scaleY(0.9);
    opacity: 0.68;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@keyframes scope-sweep {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(620%);
  }
}

@keyframes deck-sweep {
  0%,
  100% {
    transform: translateX(-8%) scaleX(0.88);
    opacity: 0.4;
  }

  50% {
    transform: translateX(8%) scaleX(1.02);
    opacity: 0.86;
  }
}

.hero--lab h1 {
  max-width: 11ch;
}

.hero--lab::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 238, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 22% 0%, rgba(169, 149, 255, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(116, 255, 197, 0.05), transparent 40%);
}

.hero--lab::after {
  opacity: 0;
  animation: none;
}

.lead--compact {
  max-width: 41rem;
  margin-top: 0.85rem;
  font-size: 0.98rem;
  opacity: 0.92;
}

.section-head--wide h2,
.section-head--wide .section-head__body,
.update-head h2 {
  max-width: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.panel--feature {
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.08), transparent 12rem),
    var(--panel);
}

.feature-card {
  position: relative;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 238, 255, 0.09), transparent 8rem),
    rgba(6, 13, 19, 0.82);
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card--primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 255, 197, 0.12), transparent 8rem),
    rgba(6, 13, 19, 0.84);
  border-color: rgba(126, 238, 255, 0.18);
}

.feature-card--support {
  background:
    radial-gradient(circle at 100% 0%, rgba(169, 149, 255, 0.08), transparent 9rem),
    rgba(6, 13, 19, 0.8);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(90deg, rgba(116, 255, 197, 0.94), rgba(126, 238, 255, 0.16));
}

.feature-card h3 {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--command-font);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card__eyebrow {
  margin: 0;
  color: var(--green);
  font-family: var(--mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card .node-tags {
  margin-top: 0.95rem;
}

.hero__actions--compact {
  margin-top: 1.1rem;
}

.status-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.node-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles--tight {
  padding-left: 1.15rem;
  margin-top: 0.6rem;
}

.principles--tight li {
  color: var(--muted);
  line-height: 1.65;
}

.principles--tight li + li {
  margin-top: 0.55rem;
}

@media (max-width: 1080px) {
  .deck-readout,
  .instrument-panel,
  .status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-grid::before {
    background:
      repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent calc(33.333% - 0.5px),
        rgba(126, 238, 255, 0.035) calc(33.333% - 0.5px),
        rgba(126, 238, 255, 0.035) 33.333%
      );
  }

  .node-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-grid--four,
  .node-grid--three,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-grid--four::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
  }

  .deck-head {
    justify-content: flex-start;
  }

  .deck-nav {
    justify-content: flex-start;
  }

  .hero,
  .signal-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1,
  .section-head h2 {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 4.35rem);
  }

  .status-grid,
  .deck-readout,
  .update-grid,
  .instrument-panel,
  .node-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .status-grid--four,
  .node-grid--three {
    grid-template-columns: 1fr;
  }

  .update-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-grid::before {
    display: none;
  }

  .terminal__meta {
    grid-template-columns: 1fr;
  }

  .deck-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .deck-head,
  .hero,
  .status-board,
  .panel,
  .deck-footer {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .pulse-dot {
    animation: none;
  }

  .hero::before,
  .hero::after,
  .terminal::before,
  .terminal__scope::after,
  .scope-channel__fill {
    animation: none;
  }

  .deck-nav a,
  .button,
  .node-link,
  .node-note {
    transition: none;
  }
}

.mobile-entry {
  display: none;
}

/* ===== MOBILE MODE: FIELD TERMINAL ===== */
@media (max-width: 640px) {

  .hero--lab {
    padding: 1.2rem;
    gap: 0.8rem;
  }

  .hero--lab h1 {
    font-size: 2.1rem;
    line-height: 1.05;
    max-width: none;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .lead--compact {
    display: none;
  }

  .hero__signals {
    gap: 0.5rem;
  }

  .hero__signals li {
    padding: 0.55rem 0.7rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .terminal {
    opacity: 0.9;
    padding: 0.8rem;
  }

  .terminal__lines {
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .terminal__scope,
  .terminal__meta,
  .terminal__scope-block,
  .terminal__meta-note {
    display: none;
  }

  .feature-card {
    padding: 0.9rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .status-card {
    padding: 0.9rem;
  }

  .status-card h3 {
    font-size: 1.05rem;
  }

  .node-card {
    padding: 0.9rem;
  }

  .node-card h3 {
    font-size: 1.05rem;
  }

  .update-card {
    padding: 0.9rem;
  }

  .update-card__value {
    font-size: 1rem;
  }

  .mobile-entry {
    display: block;
    margin-top: 0.8rem;
  }

  .mobile-entry .button {
    width: 100%;
  }

  .deck-footer {
    font-size: 0.8rem;
  }
}
