:root {
  --bg: #07090b;
  --bg-soft: #0d1115;
  --panel: rgba(16, 22, 27, 0.78);
  --panel-solid: #11181e;
  --panel-bright: #17232a;
  --text: #f3f7f5;
  --muted: #9aa8a6;
  --subtle: #627170;
  --line: rgba(192, 238, 230, 0.15);
  --line-strong: rgba(192, 238, 230, 0.28);
  --cyan: #64f4dc;
  --green: #a7f36a;
  --amber: #ffbd57;
  --red: #ff5e65;
  --steel: #78929a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(100, 244, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 244, 220, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 189, 87, 0.05), transparent 38%),
    var(--bg);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 11, 0.2), rgba(7, 9, 11, 0.92) 78%);
}

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

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.site-header {
  position: fixed;
  top: 16px;
  left: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(204, 243, 235, 0.13);
  background: rgba(8, 12, 14, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  transition: transform 450ms var(--ease), background 250ms var(--ease), border-color 250ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 12, 14, 0.86);
  border-color: rgba(204, 243, 235, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-block;
  border: 1px solid rgba(100, 244, 220, 0.62);
  position: relative;
  background: linear-gradient(135deg, rgba(100, 244, 220, 0.24), rgba(167, 243, 106, 0.08));
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(100, 244, 220, 0.46);
}

.brand-mark::before {
  inset: 7px;
}

.brand-mark::after {
  width: 6px;
  height: 6px;
  right: -4px;
  top: 7px;
  background: var(--green);
  border: 0;
  box-shadow: 0 0 18px rgba(167, 243, 106, 0.72);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a,
.mobile-menu a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-links a:hover,
.mobile-menu a:hover,
.nav-links a:focus-visible,
.mobile-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--text);
  background: rgba(100, 244, 220, 0.09);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(100, 244, 220, 0.36);
  color: var(--text);
  background: rgba(100, 244, 220, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.header-action:hover,
.header-action:focus-visible,
.header-action[aria-current="page"] {
  transform: translateY(-1px);
  border-color: rgba(100, 244, 220, 0.72);
  background: rgba(100, 244, 220, 0.16);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 200ms var(--ease);
}

.menu-button.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) clamp(18px, 5vw, 72px) 0;
  overflow: hidden;
}

.ops-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.72;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  max-width: 1500px;
  margin: 0 auto;
  min-height: calc(100svh - 190px);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow,
.section-kicker,
.panel-label,
.metric-label {
  margin: 0;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 18px 0 22px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3.8rem, 8.2vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
  max-width: 980px;
}

.hero-lede {
  max-width: 660px;
  margin: 0;
  color: rgba(243, 247, 245, 0.76);
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #05100e;
  box-shadow: 0 14px 42px rgba(100, 244, 220, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 54px rgba(100, 244, 220, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(100, 244, 220, 0.48);
  background: rgba(255, 255, 255, 0.075);
}

.hero-visual {
  min-width: 0;
}

.signal-frame {
  position: relative;
  border: 1px solid rgba(168, 224, 214, 0.18);
  background:
    linear-gradient(180deg, rgba(23, 35, 42, 0.82), rgba(9, 14, 17, 0.76)),
    repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(255, 255, 255, 0.024) 16px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.signal-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(90deg, transparent, rgba(100, 244, 220, 0.42), transparent) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.frame-header,
.frame-footer,
.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.frame-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.frame-footer div {
  min-width: 0;
}

.frame-footer strong {
  display: block;
  margin-top: 6px;
  font-family: "Space Grotesk", Inter, sans-serif;
  color: var(--text);
  font-size: clamp(1.1rem, 2.2vw, 1.72rem);
  letter-spacing: 0;
}

.live-dot,
.feed-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.live-dot::before,
.feed-status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(167, 243, 106, 0.8);
}

.mesh-map {
  position: relative;
  min-height: 520px;
  transform-style: preserve-3d;
  background:
    linear-gradient(90deg, rgba(100, 244, 220, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(100, 244, 220, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  overflow: hidden;
}

.mesh-map::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(100, 244, 220, 0.2);
  transform: skew(-8deg) rotate(-4deg);
}

.mesh-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 38%, rgba(100, 244, 220, 0.14) 48%, transparent 58% 100%);
  animation: scan 4.2s var(--ease) infinite;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 82px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(100, 244, 220, 0.34);
  background: rgba(9, 16, 18, 0.86);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32), 0 0 28px rgba(100, 244, 220, 0.08);
}

.node-core {
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  border-color: rgba(167, 243, 106, 0.62);
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(100, 244, 220, 0.24), rgba(167, 243, 106, 0.18)), #091012;
  color: var(--green);
  font-weight: 700;
}

.node-a {
  left: 11%;
  top: 24%;
}

.node-b {
  right: 14%;
  top: 16%;
}

.node-c {
  left: 18%;
  bottom: 18%;
}

.node-d {
  right: 12%;
  bottom: 25%;
  border-color: rgba(255, 189, 87, 0.5);
  color: var(--amber);
}

.route {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 244, 220, 0.55), transparent);
  transform-origin: left;
  animation: routePulse 2.8s var(--ease) infinite;
}

.route-one {
  left: 18%;
  top: 42%;
  width: 64%;
  --route-rotate: 14deg;
  transform: rotate(14deg);
}

.route-two {
  left: 24%;
  bottom: 33%;
  width: 58%;
  --route-rotate: -20deg;
  transform: rotate(-20deg);
  animation-delay: 500ms;
}

.route-three {
  left: 42%;
  top: 25%;
  width: 36%;
  --route-rotate: 84deg;
  transform: rotate(84deg);
  animation-delay: 900ms;
}

.pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(167, 243, 106, 0.26);
  transform: translate(-50%, -50%);
  animation: pulseRing 3.4s var(--ease) infinite;
}

.hero-strip {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-strip span {
  min-width: max-content;
  padding: 18px 30px;
  border-right: 1px solid var(--line);
  animation: ticker 24s linear infinite;
}

.section {
  padding: clamp(88px, 13vw, 168px) clamp(18px, 5vw, 72px);
  max-width: 1500px;
  margin: 0 auto;
}

.intro-layout,
.systems-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.section-title,
.section-heading h2,
.dashboard-copy h2,
.systems-copy h2,
.handoff-inner h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.3rem, 5.4vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-text,
.systems-copy p,
.dashboard-copy p,
.handoff-inner p {
  margin: 0;
  color: rgba(243, 247, 245, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 8vw, 92px);
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-card {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(9, 14, 17, 0.86);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.capability-card:hover {
  background: rgba(18, 28, 33, 0.96);
  transform: translateY(-3px);
}

.capability-card span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  margin-bottom: auto;
}

.capability-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.capability-card p,
.agent-copy,
.agent-detail p,
.agent-detail li,
.priority-panel p,
.recommendation p {
  color: rgba(243, 247, 245, 0.66);
  line-height: 1.6;
}

.section-heading {
  max-width: 850px;
}

.section-heading .eyebrow,
.dashboard-copy .eyebrow,
.systems-copy .eyebrow,
.handoff-inner .eyebrow {
  margin-bottom: 16px;
}

.agent-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: clamp(20px, 4vw, 46px);
  margin-top: clamp(38px, 7vw, 82px);
}

.agent-orbit {
  position: absolute;
  left: -8%;
  top: 5%;
  width: 58%;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.35;
}

.agent-orbit span {
  position: absolute;
  inset: calc(var(--i, 0) * 38px);
  border: 1px solid rgba(100, 244, 220, 0.14);
  transform: rotate(calc(var(--i, 0) * 12deg));
}

.agent-orbit span:nth-child(1) {
  --i: 0;
}

.agent-orbit span:nth-child(2) {
  --i: 1;
}

.agent-orbit span:nth-child(3) {
  --i: 2;
}

.agent-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agent-card {
  min-height: 250px;
  text-align: left;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: rgba(13, 18, 22, 0.78);
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.agent-card:hover,
.agent-card:focus-visible,
.agent-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(100, 244, 220, 0.5);
  background: rgba(18, 28, 33, 0.96);
}

.agent-status {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.agent-title {
  display: block;
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.36rem, 2.5vw, 2.3rem);
  line-height: 1.02;
  font-weight: 700;
}

.agent-copy {
  display: block;
  margin: 0 0 22px;
}

.agent-card strong {
  display: block;
  margin-top: auto;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.agent-detail {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(167, 243, 106, 0.25);
  background: linear-gradient(180deg, rgba(24, 37, 42, 0.92), rgba(9, 14, 17, 0.92));
  box-shadow: var(--shadow);
}

.agent-detail h3 {
  margin: 16px 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.detail-meter {
  height: 9px;
  margin: 26px 0;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.detail-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transition: width 380ms var(--ease);
}

.agent-detail ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.agent-detail li {
  position: relative;
  padding-left: 18px;
}

.agent-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.dashboard-section {
  padding: clamp(88px, 13vw, 160px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(11, 17, 20, 0), rgba(11, 17, 20, 0.92) 12%, rgba(11, 17, 20, 0.96) 88%, rgba(11, 17, 20, 0));
}

.dashboard-copy {
  max-width: 840px;
  margin: 0 auto clamp(34px, 6vw, 68px);
  text-align: center;
}

.dashboard-copy p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
}

.console {
  max-width: 1500px;
  margin: 0 auto;
  border: 1px solid rgba(190, 237, 229, 0.18);
  background: rgba(8, 12, 14, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-topbar {
  min-height: 58px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
}

.console-topbar > div {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: var(--steel);
}

.window-dot:nth-child(2) {
  background: var(--amber);
}

.window-dot:nth-child(3) {
  background: var(--green);
}

.console-topbar p {
  margin: 0;
  color: var(--muted);
}

.sound-toggle {
  min-height: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 0 12px;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.scenario-tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.scenario-tab:last-child {
  border-right: 0;
}

.scenario-tab:hover,
.scenario-tab:focus-visible,
.scenario-tab.is-active {
  color: var(--text);
  background: rgba(100, 244, 220, 0.08);
}

.console-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  grid-template-areas:
    "priority kpis feed"
    "flow flow feed";
  gap: 1px;
  background: var(--line);
}

.console-panel {
  min-width: 0;
  background: rgba(10, 15, 18, 0.96);
  padding: clamp(20px, 3vw, 30px);
}

.priority-panel {
  grid-area: priority;
}

.kpi-panel {
  grid-area: kpis;
}

.flow-panel {
  grid-area: flow;
}

.feed-panel {
  grid-area: feed;
}

.priority-panel h3 {
  margin: 18px 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.severity-track {
  height: 10px;
  margin: 28px 0 18px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.severity-track span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--red));
  transition: width 320ms var(--ease);
}

.incident-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.incident-meta span,
.flow-steps span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.kpi-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 0;
}

.kpi {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(10, 15, 18, 0.96);
}

.kpi span {
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kpi strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  line-height: 0.95;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.flow-steps span {
  justify-content: center;
  min-height: 44px;
}

.flow-steps .is-complete {
  color: #08110f;
  background: var(--green);
  border-color: var(--green);
}

.flow-steps .is-current {
  color: var(--text);
  border-color: rgba(100, 244, 220, 0.7);
  background: rgba(100, 244, 220, 0.09);
  box-shadow: inset 0 0 0 1px rgba(100, 244, 220, 0.16);
}

.recommendation {
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.recommendation span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.recommendation p {
  margin: 10px 0 0;
}

.approve-button {
  width: 100%;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.event-feed {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.event-feed li {
  position: relative;
  padding: 14px 14px 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(243, 247, 245, 0.72);
  line-height: 1.45;
  animation: feedIn 360ms var(--ease);
}

.event-feed li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
}

.event-feed strong {
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.systems-section {
  align-items: center;
}

.systems-copy {
  max-width: 770px;
}

.systems-copy p {
  margin-top: 22px;
}

.system-map {
  position: relative;
  min-height: 600px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(100, 244, 220, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(100, 244, 220, 0.055) 1px, transparent 1px),
    rgba(8, 12, 14, 0.5);
  background-size: 42px 42px;
  overflow: hidden;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(100, 244, 220, 0.16);
  animation: rotateFrame 16s linear infinite;
}

.system-map::after {
  inset: 25%;
  animation-duration: 22s;
  animation-direction: reverse;
  border-color: rgba(167, 243, 106, 0.14);
}

.system-core,
.system-chip {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(13, 20, 24, 0.9);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.system-core {
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-color: rgba(167, 243, 106, 0.5);
  color: var(--green);
  font-weight: 700;
}

.system-chip {
  min-width: 102px;
  min-height: 54px;
  color: var(--muted);
  font-size: 0.76rem;
  animation: chipFloat 5s var(--ease) infinite;
}

.chip-one { left: 10%; top: 14%; }
.chip-two { right: 10%; top: 16%; animation-delay: 400ms; }
.chip-three { left: 6%; bottom: 25%; animation-delay: 800ms; }
.chip-four { right: 8%; bottom: 22%; animation-delay: 1200ms; }
.chip-five { left: 38%; top: 8%; animation-delay: 1600ms; }
.chip-six { left: 40%; bottom: 8%; animation-delay: 2000ms; }

.handoff-section {
  padding: clamp(88px, 14vw, 180px) clamp(18px, 5vw, 72px);
}

.handoff-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(100, 244, 220, 0.22);
  background:
    linear-gradient(135deg, rgba(100, 244, 220, 0.11), transparent 38%),
    rgba(10, 15, 18, 0.86);
  box-shadow: var(--shadow);
}

.handoff-inner p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 32px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--muted);
  transition: color 180ms var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.page-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: clamp(132px, 18vh, 190px) clamp(18px, 5vw, 72px) clamp(68px, 10vw, 112px);
  overflow: hidden;
}

.page-hero-compact {
  min-height: 62svh;
}

.page-hero-inner {
  max-width: 1120px;
}

.page-hero-inner h1 {
  margin: 18px 0 22px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3.25rem, 7.2vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.page-hero-inner p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(243, 247, 245, 0.72);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.dashboard-page-section {
  padding-top: clamp(36px, 6vw, 72px);
}

.split-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(10, 15, 18, 0.94);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  background: rgba(18, 28, 33, 0.96);
}

.feature-card span {
  display: block;
  margin-bottom: 64px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.04;
}

.feature-card p {
  margin: 0;
  color: rgba(243, 247, 245, 0.66);
  line-height: 1.65;
}

.detail-meter span {
  width: 94%;
}

.contact-section {
  padding: clamp(34px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(88px, 13vw, 168px);
}

.contact-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.contact-copy h2 {
  margin: 16px 0 22px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.6rem, 5.6vw, 6.4rem);
  line-height: 0.95;
}

.contact-copy p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: rgba(243, 247, 245, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.75;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
}

.contact-methods a {
  width: fit-content;
  color: var(--cyan);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(100, 244, 220, 0.22);
  background: linear-gradient(180deg, rgba(24, 37, 42, 0.92), rgba(9, 14, 17, 0.92));
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  padding: 14px 15px;
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(100, 244, 220, 0.68);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(100, 244, 220, 0.08);
}

.reveal,
.stagger > * {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease), filter 620ms var(--ease);
}

.reveal.is-visible,
.stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes scan {
  0% { transform: translateX(-120%); opacity: 0; }
  25% { opacity: 0.72; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes routePulse {
  0%, 100% { opacity: 0.22; transform: scaleX(0.72) rotate(var(--route-rotate, 0deg)); }
  45% { opacity: 0.92; transform: scaleX(1) rotate(var(--route-rotate, 0deg)); }
}

@keyframes pulseRing {
  0% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.82); }
  55% { opacity: 0.54; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.28); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateFrame {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1120px) {
  .hero-grid,
  .intro-layout,
  .systems-section,
  .agent-stage,
  .split-proof,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .agent-detail {
    position: relative;
    top: auto;
  }

  .console-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "priority kpis"
      "flow flow"
      "feed feed";
  }

  .system-map {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 58px;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .mobile-menu {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    z-index: 49;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 12, 14, 0.94);
    backdrop-filter: blur(22px);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 17vw, 5.4rem);
  }

  .mesh-map {
    min-height: 430px;
  }

  .frame-footer,
  .capability-row,
  .agent-grid,
  .feature-grid,
  .scenario-tabs,
  .kpi-panel,
  .flow-steps,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 220px;
  }

  .console-grid {
    grid-template-areas:
      "priority"
      "kpis"
      "flow"
      "feed";
  }

  .scenario-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scenario-tab:last-child {
    border-bottom: 0;
  }

  .console-topbar {
    flex-wrap: wrap;
  }

  .console-topbar p {
    order: 3;
    width: 100%;
  }

  .system-map {
    min-height: 460px;
  }

  .system-core {
    width: 130px;
    height: 130px;
  }

  .system-chip {
    min-width: 86px;
  }

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

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(3rem, 14.2vw, 3.6rem);
    line-height: 0.95;
  }

  .page-hero {
    min-height: 62svh;
    padding-top: 112px;
  }

  .page-hero-inner h1,
  .contact-copy h2 {
    font-size: clamp(2.85rem, 13vw, 3.8rem);
    line-height: 0.96;
  }

  .hero-lede {
    max-width: 30ch;
  }

  .hero-actions,
  .hero-actions .button,
  .handoff-inner .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-strip span {
    padding-inline: 20px;
  }

  .frame-header,
  .frame-footer,
  .console-topbar,
  .console-panel,
  .handoff-inner {
    padding: 18px;
  }

  .node {
    min-width: 68px;
    min-height: 36px;
    font-size: 0.62rem;
  }

  .node-core {
    width: 106px;
    height: 106px;
  }

  .system-chip {
    font-size: 0.65rem;
  }

  .chip-one { left: 5%; top: 14%; }
  .chip-two { right: 5%; top: 16%; }
  .chip-three { left: 4%; bottom: 25%; }
  .chip-four { right: 4%; bottom: 22%; }
  .chip-five { left: 34%; top: 7%; }
  .chip-six { left: 34%; bottom: 8%; }
}

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

  .ops-canvas {
    display: none;
  }
}
