:root {
  color-scheme: dark;
  --void: #02050a;
  --void-2: #06111c;
  --panel: rgba(5, 17, 28, .74);
  --panel-strong: rgba(7, 24, 38, .9);
  --ink: #eefaff;
  --muted: #9db4c4;
  --dim: #607789;
  --cyan: #35f2ff;
  --cyan-soft: #b4fbff;
  --amber: #ffc45e;
  --green: #58f6b2;
  --red: #ff6b78;
  --blue: #7aa2ff;
  --line: rgba(93, 238, 255, .24);
  --line-strong: rgba(93, 238, 255, .5);
  --warm-line: rgba(255, 196, 94, .36);
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .56);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bahnschrift", "Malgun Gothic", "Yu Gothic UI", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 48% 12%, rgba(53, 242, 255, .16), transparent 32%),
    radial-gradient(circle at 86% 28%, rgba(255, 196, 94, .1), transparent 28%),
    radial-gradient(circle at 14% 76%, rgba(88, 246, 178, .08), transparent 30%),
    linear-gradient(135deg, #02050a 0%, #071522 38%, #150f16 68%, #03080d 100%);
  color: var(--ink);
  overflow-x: hidden;
}

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

body::before {
  background:
    linear-gradient(90deg, rgba(53, 242, 255, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 242, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .22) 74%, transparent);
}

body::after {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 8px),
    linear-gradient(104deg, transparent 0%, rgba(53, 242, 255, .1) 44%, transparent 59%),
    linear-gradient(274deg, transparent 0%, rgba(255, 196, 94, .08) 58%, transparent 77%);
  mix-blend-mode: screen;
  opacity: .68;
}

.holo-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.holo-field span {
  position: absolute;
  display: block;
  border: 1px solid rgba(53, 242, 255, .16);
  transform: rotate(32deg);
  box-shadow: 0 0 32px rgba(53, 242, 255, .06);
  animation: orbitDrift 18s ease-in-out infinite;
}

.holo-field span:nth-child(1) {
  width: 34vw;
  height: 34vw;
  left: -17vw;
  top: 16vh;
}

.holo-field span:nth-child(2) {
  width: 52vw;
  height: 52vw;
  right: -26vw;
  top: 11vh;
  border-color: rgba(255, 196, 94, .15);
  animation-delay: -4s;
}

.holo-field span:nth-child(3) {
  width: 24vw;
  height: 24vw;
  right: 8vw;
  bottom: -12vw;
  border-color: rgba(88, 246, 178, .15);
  animation-delay: -8s;
}

.holo-field span:nth-child(4) {
  width: 44vw;
  height: 1px;
  left: 26vw;
  top: 58vh;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(53, 242, 255, .36), transparent);
  transform: rotate(-18deg);
}

.holo-field span:nth-child(5) {
  width: 28vw;
  height: 1px;
  left: 4vw;
  bottom: 18vh;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 94, .28), transparent);
  transform: rotate(12deg);
}

body > *:not(.holo-field) {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(53, 242, 255, .28);
  color: var(--ink);
}

code {
  color: var(--cyan-soft);
  font-family: Consolas, "Cascadia Mono", monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(238px, .8fr) auto minmax(132px, .25fr);
  align-items: center;
  gap: 20px;
  padding: 13px 46px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(53, 242, 255, .08), transparent 28%, rgba(255, 196, 94, .06)),
    rgba(2, 5, 10, .84);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 42px rgba(0, 0, 0, .34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 242, 255, .22), rgba(255, 196, 94, .13)),
    rgba(4, 11, 18, .92);
  box-shadow: inset 0 0 22px rgba(53, 242, 255, .22), 0 0 34px rgba(53, 242, 255, .18);
  color: var(--cyan-soft);
  font-weight: 950;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-weight: 950;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(93, 238, 255, .2);
  border-radius: 999px;
  background: rgba(7, 24, 38, .62);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(53, 242, 255, .12);
  color: var(--cyan-soft);
  outline: 0;
}

.top-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(88, 246, 178, .38);
  border-radius: 999px;
  background: rgba(88, 246, 178, .08);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.top-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(88, 246, 178, .78);
}

main {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.command-deck {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(430px, 1.22fr);
  gap: 46px;
  align-items: center;
  min-height: min(900px, calc(100vh - 71px));
  padding: 54px 0 32px;
}

.mission-column {
  min-width: 0;
}

.system-id {
  display: inline-grid;
  gap: 2px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(53, 242, 255, .12), transparent);
}

.system-id span,
.eyebrow {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-id strong {
  font-size: 16px;
  letter-spacing: 0;
}

.system-id small {
  display: block;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  word-break: keep-all;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-shadow: 0 0 30px rgba(53, 242, 255, .27);
  background: linear-gradient(180deg, #ffffff 0%, #d5fbff 44%, #8fefff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 12px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

p {
  overflow-wrap: break-word;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.keyword-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(93, 238, 255, .26);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(53, 242, 255, .12), transparent 34%),
    rgba(4, 12, 20, .78);
  box-shadow: inset 0 0 24px rgba(53, 242, 255, .06);
  overflow: hidden;
}

.keyword-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 196, 94, .18);
  clip-path: polygon(0 0, 34% 0, 34% 1px, 0 1px, 0 100%, 1px 100%, 1px 0);
  pointer-events: none;
}

.keyword-form::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(180, 251, 255, .14) 48%, transparent 64%);
  transform: translateX(-80%);
  animation: formScan 5.6s linear infinite;
  pointer-events: none;
}

.field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field.wide {
  grid-column: span 2;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(93, 238, 255, .22);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(1, 7, 12, .72);
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.field input:focus,
.field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 242, 255, .12);
}

.run-button {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: end;
  min-height: 46px;
  border: 1px solid rgba(255, 196, 94, .48);
  border-radius: var(--radius);
  padding: 0 18px;
  background:
    linear-gradient(135deg, rgba(255, 196, 94, .24), rgba(53, 242, 255, .14)),
    rgba(8, 18, 25, .9);
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(255, 196, 94, .13);
  text-transform: uppercase;
}

.run-button:hover,
.run-button:focus-visible {
  border-color: var(--cyan-soft);
  box-shadow: 0 0 30px rgba(53, 242, 255, .2);
  outline: 0;
}

.operator-strip,
.metric-strip {
  display: grid;
  gap: 8px;
}

.operator-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.operator-strip article,
.metric-strip article,
.agent-card {
  min-width: 0;
  border: 1px solid rgba(93, 238, 255, .18);
  border-radius: var(--radius);
  background: rgba(5, 17, 28, .58);
}

.operator-strip article {
  padding: 12px;
}

.operator-strip span,
.metric-strip span,
.agent-card span,
.quality-grid article span,
.deploy-grid article span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.operator-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--cyan-soft);
  font-size: 16px;
}

.command-panel {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(93, 238, 255, .3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(53, 242, 255, .14), transparent 36%),
    conic-gradient(from 220deg at 50% 30%, rgba(53, 242, 255, .12), transparent 20%, rgba(255, 196, 94, .08), transparent 44%, rgba(88, 246, 178, .08), transparent 72%, rgba(53, 242, 255, .12)),
    linear-gradient(145deg, rgba(53, 242, 255, .09), transparent 40%),
    rgba(2, 8, 14, .76);
  box-shadow: var(--shadow), inset 0 0 56px rgba(53, 242, 255, .06);
  overflow: hidden;
}

.command-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(93, 238, 255, .12);
  pointer-events: none;
}

.command-panel::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(53, 242, 255, .08), transparent);
  transform: translateY(-120%);
  animation: panelSweep 7s linear infinite;
  pointer-events: none;
}

.panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
}

.panel-head span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.panel-head strong {
  color: var(--cyan-soft);
}

.core-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 330px;
  margin: 4px 0 10px;
  overflow: hidden;
}

.core-stage::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 242, 255, .52), transparent);
  transform: rotate(-12deg);
}

.core-readout {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(180, 251, 255, .58);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(53, 242, 255, .22), rgba(2, 8, 14, .86) 62%),
    rgba(2, 8, 14, .92);
  box-shadow:
    inset 0 0 34px rgba(53, 242, 255, .2),
    0 0 54px rgba(53, 242, 255, .2);
  animation: reactorPulse 4.2s ease-in-out infinite;
}

.core-readout span,
.core-readout small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.core-readout strong {
  color: var(--cyan-soft);
  font-size: 52px;
  line-height: 1;
}

.core-ring,
.core-crosshair {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-a {
  width: 248px;
  height: 248px;
  border: 1px dashed rgba(53, 242, 255, .42);
  animation: spin 22s linear infinite;
}

.ring-b {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 196, 94, .3);
  animation: spinReverse 31s linear infinite;
}

.ring-c {
  width: 354px;
  height: 178px;
  border: 1px solid rgba(88, 246, 178, .24);
  transform: rotate(-14deg);
  animation: pulseRing 5.8s ease-in-out infinite;
}

.core-crosshair {
  width: 390px;
  height: 390px;
  border: 1px solid rgba(93, 238, 255, .11);
}

.core-crosshair::before,
.core-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(93, 238, 255, .16);
}

.core-crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.core-crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.metric-strip {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

.metric-strip article {
  padding: 10px;
}

.metric-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 24px;
}

#systemMap {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 300px;
  margin: 8px 0 12px;
  border: 1px solid rgba(93, 238, 255, .2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .18);
}

.launch-result {
  position: relative;
  z-index: 1;
  max-height: 620px;
  overflow: auto;
  border: 1px solid rgba(93, 238, 255, .18);
  border-radius: var(--radius);
  background: rgba(1, 7, 12, .54);
  box-shadow: inset 0 0 30px rgba(53, 242, 255, .04);
}

.result-empty {
  padding: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.result-empty strong {
  display: block;
  color: var(--cyan-soft);
  margin-bottom: 6px;
}

.result-empty p {
  margin-bottom: 0;
}

.result-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(93, 238, 255, .18);
  background: rgba(3, 12, 20, .94);
}

.result-head span {
  display: block;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.result-head strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.result-badge {
  align-self: start;
  padding: 7px 9px;
  border: 1px solid rgba(88, 246, 178, .34);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.result-body {
  padding: 14px;
}

.result-summary {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.agent-card {
  padding: 10px;
}

.agent-card strong {
  display: block;
  margin-top: 4px;
  color: var(--cyan-soft);
  font-size: 14px;
}

.result-section {
  margin-top: 14px;
}

.result-section h3 {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 13px;
  text-transform: uppercase;
}

.stage-list,
.artifact-list,
.risk-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.stage-list li,
.artifact-list li,
.risk-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(93, 238, 255, .15);
  border-radius: var(--radius);
  background: rgba(5, 17, 28, .5);
}

.stage-list li > span,
.artifact-list li > span,
.risk-list li > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.stage-list strong,
.artifact-list strong,
.risk-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.stage-list small {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-list p,
.artifact-list p,
.risk-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.command-stack {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 196, 94, .18);
  border-radius: var(--radius);
  background: rgba(255, 196, 94, .05);
}

.command-stack > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.command-stack code {
  display: block;
  padding: 8px;
  border: 1px solid rgba(93, 238, 255, .14);
  border-radius: 6px;
  background: rgba(0, 0, 0, .26);
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ghost-button {
  min-height: 38px;
  border: 1px solid rgba(93, 238, 255, .3);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(4, 12, 20, .72);
  color: var(--cyan-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: var(--amber);
  color: var(--ink);
  outline: 0;
}

.section {
  padding: 72px 0;
}

.section-title {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-title p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.flow,
.quality-grid,
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.deploy-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.deploy-checklist article {
  min-width: 0;
  border: 1px solid rgba(93, 238, 255, .18);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 196, 94, .08), transparent 52%),
    rgba(5, 17, 28, .58);
}

.deploy-checklist span,
.deploy-command span {
  display: block;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.deploy-checklist strong {
  display: block;
  margin-top: 6px;
  color: var(--cyan-soft);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.deploy-checklist p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.deploy-command {
  margin-top: 12px;
  border: 1px solid rgba(93, 238, 255, .2);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(1, 7, 12, .72);
}

.deploy-command code {
  display: block;
  margin-top: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.flow article,
.quality-grid article,
.deploy-grid article {
  position: relative;
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(93, 238, 255, .16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 242, 255, .08), transparent 42%),
    rgba(5, 17, 28, .68);
  overflow: hidden;
}

.flow article::after,
.quality-grid article::after,
.deploy-grid article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 242, 255, .7), transparent);
}

.flow article > span,
.deploy-grid article > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.flow p,
.quality-grid p,
.deploy-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.gate-board {
  display: grid;
  gap: 9px;
}

.gate-row {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(0, 1.35fr) 112px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(93, 238, 255, .18);
  border-radius: var(--radius);
  background: rgba(5, 17, 28, .68);
}

.gate-row strong {
  color: var(--ink);
}

.gate-row span {
  color: var(--muted);
  line-height: 1.5;
}

.gate-row em {
  justify-self: end;
  padding: 7px 9px;
  border: 1px solid rgba(93, 238, 255, .24);
  border-radius: 999px;
  color: var(--cyan-soft);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.gate-row.current {
  border-color: rgba(255, 196, 94, .44);
  box-shadow: inset 0 0 28px rgba(255, 196, 94, .06), 0 0 24px rgba(255, 196, 94, .07);
}

.quality-grid article strong {
  display: block;
  margin: 8px 0;
  color: var(--cyan-soft);
  font-size: 34px;
}

.deploy-grid article strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.not-found-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.not-found-panel {
  width: min(100%, 620px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background:
    linear-gradient(140deg, rgba(53, 242, 255, .14), rgba(255, 196, 94, .08)),
    rgba(5, 17, 28, .78);
  box-shadow: var(--shadow);
}

.not-found-panel span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 950;
}

.not-found-panel h1 {
  margin-top: 10px;
  font-size: 42px;
}

.not-found-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.not-found-panel .ghost-button {
  display: inline-grid;
  place-items: center;
  margin-top: 14px;
}

@keyframes formScan {
  to {
    transform: translateX(55%);
  }
}

@keyframes orbitDrift {
  0%,
  100% {
    filter: brightness(1);
    translate: 0 0;
  }
  50% {
    filter: brightness(1.35);
    translate: 18px -14px;
  }
}

@keyframes panelSweep {
  to {
    transform: translateY(720%);
  }
}

@keyframes reactorPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 34px rgba(53, 242, 255, .2),
      0 0 54px rgba(53, 242, 255, .2);
  }
  50% {
    box-shadow:
      inset 0 0 52px rgba(53, 242, 255, .34),
      0 0 84px rgba(53, 242, 255, .34);
  }
}

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

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

@keyframes pulseRing {
  0%,
  100% {
    opacity: .58;
    transform: rotate(-14deg) scale(.98);
  }
  50% {
    opacity: .95;
    transform: rotate(-14deg) scale(1.02);
  }
}

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

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 13px 24px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
  }

  .command-deck,
  .split {
    grid-template-columns: 1fr;
  }

  .command-deck {
    min-height: 0;
    padding-top: 42px;
  }

  h1 {
    font-size: 46px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }

  .topbar {
    grid-template-columns: 1fr;
    max-width: 100vw;
    padding: 13px 12px;
    overflow-x: hidden;
  }

  .topbar > * {
    min-width: 0;
  }

  .brand {
    max-width: 100%;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 360px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    gap: 0;
    overflow: hidden;
  }

  .nav a[href="#quality"],
  .nav a[href="#deploy"] {
    display: none;
  }

  .nav a {
    min-width: 0;
    padding: 8px 0;
    text-align: center;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .top-status {
    justify-self: start;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
  }

  .system-id {
    display: grid;
    width: 100%;
    padding-right: 10px;
  }

  .system-id small {
    max-width: min(100%, 320px);
  }

  .keyword-form,
  .mission-column,
  .command-panel,
  .operator-strip,
  .metric-strip,
  .flow,
  .quality-grid,
  .deploy-grid,
  .deploy-checklist,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: auto;
  }

  .command-panel {
    max-width: calc(100vw - 24px);
    padding: 12px;
  }

  .mission-column,
  .keyword-form,
  .operator-strip {
    max-width: calc(100vw - 24px);
  }

  .panel-head {
    display: grid;
    justify-content: start;
  }

  .core-stage {
    height: 250px;
  }

  .ring-a {
    width: 210px;
    height: 210px;
  }

  .ring-b {
    width: 248px;
    height: 248px;
  }

  .ring-c {
    width: 292px;
    height: 146px;
  }

  .core-crosshair {
    width: 310px;
    height: 310px;
  }

  #systemMap {
    height: 240px;
  }

  .gate-row,
  .stage-list li,
  .artifact-list li,
  .risk-list li {
    grid-template-columns: 1fr;
  }

  .gate-row em {
    justify-self: start;
  }
}
