/* The homepage hides its documentation sidebars via page metadata. Components
   respond to their available width, including zoom and embedded previews. */
.vamos-hero-shell {
  container-name: vamos-home-hero;
  container-type: inline-size;
}

.vamos-hero-shell .vamos-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.75fr);
  gap: 1.35rem;
  margin: 0 0 1.4rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  align-items: center;
}

.vamos-hero-shell .vamos-hero__copy {
  max-width: 35rem;
}

.md-typeset .vamos-hero-shell .vamos-hero h1 {
  max-width: 100%;
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.md-typeset .vamos-hero-shell .vamos-hero h1 .vamos-hero__headline-main,
.md-typeset .vamos-hero-shell .vamos-hero h1 .vamos-hero__headline-main * {
  color: #FFFFFF;
}

.md-typeset .vamos-hero-shell .vamos-hero h1 .vamos-hero__headline-accent {
  display: block;
  margin-top: 0.35em;
  color: #5EEAD4;
  font-size: 0.7em;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.md-typeset .vamos-hero-shell .vamos-hero h1 .vamos-hero__nowrap {
  white-space: nowrap;
}

.vamos-hero-shell .vamos-eyebrow {
  margin-bottom: 0.7rem;
}

.vamos-hero-shell .vamos-hero__lead {
  margin-top: 0.8rem;
  font-size: 0.87rem;
  line-height: 1.6;
}

.vamos-hero-shell .vamos-hero__actions {
  gap: 0.55rem;
  margin-top: 1rem;
}

.vamos-hero-shell .vamos-button {
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.76rem;
}

.vamos-hero-shell .vamos-install {
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.65rem;
}

.vamos-hero__demo {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
}

.vamos-hero-shell .vamos-hero__code {
  width: 100%;
  max-width: none;
}

.md-typeset .vamos-hero-shell .vamos-hero__code pre {
  padding: 0.9rem;
}

.md-typeset .vamos-hero-shell .vamos-hero__code pre code {
  font-size: 0.65rem;
  line-height: 1.6;
}

.vamos-hero-shell .vamos-code-window__result {
  padding: 0.6rem 0.9rem;
  font-size: 0.6rem;
}

.md-typeset .vamos-hero__result {
  min-width: 0;
  margin: 0;
}

.vamos-hero__result img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  background: #FFFFFF;
}

.md-typeset .vamos-hero__result figcaption {
  max-width: none;
  margin-top: 0.65rem;
  color: #D9E7EF;
  font-size: 0.63rem;
  line-height: 1.55;
  font-style: normal;
  text-align: left;
}

.vamos-hero__result figcaption a {
  display: block;
  margin-top: 0.3rem;
  color: #99F6E4;
}

@container vamos-home-hero (max-width: 64rem) {
  .vamos-hero-shell .vamos-hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .vamos-hero-shell .vamos-hero__copy {
    max-width: none;
  }

  .md-typeset .vamos-hero-shell .vamos-hero h1 {
    font-size: clamp(1.9rem, 4cqw, 2.45rem);
    text-wrap: initial;
  }

  .vamos-hero-shell .vamos-hero__lead {
    max-width: 45rem;
  }

  .vamos-hero__demo {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@container vamos-home-hero (max-width: 42rem) {
  .vamos-hero-shell .vamos-hero {
    padding: 1.15rem;
  }

  .md-typeset .vamos-hero-shell .vamos-hero h1 {
    font-size: clamp(1.8rem, 7cqw, 2.2rem);
  }

  .vamos-hero__demo {
    grid-template-columns: 1fr;
  }

  .vamos-hero-shell .vamos-hero__code {
    max-width: 100%;
  }
}
