.hero {
  padding: var(--shell-space-lg) var(--shell-space-md) var(--shell-space-md);
  text-align: center;
}
.hero h1 {
  font-family: var(--shell-font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin: 0 0 .75rem;
}
.hero p {
  color: var(--shell-ink-dim);
  max-width: 40rem;
  margin: 0 auto var(--shell-space-md);
}
#system-search {
  width: min(28rem, 90%);
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  background: var(--shell-bg-raised);
  color: var(--shell-ink);
  font-size: 1rem;
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  padding: 0 var(--shell-space-md) var(--shell-space-md);
}
.chip {
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  background: transparent;
  color: var(--shell-ink-dim);
  font-size: .85rem;
  cursor: pointer;
}
.chip.is-active {
  background: var(--shell-accent);
  border-color: var(--shell-accent);
  color: #fff;
}
.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--shell-space-sm);
  padding: 0 var(--shell-space-md) var(--shell-space-lg);
  margin: 0;
}
.system-card {
  background: var(--shell-bg-raised);
  border: 1px solid var(--shell-border);
  border-radius: var(--shell-radius);
  overflow: hidden;
}
.system-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #1a1a1f;
}
.system-card__body { padding: 1rem; }
.system-card__body h3 { margin: 0 0 .35rem; font-family: var(--shell-font-display); font-size: 1.05rem; }
.system-card__body h3 a { text-decoration: none; }
.system-card__body > p { margin: 0 0 .85rem; color: var(--shell-ink-dim); font-size: .9rem; }
.system-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.system-card__category {
  font-size: .75rem;
  color: var(--shell-ink-dim);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-copy-ref {
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  background: transparent;
  color: var(--shell-ink);
  cursor: pointer;
}
.btn-copy-ref.is-copied { background: var(--shell-accent); border-color: var(--shell-accent); color: #fff; }
.system-card__open { font-size: .8rem; text-decoration: none; color: var(--shell-accent); }
.system-card__design-md { font-size: .8rem; text-decoration: none; color: var(--shell-ink-dim); }
.system-card__badge {
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--shell-accent);
  color: var(--shell-accent);
  text-transform: uppercase;
  letter-spacing: .04em;
}
