@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/onest-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

/* Typography and centered composition from Chatballs, with the requested
   smaller white heading and planet-colored Open Source label. */
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1108px;
  margin: 0 auto;
  padding-inline: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.hero-copy__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono Variable', monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #EF704F, #E65D43 50%, #D94A3B);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy h1 {
  max-width: 1080px;
  margin: 6px 0 0;
  font-family: 'Onest', 'Golos Text', sans-serif;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}

.hero-copy__lead {
  max-width: 790px;
  margin: 0;
  font-family: 'Golos Text', system-ui, sans-serif;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 639px) {
  .hero-copy { padding-inline: 20px; }
  .hero-copy__lead { font-size: 18px; }
}
