/* Homepage-only presentation; the signup and lower-page styles stay independent. */
.home .home-social {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--home-forest);
}
.home-social > span {
  margin-right: 12px;
  font-weight: 600;
}
.home .home-social a {
  width: 44px;
  height: 44px;
  justify-content: center;
  border-radius: 50%;
  color: inherit;
  transition: background-color 180ms ease;
}
.home-social svg {
  width: 22px;
  height: 22px;
}
.home .home-social a:hover {
  background: #e7eae1;
}
.home-social a:focus-visible,
.app-preview button:focus-visible {
  outline: 2px solid var(--home-forest);
  outline-offset: 3px;
}
.home .hero {
  grid-template-columns: minmax(0, 1fr);
}
.app-preview {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}
.app-preview-stage {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  touch-action: pan-y pinch-zoom;
}
.app-preview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition:
    opacity 500ms ease,
    transform 500ms ease,
    visibility 500ms;
  pointer-events: none;
}
.app-preview-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.app-preview-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}
.app-preview-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  gap: 4px;
}
.app-preview-controls[hidden],
.app-preview button[hidden] {
  display: none;
}
.app-preview button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--home-forest);
  background: transparent;
  cursor: pointer;
}
.app-preview button:hover {
  background: #e7eae1;
}
.app-preview button > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.app-preview-pagination {
  display: flex;
}
.app-preview-pagination button {
  width: 32px;
  border-radius: 12px;
}
.app-preview-pagination span {
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background: #a0aaa0;
}
.app-preview-pagination [aria-current="true"] span {
  width: 18px;
  background: var(--home-forest);
}
.preview-play-icon {
  display: none;
}
[data-preview-pause][data-paused="true"] .preview-pause-icon {
  display: none;
}
[data-preview-pause][data-paused="true"] .preview-play-icon {
  display: block;
}
.preview-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 960px) {
  .home .hero {
    grid-template-columns: 1.1fr 1fr;
    padding-block: 24px 40px;
  }
  .app-preview-stage {
    width: min(100%, 360px);
  }
}
@media (max-width: 480px) {
  .home .home-header {
    gap: 12px;
  }
  .home-social > span {
    font-size: 0.75rem;
    margin-right: 2px;
  }
  .home .home-social {
    gap: 0;
  }
  .app-preview-stage {
    width: min(100%, 300px);
  }
}
@media (max-width: 359px) {
  .home .home-header {
    column-gap: 4px;
  }
  .home .home-social {
    margin-left: auto;
  }
  .home-social > span {
    max-width: 4ch;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-preview-slide {
    transition: none;
    transform: none;
  }
  .home .home-social a {
    transition: none;
  }
}
