@scope (htmlpress-landing-hero) {
  :scope {
    position: relative;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--htmlpress-border);
  }
  :scope > section {
    position: relative;
    display: grid;
    grid-template-columns: 27rem minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    max-width: var(--landing-width);
    margin: 0 auto;
    padding: 2rem var(--landing-gutter) 3.5rem;
  }
  :scope > section > * {
    min-width: 0;
    animation: landing-rise 0.7s ease-out both;
  }
  :scope > section > :first-child {
    align-self: start;
    padding-top: 4rem;
  }
  /* Wider than its column on a wide screen: the window runs off the right edge */
  @media (min-width: 80rem) {
    :scope > section > :last-child {
      width: 60rem;
    }
  }
  hgroup > p {
    margin: 0;
    color: var(--htmlpress-accent);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  h1 {
    margin: 1.25rem 0 0;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
  }
  mark {
    padding: 0;
    color: inherit;
    background: linear-gradient(
        color-mix(in oklab, var(--htmlpress-accent) 22%, transparent),
        color-mix(in oklab, var(--htmlpress-accent) 22%, transparent)
      )
      0 88% / 100% 0.3em no-repeat;
    box-decoration-break: clone;
  }
  :scope > section > div > p {
    max-width: 52ch;
    margin: 1.5rem 0 0;
    color: var(--htmlpress-muted);
    font-size: 1.25rem;
    line-height: 1.625;
  }
  ul {
    display: grid;
    width: max-content;
    gap: 0.25rem;
    margin: 1.5rem 0 0;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--htmlpress-border);
    /* The visible corner of the 2.5rem-tall pill buttons above */
    border-radius: 1.25rem;
    background: color-mix(in oklab, var(--htmlpress-bg) 50%, transparent);
    backdrop-filter: blur(8px);
    list-style: none;
  }
  li {
    margin: 0;
    color: var(--htmlpress-muted);
    font-family: var(--htmlpress-mono);
    font-size: 0.78125rem;
    line-height: 1.25rem;
    white-space: nowrap;
  }
  li::before {
    content: "$ ";
    color: var(--htmlpress-accent);
    user-select: none;
  }
  samp {
    font: inherit;
  }
  b {
    color: var(--htmlpress-text);
    font-weight: 400;
  }
  @media (max-width: 64rem) {
    :scope > section {
      display: block;
      padding-block: 4.5rem 5rem;
    }
    :scope > section > :first-child {
      padding-top: 0;
    }
    :scope > section > :last-child {
      width: auto;
      margin-top: 3rem;
    }
    h1 {
      font-size: 3.75rem;
    }
  }
  @media (max-width: 48rem) {
    h1 {
      font-size: 3rem;
    }
    :scope > section > div > p {
      font-size: 1.125rem;
    }
  }
  @media (max-width: 40rem) {
    :scope > section {
      padding-block: 3rem;
    }
    h1 {
      font-size: 2rem;
      line-height: 1.5;
    }
    :scope > section > div > p {
      font-size: 1rem;
    }
    ul {
      display: none;
    }
  }
}

@keyframes landing-rise {
  from {
    opacity: 0;
    translate: 0 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  htmlpress-landing-hero > section > * {
    animation: none;
  }
}
