/* Homepage-only Gadget Wiz launcher. */
.atsp-home-hero-form {
  position: relative;
  z-index: 2;
}

.atsp-home-launcher {
  width: min(920px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 20px 24px 24px;
  color: #ffffff;
  text-align: center;
  background: rgba(21, 28, 36, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

.atsp-home-launcher-brand {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.atsp-home-launcher-brand span {
  color: #33b7ff;
}

.atsp-home-launcher-heading {
  min-height: 1.25em;
  margin: 0;
  color: #ffffff;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

.atsp-home-typing-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: #ffffff;
  animation: atsp-home-cursor-blink 760ms step-end infinite;
}

.atsp-home-launcher-intro {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.atsp-home-launcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.atsp-home-launcher-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 12px 10px;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.16;
  text-decoration: none !important;
  background: linear-gradient(180deg, #299ff0 0%, #147bd4 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.24);
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.atsp-home-launcher-button:hover,
.atsp-home-launcher-button:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(180deg, #41b4ff 0%, #198ae8 100%);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.atsp-home-launcher-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@keyframes atsp-home-cursor-blink {
  50% { opacity: 0; }
}

@media (max-width: 767px) {
  .atsp-home-launcher {
    width: min(560px, calc(100% - 24px));
    margin-top: 20px;
    padding: 18px 14px 16px;
  }

  .atsp-home-launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .atsp-home-launcher-button {
    min-height: 62px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atsp-home-typing-cursor {
    display: none;
    animation: none;
  }

  .atsp-home-launcher-button {
    transition: none;
  }
}
