:root {
  --vp-c-brand-1: #0f766e;
  --vp-c-brand-2: #0891b2;
  --vp-c-brand-3: #115e59;
  --vp-c-brand-soft: rgba(15, 118, 110, 0.14);
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #0f766e 18%, #0ea5e9 88%);
  --vp-home-hero-image-background-image: linear-gradient(-45deg, #0f766e 48%, #0ea5e9 52%);
}

.dark {
  --vp-c-brand-1: #2dd4bf;
  --vp-c-brand-2: #38bdf8;
  --vp-c-brand-3: #14b8a6;
  --vp-c-brand-soft: rgba(20, 184, 166, 0.16);
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #2dd4bf 20%, #60a5fa 88%);
  --vp-home-hero-image-background-image: linear-gradient(-45deg, #14b8a6 48%, #3b82f6 52%);
}

.VPHero .image-src,
.screenshot {
  border-radius: 12px;
}

.VPHero .action:has(.terminal-trove) {
  flex-basis: 100%;
  padding-top: 12px;
}

.VPHero .VPButton.terminal-trove {
  border: 0;
  padding: 0;
  height: auto;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.VPHero .VPButton.terminal-trove:hover {
  background: transparent;
  transform: translateY(-1px);
}

.VPHero .terminal-trove-badge-image {
  display: block;
  height: 48px;
  width: auto;
}

.VPHero.has-image .image {
  justify-content: center;
}

.VPHero.has-image .image-container {
  margin: 0 auto;
}

.VPHero .image-src {
  display: block;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1199px) {
  .VPHero.has-image .container {
    flex-direction: column;
    text-align: center;
  }

  .VPHero.has-image .main {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .VPHero.has-image .name,
  .VPHero.has-image .text,
  .VPHero.has-image .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .VPHero.has-image .actions {
    justify-content: center;
  }

  .VPHero.has-image .image {
    order: 1;
    margin: 0 0 32px;
    min-height: auto;
  }

  .VPHero.has-image .image-container {
    width: min(calc(100vw - 48px), 680px);
    height: auto;
    aspect-ratio: 7 / 4;
    transform: none;
  }

  .VPHero .image-src {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
  }
}

@media (min-width: 1200px) {
  .VPHero.has-image .image-container {
    width: clamp(420px, 42vw, 680px);
    height: auto;
    aspect-ratio: 7 / 4;
    transform: translate(0, -8px);
  }

  .VPHero .image-src {
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
  }
}

.VPFooter .footer-built-with {
  display: block;
  margin-top: 12px;
}

.screenshot-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 2rem 0;
}

.screenshot-card {
  display: block;
  text-decoration: none;
}

.screenshot-card span {
  display: block;
  margin-top: 0.75rem;
  color: var(--vp-c-text-2);
  font-size: 0.95rem;
}
