:root {
  color-scheme: dark;
  --color-bg: #08111f;
  --color-bg-deep: #050b14;
  --color-surface: #0f1c2e;
  --color-surface-raised: #14243a;
  --color-surface-soft: rgba(20, 36, 58, 0.72);
  --color-text: #f4f0e6;
  --color-muted: #aab7c7;
  --color-dim: #758398;
  --color-border: #28415c;
  --color-border-soft: rgba(170, 183, 199, 0.18);
  --color-primary: #f5b82e;
  --color-primary-soft: #ffd993;
  --color-primary-contrast: #101827;
  --color-success: #4dd8ba;
  --color-warning: #f4a340;
  --color-danger: #f16c64;
  --shadow-panel: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max-width: 1200px;
  --section-y: clamp(72px, 8vw, 112px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 54%, #070d17 100%);
  color: var(--color-text);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(170, 183, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 183, 199, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 78%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(77, 216, 186, 0.9);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(40, 65, 92, 0.72);
  background: rgba(8, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-soft);
  font-size: 22px;
  font-weight: 850;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(245, 184, 46, 0.76);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.1), rgba(8, 17, 31, 0.54)),
    url("assets/freighthive-stitch-logo.png") center / cover no-repeat,
    var(--color-surface);
  box-shadow:
    0 0 22px rgba(77, 216, 186, 0.22),
    0 0 34px rgba(245, 184, 46, 0.16);
  overflow: hidden;
  animation: logo-live-pulse 3.2s ease-in-out infinite;
}

.brand-mark::before {
  position: absolute;
  inset: -1px;
  content: "";
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 217, 147, 0.74) 50%, transparent 66% 100%);
  transform: translateX(-150%);
  animation: logo-scan 4.4s ease-in-out infinite;
}

.brand-mark::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--color-success);
  box-shadow: 0 0 12px rgba(77, 216, 186, 0.95);
  animation: node-pulse 2.1s ease-in-out infinite;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.site-footer a {
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

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

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-cta {
  border: 1px solid rgba(245, 184, 46, 0.56);
  padding: 0 18px;
  color: var(--color-primary-soft);
}

.nav-cta:hover,
.button-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(245, 184, 46, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(15, 28, 46, 0.82);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(18px, 4vw, 72px) 54px;
  border-bottom: 1px solid rgba(40, 65, 92, 0.72);
  background:
    radial-gradient(circle at 68% 36%, rgba(245, 184, 46, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.98) 0%, rgba(8, 17, 31, 0.96) 62%, var(--color-bg) 100%);
}

.hero-hive-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-hive-bg-img {
  position: absolute;
  inset: -5%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.1);
  animation: hive-bg-breathe 18s ease-in-out infinite alternate;
}

.hero-hive-field {
  position: absolute;
  inset: -6% -4%;
  width: 108%;
  height: 112%;
  opacity: 0.64;
  mix-blend-mode: screen;
}

.golden-hive-lines path {
  fill: none;
  stroke: url("#heroHiveGold");
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.golden-hive-lines path:nth-child(n + 4) {
  stroke: rgba(245, 184, 46, 0.24);
  stroke-width: 1.4;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: faded-hive-draw 14s ease-in-out infinite;
}

.golden-hive-lines path:nth-child(5) {
  animation-delay: -2s;
}

.golden-hive-lines path:nth-child(6) {
  animation-delay: -4s;
}

.golden-hive-lines path:nth-child(7) {
  animation-delay: -6s;
}

.golden-hive-lines path:nth-child(8) {
  animation-delay: -8s;
}

.hive-travelers circle {
  fill: var(--color-primary);
  opacity: 0.94;
  filter: drop-shadow(0 0 10px rgba(245, 184, 46, 0.95));
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.98) 0%, rgba(8, 17, 31, 0.86) 42%, rgba(8, 17, 31, 0.56) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.5) 0%, rgba(8, 17, 31, 0.82) 68%, var(--color-bg) 100%);
}

.route-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.24;
  background-image:
    linear-gradient(30deg, transparent 0 49%, rgba(245, 184, 46, 0.12) 50%, transparent 51%),
    linear-gradient(150deg, transparent 0 49%, rgba(245, 184, 46, 0.08) 50%, transparent 51%);
  background-size: 170px 98px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  animation: route-grid-drift 22s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1840px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.62fr) minmax(720px, 1.38fr);
  gap: clamp(40px, 4.6vw, 96px);
  align-items: center;
  min-width: 0;
}

.hero-copy {
  padding-bottom: 0;
  min-width: 0;
  max-width: 100%;
}

.hero-visuals {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.hive-stage {
  position: relative;
  min-height: clamp(620px, 39vw, 800px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(170, 183, 199, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 184, 46, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(15, 28, 46, 0.96), rgba(5, 11, 20, 0.94));
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(245, 184, 46, 0.06) inset;
  isolation: isolate;
}

.hive-stage::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  background-image:
    linear-gradient(rgba(255, 217, 147, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 217, 147, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
}

.hive-stage::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  content: "";
  background:
    radial-gradient(circle at 49% 43%, transparent 0 24%, rgba(8, 17, 31, 0.24) 50%, rgba(8, 17, 31, 0.74) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.1) 0%, rgba(8, 17, 31, 0.24) 55%, rgba(8, 17, 31, 0.72) 100%);
  pointer-events: none;
}

.hive-stage-image {
  position: absolute;
  inset: -5%;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.06);
  animation: image-drift 16s ease-in-out infinite alternate;
}

.stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 40%, rgba(245, 184, 46, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(77, 216, 186, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.64), transparent 44%, rgba(8, 17, 31, 0.52));
  pointer-events: none;
}

.scan-beam {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: -26%;
  z-index: 6;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(77, 216, 186, 0.18), rgba(255, 217, 147, 0.12), transparent);
  filter: blur(4px);
  transform: skewX(-12deg);
  animation: scan-sweep 7.5s ease-in-out infinite;
  pointer-events: none;
}

.hive-motion {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hex-field path {
  fill: rgba(15, 28, 46, 0.22);
  stroke: rgba(255, 217, 147, 0.24);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  animation: hex-breathe 5.8s ease-in-out infinite alternate;
}

.hex-field path:nth-child(2) {
  animation-delay: 0.7s;
}

.hex-field path:nth-child(3) {
  animation-delay: 1.2s;
}

.hex-field path:nth-child(4) {
  animation-delay: 1.8s;
}

.route-lines path {
  fill: none;
  stroke: url("#routeGold");
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 190 720;
  filter: drop-shadow(0 0 8px rgba(245, 184, 46, 0.72));
  animation: route-draw 6.4s linear infinite;
}

.route-lines .route-b {
  animation-delay: -1.4s;
  opacity: 0.82;
}

.route-lines .route-c {
  animation-delay: -2.8s;
  opacity: 0.74;
}

.route-lines .route-d {
  animation-delay: -4.2s;
  opacity: 0.68;
}

.node {
  fill: url("#nodeGlow");
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 2.7s ease-in-out infinite;
}

.node-two {
  animation-delay: 0.5s;
}

.node-three {
  animation-delay: 1s;
}

.node-four {
  animation-delay: 1.5s;
}

.stage-panel,
.stage-core {
  position: absolute;
  z-index: 9;
  border: 1px solid rgba(170, 183, 199, 0.22);
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.stage-panel {
  width: min(260px, 30%);
  padding: 16px;
  border-radius: 16px;
  animation: panel-float 6s ease-in-out infinite alternate;
}

.stage-panel span,
.stage-core span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-primary);
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-panel strong,
.stage-core strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.05;
}

.stage-panel small {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.35;
}

.stage-panel-inbox {
  top: 7%;
  left: 5%;
}

.stage-panel-worker {
  right: 5%;
  top: 11%;
  animation-delay: 1.1s;
}

.stage-panel-control {
  right: 6%;
  bottom: 7%;
  animation-delay: 2.1s;
}

.stage-core {
  left: 50%;
  top: 50%;
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 999px;
  text-align: center;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 217, 147, 0.28), transparent 62%),
    rgba(8, 17, 31, 0.78);
  box-shadow:
    0 0 0 1px rgba(245, 184, 46, 0.16) inset,
    0 0 60px rgba(245, 184, 46, 0.2);
  animation: core-pulse 3.8s ease-in-out infinite;
}

.system-chip,
.eyebrow,
.node-label,
.worker-number,
.audit-time,
.deployment-steps span {
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 8px 12px;
  border: 1px solid rgba(77, 216, 186, 0.28);
  border-radius: 999px;
  background: rgba(15, 28, 46, 0.78);
  color: var(--color-muted);
}

.system-chip span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--color-success);
  box-shadow: 0 0 18px rgba(77, 216, 186, 0.7);
}

@keyframes logo-live-pulse {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(77, 216, 186, 0.18),
      0 0 28px rgba(245, 184, 46, 0.14);
  }

  50% {
    box-shadow:
      0 0 28px rgba(77, 216, 186, 0.32),
      0 0 46px rgba(245, 184, 46, 0.26);
  }
}

@keyframes logo-scan {
  0%,
  28% {
    transform: translateX(-150%);
    opacity: 0;
  }

  44% {
    opacity: 0.86;
  }

  64%,
  100% {
    transform: translateX(150%);
    opacity: 0;
  }
}

@keyframes hive-bg-breathe {
  from {
    transform: scale(1.08) translate3d(-0.8%, -0.4%, 0);
    opacity: 0.16;
  }

  to {
    transform: scale(1.14) translate3d(1.2%, 0.7%, 0);
    opacity: 0.24;
  }
}

@keyframes faded-hive-draw {
  0% {
    stroke-dashoffset: 720;
    opacity: 0.08;
  }

  38%,
  68% {
    stroke-dashoffset: 0;
    opacity: 0.42;
  }

  100% {
    stroke-dashoffset: -720;
    opacity: 0.08;
  }
}

@keyframes route-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 300px 172px, -300px 172px;
  }
}

@keyframes ambient-network-flow {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 240px 240px, -320px 320px, 420px 180px;
  }
}

@keyframes live-strip-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes grid-floor-flow {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 108px, 108px 0;
  }
}

@keyframes bee-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -12px, 0) scale(1.025);
  }
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotateX(66deg) rotateZ(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(66deg) rotateZ(360deg);
  }
}

@keyframes signal-hop {
  0%,
  100% {
    opacity: 0.46;
    transform: translate3d(0, 0, 0) scale(0.86);
  }

  48% {
    opacity: 1;
    transform: translate3d(10px, -14px, 0) scale(1.24);
  }
}

@keyframes card-scan {
  0%,
  38% {
    transform: translateX(-130%);
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  70%,
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes image-drift {
  from {
    transform: scale(1.06) translate3d(-1%, -0.8%, 0);
  }

  to {
    transform: scale(1.11) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes scan-sweep {
  0%,
  18% {
    transform: translateX(0) skewX(-12deg);
    opacity: 0;
  }

  34% {
    opacity: 1;
  }

  58% {
    opacity: 0.72;
  }

  78%,
  100% {
    transform: translateX(410%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes route-draw {
  from {
    stroke-dashoffset: 900;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.56;
  }

  48% {
    transform: scale(1.42);
    opacity: 1;
  }
}

@keyframes hex-breathe {
  from {
    opacity: 0.18;
    transform: translateY(0);
  }

  to {
    opacity: 0.68;
    transform: translateY(-8px);
  }
}

@keyframes panel-float {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes core-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(245, 184, 46, 0.16) inset,
      0 0 48px rgba(245, 184, 46, 0.14);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(245, 184, 46, 0.32) inset,
      0 0 86px rgba(245, 184, 46, 0.32);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family:
    "Hanken Grotesk", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--color-primary-soft);
  font-size: clamp(64px, 5.4vw, 104px);
  line-height: 0.92;
  font-weight: 900;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 850;
}

.hero-lede {
  max-width: min(720px, 100%);
  color: var(--color-text);
  font-size: clamp(22px, 1.55vw, 32px);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-actions .button {
  min-height: 56px;
  padding: 0 28px;
}

.button {
  border: 1px solid transparent;
  padding: 0 22px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  box-shadow: 0 18px 44px rgba(245, 184, 46, 0.22);
}

.button-primary:hover {
  background: var(--color-primary-soft);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(8, 17, 31, 0.5);
  color: var(--color-text);
}

.button-full {
  width: 100%;
}

.worker-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.worker-card dl div {
  display: grid;
  gap: 4px;
}

dt {
  color: var(--color-dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--color-muted);
}

.worker-number,
.node-label {
  color: var(--color-primary);
}

.section,
.demo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-y) clamp(18px, 4vw, 48px);
}

.section::before,
.demo-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    radial-gradient(circle at 12% 24%, rgba(77, 216, 186, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 42%, rgba(245, 184, 46, 0.11) 0 2px, transparent 3px),
    linear-gradient(110deg, transparent 0 48%, rgba(245, 184, 46, 0.07) 49%, transparent 50% 100%);
  background-size: 240px 240px, 320px 320px, 420px 180px;
  opacity: 0.38;
  pointer-events: none;
  animation: ambient-network-flow 20s linear infinite;
}

.live-operations-strip {
  overflow: hidden;
  border-block: 1px solid rgba(40, 65, 92, 0.72);
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.98), rgba(15, 28, 46, 0.78), rgba(8, 17, 31, 0.98));
}

.live-operations-track {
  width: max-content;
  display: flex;
  gap: 16px;
  padding: 13px 0;
  animation: live-strip-scroll 34s linear infinite;
}

.live-operations-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(170, 183, 199, 0.14);
  border-radius: 999px;
  background: rgba(15, 28, 46, 0.72);
  color: var(--color-muted);
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-operations-track i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-success);
  box-shadow: 0 0 16px rgba(77, 216, 186, 0.84);
  animation: node-pulse 2.4s ease-in-out infinite;
}

.band {
  border-block: 1px solid rgba(40, 65, 92, 0.72);
  background:
    linear-gradient(180deg, rgba(245, 184, 46, 0.035), rgba(77, 216, 186, 0.018)),
    rgba(15, 28, 46, 0.46);
}

.section-heading {
  width: min(var(--max-width), 100%);
  margin: 0 auto 42px;
}

.section-heading p {
  max-width: 680px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center p {
  margin-inline: auto;
}

.section-heading.compact {
  margin-inline: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-primary);
}

.logic-map {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(40, 65, 92, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 17, 31, 0.48);
}

.logic-map article {
  min-height: 270px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 26px;
  border-right: 1px solid rgba(40, 65, 92, 0.8);
}

.logic-map article:last-child {
  border-right: 0;
}

.logic-map p,
.worker-card p,
.deployment-steps p,
.audit-row p,
.faq-list p,
.demo-copy p,
.form-status {
  color: var(--color-muted);
  line-height: 1.58;
}

.visual-proof {
  padding-top: 0;
}

.visual-proof-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.wide-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(170, 183, 199, 0.2);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.wide-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(245, 184, 46, 0.08);
  pointer-events: none;
}

.wide-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.live-bee-card {
  min-height: clamp(320px, 32vw, 520px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(77, 216, 186, 0.16), transparent 34%),
    radial-gradient(circle at 50% 54%, rgba(245, 184, 46, 0.14), transparent 44%),
    rgba(8, 17, 31, 0.62);
}

.live-bee-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(rgba(77, 216, 186, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 46, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.58;
  transform: perspective(700px) rotateX(58deg) scale(1.6);
  transform-origin: center bottom;
  animation: grid-floor-flow 12s linear infinite;
}

.live-bee-card img {
  width: min(100%, 620px);
  height: 100%;
  max-height: 520px;
  aspect-ratio: 512 / 373;
  border-radius: inherit;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 26px 54px rgba(0, 0, 0, 0.52));
  transform-origin: center;
  animation: bee-float 6s ease-in-out infinite;
}

.bee-orbit {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 55%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 184, 46, 0.42);
  border-radius: 999px;
  box-shadow:
    0 0 30px rgba(245, 184, 46, 0.12),
    inset 0 0 30px rgba(77, 216, 186, 0.08);
  transform: translate(-50%, -50%) rotateX(66deg);
  pointer-events: none;
  animation: orbit-spin 11s linear infinite;
}

.bee-orbit-two {
  width: 74%;
  border-color: rgba(77, 216, 186, 0.36);
  animation-duration: 15s;
  animation-direction: reverse;
}

.bee-signal {
  position: absolute;
  z-index: 4;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 18px rgba(245, 184, 46, 0.86);
  pointer-events: none;
  animation: signal-hop 4.6s ease-in-out infinite;
}

.bee-signal-one {
  left: 18%;
  top: 22%;
}

.bee-signal-two {
  right: 16%;
  top: 32%;
  animation-delay: 1.1s;
  background: var(--color-success);
  box-shadow: 0 0 18px rgba(77, 216, 186, 0.86);
}

.bee-signal-three {
  left: 46%;
  bottom: 14%;
  animation-delay: 2.2s;
}

.worker-grid {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.worker-card {
  position: relative;
  min-height: 342px;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 24px;
  border: 1px solid rgba(170, 183, 199, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 36, 58, 0.92), rgba(15, 28, 46, 0.72)),
    var(--color-surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  overflow: hidden;
}

.worker-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 42%, rgba(77, 216, 186, 0.12) 49%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: card-scan 9s ease-in-out infinite;
  pointer-events: none;
}

.worker-card:nth-child(2)::before {
  animation-delay: 1.1s;
}

.worker-card:nth-child(3)::before {
  animation-delay: 2.2s;
}

.worker-card:nth-child(4)::before {
  animation-delay: 3.3s;
}

.worker-card:nth-child(5)::before {
  animation-delay: 4.4s;
}

.worker-card:nth-child(4),
.worker-card:nth-child(5) {
  grid-column: span 3;
}

.worker-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 184, 46, 0.4);
  background:
    linear-gradient(180deg, rgba(20, 36, 58, 0.98), rgba(15, 28, 46, 0.86)),
    var(--color-surface);
}

.worker-number {
  margin-bottom: auto;
}

.worker-status {
  position: absolute;
  top: 22px;
  right: 22px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px auto;
  padding: 7px 10px;
  border: 1px solid rgba(77, 216, 186, 0.24);
  border-radius: 999px;
  background: rgba(77, 216, 186, 0.08);
  color: var(--color-success);
  font-family:
    "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.worker-status::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px rgba(77, 216, 186, 0.72);
  animation: node-pulse 2.6s ease-in-out infinite;
}

.control-layout,
.demo-section {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.audit-panel {
  border: 1px solid rgba(170, 183, 199, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 36, 58, 0.94), rgba(8, 17, 31, 0.86)),
    var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.audit-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(40, 65, 92, 0.72);
}

.audit-row:last-child {
  border-bottom: 0;
}

.audit-row.approved {
  background: rgba(77, 216, 186, 0.08);
}

.audit-row strong {
  display: block;
  margin-bottom: 6px;
}

.audit-row p {
  margin-bottom: 0;
}

.audit-time {
  color: var(--color-primary);
}

.deployment-steps {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deployment-steps article {
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: 24px;
  border: 1px solid rgba(170, 183, 199, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(8, 17, 31, 0.42);
}

.deployment-steps span {
  margin-bottom: 50px;
  color: var(--color-success);
}

.faq-section {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(170, 183, 199, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(15, 28, 46, 0.66);
}

.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: -4px 22px 22px;
}

.demo-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.demo-copy h2 {
  margin-bottom: 18px;
}

.demo-copy p {
  max-width: 560px;
  font-size: 18px;
}

.demo-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(245, 184, 46, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(245, 184, 46, 0.07), rgba(77, 216, 186, 0.035)),
    rgba(15, 28, 46, 0.9);
  box-shadow: var(--shadow-panel);
}

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

label {
  font-size: 14px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(170, 183, 199, 0.22);
  border-radius: var(--radius-md);
  background: rgba(8, 17, 31, 0.76);
  color: var(--color-text);
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-dim);
}

.field.error input,
.field.error textarea {
  border-color: var(--color-danger);
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: #ffb4ab;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 48px);
  border-top: 1px solid rgba(40, 65, 92, 0.72);
  color: var(--color-muted);
}

.site-footer span:first-child {
  color: var(--color-primary-soft);
  font-weight: 850;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-mark {
  width: 30px;
  height: 30px;
}

@media (max-width: 1180px) {
  .hero-inner {
    width: min(980px, 100%);
    grid-template-columns: 1fr;
  }

  .hero-visuals {
    max-width: 980px;
  }
}

@media (max-width: 1040px) {
  .hero-inner,
  .control-layout,
  .demo-section,
  .visual-proof-inner,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visuals {
    max-width: 900px;
  }

  .logic-map,
  .deployment-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logic-map article:nth-child(2) {
    border-right: 0;
  }

  .logic-map article:nth-child(3) {
    border-top: 1px solid rgba(40, 65, 92, 0.8);
  }

  .logic-map article:nth-child(4) {
    border-top: 1px solid rgba(40, 65, 92, 0.8);
  }

  .worker-card,
  .worker-card:nth-child(4),
  .worker-card:nth-child(5) {
    grid-column: span 3;
  }
}

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

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

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(8, 17, 31, 0.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(40, 65, 92, 0.66);
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 17, 31, 0.74) 0%, rgba(8, 17, 31, 0.94) 62%, var(--color-bg) 100%);
  }

  .hero-hive-bg-img {
    opacity: 0.16;
  }

  .hero-hive-field {
    inset: -8% -30%;
    width: 160%;
    opacity: 0.44;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
    overflow-wrap: anywhere;
  }

  .hero-lede {
    max-width: 100%;
    font-size: 19px;
    line-height: 1.45;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hive-stage {
    min-height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .stage-panel {
    display: none;
  }

  .stage-core {
    min-width: 150px;
    padding: 13px 16px;
  }

  .logic-map,
  .deployment-steps {
    grid-template-columns: 1fr;
  }

  .logic-map article,
  .logic-map article:nth-child(2),
  .logic-map article:nth-child(3),
  .logic-map article:nth-child(4) {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 65, 92, 0.8);
  }

  .logic-map article:last-child {
    border-bottom: 0;
  }

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

  .worker-card,
  .worker-card:nth-child(4),
  .worker-card:nth-child(5) {
    grid-column: span 1;
  }

  .audit-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    justify-items: center;
  }

  .hero-inner {
    width: min(100%, 300px);
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 20px;
  }

  .stage-panel {
    display: none;
  }

  .stage-core {
    min-width: 138px;
  }
}

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

  .hive-travelers {
    display: none;
  }

}
