.terminal-type {
  display: inline-block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  animation: typing 5.4s steps(260, end) 0.35s forwards;
  will-change: width;
}

.terminal-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: -0.18em;
  background: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.76);
  animation: blink 1s steps(1, end) infinite;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.section-reveal.is-visible {
  animation: fade-up 0.8s ease forwards;
}

.feature-row:nth-of-type(2) {
  animation-delay: 0.12s;
}

.feature-row:nth-of-type(3) {
  animation-delay: 0.2s;
}

.feature-row:nth-of-type(4) {
  animation-delay: 0.28s;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .terminal-type {
    width: 100%;
  }
}
