/* Catalog page — auto-generated list of every page on this site (build-catalog.sh).
 * Self-contained on purpose: does not read the site's own CSS custom properties, so
 * it renders consistently regardless of theme. The header/footer chrome around it
 * comes from the site's real style.css (linked separately in catalog.html). */

.catalog-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.catalog-intro h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.catalog-intro p {
  color: #6b6b6b;
  margin: 0 0 2.5rem;
}

.catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.catalog-card a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.catalog-card a:hover,
.catalog-card a:focus-visible {
  border-color: #999;
  background: #f0f0f0;
}

.catalog-card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.catalog-card-url {
  font-size: 0.85rem;
  color: #8a8a8a;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}
