/* Hero — .hero and children, including conditional hero background image */

@layer components {
  .hero {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
  }
  .hero .container {
    position: relative;
    z-index: 1;
  }
  .hero__logo {
    margin-bottom: var(--space-md);
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
  }
  .hero__tagline {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-bottom: var(--space-xs);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }
  .hero__meta {
    font-size: 0.875rem;
    opacity: 0.65;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.03em;
  }
  .hero__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
  }
}
