/* Business automation simulator and the hero keycaps that drop in. */

/* "¿Qué haría tu negocio solo?" simulator */
.sim {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
  align-items: flex-start;
}

.sim-intro {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sim-intro .section-title {
  margin: 0;
}

.sim-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-list {
  flex: 1 1 420px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}

.sim-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 28px 28px;
  animation: sim-in 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

.sim-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 2px 0 var(--accent-side);
}

.sim-when {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-text);
}

.sim-what {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.sim-note {
  font-size: 15px;
  color: var(--muted);
}

.sim-note a {
  color: var(--accent-text);
  font-weight: 700;
}

@keyframes sim-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
}

/* Hero keycaps that drop in */
.hero-mark {
  display: flex;
  gap: 12px;
}

.hero-mark span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 30px;
  font-weight: 800;
}

.hero-mark .hm-d {
  background: #F2F0FF;
  color: #14131C;
  box-shadow: 0 7px 0 #2B2A38;
}

.hero-mark .hm-m {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 0 var(--accent-side);
  transform: translateY(4px);
}

@media (max-width: 860px) {
  .hero-mark span {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 11px;
  }

  .sim-what {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sim-item {
    animation: none;
  }
}
