/* products.css — ContrastCyber products page.
   Layered on top of base.css (reset, nav, footer, .card, .btn, .tag, pre,
   .content, .section-label). This file carries only the product-page
   layout: the hero header + the product card. */

.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  max-inline-size: 40rem;
  margin-inline: auto;
  padding-block: 3.5rem 2rem;
  padding-inline: 1.25rem;
}

.pill {
  display: inline-block;
  padding-block: 0.3rem;
  padding-inline: 0.9rem;
  border-radius: 6.25rem;
  border: 1px solid var(--border);
  background-color: rgba(39, 39, 42, 0.5);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-block-end: 1.75rem;
}

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-block-end: 1.25rem;
}

h1 .gradient {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 0.85rem;
  line-height: 1.7;
  max-inline-size: 27.5rem;
  margin-inline: auto;
  margin-block-end: 2.5rem;
}

/* Single product card (uses base.css .card chrome + .tag + pre) */
.products .product-card {
  padding: 2rem 1.5rem;
}

.product-card h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-block-end: 0.75rem;
}

.product-card .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-end: 1.25rem;
}

.product-card > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-block-end: 1.25rem;
}

.product-card pre {
  text-align: start;
}

/* Desktop (640px+) — larger hero type */
@media screen and (min-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
  .subtitle {
    font-size: 0.95rem;
  }
  .hero {
    padding-block: 5rem 2.5rem;
    padding-inline: 2rem;
  }
}
