/* d3e: Ember's fading red glow with Route's animated path and copy. Rounded cards from Ember. */
.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--red-text);
}
.hero {
  position: relative;
  padding: 8rem 0 7rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at 82% 0%,
      rgba(196, 32, 32, 0.42) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 0% 100%,
      rgba(196, 32, 32, 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(to top right, #000000, #1c0606);
}
.hero .inner {
  position: relative;
}
.route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.route .links path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}
.route .path {
  fill: none;
  stroke: #e02b2b;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 12;
  animation: flow 1.6s linear infinite;
}
.route .nodes circle {
  fill: #0a0a0a;
  stroke: #555;
  stroke-width: 2;
}
.route .hops circle {
  fill: #0a0a0a;
  stroke: #e02b2b;
  stroke-width: 3;
}
@keyframes flow {
  to {
    stroke-dashoffset: -26;
  }
}
@media (prefers-reduced-motion: reduce) {
  .route .path {
    animation: none;
    stroke-dasharray: none;
  }
}
.hero h1,
.hero .lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
@media (max-width: 760px) {
  .hero {
    padding: 6rem 0 5rem;
  }
  .route {
    opacity: 0.4;
  }
}

/* Logo, red tagline and focus list */
.tag {
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--red-text);
  font-weight: 600;
}
.sub2 {
  color: var(--red-text);
  opacity: 1;
}
.focus {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.focus li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.focus li::before {
  content: "";
  width: 1.4rem;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  flex: none;
}

/* Fade the moving route where the text sits, full strength on the right */
.route {
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.06) 50%,
    rgba(0, 0, 0, 0.9) 82%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.06) 50%,
    rgba(0, 0, 0, 0.9) 82%,
    #000 100%
  );
}
@media (max-width: 760px) {
  .route {
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.05) 65%,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.05) 65%,
      #000 100%
    );
  }
}
