/* Intro strip for the standalone /download/ page. Renders a small
   "back to <title>" link above the form on the success path, or a
   full eyebrow/title/sub/CTA stack when no asset-name was supplied. */

.resource-download-intro {
  padding-block: clamp(1.5rem, 3vw, 2rem) 0;
}

.resource-download-intro__inner {
  max-width: 34rem;
  margin-inline: auto;
}

.resource-download-intro__back {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-muted-foreground);
}
.resource-download-intro__back a {
  color: inherit;
  transition: color var(--dur-fast) var(--ease);
}
.resource-download-intro__back a:hover {
  color: var(--brand-teal);
}

/* Empty state: no asset-name supplied, stack the guidance vertically. */
.resource-download-intro__inner--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.resource-download-intro__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-display);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-foreground);
}

.resource-download-intro__sub {
  margin: 0;
  max-width: 48ch;
  font-size: var(--fs-base);
  color: var(--color-muted-foreground);
  line-height: var(--lh-snug);
}
