.npf-hero {
  position: relative;
  margin-top: -1rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--npf-border);
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 48%, #172554 100%);
}

[data-md-color-scheme="nextpdf-dark"] .npf-hero {
  background: linear-gradient(160deg, #020617 0%, #0f172a 42%, #1e3a8a 100%);
}

.npf-hero__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
}

.npf-hero__visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.npf-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
}

.npf-hero__copy {
  max-width: 760px;
}

.npf-hero__eyebrow {
  margin: 0;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 600;
}

.npf-hero__title {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.npf-hero__title .npf-brand-pdf {
  color: #bfdbfe;
}

.npf-hero__tagline {
  margin: 0.95rem 0 0;
  color: #e2e8f0;
  max-width: 58ch;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.55;
}

.npf-hero__actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.npf-hero__actions .md-button {
  min-width: 150px;
  text-align: center;
  border-radius: 999px;
  border-width: 1px;
  font-weight: 700;
}

.npf-hero__actions .md-button--primary {
  background: #ffffff;
  color: #1e3a8a;
  border-color: #ffffff;
}

.npf-hero__actions .md-button--primary:hover {
  background: #dbeafe;
  border-color: #dbeafe;
}

.npf-hero__actions .md-button:not(.md-button--primary) {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.8);
}

.npf-hero__actions .md-button:not(.md-button--primary):hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
  .npf-hero {
    margin-top: -0.6rem;
  }

  .npf-hero__actions {
    flex-direction: column;
  }

  .npf-hero__actions .md-button {
    width: 100%;
  }
}
