/* stylelint-disable docusaurus/copyright-header */

/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 966px) {
  .heroBanner {
    padding: 3rem 0 2rem;
  }
}

.heroBanner :global(.container) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.heroBanner :global(.container) > * {
  margin: 0;
}

/* The product name, matching what the live site sets it in: the body face at 700, which is
   heavier than the 600 --ifm-heading-font-weight gives every other heading, so the name reads as
   a wordmark rather than a page heading. Size and line-height come from Infima's .hero__title
   untouched, which is where the live site gets its 48px too. No max-width - it is three short
   words and never wraps mid-name at any width. */
.heroTitle {
  font-weight: 700;
}

.subtitle {
  max-width: 52ch;
}

.installBox {
  width: 100%;
  max-width: 560px;
  margin-top: 0.9rem;
  text-align: left;
}

.installNote {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

/* No background or border: the rendered SVG draws its own terminal window, so the tinted box the
   screenshot needed to sit in would now be a frame around a frame - the same call the studio and
   the segment previews make. */
.heroPrompt {
  width: 100%;
  max-width: 100%;
}

.svgWrapper {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.svgWrapper :global(svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

.feature {
  margin-bottom: 1.5rem;
}

/* Border, background and radius come from the shared --omp-card-* custom properties in
   src/css/custom.css (radius is 8px there - see that comment for why), which also carries the
   dark-mode override that used to be repeated here. */
.card {
  border: 1px solid var(--omp-card-border-color);
  border-radius: var(--omp-card-radius);
  padding: 1.15rem 1.25rem;
  height: 100%;
  background: var(--omp-card-background);
}

.features {
  padding: 3rem 0;
  width: 100%;
  border-top: 1px solid var(--ifm-color-emphasis-200);
}

.shellRow {
  padding: 0 0 3rem;
  text-align: center;
}

.shellList {
  color: var(--ifm-color-emphasis-700);
  font-size: 0.9rem;
}
