/*
 * Unauthenticated home — logo-led product door (not a marketing page).
 */

.home-guest {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-4) var(--space-8);
  max-width: 28rem;
  margin-inline: auto;
}

.home-guest__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-5);
}

.home-guest__brand::before {
  content: "";
  position: absolute;
  inset: -1.5rem -2.5rem auto;
  height: 12rem;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      color-mix(in srgb, var(--icon-forest) 18%, transparent) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.home-guest__logo {
  position: relative;
  z-index: 1;
  width: 11rem;
  height: 11rem;
  object-fit: contain;
  display: block;
  margin-bottom: var(--space-5);
}

.home-guest__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3rem, 9vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}

.home-guest__lead {
  margin: 0 0 var(--space-6);
  max-width: 22rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.home-guest__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  width: 100%;
}

.home-guest__cta {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
}

.home-guest__browse {
  width: 100%;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-primary);
}

.home-guest__browse-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-guest__browse-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.home-guest__browse-link:hover {
  color: var(--accent-primary-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (prefers-reduced-motion: no-preference) {
  .home-guest__logo {
    animation: home-guest-rise 0.55s ease-out both;
  }

  .home-guest__title {
    animation: home-guest-rise 0.55s ease-out 0.08s both;
  }

  .home-guest__lead {
    animation: home-guest-rise 0.5s ease-out 0.14s both;
  }

  .home-guest__actions {
    animation: home-guest-rise 0.5s ease-out 0.2s both;
  }

  .home-guest__browse {
    animation: home-guest-fade 0.45s ease-out 0.28s both;
  }
}

@keyframes home-guest-rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-guest-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
