:root {
  --bg: #050606;
  --panel: #111416;
  --panel-2: #191d20;
  --line: #384047;
  --line-soft: rgba(255, 255, 255, 0.11);
  --text: #f4f7f8;
  --muted: #aeb8bd;
  --dim: #738086;
  --cyan: #08b9d2;
  --green: #59c83d;
  --amber: #f2b632;
  --coral: #ef5241;
  --blue: #3a93f5;
  --purple: #9d7cff;
  --paper: #f4f7f8;
  --paper-text: #111416;
  --paper-muted: #506168;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
  font-family: var(--sans);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--cyan);
  color: #031012;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 6, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  width: 17px;
  height: 17px;
}

.brand-mark i { display: block; }
.brand-mark i:nth-child(1) { background: var(--cyan); }
.brand-mark i:nth-child(2) { background: var(--amber); }
.brand-mark i:nth-child(3) { background: var(--green); }
.brand-mark i:nth-child(4) { background: var(--coral); }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible { color: var(--text); }

.header-cta {
  justify-self: end;
  padding: 9px 13px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--cyan);
  color: #031012;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(810px, 86svh);
  padding: 126px clamp(24px, 6vw, 92px) 96px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-grid {
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero::after {
  z-index: -1;
  background: rgba(5, 6, 6, 0.2);
}

.hero-copy {
  z-index: 5;
  align-self: center;
  min-width: 0;
  width: min(700px, 57vw);
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.hero h2,
.section-heading h2,
.problem h2,
.intelligence h2,
.closing h2 {
  margin: 0;
  font-weight: 830;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(60px, 8.4vw, 122px);
  line-height: 0.88;
}

.hero h2 {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.02;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.45;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #031012;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.system-canvas {
  position: absolute;
  z-index: -2;
  top: 72px;
  right: -40px;
  width: min(62vw, 940px);
  height: calc(100% - 72px);
  opacity: 0.92;
}

.core-node {
  position: absolute;
  top: 39%;
  left: 57%;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: #081316;
  box-shadow: 0 0 0 14px rgba(8, 185, 210, 0.06), 0 0 0 28px rgba(8, 185, 210, 0.025);
  transition: transform 180ms ease;
}

.core-node::before {
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(8, 185, 210, 0.42);
  border-radius: 50%;
  content: "";
  animation: rotate 16s linear infinite;
}

.core-node strong { font-size: 34px; }
.core-node span {
  margin-top: -42px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-node {
  position: absolute;
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  width: 136px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(17, 20, 22, 0.92);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.agent-node > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  background: var(--node-colour, var(--cyan));
  color: #071012;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.agent-node strong { font-size: 12px; }
.agent-node small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.agent-node:hover,
.agent-node:focus-visible,
.agent-node.is-active {
  border-color: var(--node-colour, var(--cyan));
  background: rgba(25, 29, 32, 0.98);
  transform: translateY(-3px);
  outline: none;
}

.node-cortex { --node-colour: var(--cyan); top: 18%; left: 43%; }
.node-forge { --node-colour: var(--coral); top: 29%; right: 5%; }
.node-aegis { --node-colour: var(--amber); top: 67%; right: 8%; }
.node-muse { --node-colour: var(--green); top: 74%; left: 54%; }

.signal-line {
  position: absolute;
  z-index: -1;
  height: 1px;
  transform-origin: left center;
  background: rgba(8, 185, 210, 0.35);
}

.signal-line::after {
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  content: "";
  animation: pulse 1.8s ease-in-out infinite;
}

.line-a { top: 31%; left: 51%; width: 180px; transform: rotate(25deg); }
.line-b { top: 48%; left: 64%; width: 170px; transform: rotate(-20deg); }
.line-c { top: 58%; left: 64%; width: 185px; transform: rotate(28deg); }
.line-d { top: 58%; left: 51%; width: 160px; transform: rotate(134deg); }

.command-monitor {
  position: absolute;
  left: 4%;
  bottom: 14%;
  width: 330px;
  padding: 14px;
  border-left: 3px solid var(--cyan);
  background: rgba(5, 6, 6, 0.88);
  transition: transform 180ms ease;
}

.monitor-label {
  display: block;
  margin-bottom: 10px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.monitor-label i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.command-monitor code {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-monitor p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.command-monitor strong { color: var(--cyan); }

.run-state {
  position: absolute;
  right: 4%;
  bottom: 14%;
  display: grid;
  gap: 7px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.run-state span {
  padding-left: 10px;
  border-left: 2px solid var(--line);
}

.run-state .is-live {
  border-color: var(--green);
  color: var(--text);
}

.hero-proof {
  position: absolute;
  z-index: 6;
  inset: auto clamp(24px, 6vw, 92px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 70px;
  border-top: 1px solid var(--line-soft);
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 16px 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-proof span + span {
  padding-left: 22px;
  border-left: 1px solid var(--line-soft);
}

.hero-proof strong { color: var(--text); }

.band,
.light-band,
.closing { padding: clamp(82px, 9vw, 138px) clamp(24px, 6vw, 92px); }

.section-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.problem-layout,
.intelligence-layout,
.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}

.problem h2,
.section-heading h2,
.intelligence h2,
.closing h2 {
  max-width: 900px;
  font-size: clamp(36px, 5.3vw, 76px);
  line-height: 1.03;
}

.problem-copy {
  max-width: 660px;
  padding-top: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.58;
}

.problem-copy p { margin: 0; }
.problem-copy p + p { margin-top: 28px; }
.problem-statement { color: var(--text); font-weight: 750; }

.light-band {
  background: var(--paper);
  color: var(--paper-text);
  color-scheme: light;
}

.light-band .eyebrow { color: #00899f; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  column-gap: clamp(42px, 7vw, 104px);
  align-items: end;
}

.section-heading .eyebrow { grid-column: 1 / -1; }

.section-heading p:last-child {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.light-band .section-heading p:last-child { color: var(--paper-muted); }

.execution-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.execution-flow li {
  position: relative;
  min-width: 0;
  padding: 22px 24px 30px 0;
  border-top: 3px solid var(--paper-text);
}

.execution-flow li:not(:last-child)::after {
  position: absolute;
  top: -6px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--paper-text);
  border-right: 2px solid var(--paper-text);
  transform: rotate(45deg);
  content: "";
}

.execution-flow span {
  display: block;
  margin-bottom: 28px;
  color: #00899f;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.execution-flow strong {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
}

.execution-flow small {
  display: block;
  max-width: 190px;
  color: var(--paper-muted);
  font-size: 13px;
  line-height: 1.5;
}

.workspace-preview {
  margin: 70px 0 0;
  border: 1px solid #c6d0d4;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(17, 20, 22, 0.13);
  color: var(--text);
  color-scheme: dark;
}

.preview-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.preview-brand { color: var(--text); }
.preview-brand i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--cyan);
}
.preview-live { justify-self: end; color: var(--green); }

.preview-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(420px, 1.65fr) minmax(190px, 0.72fr);
  min-height: 350px;
}

.preview-mission,
.preview-result {
  padding: 32px 28px;
  background: #0b0e0f;
}

.preview-mission { border-right: 1px solid var(--line); }
.preview-result { border-left: 1px solid var(--line); }
.preview-label {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
}
.preview-mission strong,
.preview-result strong {
  display: block;
  margin-top: 24px;
  font-size: 24px;
  line-height: 1.16;
}
.preview-mission p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.preview-result strong { color: var(--green); }
.preview-result ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.preview-result li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}
.preview-result li::before { color: var(--green); content: "[OK] "; }

.preview-workflow {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 32px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.preview-command {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cyan);
  background: #071012;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
}
.preview-command span { margin-right: 8px; color: var(--cyan); font-weight: 900; }
.preview-agent-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.preview-agent-row span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
}
.preview-agent-row strong { font-size: 13px; }
.preview-agent-row small { color: var(--muted); font-size: 11px; }
}

.workforce .section-heading p:last-child,
.outcomes .section-heading p:last-child { color: var(--muted); }

.workforce-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 68px;
  background: var(--line);
  border: 1px solid var(--line);
}

.agent-role {
  min-height: 225px;
  padding: 28px;
  background: var(--panel);
  border-top: 4px solid var(--role-colour);
}

.agent-role > span {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  margin-bottom: 44px;
  background: var(--role-colour);
  color: #071012;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.agent-role h3 {
  margin: 0 0 13px;
  color: var(--role-colour);
  font-size: 18px;
}

.agent-role p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.agent-role.cyan { --role-colour: var(--cyan); }
.agent-role.green { --role-colour: var(--green); }
.agent-role.amber { --role-colour: var(--amber); }
.agent-role.purple { --role-colour: var(--purple); }

.governance-line {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 1px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.governance-line strong { color: var(--green); }

.intelligence-layout { align-items: center; }

.intelligence-copy {
  color: var(--paper-muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.intelligence-copy p { margin: 0; }
.intelligence-copy .quiet { margin-top: 28px; font-size: 15px; }

.routing-factors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 34px 0 0;
  border-block: 1px solid #c6d0d4;
}

.routing-factors span {
  padding: 16px 12px;
  color: var(--paper-text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.routing-factors span + span { border-left: 1px solid #c6d0d4; }

.outcomes { border-block: 1px solid var(--line-soft); }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 72px;
  border: 1px solid var(--line);
  background: var(--line);
}

.outcome-grid article {
  min-height: 230px;
  padding: 34px;
  background: var(--panel);
}

.outcome-grid span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.outcome-grid h3 {
  max-width: 480px;
  margin: 28px 0 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.12;
}

.outcome-grid p {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.closing {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-bottom: 8px solid var(--cyan);
}

.closing::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--cyan);
  content: "";
}

.closing-copy > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.closing-actions {
  align-content: center;
  margin: 0;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(24px, 6vw, 92px);
  color: var(--dim);
  font-size: 11px;
}

footer .brand { font-size: 13px; }
footer p { margin: 0; }
footer p:nth-of-type(2) { text-align: right; }
footer .disclaimer {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.24; transform: scale(0.7); } }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .system-canvas { right: -190px; width: 780px; opacity: 0.48; }
  .hero-copy { width: min(740px, 74vw); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading p:last-child { max-width: 760px; margin-top: 28px; }
  .execution-flow { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 12px; }
  .workforce-rail { grid-template-columns: repeat(2, 1fr); }
  .closing-layout { grid-template-columns: 1fr; }
  .closing-actions { margin-top: 44px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 60px; padding-inline: 16px; }
  .header-cta { padding: 8px 10px; font-size: 9px; }
  .hero {
    min-height: 0;
    padding: 90px 20px 78px;
  }
  .hero-copy { width: 100%; max-width: 100%; padding-bottom: 66px; }
  .hero h1 { max-width: 100%; font-size: clamp(48px, 17vw, 72px); }
  .hero h2 { max-width: 100%; margin-top: 20px; font-size: clamp(27px, 7.8vw, 36px); overflow-wrap: normal; }
  .hero-lead { max-width: 100%; margin-top: 22px; font-size: 18px; }
  .hero-actions { margin-top: 26px; }
  .button { width: 100%; }
  .system-canvas { display: none; }
  .hero-proof { inset-inline: 20px; grid-template-columns: 1fr; min-height: 62px; }
  .hero-proof span { display: none; }
  .hero-proof span:first-child { display: flex; padding: 14px 0; }
  .band,
  .light-band,
  .closing { padding: 76px 20px; }
  .problem-layout,
  .intelligence-layout { grid-template-columns: 1fr; gap: 28px; }
  .problem-copy { padding-top: 0; }
  .problem h2,
  .section-heading h2,
  .intelligence h2,
  .closing h2 { font-size: clamp(34px, 11vw, 48px); }
  .execution-flow { margin-top: 52px; }
  .workspace-preview { margin-top: 44px; overflow: hidden; }
  .preview-topbar { grid-template-columns: 1fr auto; }
  .preview-topbar > span:nth-child(2) { display: none; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-mission,
  .preview-result { padding: 24px; }
  .preview-mission { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-result { border-left: 0; border-top: 1px solid var(--line); }
  .preview-workflow { padding: 22px; }
  .preview-agent-row { grid-template-columns: 74px 1fr; }
  .preview-agent-row small { display: none; }
  .workforce-rail { grid-template-columns: 1fr; margin-top: 52px; }
  .agent-role { min-height: 190px; }
  .agent-role > span { margin-bottom: 30px; }
  .governance-line { flex-direction: column; }
  .routing-factors { grid-template-columns: repeat(2, 1fr); }
  .routing-factors span:nth-child(3) { border-left: 0; border-top: 1px solid #c6d0d4; }
  .routing-factors span:nth-child(4) { border-top: 1px solid #c6d0d4; }
  .outcome-grid { grid-template-columns: 1fr; margin-top: 52px; }
  .outcome-grid article { min-height: 210px; padding: 28px 24px; }
  footer { grid-template-columns: 1fr; padding-inline: 20px; }
  footer p:nth-of-type(2) { text-align: left; }
}

@media (max-width: 540px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
