.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 92px 0 0;
  overflow: hidden;
}
.hero-inner {
  width: 92%;
  max-width: 1280px;
  margin: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  column-gap: clamp(40px, 4.4vw, 72px);
  align-items: center;
  padding: 0 0 20px;
}
.hero-copy {
  min-width: 0;
}
.hero-glow {
  position: absolute;
  top: -10%;
  right: -6%;
  width: min(760px, 68vw);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(53, 96, 224, 0.16) 0%,
    rgba(43, 227, 139, 0.06) 42%,
    transparent 68%
  );
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  background: rgba(241, 245, 251, 0.03);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-eyebrow .node {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 3px var(--action-soft);
  flex-shrink: 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.35);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.25vw, 61px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--action);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-title em {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 30px;
  text-wrap: pretty;
}
.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
}
.trust-badge .sq {
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-trail {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 475;
  font-family: var(--font-mono);
}
.trail-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.trail-svg .trace {
  fill: none;
  stroke: url(#trailGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.trail-svg .stub {
  fill: none;
  stroke: var(--action-line);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.55;
}
.trail-svg .pin {
  fill: var(--action);
  opacity: 0.45;
}

.trail-node {
  position: absolute;
  background: rgba(11, 16, 27, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition:
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.trail-node[data-node='1'] {
  left: 0;
  top: 0;
  width: 54%;
}
.trail-node[data-node='2'] {
  left: 36%;
  top: 34.5%;
  width: 64%;
}
.trail-node[data-node='3'] {
  left: 2%;
  top: 69.4%;
  width: 52%;
}
.trail-node.is-lit {
  border-color: var(--action-line);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(53, 96, 224, 0.18);
}
.trail-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}
.trail-head svg {
  flex-shrink: 0;
  color: var(--action);
}
.trail-meta {
  font-size: 11px;
  color: var(--text-2);
  opacity: 0.82;
  margin-top: 5px;
}
.trail-fact,
.trail-file {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-2);
  margin-top: 7px;
  white-space: nowrap;
}
.trail-file svg {
  flex-shrink: 0;
  color: var(--action);
  opacity: 0.7;
}
.trail-fact .ok {
  color: var(--accent);
  font-style: normal;
  flex-shrink: 0;
}
.trail-fact .next {
  width: 7px;
  height: 7px;
  margin-inline: 1px;
  border: 1.5px solid var(--action);
  border-radius: 50%;
  flex-shrink: 0;
}
.js-anim .trail-fact {
  opacity: 0;
  visibility: hidden;
}

.screen-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(241, 245, 251, 0.07);
  background: rgba(8, 12, 20, 0.6);
}
.screen-topbar .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: #f1f5fb;
  letter-spacing: 0.02em;
}
.screen-topbar .mark em {
  font-style: normal;
  color: var(--action);
}
.screen-topbar .addr {
  flex: 1;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  background: rgba(241, 245, 251, 0.05);
  border-radius: 7px;
  padding: 5px 12px;
}
.circuit {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.circuit path,
.circuit circle {
  stroke: rgba(43, 227, 139, 0.35);
}
.circuit .node {
  fill: rgba(43, 227, 139, 0.5);
  stroke: none;
}

.marquee {
  flex-shrink: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px 20px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee-item .sq {
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: 28px;
}
@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}
